2012-09-06 12:08:24 +04:00
|
|
|
/*
|
|
|
|
* SoC core Device Tree for the ARM Integrator platforms
|
|
|
|
*/
|
|
|
|
|
|
|
|
/include/ "skeleton.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2013-06-16 04:44:27 +04:00
|
|
|
core-module@10000000 {
|
2015-03-03 12:06:16 +03:00
|
|
|
compatible = "arm,core-module-integrator", "syscon", "simple-mfd";
|
2013-06-16 04:44:27 +04:00
|
|
|
reg = <0x10000000 0x200>;
|
2014-10-22 12:05:44 +04:00
|
|
|
|
|
|
|
/* Use core module LED to indicate CPU load */
|
|
|
|
led@0c.0 {
|
|
|
|
compatible = "register-bit-led";
|
|
|
|
offset = <0x0c>;
|
|
|
|
mask = <0x01>;
|
|
|
|
label = "integrator:core_module";
|
|
|
|
linux,default-trigger = "cpu0";
|
|
|
|
default-state = "on";
|
|
|
|
};
|
2013-06-16 04:44:27 +04:00
|
|
|
};
|
|
|
|
|
2013-06-18 01:58:25 +04:00
|
|
|
ebi@12000000 {
|
|
|
|
compatible = "arm,external-bus-interface";
|
|
|
|
reg = <0x12000000 0x100>;
|
|
|
|
};
|
|
|
|
|
2012-09-06 12:08:24 +04:00
|
|
|
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>;
|
|
|
|
};
|
2012-09-06 12:08:47 +04:00
|
|
|
|
2012-09-06 12:09:11 +04:00
|
|
|
flash@24000000 {
|
|
|
|
compatible = "cfi-flash";
|
|
|
|
reg = <0x24000000 0x02000000>;
|
|
|
|
};
|
|
|
|
|
2012-09-06 12:08:47 +04:00
|
|
|
fpga {
|
2016-03-09 07:26:45 +03:00
|
|
|
compatible = "simple-bus";
|
2012-09-06 12:08:47 +04:00
|
|
|
#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>;
|
|
|
|
};
|
2014-10-15 19:33:13 +04:00
|
|
|
|
|
|
|
syscon {
|
|
|
|
/* Debug registers mapped as syscon */
|
2015-03-03 12:06:16 +03:00
|
|
|
compatible = "syscon", "simple-mfd";
|
2014-10-15 19:33:13 +04:00
|
|
|
reg = <0x1a000000 0x10>;
|
|
|
|
|
|
|
|
led@04.0 {
|
|
|
|
compatible = "register-bit-led";
|
|
|
|
offset = <0x04>;
|
|
|
|
mask = <0x01>;
|
|
|
|
label = "integrator:green0";
|
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
led@04.1 {
|
|
|
|
compatible = "register-bit-led";
|
|
|
|
offset = <0x04>;
|
|
|
|
mask = <0x02>;
|
|
|
|
label = "integrator:yellow";
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led@04.2 {
|
|
|
|
compatible = "register-bit-led";
|
|
|
|
offset = <0x04>;
|
|
|
|
mask = <0x04>;
|
|
|
|
label = "integrator:red";
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
led@04.3 {
|
|
|
|
compatible = "register-bit-led";
|
|
|
|
offset = <0x04>;
|
|
|
|
mask = <0x08>;
|
|
|
|
label = "integrator:green1";
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
};
|
2012-09-06 12:08:47 +04:00
|
|
|
};
|
2012-09-06 12:08:24 +04:00
|
|
|
};
|