diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-05-10 09:51:14 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-07-21 21:12:33 -0400 |
commit | aaf7eda80cb8371bbf26d7171241cfb94b787b0f (patch) | |
tree | a4905c9ba5e7afd08a0cef81c1865f3377554823 /arch/arm/boot/dts/r8a7778.dtsi | |
parent | 0697ccc05473083cb9e1cdf16cd1f425f0f9395f (diff) |
ARM: shmobile: r8a7778: Add GPIO controller devices to device tree
Add GPIO controller nodes to the r8a7778 core device tree.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.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 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index c8dbf148c69c..45ac404ab6d8 100644 --- a/arch/arm/boot/dts/r8a7778.dtsi +++ b/arch/arm/boot/dts/r8a7778.dtsi | |||
@@ -33,8 +33,69 @@ | |||
33 | <0xfe430000 0x100>; | 33 | <0xfe430000 0x100>; |
34 | }; | 34 | }; |
35 | 35 | ||
36 | gpio0: gpio@ffc40000 { | ||
37 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | ||
38 | reg = <0xffc40000 0x2c>; | ||
39 | interrupt-parent = <&gic>; | ||
40 | interrupts = <0 103 0x4>; | ||
41 | #gpio-cells = <2>; | ||
42 | gpio-controller; | ||
43 | gpio-ranges = <&pfc 0 0 32>; | ||
44 | #interrupt-cells = <2>; | ||
45 | interrupt-controller; | ||
46 | }; | ||
47 | |||
48 | gpio1: gpio@ffc41000 { | ||
49 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | ||
50 | reg = <0xffc41000 0x2c>; | ||
51 | interrupt-parent = <&gic>; | ||
52 | interrupts = <0 103 0x4>; | ||
53 | #gpio-cells = <2>; | ||
54 | gpio-controller; | ||
55 | gpio-ranges = <&pfc 0 32 32>; | ||
56 | #interrupt-cells = <2>; | ||
57 | interrupt-controller; | ||
58 | }; | ||
59 | |||
60 | gpio2: gpio@ffc42000 { | ||
61 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | ||
62 | reg = <0xffc42000 0x2c>; | ||
63 | interrupt-parent = <&gic>; | ||
64 | interrupts = <0 103 0x4>; | ||
65 | #gpio-cells = <2>; | ||
66 | gpio-controller; | ||
67 | gpio-ranges = <&pfc 0 64 32>; | ||
68 | #interrupt-cells = <2>; | ||
69 | interrupt-controller; | ||
70 | }; | ||
71 | |||
72 | gpio3: gpio@ffc43000 { | ||
73 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | ||
74 | reg = <0xffc43000 0x2c>; | ||
75 | interrupt-parent = <&gic>; | ||
76 | interrupts = <0 103 0x4>; | ||
77 | #gpio-cells = <2>; | ||
78 | gpio-controller; | ||
79 | gpio-ranges = <&pfc 0 96 32>; | ||
80 | #interrupt-cells = <2>; | ||
81 | interrupt-controller; | ||
82 | }; | ||
83 | |||
84 | gpio4: gpio@ffc44000 { | ||
85 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; | ||
86 | reg = <0xffc44000 0x2c>; | ||
87 | interrupt-parent = <&gic>; | ||
88 | interrupts = <0 103 0x4>; | ||
89 | #gpio-cells = <2>; | ||
90 | gpio-controller; | ||
91 | gpio-ranges = <&pfc 0 128 27>; | ||
92 | #interrupt-cells = <2>; | ||
93 | interrupt-controller; | ||
94 | }; | ||
95 | |||
36 | pfc: pfc@fffc0000 { | 96 | pfc: pfc@fffc0000 { |
37 | compatible = "renesas,pfc-r8a7778"; | 97 | compatible = "renesas,pfc-r8a7778"; |
38 | reg = <0xfffc000 0x118>; | 98 | reg = <0xfffc000 0x118>; |
99 | #gpio-range-cells = <3>; | ||
39 | }; | 100 | }; |
40 | }; | 101 | }; |