mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 03:24:55 +08:00
abe60a3a7a
Remove the usage of skeleton.dtsi in the remaining dts files. It was
deprecated since commit 9c0da3cc61
("ARM: dts: explicitly mark
skeleton.dtsi as deprecated"). This will make adding a unit-address to
memory nodes easier.
The main tricky part to removing skeleton.dtsi is we could end up with
no /memory node at all when a bootloader depends on one being present. I
hacked up dtc to check for this condition.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
164 lines
3.2 KiB
Plaintext
164 lines
3.2 KiB
Plaintext
/*
|
|
* pxa2xx.dtsi - Device Tree Include file for Marvell PXA2xx family SoC
|
|
*
|
|
* Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
|
|
#include "dt-bindings/clock/pxa-clock.h"
|
|
|
|
#define PMGROUP(pin) #pin
|
|
#define PMMUX(func, pin, af) \
|
|
mux- ## func { \
|
|
groups = PMGROUP(P ## pin); \
|
|
function = #af; \
|
|
}
|
|
#define PMMUX_LPM_LOW(func, pin, af) \
|
|
mux- ## func { \
|
|
groups = PMGROUP(P ## pin); \
|
|
function = #af; \
|
|
low-power-disable; \
|
|
}
|
|
#define PMMUX_LPM_HIGH(func, pin, af) \
|
|
mux- ## func { \
|
|
groups = PMGROUP(P ## pin); \
|
|
function = #af; \
|
|
low-power-enable; \
|
|
}
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
model = "Marvell PXA2xx family SoC";
|
|
compatible = "marvell,pxa2xx";
|
|
interrupt-parent = <&pxairq>;
|
|
|
|
aliases {
|
|
serial0 = &ffuart;
|
|
serial1 = &btuart;
|
|
serial2 = &stuart;
|
|
serial3 = &hwuart;
|
|
i2c0 = &pwri2c;
|
|
i2c1 = &pxai2c1;
|
|
};
|
|
|
|
cpus {
|
|
cpu {
|
|
compatible = "marvell,xscale";
|
|
device_type = "cpu";
|
|
};
|
|
};
|
|
|
|
pxabus {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
pxairq: interrupt-controller@40d00000 {
|
|
#interrupt-cells = <1>;
|
|
compatible = "marvell,pxa-intc";
|
|
interrupt-controller;
|
|
interrupt-parent;
|
|
marvell,intc-nr-irqs = <32>;
|
|
reg = <0x40d00000 0xd0>;
|
|
};
|
|
|
|
gpio: gpio@40e00000 {
|
|
compatible = "mrvl,pxa-gpio";
|
|
#address-cells = <0x1>;
|
|
#size-cells = <0x1>;
|
|
reg = <0x40e00000 0x10000>;
|
|
gpio-controller;
|
|
#gpio-cells = <0x2>;
|
|
interrupts = <8>, <9>, <10>;
|
|
interrupt-names = "gpio0", "gpio1", "gpio_mux";
|
|
interrupt-controller;
|
|
#interrupt-cells = <0x2>;
|
|
ranges;
|
|
|
|
gcb0: gpio@40e00000 {
|
|
reg = <0x40e00000 0x4>;
|
|
};
|
|
|
|
gcb1: gpio@40e00004 {
|
|
reg = <0x40e00004 0x4>;
|
|
};
|
|
|
|
gcb2: gpio@40e00008 {
|
|
reg = <0x40e00008 0x4>;
|
|
};
|
|
gcb3: gpio@40e0000c {
|
|
reg = <0x40e0000c 0x4>;
|
|
};
|
|
};
|
|
|
|
ffuart: serial@40100000 {
|
|
compatible = "mrvl,pxa-uart";
|
|
reg = <0x40100000 0x30>;
|
|
interrupts = <22>;
|
|
clocks = <&clks CLK_FFUART>;
|
|
status = "disabled";
|
|
};
|
|
|
|
btuart: serial@40200000 {
|
|
compatible = "mrvl,pxa-uart";
|
|
reg = <0x40200000 0x30>;
|
|
interrupts = <21>;
|
|
clocks = <&clks CLK_BTUART>;
|
|
status = "disabled";
|
|
};
|
|
|
|
stuart: serial@40700000 {
|
|
compatible = "mrvl,pxa-uart";
|
|
reg = <0x40700000 0x30>;
|
|
interrupts = <20>;
|
|
clocks = <&clks CLK_STUART>;
|
|
status = "disabled";
|
|
};
|
|
|
|
hwuart: serial@41600000 {
|
|
compatible = "mrvl,pxa-uart";
|
|
reg = <0x41600000 0x30>;
|
|
interrupts = <7>;
|
|
status = "disabled";
|
|
};
|
|
|
|
pxai2c1: i2c@40301680 {
|
|
compatible = "mrvl,pxa-i2c";
|
|
reg = <0x40301680 0x30>;
|
|
interrupts = <18>;
|
|
clocks = <&clks CLK_I2C>;
|
|
#address-cells = <0x1>;
|
|
#size-cells = <0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
mmc0: mmc@41100000 {
|
|
compatible = "marvell,pxa-mmc";
|
|
reg = <0x41100000 0x1000>;
|
|
interrupts = <23>;
|
|
clocks = <&clks CLK_MMC>;
|
|
dmas = <&pdma 21 3
|
|
&pdma 22 3>;
|
|
dma-names = "rx", "tx";
|
|
status = "disabled";
|
|
};
|
|
|
|
rtc@40900000 {
|
|
compatible = "marvell,pxa-rtc";
|
|
reg = <0x40900000 0x3c>;
|
|
interrupts = <30 31>;
|
|
};
|
|
|
|
lcdc: lcd-controller@40500000 {
|
|
compatible = "marvell,pxa2xx-lcdc";
|
|
reg = <0x44000000 0x10000>;
|
|
interrupts = <17>;
|
|
clocks = <&clks CLK_LCD>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|