diff options
Diffstat (limited to 'arch/arm/boot/dts/r8a7779.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7779.dtsi | 114 |
1 files changed, 93 insertions, 21 deletions
diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi index 19faeac3fd2e..d0561d4c7c46 100644 --- a/arch/arm/boot/dts/r8a7779.dtsi +++ b/arch/arm/boot/dts/r8a7779.dtsi | |||
@@ -11,6 +11,8 @@ | |||
11 | 11 | ||
12 | /include/ "skeleton.dtsi" | 12 | /include/ "skeleton.dtsi" |
13 | 13 | ||
14 | #include <dt-bindings/interrupt-controller/irq.h> | ||
15 | |||
14 | / { | 16 | / { |
15 | compatible = "renesas,r8a7779"; | 17 | compatible = "renesas,r8a7779"; |
16 | 18 | ||
@@ -40,6 +42,12 @@ | |||
40 | }; | 42 | }; |
41 | }; | 43 | }; |
42 | 44 | ||
45 | aliases { | ||
46 | spi0 = &hspi0; | ||
47 | spi1 = &hspi1; | ||
48 | spi2 = &hspi2; | ||
49 | }; | ||
50 | |||
43 | gic: interrupt-controller@f0001000 { | 51 | gic: interrupt-controller@f0001000 { |
44 | compatible = "arm,cortex-a9-gic"; | 52 | compatible = "arm,cortex-a9-gic"; |
45 | #interrupt-cells = <3>; | 53 | #interrupt-cells = <3>; |
@@ -52,7 +60,7 @@ | |||
52 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 60 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
53 | reg = <0xffc40000 0x2c>; | 61 | reg = <0xffc40000 0x2c>; |
54 | interrupt-parent = <&gic>; | 62 | interrupt-parent = <&gic>; |
55 | interrupts = <0 141 0x4>; | 63 | interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>; |
56 | #gpio-cells = <2>; | 64 | #gpio-cells = <2>; |
57 | gpio-controller; | 65 | gpio-controller; |
58 | gpio-ranges = <&pfc 0 0 32>; | 66 | gpio-ranges = <&pfc 0 0 32>; |
@@ -64,7 +72,7 @@ | |||
64 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 72 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
65 | reg = <0xffc41000 0x2c>; | 73 | reg = <0xffc41000 0x2c>; |
66 | interrupt-parent = <&gic>; | 74 | interrupt-parent = <&gic>; |
67 | interrupts = <0 142 0x4>; | 75 | interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>; |
68 | #gpio-cells = <2>; | 76 | #gpio-cells = <2>; |
69 | gpio-controller; | 77 | gpio-controller; |
70 | gpio-ranges = <&pfc 0 32 32>; | 78 | gpio-ranges = <&pfc 0 32 32>; |
@@ -76,7 +84,7 @@ | |||
76 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 84 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
77 | reg = <0xffc42000 0x2c>; | 85 | reg = <0xffc42000 0x2c>; |
78 | interrupt-parent = <&gic>; | 86 | interrupt-parent = <&gic>; |
79 | interrupts = <0 143 0x4>; | 87 | interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>; |
80 | #gpio-cells = <2>; | 88 | #gpio-cells = <2>; |
81 | gpio-controller; | 89 | gpio-controller; |
82 | gpio-ranges = <&pfc 0 64 32>; | 90 | gpio-ranges = <&pfc 0 64 32>; |
@@ -88,7 +96,7 @@ | |||
88 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 96 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
89 | reg = <0xffc43000 0x2c>; | 97 | reg = <0xffc43000 0x2c>; |
90 | interrupt-parent = <&gic>; | 98 | interrupt-parent = <&gic>; |
91 | interrupts = <0 144 0x4>; | 99 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
92 | #gpio-cells = <2>; | 100 | #gpio-cells = <2>; |
93 | gpio-controller; | 101 | gpio-controller; |
94 | gpio-ranges = <&pfc 0 96 32>; | 102 | gpio-ranges = <&pfc 0 96 32>; |
@@ -100,7 +108,7 @@ | |||
100 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 108 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
101 | reg = <0xffc44000 0x2c>; | 109 | reg = <0xffc44000 0x2c>; |
102 | interrupt-parent = <&gic>; | 110 | interrupt-parent = <&gic>; |
103 | interrupts = <0 145 0x4>; | 111 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
104 | #gpio-cells = <2>; | 112 | #gpio-cells = <2>; |
105 | gpio-controller; | 113 | gpio-controller; |
106 | gpio-ranges = <&pfc 0 128 32>; | 114 | gpio-ranges = <&pfc 0 128 32>; |
@@ -112,7 +120,7 @@ | |||
112 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 120 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
113 | reg = <0xffc45000 0x2c>; | 121 | reg = <0xffc45000 0x2c>; |
114 | interrupt-parent = <&gic>; | 122 | interrupt-parent = <&gic>; |
115 | interrupts = <0 146 0x4>; | 123 | interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>; |
116 | #gpio-cells = <2>; | 124 | #gpio-cells = <2>; |
117 | gpio-controller; | 125 | gpio-controller; |
118 | gpio-ranges = <&pfc 0 160 32>; | 126 | gpio-ranges = <&pfc 0 160 32>; |
@@ -124,7 +132,7 @@ | |||
124 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 132 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
125 | reg = <0xffc46000 0x2c>; | 133 | reg = <0xffc46000 0x2c>; |
126 | interrupt-parent = <&gic>; | 134 | interrupt-parent = <&gic>; |
127 | interrupts = <0 147 0x4>; | 135 | interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>; |
128 | #gpio-cells = <2>; | 136 | #gpio-cells = <2>; |
129 | gpio-controller; | 137 | gpio-controller; |
130 | gpio-ranges = <&pfc 0 192 9>; | 138 | gpio-ranges = <&pfc 0 192 9>; |
@@ -133,7 +141,7 @@ | |||
133 | }; | 141 | }; |
134 | 142 | ||
135 | irqpin0: irqpin@fe780010 { | 143 | irqpin0: irqpin@fe780010 { |
136 | compatible = "renesas,intc-irqpin"; | 144 | compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin"; |
137 | #interrupt-cells = <2>; | 145 | #interrupt-cells = <2>; |
138 | status = "disabled"; | 146 | status = "disabled"; |
139 | interrupt-controller; | 147 | interrupt-controller; |
@@ -143,50 +151,50 @@ | |||
143 | <0xfe780044 4>, | 151 | <0xfe780044 4>, |
144 | <0xfe780064 4>; | 152 | <0xfe780064 4>; |
145 | interrupt-parent = <&gic>; | 153 | interrupt-parent = <&gic>; |
146 | interrupts = <0 27 0x4 | 154 | interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH |
147 | 0 28 0x4 | 155 | 0 28 IRQ_TYPE_LEVEL_HIGH |
148 | 0 29 0x4 | 156 | 0 29 IRQ_TYPE_LEVEL_HIGH |
149 | 0 30 0x4>; | 157 | 0 30 IRQ_TYPE_LEVEL_HIGH>; |
150 | sense-bitfield-width = <2>; | 158 | sense-bitfield-width = <2>; |
151 | }; | 159 | }; |
152 | 160 | ||
153 | i2c0: i2c@ffc70000 { | 161 | i2c0: i2c@ffc70000 { |
154 | #address-cells = <1>; | 162 | #address-cells = <1>; |
155 | #size-cells = <0>; | 163 | #size-cells = <0>; |
156 | compatible = "renesas,rmobile-iic"; | 164 | compatible = "renesas,i2c-r8a7779"; |
157 | reg = <0xffc70000 0x1000>; | 165 | reg = <0xffc70000 0x1000>; |
158 | interrupt-parent = <&gic>; | 166 | interrupt-parent = <&gic>; |
159 | interrupts = <0 79 0x4>; | 167 | interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>; |
160 | status = "disabled"; | 168 | status = "disabled"; |
161 | }; | 169 | }; |
162 | 170 | ||
163 | i2c1: i2c@ffc71000 { | 171 | i2c1: i2c@ffc71000 { |
164 | #address-cells = <1>; | 172 | #address-cells = <1>; |
165 | #size-cells = <0>; | 173 | #size-cells = <0>; |
166 | compatible = "renesas,rmobile-iic"; | 174 | compatible = "renesas,i2c-r8a7779"; |
167 | reg = <0xffc71000 0x1000>; | 175 | reg = <0xffc71000 0x1000>; |
168 | interrupt-parent = <&gic>; | 176 | interrupt-parent = <&gic>; |
169 | interrupts = <0 82 0x4>; | 177 | interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>; |
170 | status = "disabled"; | 178 | status = "disabled"; |
171 | }; | 179 | }; |
172 | 180 | ||
173 | i2c2: i2c@ffc72000 { | 181 | i2c2: i2c@ffc72000 { |
174 | #address-cells = <1>; | 182 | #address-cells = <1>; |
175 | #size-cells = <0>; | 183 | #size-cells = <0>; |
176 | compatible = "renesas,rmobile-iic"; | 184 | compatible = "renesas,i2c-r8a7779"; |
177 | reg = <0xffc72000 0x1000>; | 185 | reg = <0xffc72000 0x1000>; |
178 | interrupt-parent = <&gic>; | 186 | interrupt-parent = <&gic>; |
179 | interrupts = <0 80 0x4>; | 187 | interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; |
180 | status = "disabled"; | 188 | status = "disabled"; |
181 | }; | 189 | }; |
182 | 190 | ||
183 | i2c3: i2c@ffc73000 { | 191 | i2c3: i2c@ffc73000 { |
184 | #address-cells = <1>; | 192 | #address-cells = <1>; |
185 | #size-cells = <0>; | 193 | #size-cells = <0>; |
186 | compatible = "renesas,rmobile-iic"; | 194 | compatible = "renesas,i2c-r8a7779"; |
187 | reg = <0xffc73000 0x1000>; | 195 | reg = <0xffc73000 0x1000>; |
188 | interrupt-parent = <&gic>; | 196 | interrupt-parent = <&gic>; |
189 | interrupts = <0 81 0x4>; | 197 | interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; |
190 | status = "disabled"; | 198 | status = "disabled"; |
191 | }; | 199 | }; |
192 | 200 | ||
@@ -204,6 +212,70 @@ | |||
204 | compatible = "renesas,rcar-sata"; | 212 | compatible = "renesas,rcar-sata"; |
205 | reg = <0xfc600000 0x2000>; | 213 | reg = <0xfc600000 0x2000>; |
206 | interrupt-parent = <&gic>; | 214 | interrupt-parent = <&gic>; |
207 | interrupts = <0 100 0x4>; | 215 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
216 | }; | ||
217 | |||
218 | sdhi0: sd@ffe4c000 { | ||
219 | compatible = "renesas,sdhi-r8a7779"; | ||
220 | reg = <0xffe4c000 0x100>; | ||
221 | interrupt-parent = <&gic>; | ||
222 | interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>; | ||
223 | cap-sd-highspeed; | ||
224 | cap-sdio-irq; | ||
225 | status = "disabled"; | ||
226 | }; | ||
227 | |||
228 | sdhi1: sd@ffe4d000 { | ||
229 | compatible = "renesas,sdhi-r8a7779"; | ||
230 | reg = <0xffe4d000 0x100>; | ||
231 | interrupt-parent = <&gic>; | ||
232 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; | ||
233 | cap-sd-highspeed; | ||
234 | cap-sdio-irq; | ||
235 | status = "disabled"; | ||
236 | }; | ||
237 | |||
238 | sdhi2: sd@ffe4e000 { | ||
239 | compatible = "renesas,sdhi-r8a7779"; | ||
240 | reg = <0xffe4e000 0x100>; | ||
241 | interrupt-parent = <&gic>; | ||
242 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; | ||
243 | cap-sd-highspeed; | ||
244 | cap-sdio-irq; | ||
245 | status = "disabled"; | ||
246 | }; | ||
247 | |||
248 | sdhi3: sd@ffe4f000 { | ||
249 | compatible = "renesas,sdhi-r8a7779"; | ||
250 | reg = <0xffe4f000 0x100>; | ||
251 | interrupt-parent = <&gic>; | ||
252 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; | ||
253 | cap-sd-highspeed; | ||
254 | cap-sdio-irq; | ||
255 | status = "disabled"; | ||
256 | }; | ||
257 | |||
258 | hspi0: spi@fffc7000 { | ||
259 | compatible = "renesas,hspi"; | ||
260 | reg = <0xfffc7000 0x18>; | ||
261 | interrupt-controller = <&gic>; | ||
262 | interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>; | ||
263 | status = "disabled"; | ||
264 | }; | ||
265 | |||
266 | hspi1: spi@fffc8000 { | ||
267 | compatible = "renesas,hspi"; | ||
268 | reg = <0xfffc8000 0x18>; | ||
269 | interrupt-controller = <&gic>; | ||
270 | interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>; | ||
271 | status = "disabled"; | ||
272 | }; | ||
273 | |||
274 | hspi2: spi@fffc6000 { | ||
275 | compatible = "renesas,hspi"; | ||
276 | reg = <0xfffc6000 0x18>; | ||
277 | interrupt-controller = <&gic>; | ||
278 | interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>; | ||
279 | status = "disabled"; | ||
208 | }; | 280 | }; |
209 | }; | 281 | }; |