This converts the AMBA (PrimeCell) devices on the Integrator/AP and Integrator/CP over to probing from the Device Tree if the kernel is compiled for Device Tree support. We continue to #ifdef out all non-DT code and vice versa on respective boot type to get a clean cut. We need to add a bunch of auxdata (compare to the Versatile) to handle bus names and callbacks alike. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
72 lines
1.2 KiB
Plaintext
72 lines
1.2 KiB
Plaintext
/*
|
|
* SoC core Device Tree for the ARM Integrator platforms
|
|
*/
|
|
|
|
/include/ "skeleton.dtsi"
|
|
|
|
/ {
|
|
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>;
|
|
};
|
|
|
|
fpga {
|
|
compatible = "arm,amba-bus", "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>;
|
|
};
|
|
};
|
|
};
|