diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-03-14 06:06:40 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-04-13 22:31:13 -0400 |
commit | a34c50d53dc7779b404baab61b290827cb898562 (patch) | |
tree | 5a3735699e24b80bfa2131fd8aea69dc1d7a7502 /arch/arm/boot/dts/r8a7778.dtsi | |
parent | b16f05ab75571ec360f5b7298888fd6cdf06f586 (diff) |
ARM: shmobile: r8a7778 dtsi: Improve and correct HSPI nodes
- Add "renesas,hspi-r8a7778" compatible value,
- Correct reference to parent interrupt controller
(use "interrupt-parent" instead of "interrupt-controller"),
- Add missing "#address-cells" and "#size-cells" properties, which are
needed when populating the SPI buses.
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7778.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7778.dtsi | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index 85c5b3b99f5e..3c6fab5c9702 100644 --- a/arch/arm/boot/dts/r8a7778.dtsi +++ b/arch/arm/boot/dts/r8a7778.dtsi | |||
@@ -204,26 +204,32 @@ | |||
204 | }; | 204 | }; |
205 | 205 | ||
206 | hspi0: spi@fffc7000 { | 206 | hspi0: spi@fffc7000 { |
207 | compatible = "renesas,hspi"; | 207 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
208 | reg = <0xfffc7000 0x18>; | 208 | reg = <0xfffc7000 0x18>; |
209 | interrupt-controller = <&gic>; | 209 | interrupt-parent = <&gic>; |
210 | interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>; | 210 | interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>; |
211 | #address-cells = <1>; | ||
212 | #size-cells = <0>; | ||
211 | status = "disabled"; | 213 | status = "disabled"; |
212 | }; | 214 | }; |
213 | 215 | ||
214 | hspi1: spi@fffc8000 { | 216 | hspi1: spi@fffc8000 { |
215 | compatible = "renesas,hspi"; | 217 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
216 | reg = <0xfffc8000 0x18>; | 218 | reg = <0xfffc8000 0x18>; |
217 | interrupt-controller = <&gic>; | 219 | interrupt-parent = <&gic>; |
218 | interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>; | 220 | interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>; |
221 | #address-cells = <1>; | ||
222 | #size-cells = <0>; | ||
219 | status = "disabled"; | 223 | status = "disabled"; |
220 | }; | 224 | }; |
221 | 225 | ||
222 | hspi2: spi@fffc6000 { | 226 | hspi2: spi@fffc6000 { |
223 | compatible = "renesas,hspi"; | 227 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
224 | reg = <0xfffc6000 0x18>; | 228 | reg = <0xfffc6000 0x18>; |
225 | interrupt-controller = <&gic>; | 229 | interrupt-parent = <&gic>; |
226 | interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>; | 230 | interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>; |
231 | #address-cells = <1>; | ||
232 | #size-cells = <0>; | ||
227 | status = "disabled"; | 233 | status = "disabled"; |
228 | }; | 234 | }; |
229 | }; | 235 | }; |