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:34 -0400 |
commit | f5c771b5610b4c0d4daf9729aa03539ef1779a92 (patch) | |
tree | 9796e19aab883754e8d96ee7e06449bea83886f3 /arch/arm/boot/dts/r8a7779.dtsi | |
parent | 3ab03d01a989e4d77ed6ba0bc8c2efd9211df7c8 (diff) |
ARM: shmobile: r8a7779: Add GPIO controller devices to device tree
Add GPIO controller nodes to the r8a7779 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/r8a7779.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7779.dtsi | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi index 9dfc438451ef..e9fbe3d572d7 100644 --- a/arch/arm/boot/dts/r8a7779.dtsi +++ b/arch/arm/boot/dts/r8a7779.dtsi | |||
@@ -48,6 +48,90 @@ | |||
48 | <0xf0000100 0x100>; | 48 | <0xf0000100 0x100>; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | gpio0: gpio@ffc40000 { | ||
52 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | ||
53 | reg = <0xffc40000 0x2c>; | ||
54 | interrupt-parent = <&gic>; | ||
55 | interrupts = <0 141 0x4>; | ||
56 | #gpio-cells = <2>; | ||
57 | gpio-controller; | ||
58 | gpio-ranges = <&pfc 0 0 32>; | ||
59 | #interrupt-cells = <2>; | ||
60 | interrupt-controller; | ||
61 | }; | ||
62 | |||
63 | gpio1: gpio@ffc41000 { | ||
64 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | ||
65 | reg = <0xffc41000 0x2c>; | ||
66 | interrupt-parent = <&gic>; | ||
67 | interrupts = <0 142 0x4>; | ||
68 | #gpio-cells = <2>; | ||
69 | gpio-controller; | ||
70 | gpio-ranges = <&pfc 0 32 32>; | ||
71 | #interrupt-cells = <2>; | ||
72 | interrupt-controller; | ||
73 | }; | ||
74 | |||
75 | gpio2: gpio@ffc42000 { | ||
76 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | ||
77 | reg = <0xffc42000 0x2c>; | ||
78 | interrupt-parent = <&gic>; | ||
79 | interrupts = <0 143 0x4>; | ||
80 | #gpio-cells = <2>; | ||
81 | gpio-controller; | ||
82 | gpio-ranges = <&pfc 0 64 32>; | ||
83 | #interrupt-cells = <2>; | ||
84 | interrupt-controller; | ||
85 | }; | ||
86 | |||
87 | gpio3: gpio@ffc43000 { | ||
88 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | ||
89 | reg = <0xffc43000 0x2c>; | ||
90 | interrupt-parent = <&gic>; | ||
91 | interrupts = <0 144 0x4>; | ||
92 | #gpio-cells = <2>; | ||
93 | gpio-controller; | ||
94 | gpio-ranges = <&pfc 0 96 32>; | ||
95 | #interrupt-cells = <2>; | ||
96 | interrupt-controller; | ||
97 | }; | ||
98 | |||
99 | gpio4: gpio@ffc44000 { | ||
100 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | ||
101 | reg = <0xffc44000 0x2c>; | ||
102 | interrupt-parent = <&gic>; | ||
103 | interrupts = <0 145 0x4>; | ||
104 | #gpio-cells = <2>; | ||
105 | gpio-controller; | ||
106 | gpio-ranges = <&pfc 0 128 32>; | ||
107 | #interrupt-cells = <2>; | ||
108 | interrupt-controller; | ||
109 | }; | ||
110 | |||
111 | gpio5: gpio@ffc45000 { | ||
112 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | ||
113 | reg = <0xffc45000 0x2c>; | ||
114 | interrupt-parent = <&gic>; | ||
115 | interrupts = <0 146 0x4>; | ||
116 | #gpio-cells = <2>; | ||
117 | gpio-controller; | ||
118 | gpio-ranges = <&pfc 0 160 32>; | ||
119 | #interrupt-cells = <2>; | ||
120 | interrupt-controller; | ||
121 | }; | ||
122 | |||
123 | gpio6: gpio@ffc46000 { | ||
124 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | ||
125 | reg = <0xffc46000 0x2c>; | ||
126 | interrupt-parent = <&gic>; | ||
127 | interrupts = <0 147 0x4>; | ||
128 | #gpio-cells = <2>; | ||
129 | gpio-controller; | ||
130 | gpio-ranges = <&pfc 0 192 9>; | ||
131 | #interrupt-cells = <2>; | ||
132 | interrupt-controller; | ||
133 | }; | ||
134 | |||
51 | irqpin0: irqpin@fe780010 { | 135 | irqpin0: irqpin@fe780010 { |
52 | compatible = "renesas,intc-irqpin"; | 136 | compatible = "renesas,intc-irqpin"; |
53 | #interrupt-cells = <2>; | 137 | #interrupt-cells = <2>; |
@@ -104,6 +188,7 @@ | |||
104 | pfc: pfc@fffc0000 { | 188 | pfc: pfc@fffc0000 { |
105 | compatible = "renesas,pfc-r8a7779"; | 189 | compatible = "renesas,pfc-r8a7779"; |
106 | reg = <0xfffc0000 0x23c>; | 190 | reg = <0xfffc0000 0x23c>; |
191 | #gpio-range-cells = <3>; | ||
107 | }; | 192 | }; |
108 | 193 | ||
109 | thermal@ffc48000 { | 194 | thermal@ffc48000 { |