aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>2016-08-17 05:13:51 -0400
committerSimon Horman <horms+renesas@verge.net.au>2016-09-08 03:35:27 -0400
commitfa765e5ef49d57834ee66690ba8ed5932edb7968 (patch)
treeca3df205af49d88bd30fa0c11f79164dadb5b007
parent6b5f8e7e7fc5e5ff293d95406d1adb2e24e037ce (diff)
arm64: dts: r8a7796: Add GPIO device nodes
Add GPIO device nodes to the DT of the r8a7796 SoC. Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--arch/arm64/boot/dts/renesas/r8a7796.dtsi112
1 files changed, 112 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 91abc0732bdf..9217da983525 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -107,6 +107,118 @@
107 status = "disabled"; 107 status = "disabled";
108 }; 108 };
109 109
110 gpio0: gpio@e6050000 {
111 compatible = "renesas,gpio-r8a7796",
112 "renesas,gpio-rcar";
113 reg = <0 0xe6050000 0 0x50>;
114 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
115 #gpio-cells = <2>;
116 gpio-controller;
117 gpio-ranges = <&pfc 0 0 16>;
118 #interrupt-cells = <2>;
119 interrupt-controller;
120 clocks = <&cpg CPG_MOD 912>;
121 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
122 };
123
124 gpio1: gpio@e6051000 {
125 compatible = "renesas,gpio-r8a7796",
126 "renesas,gpio-rcar";
127 reg = <0 0xe6051000 0 0x50>;
128 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
129 #gpio-cells = <2>;
130 gpio-controller;
131 gpio-ranges = <&pfc 0 32 29>;
132 #interrupt-cells = <2>;
133 interrupt-controller;
134 clocks = <&cpg CPG_MOD 911>;
135 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
136 };
137
138 gpio2: gpio@e6052000 {
139 compatible = "renesas,gpio-r8a7796",
140 "renesas,gpio-rcar";
141 reg = <0 0xe6052000 0 0x50>;
142 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
143 #gpio-cells = <2>;
144 gpio-controller;
145 gpio-ranges = <&pfc 0 64 15>;
146 #interrupt-cells = <2>;
147 interrupt-controller;
148 clocks = <&cpg CPG_MOD 910>;
149 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
150 };
151
152 gpio3: gpio@e6053000 {
153 compatible = "renesas,gpio-r8a7796",
154 "renesas,gpio-rcar";
155 reg = <0 0xe6053000 0 0x50>;
156 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
157 #gpio-cells = <2>;
158 gpio-controller;
159 gpio-ranges = <&pfc 0 96 16>;
160 #interrupt-cells = <2>;
161 interrupt-controller;
162 clocks = <&cpg CPG_MOD 909>;
163 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
164 };
165
166 gpio4: gpio@e6054000 {
167 compatible = "renesas,gpio-r8a7796",
168 "renesas,gpio-rcar";
169 reg = <0 0xe6054000 0 0x50>;
170 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
171 #gpio-cells = <2>;
172 gpio-controller;
173 gpio-ranges = <&pfc 0 128 18>;
174 #interrupt-cells = <2>;
175 interrupt-controller;
176 clocks = <&cpg CPG_MOD 908>;
177 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
178 };
179
180 gpio5: gpio@e6055000 {
181 compatible = "renesas,gpio-r8a7796",
182 "renesas,gpio-rcar";
183 reg = <0 0xe6055000 0 0x50>;
184 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
185 #gpio-cells = <2>;
186 gpio-controller;
187 gpio-ranges = <&pfc 0 160 26>;
188 #interrupt-cells = <2>;
189 interrupt-controller;
190 clocks = <&cpg CPG_MOD 907>;
191 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
192 };
193
194 gpio6: gpio@e6055400 {
195 compatible = "renesas,gpio-r8a7796",
196 "renesas,gpio-rcar";
197 reg = <0 0xe6055400 0 0x50>;
198 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
199 #gpio-cells = <2>;
200 gpio-controller;
201 gpio-ranges = <&pfc 0 192 32>;
202 #interrupt-cells = <2>;
203 interrupt-controller;
204 clocks = <&cpg CPG_MOD 906>;
205 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
206 };
207
208 gpio7: gpio@e6055800 {
209 compatible = "renesas,gpio-r8a7796",
210 "renesas,gpio-rcar";
211 reg = <0 0xe6055800 0 0x50>;
212 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
213 #gpio-cells = <2>;
214 gpio-controller;
215 gpio-ranges = <&pfc 0 224 4>;
216 #interrupt-cells = <2>;
217 interrupt-controller;
218 clocks = <&cpg CPG_MOD 905>;
219 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
220 };
221
110 pfc: pin-controller@e6060000 { 222 pfc: pin-controller@e6060000 {
111 compatible = "renesas,pfc-r8a7796"; 223 compatible = "renesas,pfc-r8a7796";
112 reg = <0 0xe6060000 0 0x50c>; 224 reg = <0 0xe6060000 0 0x50c>;