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>
141 lines
2.7 KiB
Plaintext
141 lines
2.7 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* SoC core Device Tree for the ARM Integrator platforms
|
|
*/
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x0 0x0>;
|
|
};
|
|
|
|
core-module@10000000 {
|
|
compatible = "arm,core-module-integrator", "syscon", "simple-mfd";
|
|
reg = <0x10000000 0x200>;
|
|
|
|
/* Use core module LED to indicate CPU load */
|
|
led@c.0 {
|
|
compatible = "register-bit-led";
|
|
offset = <0x0c>;
|
|
mask = <0x01>;
|
|
label = "integrator:core_module";
|
|
linux,default-trigger = "cpu0";
|
|
default-state = "on";
|
|
};
|
|
};
|
|
|
|
ebi@12000000 {
|
|
compatible = "arm,external-bus-interface";
|
|
reg = <0x12000000 0x100>;
|
|
};
|
|
|
|
timer@13000000 {
|
|
reg = <0x13000000 0x100>;
|
|
interrupt-parent = <&pic>;
|
|
interrupts = <5>;
|
|
};
|
|
|
|
timer@13000100 {
|
|
reg = <0x13000100 0x100>;
|
|
interrupt-parent = <&pic>;
|
|
interrupts = <6>;
|
|
};
|
|
|
|
timer@13000200 {
|
|
reg = <0x13000200 0x100>;
|
|
interrupt-parent = <&pic>;
|
|
interrupts = <7>;
|
|
};
|
|
|
|
pic@14000000 {
|
|
compatible = "arm,versatile-fpga-irq";
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
reg = <0x14000000 0x100>;
|
|
clear-mask = <0xffffffff>;
|
|
};
|
|
|
|
flash@24000000 {
|
|
compatible = "arm,versatile-flash", "cfi-flash";
|
|
reg = <0x24000000 0x02000000>;
|
|
bank-width = <4>;
|
|
};
|
|
|
|
fpga {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
interrupt-parent = <&pic>;
|
|
|
|
/*
|
|
* These PrimeCells are in the same locations and using the
|
|
* same interrupts in all Integrators, however the silicon
|
|
* version deployed is different.
|
|
*/
|
|
rtc@15000000 {
|
|
reg = <0x15000000 0x1000>;
|
|
interrupts = <8>;
|
|
};
|
|
|
|
uart@16000000 {
|
|
reg = <0x16000000 0x1000>;
|
|
interrupts = <1>;
|
|
};
|
|
|
|
uart@17000000 {
|
|
reg = <0x17000000 0x1000>;
|
|
interrupts = <2>;
|
|
};
|
|
|
|
kmi@18000000 {
|
|
reg = <0x18000000 0x1000>;
|
|
interrupts = <3>;
|
|
};
|
|
|
|
kmi@19000000 {
|
|
reg = <0x19000000 0x1000>;
|
|
interrupts = <4>;
|
|
};
|
|
|
|
syscon {
|
|
/* Debug registers mapped as syscon */
|
|
compatible = "syscon", "simple-mfd";
|
|
reg = <0x1a000000 0x10>;
|
|
|
|
led@4.0 {
|
|
compatible = "register-bit-led";
|
|
offset = <0x04>;
|
|
mask = <0x01>;
|
|
label = "integrator:green0";
|
|
linux,default-trigger = "heartbeat";
|
|
default-state = "on";
|
|
};
|
|
led@4.1 {
|
|
compatible = "register-bit-led";
|
|
offset = <0x04>;
|
|
mask = <0x02>;
|
|
label = "integrator:yellow";
|
|
default-state = "off";
|
|
};
|
|
led@4.2 {
|
|
compatible = "register-bit-led";
|
|
offset = <0x04>;
|
|
mask = <0x04>;
|
|
label = "integrator:red";
|
|
default-state = "off";
|
|
};
|
|
led@4.3 {
|
|
compatible = "register-bit-led";
|
|
offset = <0x04>;
|
|
mask = <0x08>;
|
|
label = "integrator:green1";
|
|
default-state = "off";
|
|
};
|
|
};
|
|
};
|
|
};
|