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