diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-09-06 04:08:47 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-09-17 18:20:22 -0400 |
commit | 4672cddff21f6edde857aa4b523bbc1bfc741cf8 (patch) | |
tree | 95af82598243419da14f78aab39474778071fed3 /arch/arm/boot/dts/integratorcp.dts | |
parent | 4980f9bc2cec0f8ff0e0f2b021d46c7606ae1849 (diff) |
ARM: 7518/1: integrator: convert AMBA devices to device tree
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>
Diffstat (limited to 'arch/arm/boot/dts/integratorcp.dts')
-rw-r--r-- | arch/arm/boot/dts/integratorcp.dts | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/integratorcp.dts b/arch/arm/boot/dts/integratorcp.dts index 63033144442a..7bd49466cb0d 100644 --- a/arch/arm/boot/dts/integratorcp.dts +++ b/arch/arm/boot/dts/integratorcp.dts | |||
@@ -51,4 +51,53 @@ | |||
51 | clear-mask = <0x00000fff>; | 51 | clear-mask = <0x00000fff>; |
52 | valid-mask = <0x00000fff>; | 52 | valid-mask = <0x00000fff>; |
53 | }; | 53 | }; |
54 | |||
55 | fpga { | ||
56 | /* | ||
57 | * These PrimeCells are at the same location and using | ||
58 | * the same interrupts in all Integrators, but in the CP | ||
59 | * slightly newer versions are deployed. | ||
60 | */ | ||
61 | rtc@15000000 { | ||
62 | compatible = "arm,pl031", "arm,primecell"; | ||
63 | }; | ||
64 | |||
65 | uart@16000000 { | ||
66 | compatible = "arm,pl011", "arm,primecell"; | ||
67 | }; | ||
68 | |||
69 | uart@17000000 { | ||
70 | compatible = "arm,pl011", "arm,primecell"; | ||
71 | }; | ||
72 | |||
73 | kmi@18000000 { | ||
74 | compatible = "arm,pl050", "arm,primecell"; | ||
75 | }; | ||
76 | |||
77 | kmi@19000000 { | ||
78 | compatible = "arm,pl050", "arm,primecell"; | ||
79 | }; | ||
80 | |||
81 | /* | ||
82 | * These PrimeCells are only available on the Integrator/CP | ||
83 | */ | ||
84 | mmc@1c000000 { | ||
85 | compatible = "arm,pl180", "arm,primecell"; | ||
86 | reg = <0x1c000000 0x1000>; | ||
87 | interrupts = <23 24>; | ||
88 | max-frequency = <515633>; | ||
89 | }; | ||
90 | |||
91 | aaci@1d000000 { | ||
92 | compatible = "arm,pl041", "arm,primecell"; | ||
93 | reg = <0x1d000000 0x1000>; | ||
94 | interrupts = <25>; | ||
95 | }; | ||
96 | |||
97 | clcd@c0000000 { | ||
98 | compatible = "arm,pl110", "arm,primecell"; | ||
99 | reg = <0xC0000000 0x1000>; | ||
100 | interrupts = <22>; | ||
101 | }; | ||
102 | }; | ||
54 | }; | 103 | }; |