xref: /linux/scripts/dtc/include-prefixes/arm64/hisilicon/hi3670.dtsi (revision 8c563f55ee1d0241b834dd4b43be11cf7a47732b)
1dd8c7b78SManivannan Sadhasivam// SPDX-License-Identifier: GPL-2.0
2dd8c7b78SManivannan Sadhasivam/*
3dd8c7b78SManivannan Sadhasivam * dts file for Hisilicon Hi3670 SoC
4dd8c7b78SManivannan Sadhasivam *
5dd8c7b78SManivannan Sadhasivam * Copyright (C) 2016, Hisilicon Ltd.
6dd8c7b78SManivannan Sadhasivam * Copyright (C) 2018, Linaro Ltd.
7dd8c7b78SManivannan Sadhasivam */
8dd8c7b78SManivannan Sadhasivam
9dd8c7b78SManivannan Sadhasivam#include <dt-bindings/interrupt-controller/arm-gic.h>
10c00e3f80SManivannan Sadhasivam#include <dt-bindings/clock/hi3670-clock.h>
11dd8c7b78SManivannan Sadhasivam
12dd8c7b78SManivannan Sadhasivam/ {
13dd8c7b78SManivannan Sadhasivam	compatible = "hisilicon,hi3670";
14dd8c7b78SManivannan Sadhasivam	interrupt-parent = <&gic>;
15dd8c7b78SManivannan Sadhasivam	#address-cells = <2>;
16dd8c7b78SManivannan Sadhasivam	#size-cells = <2>;
17dd8c7b78SManivannan Sadhasivam
18dd8c7b78SManivannan Sadhasivam	psci {
19dd8c7b78SManivannan Sadhasivam		compatible = "arm,psci-0.2";
20dd8c7b78SManivannan Sadhasivam		method = "smc";
21dd8c7b78SManivannan Sadhasivam	};
22dd8c7b78SManivannan Sadhasivam
23dd8c7b78SManivannan Sadhasivam	cpus {
24dd8c7b78SManivannan Sadhasivam		#address-cells = <2>;
25dd8c7b78SManivannan Sadhasivam		#size-cells = <0>;
26dd8c7b78SManivannan Sadhasivam
27dd8c7b78SManivannan Sadhasivam		cpu-map {
28dd8c7b78SManivannan Sadhasivam			cluster0 {
29dd8c7b78SManivannan Sadhasivam				core0 {
30dd8c7b78SManivannan Sadhasivam					cpu = <&cpu0>;
31dd8c7b78SManivannan Sadhasivam				};
32dd8c7b78SManivannan Sadhasivam				core1 {
33dd8c7b78SManivannan Sadhasivam					cpu = <&cpu1>;
34dd8c7b78SManivannan Sadhasivam				};
35dd8c7b78SManivannan Sadhasivam				core2 {
36dd8c7b78SManivannan Sadhasivam					cpu = <&cpu2>;
37dd8c7b78SManivannan Sadhasivam				};
38dd8c7b78SManivannan Sadhasivam				core3 {
39dd8c7b78SManivannan Sadhasivam					cpu = <&cpu3>;
40dd8c7b78SManivannan Sadhasivam				};
41dd8c7b78SManivannan Sadhasivam			};
42dd8c7b78SManivannan Sadhasivam			cluster1 {
43dd8c7b78SManivannan Sadhasivam				core0 {
44dd8c7b78SManivannan Sadhasivam					cpu = <&cpu4>;
45dd8c7b78SManivannan Sadhasivam				};
46dd8c7b78SManivannan Sadhasivam				core1 {
47dd8c7b78SManivannan Sadhasivam					cpu = <&cpu5>;
48dd8c7b78SManivannan Sadhasivam				};
49dd8c7b78SManivannan Sadhasivam				core2 {
50dd8c7b78SManivannan Sadhasivam					cpu = <&cpu6>;
51dd8c7b78SManivannan Sadhasivam				};
52dd8c7b78SManivannan Sadhasivam				core3 {
53dd8c7b78SManivannan Sadhasivam					cpu = <&cpu7>;
54dd8c7b78SManivannan Sadhasivam				};
55dd8c7b78SManivannan Sadhasivam			};
56dd8c7b78SManivannan Sadhasivam		};
57dd8c7b78SManivannan Sadhasivam
58dd8c7b78SManivannan Sadhasivam		cpu0: cpu@0 {
5931af04cdSRob Herring			compatible = "arm,cortex-a53";
60dd8c7b78SManivannan Sadhasivam			device_type = "cpu";
61dd8c7b78SManivannan Sadhasivam			reg = <0x0 0x0>;
62dd8c7b78SManivannan Sadhasivam			enable-method = "psci";
63dd8c7b78SManivannan Sadhasivam		};
64dd8c7b78SManivannan Sadhasivam
65dd8c7b78SManivannan Sadhasivam		cpu1: cpu@1 {
6631af04cdSRob Herring			compatible = "arm,cortex-a53";
67dd8c7b78SManivannan Sadhasivam			device_type = "cpu";
68dd8c7b78SManivannan Sadhasivam			reg = <0x0 0x1>;
69dd8c7b78SManivannan Sadhasivam			enable-method = "psci";
70dd8c7b78SManivannan Sadhasivam		};
71dd8c7b78SManivannan Sadhasivam
72dd8c7b78SManivannan Sadhasivam		cpu2: cpu@2 {
7331af04cdSRob Herring			compatible = "arm,cortex-a53";
74dd8c7b78SManivannan Sadhasivam			device_type = "cpu";
75dd8c7b78SManivannan Sadhasivam			reg = <0x0 0x2>;
76dd8c7b78SManivannan Sadhasivam			enable-method = "psci";
77dd8c7b78SManivannan Sadhasivam		};
78dd8c7b78SManivannan Sadhasivam
79dd8c7b78SManivannan Sadhasivam		cpu3: cpu@3 {
8031af04cdSRob Herring			compatible = "arm,cortex-a53";
81dd8c7b78SManivannan Sadhasivam			device_type = "cpu";
82dd8c7b78SManivannan Sadhasivam			reg = <0x0 0x3>;
83dd8c7b78SManivannan Sadhasivam			enable-method = "psci";
84dd8c7b78SManivannan Sadhasivam		};
85dd8c7b78SManivannan Sadhasivam
86dd8c7b78SManivannan Sadhasivam		cpu4: cpu@100 {
8731af04cdSRob Herring			compatible = "arm,cortex-a73";
88dd8c7b78SManivannan Sadhasivam			device_type = "cpu";
89dd8c7b78SManivannan Sadhasivam			reg = <0x0 0x100>;
90dd8c7b78SManivannan Sadhasivam			enable-method = "psci";
91dd8c7b78SManivannan Sadhasivam		};
92dd8c7b78SManivannan Sadhasivam
93dd8c7b78SManivannan Sadhasivam		cpu5: cpu@101 {
9431af04cdSRob Herring			compatible = "arm,cortex-a73";
95dd8c7b78SManivannan Sadhasivam			device_type = "cpu";
96dd8c7b78SManivannan Sadhasivam			reg = <0x0 0x101>;
97dd8c7b78SManivannan Sadhasivam			enable-method = "psci";
98dd8c7b78SManivannan Sadhasivam		};
99dd8c7b78SManivannan Sadhasivam
100dd8c7b78SManivannan Sadhasivam		cpu6: cpu@102 {
10131af04cdSRob Herring			compatible = "arm,cortex-a73";
102dd8c7b78SManivannan Sadhasivam			device_type = "cpu";
103dd8c7b78SManivannan Sadhasivam			reg = <0x0 0x102>;
104dd8c7b78SManivannan Sadhasivam			enable-method = "psci";
105dd8c7b78SManivannan Sadhasivam		};
106dd8c7b78SManivannan Sadhasivam
107dd8c7b78SManivannan Sadhasivam		cpu7: cpu@103 {
10831af04cdSRob Herring			compatible = "arm,cortex-a73";
109dd8c7b78SManivannan Sadhasivam			device_type = "cpu";
110dd8c7b78SManivannan Sadhasivam			reg = <0x0 0x103>;
111dd8c7b78SManivannan Sadhasivam			enable-method = "psci";
112dd8c7b78SManivannan Sadhasivam		};
113dd8c7b78SManivannan Sadhasivam	};
114dd8c7b78SManivannan Sadhasivam
115dd8c7b78SManivannan Sadhasivam	gic: interrupt-controller@e82b0000 {
116dd8c7b78SManivannan Sadhasivam		compatible = "arm,gic-400";
117dd8c7b78SManivannan Sadhasivam		reg = <0x0 0xe82b1000 0 0x1000>, /* GICD */
118dd8c7b78SManivannan Sadhasivam		      <0x0 0xe82b2000 0 0x2000>, /* GICC */
119dd8c7b78SManivannan Sadhasivam		      <0x0 0xe82b4000 0 0x2000>, /* GICH */
120dd8c7b78SManivannan Sadhasivam		      <0x0 0xe82b6000 0 0x2000>; /* GICV */
121dd8c7b78SManivannan Sadhasivam		#interrupt-cells = <3>;
122dd8c7b78SManivannan Sadhasivam		#address-cells = <0>;
123dd8c7b78SManivannan Sadhasivam		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) |
124dd8c7b78SManivannan Sadhasivam					 IRQ_TYPE_LEVEL_HIGH)>;
125dd8c7b78SManivannan Sadhasivam		interrupt-controller;
126dd8c7b78SManivannan Sadhasivam	};
127dd8c7b78SManivannan Sadhasivam
128dd8c7b78SManivannan Sadhasivam	timer {
129dd8c7b78SManivannan Sadhasivam		compatible = "arm,armv8-timer";
130dd8c7b78SManivannan Sadhasivam		interrupt-parent = <&gic>;
131dd8c7b78SManivannan Sadhasivam		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) |
132dd8c7b78SManivannan Sadhasivam					  IRQ_TYPE_LEVEL_LOW)>,
133dd8c7b78SManivannan Sadhasivam			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) |
134dd8c7b78SManivannan Sadhasivam					  IRQ_TYPE_LEVEL_LOW)>,
135dd8c7b78SManivannan Sadhasivam			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) |
136dd8c7b78SManivannan Sadhasivam					  IRQ_TYPE_LEVEL_LOW)>,
137dd8c7b78SManivannan Sadhasivam			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) |
138dd8c7b78SManivannan Sadhasivam					  IRQ_TYPE_LEVEL_LOW)>;
139dd8c7b78SManivannan Sadhasivam		clock-frequency = <1920000>;
140dd8c7b78SManivannan Sadhasivam	};
141dd8c7b78SManivannan Sadhasivam
142dd8c7b78SManivannan Sadhasivam	soc {
143dd8c7b78SManivannan Sadhasivam		compatible = "simple-bus";
144dd8c7b78SManivannan Sadhasivam		#address-cells = <2>;
145dd8c7b78SManivannan Sadhasivam		#size-cells = <2>;
146dd8c7b78SManivannan Sadhasivam		ranges;
147dd8c7b78SManivannan Sadhasivam
148c00e3f80SManivannan Sadhasivam		crg_ctrl: crg_ctrl@fff35000 {
149c00e3f80SManivannan Sadhasivam			compatible = "hisilicon,hi3670-crgctrl", "syscon";
150c00e3f80SManivannan Sadhasivam			reg = <0x0 0xfff35000 0x0 0x1000>;
151c00e3f80SManivannan Sadhasivam			#clock-cells = <1>;
152c00e3f80SManivannan Sadhasivam		};
153c00e3f80SManivannan Sadhasivam
154757a4b29SManivannan Sadhasivam		crg_rst: crg_rst_controller {
155757a4b29SManivannan Sadhasivam			compatible = "hisilicon,hi3670-reset",
156757a4b29SManivannan Sadhasivam				     "hisilicon,hi3660-reset";
157757a4b29SManivannan Sadhasivam			#reset-cells = <2>;
158757a4b29SManivannan Sadhasivam			hisi,rst-syscon = <&crg_ctrl>;
159757a4b29SManivannan Sadhasivam		};
160757a4b29SManivannan Sadhasivam
161c00e3f80SManivannan Sadhasivam		pctrl: pctrl@e8a09000 {
162c00e3f80SManivannan Sadhasivam			compatible = "hisilicon,hi3670-pctrl", "syscon";
163c00e3f80SManivannan Sadhasivam			reg = <0x0 0xe8a09000 0x0 0x1000>;
164c00e3f80SManivannan Sadhasivam			#clock-cells = <1>;
165c00e3f80SManivannan Sadhasivam		};
166c00e3f80SManivannan Sadhasivam
167c00e3f80SManivannan Sadhasivam		pmuctrl: crg_ctrl@fff34000 {
168c00e3f80SManivannan Sadhasivam			compatible = "hisilicon,hi3670-pmuctrl", "syscon";
169c00e3f80SManivannan Sadhasivam			reg = <0x0 0xfff34000 0x0 0x1000>;
170c00e3f80SManivannan Sadhasivam			#clock-cells = <1>;
171c00e3f80SManivannan Sadhasivam		};
172c00e3f80SManivannan Sadhasivam
173c00e3f80SManivannan Sadhasivam		sctrl: sctrl@fff0a000 {
174c00e3f80SManivannan Sadhasivam			compatible = "hisilicon,hi3670-sctrl", "syscon";
175c00e3f80SManivannan Sadhasivam			reg = <0x0 0xfff0a000 0x0 0x1000>;
176c00e3f80SManivannan Sadhasivam			#clock-cells = <1>;
177c00e3f80SManivannan Sadhasivam		};
178c00e3f80SManivannan Sadhasivam
179c00e3f80SManivannan Sadhasivam		iomcu: iomcu@ffd7e000 {
180c00e3f80SManivannan Sadhasivam			compatible = "hisilicon,hi3670-iomcu", "syscon";
181c00e3f80SManivannan Sadhasivam			reg = <0x0 0xffd7e000 0x0 0x1000>;
182c00e3f80SManivannan Sadhasivam			#clock-cells = <1>;
183c00e3f80SManivannan Sadhasivam		};
184c00e3f80SManivannan Sadhasivam
185c00e3f80SManivannan Sadhasivam		media1_crg: media1_crgctrl@e87ff000 {
186c00e3f80SManivannan Sadhasivam			compatible = "hisilicon,hi3670-media1-crg", "syscon";
187c00e3f80SManivannan Sadhasivam			reg = <0x0 0xe87ff000 0x0 0x1000>;
188c00e3f80SManivannan Sadhasivam			#clock-cells = <1>;
189c00e3f80SManivannan Sadhasivam		};
190c00e3f80SManivannan Sadhasivam
191c00e3f80SManivannan Sadhasivam		media2_crg: media2_crgctrl@e8900000 {
192c00e3f80SManivannan Sadhasivam			compatible = "hisilicon,hi3670-media2-crg","syscon";
193c00e3f80SManivannan Sadhasivam			reg = <0x0 0xe8900000 0x0 0x1000>;
194c00e3f80SManivannan Sadhasivam			#clock-cells = <1>;
195c00e3f80SManivannan Sadhasivam		};
196c00e3f80SManivannan Sadhasivam
197dd54bb8aSManivannan Sadhasivam		uart0: serial@fdf02000 {
198dd54bb8aSManivannan Sadhasivam			compatible = "arm,pl011", "arm,primecell";
199dd54bb8aSManivannan Sadhasivam			reg = <0x0 0xfdf02000 0x0 0x1000>;
200dd54bb8aSManivannan Sadhasivam			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
201dd54bb8aSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_UART0>,
202dd54bb8aSManivannan Sadhasivam				 <&crg_ctrl HI3670_PCLK>;
203dd54bb8aSManivannan Sadhasivam			clock-names = "uartclk", "apb_pclk";
204dd54bb8aSManivannan Sadhasivam			pinctrl-names = "default";
205dd54bb8aSManivannan Sadhasivam			pinctrl-0 = <&uart0_pmx_func &uart0_cfg_func>;
206dd54bb8aSManivannan Sadhasivam			status = "disabled";
207dd54bb8aSManivannan Sadhasivam		};
208dd54bb8aSManivannan Sadhasivam
209dd54bb8aSManivannan Sadhasivam		uart1: serial@fdf00000 {
210dd54bb8aSManivannan Sadhasivam			compatible = "arm,pl011", "arm,primecell";
211dd54bb8aSManivannan Sadhasivam			reg = <0x0 0xfdf00000 0x0 0x1000>;
212dd54bb8aSManivannan Sadhasivam			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
213dd54bb8aSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_UART1>,
214dd54bb8aSManivannan Sadhasivam				 <&crg_ctrl HI3670_PCLK>;
215dd54bb8aSManivannan Sadhasivam			clock-names = "uartclk", "apb_pclk";
216dd54bb8aSManivannan Sadhasivam			pinctrl-names = "default";
217dd54bb8aSManivannan Sadhasivam			status = "disabled";
218dd54bb8aSManivannan Sadhasivam		};
219dd54bb8aSManivannan Sadhasivam
220dd54bb8aSManivannan Sadhasivam		uart2: serial@fdf03000 {
221dd54bb8aSManivannan Sadhasivam			compatible = "arm,pl011", "arm,primecell";
222dd54bb8aSManivannan Sadhasivam			reg = <0x0 0xfdf03000 0x0 0x1000>;
223dd54bb8aSManivannan Sadhasivam			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
224dd54bb8aSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_UART2>,
225dd54bb8aSManivannan Sadhasivam				 <&crg_ctrl HI3670_PCLK>;
226dd54bb8aSManivannan Sadhasivam			clock-names = "uartclk", "apb_pclk";
227dd54bb8aSManivannan Sadhasivam			pinctrl-names = "default";
228dd54bb8aSManivannan Sadhasivam			pinctrl-0 = <&uart2_pmx_func &uart2_cfg_func>;
229dd54bb8aSManivannan Sadhasivam			status = "disabled";
230dd54bb8aSManivannan Sadhasivam		};
231dd54bb8aSManivannan Sadhasivam
232dd54bb8aSManivannan Sadhasivam		uart3: serial@ffd74000 {
233dd54bb8aSManivannan Sadhasivam			compatible = "arm,pl011", "arm,primecell";
234dd54bb8aSManivannan Sadhasivam			reg = <0x0 0xffd74000 0x0 0x1000>;
235dd54bb8aSManivannan Sadhasivam			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
236dd54bb8aSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_UART3>,
237dd54bb8aSManivannan Sadhasivam				 <&crg_ctrl HI3670_PCLK>;
238dd54bb8aSManivannan Sadhasivam			clock-names = "uartclk", "apb_pclk";
239dd54bb8aSManivannan Sadhasivam			pinctrl-names = "default";
240dd54bb8aSManivannan Sadhasivam			pinctrl-0 = <&uart3_pmx_func &uart3_cfg_func>;
241dd54bb8aSManivannan Sadhasivam			status = "disabled";
242dd54bb8aSManivannan Sadhasivam		};
243dd54bb8aSManivannan Sadhasivam
244dd54bb8aSManivannan Sadhasivam		uart4: serial@fdf01000 {
245dd54bb8aSManivannan Sadhasivam			compatible = "arm,pl011", "arm,primecell";
246dd54bb8aSManivannan Sadhasivam			reg = <0x0 0xfdf01000 0x0 0x1000>;
247dd54bb8aSManivannan Sadhasivam			interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
248dd54bb8aSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_UART4>,
249dd54bb8aSManivannan Sadhasivam				 <&crg_ctrl HI3670_PCLK>;
250dd54bb8aSManivannan Sadhasivam			clock-names = "uartclk", "apb_pclk";
251dd54bb8aSManivannan Sadhasivam			pinctrl-names = "default";
252dd54bb8aSManivannan Sadhasivam			pinctrl-0 = <&uart4_pmx_func &uart4_cfg_func>;
253dd54bb8aSManivannan Sadhasivam			status = "disabled";
254dd54bb8aSManivannan Sadhasivam		};
255dd54bb8aSManivannan Sadhasivam
256dd54bb8aSManivannan Sadhasivam		uart5: serial@fdf05000 {
257dd54bb8aSManivannan Sadhasivam			compatible = "arm,pl011", "arm,primecell";
258dd54bb8aSManivannan Sadhasivam			reg = <0x0 0xfdf05000 0x0 0x1000>;
259dd54bb8aSManivannan Sadhasivam			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
260dd54bb8aSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_UART5>,
261dd54bb8aSManivannan Sadhasivam				 <&crg_ctrl HI3670_PCLK>;
262dd54bb8aSManivannan Sadhasivam			clock-names = "uartclk", "apb_pclk";
263dd54bb8aSManivannan Sadhasivam			pinctrl-names = "default";
264dd54bb8aSManivannan Sadhasivam			status = "disabled";
265dd54bb8aSManivannan Sadhasivam		};
266dd54bb8aSManivannan Sadhasivam
267dd8c7b78SManivannan Sadhasivam		uart6: serial@fff32000 {
268dd8c7b78SManivannan Sadhasivam			compatible = "arm,pl011", "arm,primecell";
269dd8c7b78SManivannan Sadhasivam			reg = <0x0 0xfff32000 0x0 0x1000>;
270dd8c7b78SManivannan Sadhasivam			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
271a758dd2eSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_UART6>,
272a758dd2eSManivannan Sadhasivam				 <&crg_ctrl HI3670_PCLK>;
273dd8c7b78SManivannan Sadhasivam			clock-names = "uartclk", "apb_pclk";
274dd54bb8aSManivannan Sadhasivam			pinctrl-names = "default";
275dd54bb8aSManivannan Sadhasivam			pinctrl-0 = <&uart6_pmx_func &uart6_cfg_func>;
276dd8c7b78SManivannan Sadhasivam			status = "disabled";
277dd8c7b78SManivannan Sadhasivam		};
278e1881302SManivannan Sadhasivam
279e1881302SManivannan Sadhasivam		gpio0: gpio@e8a0b000 {
280e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
281e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a0b000 0x0 0x1000>;
282e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
283e1881302SManivannan Sadhasivam			gpio-controller;
284e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
285e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 1 0 1 &pmx0 3 1 5>;
286e1881302SManivannan Sadhasivam			interrupt-controller;
287e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
288e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO0>;
289e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
290e1881302SManivannan Sadhasivam		};
291e1881302SManivannan Sadhasivam
292e1881302SManivannan Sadhasivam		gpio1: gpio@e8a0c000 {
293e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
294e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a0c000 0x0 0x1000>;
295e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
296e1881302SManivannan Sadhasivam			gpio-controller;
297e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
298e1881302SManivannan Sadhasivam			interrupt-controller;
299e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
300e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO1>;
301e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
302e1881302SManivannan Sadhasivam		};
303e1881302SManivannan Sadhasivam
304e1881302SManivannan Sadhasivam		gpio2: gpio@e8a0d000 {
305e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
306e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a0d000 0x0 0x1000>;
307e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
308e1881302SManivannan Sadhasivam			gpio-controller;
309e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
310e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 1 6 7>;
311e1881302SManivannan Sadhasivam			interrupt-controller;
312e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
313e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO2>;
314e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
315e1881302SManivannan Sadhasivam		};
316e1881302SManivannan Sadhasivam
317e1881302SManivannan Sadhasivam		gpio3: gpio@e8a0e000 {
318e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
319e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a0e000 0x0 0x1000>;
320e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
321e1881302SManivannan Sadhasivam			gpio-controller;
322e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
323e1881302SManivannan Sadhasivam			gpio-ranges =  <&pmx0 0 13 4 &pmx0 7 17 1>;
324e1881302SManivannan Sadhasivam			interrupt-controller;
325e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
326e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO3>;
327e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
328e1881302SManivannan Sadhasivam		};
329e1881302SManivannan Sadhasivam
330e1881302SManivannan Sadhasivam		gpio4: gpio@e8a0f000 {
331e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
332e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a0f000 0x0 0x1000>;
333e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
334e1881302SManivannan Sadhasivam			gpio-controller;
335e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
336e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 0 18 8>;
337e1881302SManivannan Sadhasivam			interrupt-controller;
338e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
339e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO4>;
340e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
341e1881302SManivannan Sadhasivam		};
342e1881302SManivannan Sadhasivam
343e1881302SManivannan Sadhasivam		gpio5: gpio@e8a10000 {
344e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
345e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a10000 0x0 0x1000>;
346e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
347e1881302SManivannan Sadhasivam			gpio-controller;
348e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
349e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 0 26 8>;
350e1881302SManivannan Sadhasivam			interrupt-controller;
351e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
352e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO5>;
353e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
354e1881302SManivannan Sadhasivam		};
355e1881302SManivannan Sadhasivam
356e1881302SManivannan Sadhasivam		gpio6: gpio@e8a11000 {
357e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
358e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a11000 0x0 0x1000>;
359e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
360e1881302SManivannan Sadhasivam			gpio-controller;
361e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
362e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 1 34 7>;
363e1881302SManivannan Sadhasivam			interrupt-controller;
364e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
365e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO6>;
366e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
367e1881302SManivannan Sadhasivam		};
368e1881302SManivannan Sadhasivam
369e1881302SManivannan Sadhasivam		gpio7: gpio@e8a12000 {
370e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
371e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a12000 0x0 0x1000>;
372e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
373e1881302SManivannan Sadhasivam			gpio-controller;
374e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
375e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 0 41 8>;
376e1881302SManivannan Sadhasivam			interrupt-controller;
377e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
378e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO7>;
379e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
380e1881302SManivannan Sadhasivam		};
381e1881302SManivannan Sadhasivam
382e1881302SManivannan Sadhasivam		gpio8: gpio@e8a13000 {
383e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
384e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a13000 0x0 0x1000>;
385e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
386e1881302SManivannan Sadhasivam			gpio-controller;
387e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
388e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 0 49 8>;
389e1881302SManivannan Sadhasivam			interrupt-controller;
390e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
391e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO8>;
392e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
393e1881302SManivannan Sadhasivam		};
394e1881302SManivannan Sadhasivam
395e1881302SManivannan Sadhasivam		gpio9: gpio@e8a14000 {
396e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
397e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a14000 0x0 0x1000>;
398e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
399e1881302SManivannan Sadhasivam			gpio-controller;
400e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
401e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 0 57 8>;
402e1881302SManivannan Sadhasivam			interrupt-controller;
403e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
404e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO9>;
405e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
406e1881302SManivannan Sadhasivam		};
407e1881302SManivannan Sadhasivam
408e1881302SManivannan Sadhasivam		gpio10: gpio@e8a15000 {
409e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
410e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a15000 0x0 0x1000>;
411e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
412e1881302SManivannan Sadhasivam			gpio-controller;
413e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
414e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 0 65 8>;
415e1881302SManivannan Sadhasivam			interrupt-controller;
416e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
417e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO10>;
418e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
419e1881302SManivannan Sadhasivam		};
420e1881302SManivannan Sadhasivam
421e1881302SManivannan Sadhasivam		gpio11: gpio@e8a16000 {
422e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
423e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a16000 0x0 0x1000>;
424e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
425e1881302SManivannan Sadhasivam			gpio-controller;
426e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
427e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 0 73 8>;
428e1881302SManivannan Sadhasivam			interrupt-controller;
429e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
430e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO11>;
431e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
432e1881302SManivannan Sadhasivam		};
433e1881302SManivannan Sadhasivam
434e1881302SManivannan Sadhasivam		gpio12: gpio@e8a17000 {
435e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
436e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a17000 0x0 0x1000>;
437e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
438e1881302SManivannan Sadhasivam			gpio-controller;
439e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
440e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx0 0 81 1>;
441e1881302SManivannan Sadhasivam			interrupt-controller;
442e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
443e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO12>;
444e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
445e1881302SManivannan Sadhasivam		};
446e1881302SManivannan Sadhasivam
447e1881302SManivannan Sadhasivam		gpio13: gpio@e8a18000 {
448e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
449e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a18000 0x0 0x1000>;
450e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
451e1881302SManivannan Sadhasivam			gpio-controller;
452e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
453e1881302SManivannan Sadhasivam			interrupt-controller;
454e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
455e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO13>;
456e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
457e1881302SManivannan Sadhasivam		};
458e1881302SManivannan Sadhasivam
459e1881302SManivannan Sadhasivam		gpio14: gpio@e8a19000 {
460e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
461e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a19000 0x0 0x1000>;
462e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
463e1881302SManivannan Sadhasivam			gpio-controller;
464e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
465e1881302SManivannan Sadhasivam			interrupt-controller;
466e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
467e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO14>;
468e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
469e1881302SManivannan Sadhasivam		};
470e1881302SManivannan Sadhasivam
471e1881302SManivannan Sadhasivam		gpio15: gpio@e8a1a000 {
472e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
473e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a1a000 0x0 0x1000>;
474e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
475e1881302SManivannan Sadhasivam			gpio-controller;
476e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
477e1881302SManivannan Sadhasivam			interrupt-controller;
478e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
479e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO15>;
480e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
481e1881302SManivannan Sadhasivam		};
482e1881302SManivannan Sadhasivam
483e1881302SManivannan Sadhasivam		gpio16: gpio@e8a1b000 {
484e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
485e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a1b000 0x0 0x1000>;
486e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
487e1881302SManivannan Sadhasivam			gpio-controller;
488e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
489e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx5 0 0 8>;
490e1881302SManivannan Sadhasivam			interrupt-controller;
491e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
492e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO16>;
493e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
494e1881302SManivannan Sadhasivam		};
495e1881302SManivannan Sadhasivam
496e1881302SManivannan Sadhasivam		gpio17: gpio@e8a1c000 {
497e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
498e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a1c000 0x0 0x1000>;
499e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
500e1881302SManivannan Sadhasivam			gpio-controller;
501e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
502e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx5 0 8 2>;
503e1881302SManivannan Sadhasivam			interrupt-controller;
504e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
505e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO17>;
506e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
507e1881302SManivannan Sadhasivam		};
508e1881302SManivannan Sadhasivam
509e1881302SManivannan Sadhasivam		gpio18: gpio@fff28000 {
510e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
511e1881302SManivannan Sadhasivam			reg = <0x0 0xfff28000 0x0 0x1000>;
512e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
513e1881302SManivannan Sadhasivam			gpio-controller;
514e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
515e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 4 42 4>;
516e1881302SManivannan Sadhasivam			interrupt-controller;
517e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
518e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_GPIO18>;
519e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
520e1881302SManivannan Sadhasivam		};
521e1881302SManivannan Sadhasivam
522e1881302SManivannan Sadhasivam		gpio19: gpio@fff29000 {
523e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
524e1881302SManivannan Sadhasivam			reg = <0x0 0xfff29000 0x0 0x1000>;
525e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
526e1881302SManivannan Sadhasivam			gpio-controller;
527e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
528e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 0 61 2>;
529e1881302SManivannan Sadhasivam			interrupt-controller;
530e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
531e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_GPIO19>;
532e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
533e1881302SManivannan Sadhasivam		};
534e1881302SManivannan Sadhasivam
535e1881302SManivannan Sadhasivam		gpio20: gpio@e8a1f000 {
536e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
537e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a1f000 0x0 0x1000>;
538e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
539e1881302SManivannan Sadhasivam			gpio-controller;
540e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
541e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx7 0 0 8>;
542e1881302SManivannan Sadhasivam			interrupt-controller;
543e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
544e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO20>;
545e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
546e1881302SManivannan Sadhasivam		};
547e1881302SManivannan Sadhasivam
548e1881302SManivannan Sadhasivam		gpio21: gpio@e8a20000 {
549e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
550e1881302SManivannan Sadhasivam			reg = <0x0 0xe8a20000 0x0 0x1000>;
551e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
552e1881302SManivannan Sadhasivam			gpio-controller;
553e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
554e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx7 0 8 4>;
555e1881302SManivannan Sadhasivam			interrupt-controller;
556e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
557e1881302SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_PCLK_GPIO21>;
558e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
559e1881302SManivannan Sadhasivam		};
560e1881302SManivannan Sadhasivam
561e1881302SManivannan Sadhasivam		gpio22: gpio@fff0b000 {
562e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
563e1881302SManivannan Sadhasivam			reg = <0x0 0xfff0b000 0x0 0x1000>;
564e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
565e1881302SManivannan Sadhasivam			gpio-controller;
566e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
567e1881302SManivannan Sadhasivam			/* GPIO176 */
568e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 2 0 6>;
569e1881302SManivannan Sadhasivam			interrupt-controller;
570e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
571e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_AO_GPIO0>;
572e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
573e1881302SManivannan Sadhasivam		};
574e1881302SManivannan Sadhasivam
575e1881302SManivannan Sadhasivam		gpio23: gpio@fff0c000 {
576e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
577e1881302SManivannan Sadhasivam			reg = <0x0 0xfff0c000 0x0 0x1000>;
578e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
579e1881302SManivannan Sadhasivam			gpio-controller;
580e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
581e1881302SManivannan Sadhasivam			/* GPIO184 */
582e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 0 6 8>;
583e1881302SManivannan Sadhasivam			interrupt-controller;
584e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
585e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_AO_GPIO1>;
586e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
587e1881302SManivannan Sadhasivam		};
588e1881302SManivannan Sadhasivam
589e1881302SManivannan Sadhasivam		gpio24: gpio@fff0d000 {
590e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
591e1881302SManivannan Sadhasivam			reg = <0x0 0xfff0d000 0x0 0x1000>;
592e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
593e1881302SManivannan Sadhasivam			gpio-controller;
594e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
595e1881302SManivannan Sadhasivam			/* GPIO192 */
596e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 0 14 8>;
597e1881302SManivannan Sadhasivam			interrupt-controller;
598e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
599e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_AO_GPIO2>;
600e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
601e1881302SManivannan Sadhasivam		};
602e1881302SManivannan Sadhasivam
603e1881302SManivannan Sadhasivam		gpio25: gpio@fff0e000 {
604e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
605e1881302SManivannan Sadhasivam			reg = <0x0 0xfff0e000 0x0 0x1000>;
606e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
607e1881302SManivannan Sadhasivam			gpio-controller;
608e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
609e1881302SManivannan Sadhasivam			/* GPIO200 */
610e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 0 22 8>;
611e1881302SManivannan Sadhasivam			interrupt-controller;
612e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
613e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_AO_GPIO3>;
614e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
615e1881302SManivannan Sadhasivam		};
616e1881302SManivannan Sadhasivam
617e1881302SManivannan Sadhasivam		gpio26: gpio@fff0f000 {
618e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
619e1881302SManivannan Sadhasivam			reg = <0x0 0xfff0f000 0x0 0x1000>;
620e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
621e1881302SManivannan Sadhasivam			gpio-controller;
622e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
623e1881302SManivannan Sadhasivam			/* GPIO208 */
624e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 0 30 1>;
625e1881302SManivannan Sadhasivam			interrupt-controller;
626e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
627e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_AO_GPIO4>;
628e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
629e1881302SManivannan Sadhasivam		};
630e1881302SManivannan Sadhasivam
631e1881302SManivannan Sadhasivam		gpio27: gpio@fff10000 {
632e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
633e1881302SManivannan Sadhasivam			reg = <0x0 0xfff10000 0x0 0x1000>;
634e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
635e1881302SManivannan Sadhasivam			gpio-controller;
636e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
637e1881302SManivannan Sadhasivam			/* GPIO216 */
638e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 4 31 4>;
639e1881302SManivannan Sadhasivam			interrupt-controller;
640e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
641e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_AO_GPIO5>;
642e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
643e1881302SManivannan Sadhasivam		};
644e1881302SManivannan Sadhasivam
645e1881302SManivannan Sadhasivam		gpio28: gpio@fff1d000 {
646e1881302SManivannan Sadhasivam			compatible = "arm,pl061", "arm,primecell";
647e1881302SManivannan Sadhasivam			reg = <0x0 0xfff1d000 0x0 0x1000>;
648e1881302SManivannan Sadhasivam			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
649e1881302SManivannan Sadhasivam			gpio-controller;
650e1881302SManivannan Sadhasivam			#gpio-cells = <2>;
651e1881302SManivannan Sadhasivam			gpio-ranges = <&pmx1 1 35 7>;
652e1881302SManivannan Sadhasivam			interrupt-controller;
653e1881302SManivannan Sadhasivam			#interrupt-cells = <2>;
654e1881302SManivannan Sadhasivam			clocks = <&sctrl HI3670_PCLK_AO_GPIO6>;
655e1881302SManivannan Sadhasivam			clock-names = "apb_pclk";
656e1881302SManivannan Sadhasivam		};
657570274cdSManivannan Sadhasivam
658ddd0dc91SManivannan Sadhasivam		/* UFS */
659ddd0dc91SManivannan Sadhasivam		ufs: ufs@ff3c0000 {
660ddd0dc91SManivannan Sadhasivam			compatible = "hisilicon,hi3670-ufs", "jedec,ufs-2.1";
661ddd0dc91SManivannan Sadhasivam			/* 0: HCI standard */
662ddd0dc91SManivannan Sadhasivam			/* 1: UFS SYS CTRL */
663ddd0dc91SManivannan Sadhasivam			reg = <0x0 0xff3c0000 0x0 0x1000>,
664ddd0dc91SManivannan Sadhasivam				<0x0 0xff3e0000 0x0 0x1000>;
665ddd0dc91SManivannan Sadhasivam			interrupt-parent = <&gic>;
666ddd0dc91SManivannan Sadhasivam			interrupts = <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>;
667ddd0dc91SManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_UFSIO_REF>,
668ddd0dc91SManivannan Sadhasivam				<&crg_ctrl HI3670_CLK_GATE_UFS_SUBSYS>;
669ddd0dc91SManivannan Sadhasivam			clock-names = "ref_clk", "phy_clk";
670*8c563f55SZhen Lei			freq-table-hz = <0 0
671*8c563f55SZhen Lei					 0 0>;
672ddd0dc91SManivannan Sadhasivam			/* offset: 0x84; bit: 12 */
673ddd0dc91SManivannan Sadhasivam			resets = <&crg_rst 0x84 12>;
674ddd0dc91SManivannan Sadhasivam			reset-names = "rst";
675ddd0dc91SManivannan Sadhasivam		};
676ddd0dc91SManivannan Sadhasivam
677570274cdSManivannan Sadhasivam		/* SD */
678570274cdSManivannan Sadhasivam		dwmmc1: dwmmc1@ff37f000 {
679570274cdSManivannan Sadhasivam			compatible = "hisilicon,hi3670-dw-mshc",
680570274cdSManivannan Sadhasivam				     "hisilicon,hi3660-dw-mshc";
681570274cdSManivannan Sadhasivam			reg = <0x0 0xff37f000 0x0 0x1000>;
682570274cdSManivannan Sadhasivam			#address-cells = <1>;
683570274cdSManivannan Sadhasivam			#size-cells = <0>;
684570274cdSManivannan Sadhasivam			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
685570274cdSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_SD>,
686570274cdSManivannan Sadhasivam				<&crg_ctrl HI3670_HCLK_GATE_SD>;
687570274cdSManivannan Sadhasivam			clock-names = "ciu", "biu";
688570274cdSManivannan Sadhasivam			clock-frequency = <3200000>;
689570274cdSManivannan Sadhasivam			resets = <&crg_rst 0x94 18>;
690570274cdSManivannan Sadhasivam			reset-names = "reset";
691570274cdSManivannan Sadhasivam			hisilicon,peripheral-syscon = <&sctrl>;
692570274cdSManivannan Sadhasivam			card-detect-delay = <200>;
693570274cdSManivannan Sadhasivam			status = "disabled";
694570274cdSManivannan Sadhasivam		};
695570274cdSManivannan Sadhasivam
696570274cdSManivannan Sadhasivam		/* SDIO */
697570274cdSManivannan Sadhasivam		dwmmc2: dwmmc2@fc183000 {
698570274cdSManivannan Sadhasivam			compatible = "hisilicon,hi3670-dw-mshc",
699570274cdSManivannan Sadhasivam				     "hisilicon,hi3660-dw-mshc";
700570274cdSManivannan Sadhasivam			reg = <0x0 0xfc183000 0x0 0x1000>;
701570274cdSManivannan Sadhasivam			#address-cells = <1>;
702570274cdSManivannan Sadhasivam			#size-cells = <0>;
703570274cdSManivannan Sadhasivam			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
704570274cdSManivannan Sadhasivam			clocks = <&crg_ctrl HI3670_CLK_GATE_SDIO>,
705570274cdSManivannan Sadhasivam				<&crg_ctrl HI3670_HCLK_GATE_SDIO>;
706570274cdSManivannan Sadhasivam			clock-names = "ciu", "biu";
707570274cdSManivannan Sadhasivam			clock-frequency = <3200000>;
708570274cdSManivannan Sadhasivam			resets = <&crg_rst 0x94 20>;
709570274cdSManivannan Sadhasivam			reset-names = "reset";
710570274cdSManivannan Sadhasivam			card-detect-delay = <200>;
711570274cdSManivannan Sadhasivam			status = "disabled";
712570274cdSManivannan Sadhasivam		};
713dd8c7b78SManivannan Sadhasivam	};
714dd8c7b78SManivannan Sadhasivam};
715