mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 19:45:06 +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>
158 lines
3.2 KiB
Plaintext
158 lines
3.2 KiB
Plaintext
/*
|
|
* DTS file for all SPEAr3xx SoCs
|
|
*
|
|
* Copyright 2012 Viresh Kumar <vireshk@kernel.org>
|
|
*
|
|
* The code contained herein is licensed under the GNU General Public
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
* Version 2 or later at the following locations:
|
|
*
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*/
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
interrupt-parent = <&vic>;
|
|
|
|
cpus {
|
|
#address-cells = <0>;
|
|
#size-cells = <0>;
|
|
|
|
cpu {
|
|
compatible = "arm,arm926ej-s";
|
|
device_type = "cpu";
|
|
};
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0 0x40000000>;
|
|
};
|
|
|
|
ahb {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges = <0xd0000000 0xd0000000 0x30000000>;
|
|
|
|
vic: interrupt-controller@f1100000 {
|
|
compatible = "arm,pl190-vic";
|
|
interrupt-controller;
|
|
reg = <0xf1100000 0x1000>;
|
|
#interrupt-cells = <1>;
|
|
};
|
|
|
|
dma@fc400000 {
|
|
compatible = "arm,pl080", "arm,primecell";
|
|
reg = <0xfc400000 0x1000>;
|
|
interrupt-parent = <&vic>;
|
|
interrupts = <8>;
|
|
status = "disabled";
|
|
};
|
|
|
|
gmac: eth@e0800000 {
|
|
compatible = "st,spear600-gmac";
|
|
reg = <0xe0800000 0x8000>;
|
|
interrupts = <23 22>;
|
|
interrupt-names = "macirq", "eth_wake_irq";
|
|
phy-mode = "mii";
|
|
status = "disabled";
|
|
};
|
|
|
|
smi: flash@fc000000 {
|
|
compatible = "st,spear600-smi";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0xfc000000 0x1000>;
|
|
interrupts = <9>;
|
|
status = "disabled";
|
|
};
|
|
|
|
spi0: spi@d0100000 {
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
reg = <0xd0100000 0x1000>;
|
|
interrupts = <20>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
ehci@e1800000 {
|
|
compatible = "st,spear600-ehci", "usb-ehci";
|
|
reg = <0xe1800000 0x1000>;
|
|
interrupts = <26>;
|
|
status = "disabled";
|
|
};
|
|
|
|
ohci@e1900000 {
|
|
compatible = "st,spear600-ohci", "usb-ohci";
|
|
reg = <0xe1900000 0x1000>;
|
|
interrupts = <25>;
|
|
status = "disabled";
|
|
};
|
|
|
|
ohci@e2100000 {
|
|
compatible = "st,spear600-ohci", "usb-ohci";
|
|
reg = <0xe2100000 0x1000>;
|
|
interrupts = <27>;
|
|
status = "disabled";
|
|
};
|
|
|
|
apb {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges = <0xd0000000 0xd0000000 0x30000000>;
|
|
|
|
gpio0: gpio@fc980000 {
|
|
compatible = "arm,pl061", "arm,primecell";
|
|
reg = <0xfc980000 0x1000>;
|
|
interrupts = <11>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c0: i2c@d0180000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "snps,designware-i2c";
|
|
reg = <0xd0180000 0x1000>;
|
|
interrupts = <21>;
|
|
status = "disabled";
|
|
};
|
|
|
|
rtc@fc900000 {
|
|
compatible = "st,spear600-rtc";
|
|
reg = <0xfc900000 0x1000>;
|
|
interrupts = <10>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@d0000000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xd0000000 0x1000>;
|
|
interrupts = <19>;
|
|
status = "disabled";
|
|
};
|
|
|
|
wdt@fc880000 {
|
|
compatible = "arm,sp805", "arm,primecell";
|
|
reg = <0xfc880000 0x1000>;
|
|
interrupts = <12>;
|
|
status = "disabled";
|
|
};
|
|
|
|
timer@f0000000 {
|
|
compatible = "st,spear-timer";
|
|
reg = <0xf0000000 0x400>;
|
|
interrupts = <2>;
|
|
};
|
|
};
|
|
};
|
|
};
|