xref: /linux/scripts/dtc/include-prefixes/arm64/hisilicon/hi3660.dtsi (revision 6e2c52b38e153df3042eda8a766025fbc14a71dc)
1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0
235ca8168SChen Feng/*
335ca8168SChen Feng * dts file for Hisilicon Hi3660 SoC
435ca8168SChen Feng *
535ca8168SChen Feng * Copyright (C) 2016, Hisilicon Ltd.
635ca8168SChen Feng */
735ca8168SChen Feng
835ca8168SChen Feng#include <dt-bindings/interrupt-controller/arm-gic.h>
9a4e36ae0SZhangfei Gao#include <dt-bindings/clock/hi3660-clock.h>
1035ca8168SChen Feng
1135ca8168SChen Feng/ {
1235ca8168SChen Feng	compatible = "hisilicon,hi3660";
1335ca8168SChen Feng	interrupt-parent = <&gic>;
1435ca8168SChen Feng	#address-cells = <2>;
1535ca8168SChen Feng	#size-cells = <2>;
1635ca8168SChen Feng
1735ca8168SChen Feng	psci {
1835ca8168SChen Feng		compatible = "arm,psci-0.2";
1935ca8168SChen Feng		method = "smc";
2035ca8168SChen Feng	};
2135ca8168SChen Feng
2235ca8168SChen Feng	cpus {
2335ca8168SChen Feng		#address-cells = <2>;
2435ca8168SChen Feng		#size-cells = <0>;
2535ca8168SChen Feng
2635ca8168SChen Feng		cpu-map {
2735ca8168SChen Feng			cluster0 {
2835ca8168SChen Feng				core0 {
2935ca8168SChen Feng					cpu = <&cpu0>;
3035ca8168SChen Feng				};
3135ca8168SChen Feng				core1 {
3235ca8168SChen Feng					cpu = <&cpu1>;
3335ca8168SChen Feng				};
3435ca8168SChen Feng				core2 {
3535ca8168SChen Feng					cpu = <&cpu2>;
3635ca8168SChen Feng				};
3735ca8168SChen Feng				core3 {
3835ca8168SChen Feng					cpu = <&cpu3>;
3935ca8168SChen Feng				};
4035ca8168SChen Feng			};
4135ca8168SChen Feng			cluster1 {
4235ca8168SChen Feng				core0 {
4335ca8168SChen Feng					cpu = <&cpu4>;
4435ca8168SChen Feng				};
4535ca8168SChen Feng				core1 {
4635ca8168SChen Feng					cpu = <&cpu5>;
4735ca8168SChen Feng				};
4835ca8168SChen Feng				core2 {
4935ca8168SChen Feng					cpu = <&cpu6>;
5035ca8168SChen Feng				};
5135ca8168SChen Feng				core3 {
5235ca8168SChen Feng					cpu = <&cpu7>;
5335ca8168SChen Feng				};
5435ca8168SChen Feng			};
5535ca8168SChen Feng		};
5635ca8168SChen Feng
5735ca8168SChen Feng		cpu0: cpu@0 {
5835ca8168SChen Feng			compatible = "arm,cortex-a53", "arm,armv8";
5935ca8168SChen Feng			device_type = "cpu";
6035ca8168SChen Feng			reg = <0x0 0x0>;
6135ca8168SChen Feng			enable-method = "psci";
62a6d08344SLeo Yan			next-level-cache = <&A53_L2>;
6330fec826SLeo Yan			cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>;
649a9760deSValentin Schneider			capacity-dmips-mhz = <592>;
6535ca8168SChen Feng		};
6635ca8168SChen Feng
6735ca8168SChen Feng		cpu1: cpu@1 {
6835ca8168SChen Feng			compatible = "arm,cortex-a53", "arm,armv8";
6935ca8168SChen Feng			device_type = "cpu";
7035ca8168SChen Feng			reg = <0x0 0x1>;
7135ca8168SChen Feng			enable-method = "psci";
72a6d08344SLeo Yan			next-level-cache = <&A53_L2>;
7330fec826SLeo Yan			cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>;
749a9760deSValentin Schneider			capacity-dmips-mhz = <592>;
7535ca8168SChen Feng		};
7635ca8168SChen Feng
7735ca8168SChen Feng		cpu2: cpu@2 {
7835ca8168SChen Feng			compatible = "arm,cortex-a53", "arm,armv8";
7935ca8168SChen Feng			device_type = "cpu";
8035ca8168SChen Feng			reg = <0x0 0x2>;
8135ca8168SChen Feng			enable-method = "psci";
82a6d08344SLeo Yan			next-level-cache = <&A53_L2>;
8330fec826SLeo Yan			cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>;
849a9760deSValentin Schneider			capacity-dmips-mhz = <592>;
8535ca8168SChen Feng		};
8635ca8168SChen Feng
8735ca8168SChen Feng		cpu3: cpu@3 {
8835ca8168SChen Feng			compatible = "arm,cortex-a53", "arm,armv8";
8935ca8168SChen Feng			device_type = "cpu";
9035ca8168SChen Feng			reg = <0x0 0x3>;
9135ca8168SChen Feng			enable-method = "psci";
92a6d08344SLeo Yan			next-level-cache = <&A53_L2>;
9330fec826SLeo Yan			cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>;
949a9760deSValentin Schneider			capacity-dmips-mhz = <592>;
9535ca8168SChen Feng		};
9635ca8168SChen Feng
9735ca8168SChen Feng		cpu4: cpu@100 {
9835ca8168SChen Feng			compatible = "arm,cortex-a73", "arm,armv8";
9935ca8168SChen Feng			device_type = "cpu";
10035ca8168SChen Feng			reg = <0x0 0x100>;
10135ca8168SChen Feng			enable-method = "psci";
102a6d08344SLeo Yan			next-level-cache = <&A73_L2>;
103928c4a5cSLeo Yan			cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_1>;
1049a9760deSValentin Schneider			capacity-dmips-mhz = <1024>;
10535ca8168SChen Feng		};
10635ca8168SChen Feng
10735ca8168SChen Feng		cpu5: cpu@101 {
10835ca8168SChen Feng			compatible = "arm,cortex-a73", "arm,armv8";
10935ca8168SChen Feng			device_type = "cpu";
11035ca8168SChen Feng			reg = <0x0 0x101>;
11135ca8168SChen Feng			enable-method = "psci";
112a6d08344SLeo Yan			next-level-cache = <&A73_L2>;
113928c4a5cSLeo Yan			cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_1>;
1149a9760deSValentin Schneider			capacity-dmips-mhz = <1024>;
11535ca8168SChen Feng		};
11635ca8168SChen Feng
11735ca8168SChen Feng		cpu6: cpu@102 {
11835ca8168SChen Feng			compatible = "arm,cortex-a73", "arm,armv8";
11935ca8168SChen Feng			device_type = "cpu";
12035ca8168SChen Feng			reg = <0x0 0x102>;
12135ca8168SChen Feng			enable-method = "psci";
122a6d08344SLeo Yan			next-level-cache = <&A73_L2>;
123928c4a5cSLeo Yan			cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_1>;
1249a9760deSValentin Schneider			capacity-dmips-mhz = <1024>;
12535ca8168SChen Feng		};
12635ca8168SChen Feng
12735ca8168SChen Feng		cpu7: cpu@103 {
12835ca8168SChen Feng			compatible = "arm,cortex-a73", "arm,armv8";
12935ca8168SChen Feng			device_type = "cpu";
13035ca8168SChen Feng			reg = <0x0 0x103>;
13135ca8168SChen Feng			enable-method = "psci";
132a6d08344SLeo Yan			next-level-cache = <&A73_L2>;
133928c4a5cSLeo Yan			cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_1>;
1349a9760deSValentin Schneider			capacity-dmips-mhz = <1024>;
13530fec826SLeo Yan		};
13630fec826SLeo Yan
13730fec826SLeo Yan		idle-states {
13830fec826SLeo Yan			entry-method = "psci";
13930fec826SLeo Yan
14030fec826SLeo Yan			CPU_SLEEP: cpu-sleep {
14130fec826SLeo Yan				compatible = "arm,idle-state";
14230fec826SLeo Yan				local-timer-stop;
14330fec826SLeo Yan				arm,psci-suspend-param = <0x0010000>;
14430fec826SLeo Yan				entry-latency-us = <40>;
14530fec826SLeo Yan				exit-latency-us = <70>;
14630fec826SLeo Yan				min-residency-us = <3000>;
14730fec826SLeo Yan			};
14830fec826SLeo Yan
14930fec826SLeo Yan			CLUSTER_SLEEP_0: cluster-sleep-0 {
15030fec826SLeo Yan				compatible = "arm,idle-state";
15130fec826SLeo Yan				local-timer-stop;
15230fec826SLeo Yan				arm,psci-suspend-param = <0x1010000>;
15330fec826SLeo Yan				entry-latency-us = <500>;
15430fec826SLeo Yan				exit-latency-us = <5000>;
15530fec826SLeo Yan				min-residency-us = <20000>;
15630fec826SLeo Yan			};
15730fec826SLeo Yan
15830fec826SLeo Yan			CLUSTER_SLEEP_1: cluster-sleep-1 {
15930fec826SLeo Yan				compatible = "arm,idle-state";
16030fec826SLeo Yan				local-timer-stop;
16130fec826SLeo Yan				arm,psci-suspend-param = <0x1010000>;
16230fec826SLeo Yan				entry-latency-us = <1000>;
16330fec826SLeo Yan				exit-latency-us = <5000>;
16430fec826SLeo Yan				min-residency-us = <20000>;
16530fec826SLeo Yan			};
16635ca8168SChen Feng		};
167a6d08344SLeo Yan
168a6d08344SLeo Yan		A53_L2: l2-cache0 {
169a6d08344SLeo Yan			compatible = "cache";
170a6d08344SLeo Yan		};
171a6d08344SLeo Yan
172a6d08344SLeo Yan		A73_L2: l2-cache1 {
173a6d08344SLeo Yan			compatible = "cache";
174a6d08344SLeo Yan		};
17535ca8168SChen Feng	};
17635ca8168SChen Feng
17735ca8168SChen Feng	gic: interrupt-controller@e82b0000 {
17835ca8168SChen Feng		compatible = "arm,gic-400";
17935ca8168SChen Feng		reg = <0x0 0xe82b1000 0 0x1000>, /* GICD */
18035ca8168SChen Feng		      <0x0 0xe82b2000 0 0x2000>, /* GICC */
18135ca8168SChen Feng		      <0x0 0xe82b4000 0 0x2000>, /* GICH */
18235ca8168SChen Feng		      <0x0 0xe82b6000 0 0x2000>; /* GICV */
18335ca8168SChen Feng		#address-cells = <0>;
18435ca8168SChen Feng		#interrupt-cells = <3>;
18535ca8168SChen Feng		interrupt-controller;
18635ca8168SChen Feng		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) |
18735ca8168SChen Feng					 IRQ_TYPE_LEVEL_HIGH)>;
18835ca8168SChen Feng	};
18935ca8168SChen Feng
190e07642faSXu YiPing	a53-pmu {
191e07642faSXu YiPing		compatible = "arm,cortex-a53-pmu";
192f8054fb8SYiPing Xu		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
193f8054fb8SYiPing Xu			     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
194f8054fb8SYiPing Xu			     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
195e07642faSXu YiPing			     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
196f8054fb8SYiPing Xu		interrupt-affinity = <&cpu0>,
197f8054fb8SYiPing Xu				     <&cpu1>,
198f8054fb8SYiPing Xu				     <&cpu2>,
199e07642faSXu YiPing				     <&cpu3>;
200e07642faSXu YiPing	};
201e07642faSXu YiPing
202e07642faSXu YiPing	a73-pmu {
203e07642faSXu YiPing		compatible = "arm,cortex-a73-pmu";
204e07642faSXu YiPing		interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
205e07642faSXu YiPing			     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
206e07642faSXu YiPing			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
207e07642faSXu YiPing			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
208e07642faSXu YiPing		interrupt-affinity = <&cpu4>,
209f8054fb8SYiPing Xu				     <&cpu5>,
210f8054fb8SYiPing Xu				     <&cpu6>,
211f8054fb8SYiPing Xu				     <&cpu7>;
212f8054fb8SYiPing Xu	};
213f8054fb8SYiPing Xu
21435ca8168SChen Feng	timer {
21535ca8168SChen Feng		compatible = "arm,armv8-timer";
21635ca8168SChen Feng		interrupt-parent = <&gic>;
21735ca8168SChen Feng		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) |
21835ca8168SChen Feng					  IRQ_TYPE_LEVEL_LOW)>,
21935ca8168SChen Feng			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) |
22035ca8168SChen Feng					  IRQ_TYPE_LEVEL_LOW)>,
22135ca8168SChen Feng			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) |
22235ca8168SChen Feng					  IRQ_TYPE_LEVEL_LOW)>,
22335ca8168SChen Feng			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) |
22435ca8168SChen Feng					  IRQ_TYPE_LEVEL_LOW)>;
22535ca8168SChen Feng	};
22635ca8168SChen Feng
22735ca8168SChen Feng	soc {
22835ca8168SChen Feng		compatible = "simple-bus";
22935ca8168SChen Feng		#address-cells = <2>;
23035ca8168SChen Feng		#size-cells = <2>;
23135ca8168SChen Feng		ranges;
23235ca8168SChen Feng
233a4e36ae0SZhangfei Gao		crg_ctrl: crg_ctrl@fff35000 {
234a4e36ae0SZhangfei Gao			compatible = "hisilicon,hi3660-crgctrl", "syscon";
235a4e36ae0SZhangfei Gao			reg = <0x0 0xfff35000 0x0 0x1000>;
236a4e36ae0SZhangfei Gao			#clock-cells = <1>;
23735ca8168SChen Feng		};
23835ca8168SChen Feng
239a4e36ae0SZhangfei Gao		crg_rst: crg_rst_controller {
240a4e36ae0SZhangfei Gao			compatible = "hisilicon,hi3660-reset";
241a4e36ae0SZhangfei Gao			#reset-cells = <2>;
242a4e36ae0SZhangfei Gao			hisi,rst-syscon = <&crg_ctrl>;
243a4e36ae0SZhangfei Gao		};
244a4e36ae0SZhangfei Gao
245a4e36ae0SZhangfei Gao
246a4e36ae0SZhangfei Gao		pctrl: pctrl@e8a09000 {
247a4e36ae0SZhangfei Gao			compatible = "hisilicon,hi3660-pctrl", "syscon";
248a4e36ae0SZhangfei Gao			reg = <0x0 0xe8a09000 0x0 0x2000>;
249a4e36ae0SZhangfei Gao			#clock-cells = <1>;
250a4e36ae0SZhangfei Gao		};
251a4e36ae0SZhangfei Gao
252a4e36ae0SZhangfei Gao		pmuctrl: crg_ctrl@fff34000 {
253a4e36ae0SZhangfei Gao			compatible = "hisilicon,hi3660-pmuctrl", "syscon";
254a4e36ae0SZhangfei Gao			reg = <0x0 0xfff34000 0x0 0x1000>;
255a4e36ae0SZhangfei Gao			#clock-cells = <1>;
256a4e36ae0SZhangfei Gao		};
257a4e36ae0SZhangfei Gao
258a4e36ae0SZhangfei Gao		sctrl: sctrl@fff0a000 {
259a4e36ae0SZhangfei Gao			compatible = "hisilicon,hi3660-sctrl", "syscon";
260a4e36ae0SZhangfei Gao			reg = <0x0 0xfff0a000 0x0 0x1000>;
261a4e36ae0SZhangfei Gao			#clock-cells = <1>;
262a4e36ae0SZhangfei Gao		};
263a4e36ae0SZhangfei Gao
264a4e36ae0SZhangfei Gao		iomcu: iomcu@ffd7e000 {
265a4e36ae0SZhangfei Gao			compatible = "hisilicon,hi3660-iomcu", "syscon";
266a4e36ae0SZhangfei Gao			reg = <0x0 0xffd7e000 0x0 0x1000>;
267a4e36ae0SZhangfei Gao			#clock-cells = <1>;
268a4e36ae0SZhangfei Gao
269a4e36ae0SZhangfei Gao		};
270a4e36ae0SZhangfei Gao
271a4e36ae0SZhangfei Gao		iomcu_rst: reset {
272a4e36ae0SZhangfei Gao			compatible = "hisilicon,hi3660-reset";
273a4e36ae0SZhangfei Gao			hisi,rst-syscon = <&iomcu>;
274a4e36ae0SZhangfei Gao			#reset-cells = <2>;
275a4e36ae0SZhangfei Gao		};
276a4e36ae0SZhangfei Gao
277ca905780SKaihua Zhong		mailbox: mailbox@e896b000 {
278ca905780SKaihua Zhong			compatible = "hisilicon,hi3660-mbox";
279ca905780SKaihua Zhong			reg = <0x0 0xe896b000 0x0 0x1000>;
280ca905780SKaihua Zhong			interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
281ca905780SKaihua Zhong				     <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
282ca905780SKaihua Zhong			#mbox-cells = <3>;
283ca905780SKaihua Zhong		};
284ca905780SKaihua Zhong
285*6e2c52b3SKaihua Zhong		stub_clock: stub_clock@e896b500 {
286*6e2c52b3SKaihua Zhong			compatible = "hisilicon,hi3660-stub-clk";
287*6e2c52b3SKaihua Zhong			reg = <0x0 0xe896b500 0x0 0x0100>;
288*6e2c52b3SKaihua Zhong			#clock-cells = <1>;
289*6e2c52b3SKaihua Zhong			mboxes = <&mailbox 13 3 0>;
290*6e2c52b3SKaihua Zhong		};
291*6e2c52b3SKaihua Zhong
29275196330SLeo Yan		dual_timer0: timer@fff14000 {
29375196330SLeo Yan			compatible = "arm,sp804", "arm,primecell";
29475196330SLeo Yan			reg = <0x0 0xfff14000 0x0 0x1000>;
29575196330SLeo Yan			interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
29675196330SLeo Yan				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
29775196330SLeo Yan			clocks = <&crg_ctrl HI3660_OSC32K>,
29875196330SLeo Yan				 <&crg_ctrl HI3660_OSC32K>,
29975196330SLeo Yan				 <&crg_ctrl HI3660_OSC32K>;
30075196330SLeo Yan			clock-names = "timer1", "timer2", "apb_pclk";
30175196330SLeo Yan		};
30275196330SLeo Yan
3035f8a3b77SZhangfei Gao		i2c0: i2c@ffd71000 {
3045f8a3b77SZhangfei Gao			compatible = "snps,designware-i2c";
3055f8a3b77SZhangfei Gao			reg = <0x0 0xffd71000 0x0 0x1000>;
3065f8a3b77SZhangfei Gao			interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
3075f8a3b77SZhangfei Gao			#address-cells = <1>;
3085f8a3b77SZhangfei Gao			#size-cells = <0>;
3095f8a3b77SZhangfei Gao			clock-frequency = <400000>;
3105f8a3b77SZhangfei Gao			clocks = <&crg_ctrl HI3660_CLK_GATE_I2C0>;
3115f8a3b77SZhangfei Gao			resets = <&iomcu_rst 0x20 3>;
3125f8a3b77SZhangfei Gao			pinctrl-names = "default";
3135f8a3b77SZhangfei Gao			pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>;
3145f8a3b77SZhangfei Gao			status = "disabled";
3155f8a3b77SZhangfei Gao		};
3165f8a3b77SZhangfei Gao
3175f8a3b77SZhangfei Gao		i2c1: i2c@ffd72000 {
3185f8a3b77SZhangfei Gao			compatible = "snps,designware-i2c";
3195f8a3b77SZhangfei Gao			reg = <0x0 0xffd72000 0x0 0x1000>;
3205f8a3b77SZhangfei Gao			interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
3215f8a3b77SZhangfei Gao			#address-cells = <1>;
3225f8a3b77SZhangfei Gao			#size-cells = <0>;
3235f8a3b77SZhangfei Gao			clock-frequency = <400000>;
3245f8a3b77SZhangfei Gao			clocks = <&crg_ctrl HI3660_CLK_GATE_I2C1>;
3255f8a3b77SZhangfei Gao			resets = <&iomcu_rst 0x20 4>;
3265f8a3b77SZhangfei Gao			pinctrl-names = "default";
3275f8a3b77SZhangfei Gao			pinctrl-0 = <&i2c1_pmx_func &i2c1_cfg_func>;
3285f8a3b77SZhangfei Gao			status = "disabled";
3295f8a3b77SZhangfei Gao		};
3305f8a3b77SZhangfei Gao
3315f8a3b77SZhangfei Gao		i2c3: i2c@fdf0c000 {
3325f8a3b77SZhangfei Gao			compatible = "snps,designware-i2c";
3335f8a3b77SZhangfei Gao			reg = <0x0 0xfdf0c000 0x0 0x1000>;
3345f8a3b77SZhangfei Gao			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
3355f8a3b77SZhangfei Gao			#address-cells = <1>;
3365f8a3b77SZhangfei Gao			#size-cells = <0>;
3375f8a3b77SZhangfei Gao			clock-frequency = <400000>;
3385f8a3b77SZhangfei Gao			clocks = <&crg_ctrl HI3660_CLK_GATE_I2C3>;
3395f8a3b77SZhangfei Gao			resets = <&crg_rst 0x78 7>;
3405f8a3b77SZhangfei Gao			pinctrl-names = "default";
3415f8a3b77SZhangfei Gao			pinctrl-0 = <&i2c3_pmx_func &i2c3_cfg_func>;
3425f8a3b77SZhangfei Gao			status = "disabled";
3435f8a3b77SZhangfei Gao		};
3445f8a3b77SZhangfei Gao
3455f8a3b77SZhangfei Gao		i2c7: i2c@fdf0b000 {
3465f8a3b77SZhangfei Gao			compatible = "snps,designware-i2c";
3475f8a3b77SZhangfei Gao			reg = <0x0 0xfdf0b000 0x0 0x1000>;
3485f8a3b77SZhangfei Gao			interrupts = <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>;
3495f8a3b77SZhangfei Gao			#address-cells = <1>;
3505f8a3b77SZhangfei Gao			#size-cells = <0>;
3515f8a3b77SZhangfei Gao			clock-frequency = <400000>;
3525f8a3b77SZhangfei Gao			clocks = <&crg_ctrl HI3660_CLK_GATE_I2C7>;
3535f8a3b77SZhangfei Gao			resets = <&crg_rst 0x60 14>;
3545f8a3b77SZhangfei Gao			pinctrl-names = "default";
3555f8a3b77SZhangfei Gao			pinctrl-0 = <&i2c7_pmx_func &i2c7_cfg_func>;
3565f8a3b77SZhangfei Gao			status = "disabled";
3575f8a3b77SZhangfei Gao		};
3585f8a3b77SZhangfei Gao
359254b07b2SChen Feng		uart0: serial@fdf02000 {
360254b07b2SChen Feng			compatible = "arm,pl011", "arm,primecell";
361254b07b2SChen Feng			reg = <0x0 0xfdf02000 0x0 0x1000>;
362254b07b2SChen Feng			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
363254b07b2SChen Feng			clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>,
364254b07b2SChen Feng				 <&crg_ctrl HI3660_PCLK>;
365254b07b2SChen Feng			clock-names = "uartclk", "apb_pclk";
366254b07b2SChen Feng			pinctrl-names = "default";
367254b07b2SChen Feng			pinctrl-0 = <&uart0_pmx_func &uart0_cfg_func>;
368254b07b2SChen Feng			status = "disabled";
369254b07b2SChen Feng		};
370254b07b2SChen Feng
371254b07b2SChen Feng		uart1: serial@fdf00000 {
372254b07b2SChen Feng			compatible = "arm,pl011", "arm,primecell";
373254b07b2SChen Feng			reg = <0x0 0xfdf00000 0x0 0x1000>;
374254b07b2SChen Feng			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
375254b07b2SChen Feng			clocks = <&crg_ctrl HI3660_CLK_GATE_UART1>,
376254b07b2SChen Feng				 <&crg_ctrl HI3660_CLK_GATE_UART1>;
377254b07b2SChen Feng			clock-names = "uartclk", "apb_pclk";
378254b07b2SChen Feng			pinctrl-names = "default";
379254b07b2SChen Feng			pinctrl-0 = <&uart1_pmx_func &uart1_cfg_func>;
380254b07b2SChen Feng			status = "disabled";
381254b07b2SChen Feng		};
382254b07b2SChen Feng
383254b07b2SChen Feng		uart2: serial@fdf03000 {
384254b07b2SChen Feng			compatible = "arm,pl011", "arm,primecell";
385254b07b2SChen Feng			reg = <0x0 0xfdf03000 0x0 0x1000>;
386254b07b2SChen Feng			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
387254b07b2SChen Feng			clocks = <&crg_ctrl HI3660_CLK_GATE_UART2>,
388254b07b2SChen Feng				 <&crg_ctrl HI3660_PCLK>;
389254b07b2SChen Feng			clock-names = "uartclk", "apb_pclk";
390254b07b2SChen Feng			pinctrl-names = "default";
391254b07b2SChen Feng			pinctrl-0 = <&uart2_pmx_func &uart2_cfg_func>;
392254b07b2SChen Feng			status = "disabled";
393254b07b2SChen Feng		};
394254b07b2SChen Feng
395254b07b2SChen Feng		uart3: serial@ffd74000 {
396254b07b2SChen Feng			compatible = "arm,pl011", "arm,primecell";
397254b07b2SChen Feng			reg = <0x0 0xffd74000 0x0 0x1000>;
398254b07b2SChen Feng			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
399254b07b2SChen Feng			clocks = <&crg_ctrl HI3660_FACTOR_UART3>,
400254b07b2SChen Feng				 <&crg_ctrl HI3660_PCLK>;
401254b07b2SChen Feng			clock-names = "uartclk", "apb_pclk";
402254b07b2SChen Feng			pinctrl-names = "default";
403254b07b2SChen Feng			pinctrl-0 = <&uart3_pmx_func &uart3_cfg_func>;
404254b07b2SChen Feng			status = "disabled";
405254b07b2SChen Feng		};
406254b07b2SChen Feng
407254b07b2SChen Feng		uart4: serial@fdf01000 {
408254b07b2SChen Feng			compatible = "arm,pl011", "arm,primecell";
409254b07b2SChen Feng			reg = <0x0 0xfdf01000 0x0 0x1000>;
410254b07b2SChen Feng			interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
411254b07b2SChen Feng			clocks = <&crg_ctrl HI3660_CLK_GATE_UART4>,
412254b07b2SChen Feng				 <&crg_ctrl HI3660_CLK_GATE_UART4>;
413254b07b2SChen Feng			clock-names = "uartclk", "apb_pclk";
414254b07b2SChen Feng			pinctrl-names = "default";
415254b07b2SChen Feng			pinctrl-0 = <&uart4_pmx_func &uart4_cfg_func>;
416254b07b2SChen Feng			status = "disabled";
417254b07b2SChen Feng		};
418254b07b2SChen Feng
419a4e36ae0SZhangfei Gao		uart5: serial@fdf05000 {
42035ca8168SChen Feng			compatible = "arm,pl011", "arm,primecell";
42135ca8168SChen Feng			reg = <0x0 0xfdf05000 0x0 0x1000>;
42235ca8168SChen Feng			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
423a4e36ae0SZhangfei Gao			clocks = <&crg_ctrl HI3660_CLK_GATE_UART5>,
424a4e36ae0SZhangfei Gao				 <&crg_ctrl HI3660_CLK_GATE_UART5>;
42535ca8168SChen Feng			clock-names = "uartclk", "apb_pclk";
426254b07b2SChen Feng			pinctrl-names = "default";
427254b07b2SChen Feng			pinctrl-0 = <&uart5_pmx_func &uart5_cfg_func>;
428254b07b2SChen Feng			status = "disabled";
429254b07b2SChen Feng		};
430254b07b2SChen Feng
431254b07b2SChen Feng		uart6: serial@fff32000 {
432254b07b2SChen Feng			compatible = "arm,pl011", "arm,primecell";
433254b07b2SChen Feng			reg = <0x0 0xfff32000 0x0 0x1000>;
434254b07b2SChen Feng			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
435254b07b2SChen Feng			clocks = <&crg_ctrl HI3660_CLK_UART6>,
436254b07b2SChen Feng				 <&crg_ctrl HI3660_PCLK>;
437254b07b2SChen Feng			clock-names = "uartclk", "apb_pclk";
438254b07b2SChen Feng			pinctrl-names = "default";
439254b07b2SChen Feng			pinctrl-0 = <&uart6_pmx_func &uart6_cfg_func>;
44035ca8168SChen Feng			status = "disabled";
44135ca8168SChen Feng		};
442d94eab86SWang Xiaoyin
4430b507e91SWang Ruyi		dma0: dma@fdf30000 {
4440b507e91SWang Ruyi			compatible = "hisilicon,k3-dma-1.0";
4450b507e91SWang Ruyi			reg = <0x0 0xfdf30000 0x0 0x1000>;
4460b507e91SWang Ruyi			#dma-cells = <1>;
4470b507e91SWang Ruyi			dma-channels = <16>;
4480b507e91SWang Ruyi			dma-requests = <32>;
4490b507e91SWang Ruyi			dma-min-chan = <1>;
4500b507e91SWang Ruyi			interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
4510b507e91SWang Ruyi			clocks = <&crg_ctrl HI3660_CLK_GATE_DMAC>;
4520b507e91SWang Ruyi			dma-no-cci;
4530b507e91SWang Ruyi			dma-type = "hi3660_dma";
4540b507e91SWang Ruyi		};
4550b507e91SWang Ruyi
4560a0698f6SChen Feng		rtc0: rtc@fff04000 {
4570a0698f6SChen Feng			compatible = "arm,pl031", "arm,primecell";
4580a0698f6SChen Feng			reg = <0x0 0Xfff04000 0x0 0x1000>;
4590a0698f6SChen Feng			interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
4600a0698f6SChen Feng			clocks = <&crg_ctrl HI3660_PCLK>;
4610a0698f6SChen Feng			clock-names = "apb_pclk";
4620a0698f6SChen Feng		};
4630a0698f6SChen Feng
464d94eab86SWang Xiaoyin		gpio0: gpio@e8a0b000 {
465d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
466d94eab86SWang Xiaoyin			reg = <0 0xe8a0b000 0 0x1000>;
467d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
468d94eab86SWang Xiaoyin			gpio-controller;
469d94eab86SWang Xiaoyin			#gpio-cells = <2>;
470d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 1 0 7>;
471d94eab86SWang Xiaoyin			interrupt-controller;
472d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
473d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO0>;
474d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
475d94eab86SWang Xiaoyin		};
476d94eab86SWang Xiaoyin
477d94eab86SWang Xiaoyin		gpio1: gpio@e8a0c000 {
478d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
479d94eab86SWang Xiaoyin			reg = <0 0xe8a0c000 0 0x1000>;
480d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
481d94eab86SWang Xiaoyin			gpio-controller;
482d94eab86SWang Xiaoyin			#gpio-cells = <2>;
483d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 1 7 7>;
484d94eab86SWang Xiaoyin			interrupt-controller;
485d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
486d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO1>;
487d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
488d94eab86SWang Xiaoyin		};
489d94eab86SWang Xiaoyin
490d94eab86SWang Xiaoyin		gpio2: gpio@e8a0d000 {
491d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
492d94eab86SWang Xiaoyin			reg = <0 0xe8a0d000 0 0x1000>;
493d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
494d94eab86SWang Xiaoyin			gpio-controller;
495d94eab86SWang Xiaoyin			#gpio-cells = <2>;
496d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 14 8>;
497d94eab86SWang Xiaoyin			interrupt-controller;
498d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
499d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO2>;
500d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
501d94eab86SWang Xiaoyin		};
502d94eab86SWang Xiaoyin
503d94eab86SWang Xiaoyin		gpio3: gpio@e8a0e000 {
504d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
505d94eab86SWang Xiaoyin			reg = <0 0xe8a0e000 0 0x1000>;
506d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
507d94eab86SWang Xiaoyin			gpio-controller;
508d94eab86SWang Xiaoyin			#gpio-cells = <2>;
509d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 22 8>;
510d94eab86SWang Xiaoyin			interrupt-controller;
511d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
512d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO3>;
513d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
514d94eab86SWang Xiaoyin		};
515d94eab86SWang Xiaoyin
516d94eab86SWang Xiaoyin		gpio4: gpio@e8a0f000 {
517d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
518d94eab86SWang Xiaoyin			reg = <0 0xe8a0f000 0 0x1000>;
519d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
520d94eab86SWang Xiaoyin			gpio-controller;
521d94eab86SWang Xiaoyin			#gpio-cells = <2>;
522d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 30 8>;
523d94eab86SWang Xiaoyin			interrupt-controller;
524d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
525d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO4>;
526d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
527d94eab86SWang Xiaoyin		};
528d94eab86SWang Xiaoyin
529d94eab86SWang Xiaoyin		gpio5: gpio@e8a10000 {
530d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
531d94eab86SWang Xiaoyin			reg = <0 0xe8a10000 0 0x1000>;
532d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
533d94eab86SWang Xiaoyin			gpio-controller;
534d94eab86SWang Xiaoyin			#gpio-cells = <2>;
535d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 38 8>;
536d94eab86SWang Xiaoyin			interrupt-controller;
537d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
538d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO5>;
539d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
540d94eab86SWang Xiaoyin		};
541d94eab86SWang Xiaoyin
542d94eab86SWang Xiaoyin		gpio6: gpio@e8a11000 {
543d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
544d94eab86SWang Xiaoyin			reg = <0 0xe8a11000 0 0x1000>;
545d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
546d94eab86SWang Xiaoyin			gpio-controller;
547d94eab86SWang Xiaoyin			#gpio-cells = <2>;
548d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 46 8>;
549d94eab86SWang Xiaoyin			interrupt-controller;
550d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
551d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO6>;
552d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
553d94eab86SWang Xiaoyin		};
554d94eab86SWang Xiaoyin
555d94eab86SWang Xiaoyin		gpio7: gpio@e8a12000 {
556d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
557d94eab86SWang Xiaoyin			reg = <0 0xe8a12000 0 0x1000>;
558d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
559d94eab86SWang Xiaoyin			gpio-controller;
560d94eab86SWang Xiaoyin			#gpio-cells = <2>;
561d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 54 8>;
562d94eab86SWang Xiaoyin			interrupt-controller;
563d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
564d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO7>;
565d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
566d94eab86SWang Xiaoyin		};
567d94eab86SWang Xiaoyin
568d94eab86SWang Xiaoyin		gpio8: gpio@e8a13000 {
569d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
570d94eab86SWang Xiaoyin			reg = <0 0xe8a13000 0 0x1000>;
571d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
572d94eab86SWang Xiaoyin			gpio-controller;
573d94eab86SWang Xiaoyin			#gpio-cells = <2>;
574d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 62 8>;
575d94eab86SWang Xiaoyin			interrupt-controller;
576d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
577d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO8>;
578d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
579d94eab86SWang Xiaoyin		};
580d94eab86SWang Xiaoyin
581d94eab86SWang Xiaoyin		gpio9: gpio@e8a14000 {
582d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
583d94eab86SWang Xiaoyin			reg = <0 0xe8a14000 0 0x1000>;
584d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
585d94eab86SWang Xiaoyin			gpio-controller;
586d94eab86SWang Xiaoyin			#gpio-cells = <2>;
587d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 70 8>;
588d94eab86SWang Xiaoyin			interrupt-controller;
589d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
590d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO9>;
591d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
592d94eab86SWang Xiaoyin		};
593d94eab86SWang Xiaoyin
594d94eab86SWang Xiaoyin		gpio10: gpio@e8a15000 {
595d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
596d94eab86SWang Xiaoyin			reg = <0 0xe8a15000 0 0x1000>;
597d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
598d94eab86SWang Xiaoyin			gpio-controller;
599d94eab86SWang Xiaoyin			#gpio-cells = <2>;
600d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 78 8>;
601d94eab86SWang Xiaoyin			interrupt-controller;
602d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
603d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO10>;
604d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
605d94eab86SWang Xiaoyin		};
606d94eab86SWang Xiaoyin
607d94eab86SWang Xiaoyin		gpio11: gpio@e8a16000 {
608d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
609d94eab86SWang Xiaoyin			reg = <0 0xe8a16000 0 0x1000>;
610d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
611d94eab86SWang Xiaoyin			gpio-controller;
612d94eab86SWang Xiaoyin			#gpio-cells = <2>;
613d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 86 8>;
614d94eab86SWang Xiaoyin			interrupt-controller;
615d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
616d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO11>;
617d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
618d94eab86SWang Xiaoyin		};
619d94eab86SWang Xiaoyin
620d94eab86SWang Xiaoyin		gpio12: gpio@e8a17000 {
621d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
622d94eab86SWang Xiaoyin			reg = <0 0xe8a17000 0 0x1000>;
623d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
624d94eab86SWang Xiaoyin			gpio-controller;
625d94eab86SWang Xiaoyin			#gpio-cells = <2>;
626d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 94 3 &pmx0 7 101 1>;
627d94eab86SWang Xiaoyin			interrupt-controller;
628d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
629d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO12>;
630d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
631d94eab86SWang Xiaoyin		};
632d94eab86SWang Xiaoyin
633d94eab86SWang Xiaoyin		gpio13: gpio@e8a18000 {
634d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
635d94eab86SWang Xiaoyin			reg = <0 0xe8a18000 0 0x1000>;
636d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
637d94eab86SWang Xiaoyin			gpio-controller;
638d94eab86SWang Xiaoyin			#gpio-cells = <2>;
639d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 102 8>;
640d94eab86SWang Xiaoyin			interrupt-controller;
641d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
642d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO13>;
643d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
644d94eab86SWang Xiaoyin		};
645d94eab86SWang Xiaoyin
646d94eab86SWang Xiaoyin		gpio14: gpio@e8a19000 {
647d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
648d94eab86SWang Xiaoyin			reg = <0 0xe8a19000 0 0x1000>;
649d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
650d94eab86SWang Xiaoyin			gpio-controller;
651d94eab86SWang Xiaoyin			#gpio-cells = <2>;
652d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 110 8>;
653d94eab86SWang Xiaoyin			interrupt-controller;
654d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
655d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO14>;
656d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
657d94eab86SWang Xiaoyin		};
658d94eab86SWang Xiaoyin
659d94eab86SWang Xiaoyin		gpio15: gpio@e8a1a000 {
660d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
661d94eab86SWang Xiaoyin			reg = <0 0xe8a1a000 0 0x1000>;
662d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
663d94eab86SWang Xiaoyin			gpio-controller;
664d94eab86SWang Xiaoyin			#gpio-cells = <2>;
665d94eab86SWang Xiaoyin			gpio-ranges = <&pmx0 0 118 6>;
666d94eab86SWang Xiaoyin			interrupt-controller;
667d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
668d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO15>;
669d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
670d94eab86SWang Xiaoyin		};
671d94eab86SWang Xiaoyin
672d94eab86SWang Xiaoyin		gpio16: gpio@e8a1b000 {
673d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
674d94eab86SWang Xiaoyin			reg = <0 0xe8a1b000 0 0x1000>;
675d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
676d94eab86SWang Xiaoyin			gpio-controller;
677d94eab86SWang Xiaoyin			#gpio-cells = <2>;
678d94eab86SWang Xiaoyin			interrupt-controller;
679d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
680d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO16>;
681d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
682d94eab86SWang Xiaoyin		};
683d94eab86SWang Xiaoyin
684d94eab86SWang Xiaoyin		gpio17: gpio@e8a1c000 {
685d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
686d94eab86SWang Xiaoyin			reg = <0 0xe8a1c000 0 0x1000>;
687d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
688d94eab86SWang Xiaoyin			gpio-controller;
689d94eab86SWang Xiaoyin			#gpio-cells = <2>;
690d94eab86SWang Xiaoyin			interrupt-controller;
691d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
692d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO17>;
693d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
694d94eab86SWang Xiaoyin		};
695d94eab86SWang Xiaoyin
696d94eab86SWang Xiaoyin		gpio18: gpio@ff3b4000 {
697d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
698d94eab86SWang Xiaoyin			reg = <0 0xff3b4000 0 0x1000>;
699d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
700d94eab86SWang Xiaoyin			gpio-controller;
701d94eab86SWang Xiaoyin			#gpio-cells = <2>;
702d94eab86SWang Xiaoyin			gpio-ranges = <&pmx2 0 0 8>;
703d94eab86SWang Xiaoyin			interrupt-controller;
704d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
705d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO18>;
706d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
707d94eab86SWang Xiaoyin		};
708d94eab86SWang Xiaoyin
709d94eab86SWang Xiaoyin		gpio19: gpio@ff3b5000 {
710d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
711d94eab86SWang Xiaoyin			reg = <0 0xff3b5000 0 0x1000>;
712d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
713d94eab86SWang Xiaoyin			gpio-controller;
714d94eab86SWang Xiaoyin			#gpio-cells = <2>;
715d94eab86SWang Xiaoyin			gpio-ranges = <&pmx2 0 8 4>;
716d94eab86SWang Xiaoyin			interrupt-controller;
717d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
718d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO19>;
719d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
720d94eab86SWang Xiaoyin		};
721d94eab86SWang Xiaoyin
722d94eab86SWang Xiaoyin		gpio20: gpio@e8a1f000 {
723d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
724d94eab86SWang Xiaoyin			reg = <0 0xe8a1f000 0 0x1000>;
725d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
726d94eab86SWang Xiaoyin			gpio-controller;
727d94eab86SWang Xiaoyin			#gpio-cells = <2>;
728d94eab86SWang Xiaoyin			gpio-ranges = <&pmx1 0 0 6>;
729d94eab86SWang Xiaoyin			interrupt-controller;
730d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
731d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO20>;
732d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
733d94eab86SWang Xiaoyin		};
734d94eab86SWang Xiaoyin
735d94eab86SWang Xiaoyin		gpio21: gpio@e8a20000 {
736d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
737d94eab86SWang Xiaoyin			reg = <0 0xe8a20000 0 0x1000>;
738d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
739d94eab86SWang Xiaoyin			gpio-controller;
740d94eab86SWang Xiaoyin			#gpio-cells = <2>;
741d94eab86SWang Xiaoyin			interrupt-controller;
742d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
743d94eab86SWang Xiaoyin			gpio-ranges = <&pmx3 0 0 6>;
744d94eab86SWang Xiaoyin			clocks = <&crg_ctrl HI3660_PCLK_GPIO21>;
745d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
746d94eab86SWang Xiaoyin		};
747d94eab86SWang Xiaoyin
748d94eab86SWang Xiaoyin		gpio22: gpio@fff0b000 {
749d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
750d94eab86SWang Xiaoyin			reg = <0 0xfff0b000 0 0x1000>;
751d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
752d94eab86SWang Xiaoyin			gpio-controller;
753d94eab86SWang Xiaoyin			#gpio-cells = <2>;
754d94eab86SWang Xiaoyin			/* GPIO176 */
755d94eab86SWang Xiaoyin			gpio-ranges = <&pmx4 2 0 6>;
756d94eab86SWang Xiaoyin			interrupt-controller;
757d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
758d94eab86SWang Xiaoyin			clocks = <&sctrl HI3660_PCLK_AO_GPIO0>;
759d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
760d94eab86SWang Xiaoyin		};
761d94eab86SWang Xiaoyin
762d94eab86SWang Xiaoyin		gpio23: gpio@fff0c000 {
763d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
764d94eab86SWang Xiaoyin			reg = <0 0xfff0c000 0 0x1000>;
765d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
766d94eab86SWang Xiaoyin			gpio-controller;
767d94eab86SWang Xiaoyin			#gpio-cells = <2>;
768d94eab86SWang Xiaoyin			/* GPIO184 */
769d94eab86SWang Xiaoyin			gpio-ranges = <&pmx4 0 6 7>;
770d94eab86SWang Xiaoyin			interrupt-controller;
771d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
772d94eab86SWang Xiaoyin			clocks = <&sctrl HI3660_PCLK_AO_GPIO1>;
773d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
774d94eab86SWang Xiaoyin		};
775d94eab86SWang Xiaoyin
776d94eab86SWang Xiaoyin		gpio24: gpio@fff0d000 {
777d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
778d94eab86SWang Xiaoyin			reg = <0 0xfff0d000 0 0x1000>;
779d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
780d94eab86SWang Xiaoyin			gpio-controller;
781d94eab86SWang Xiaoyin			#gpio-cells = <2>;
782d94eab86SWang Xiaoyin			/* GPIO192 */
783d94eab86SWang Xiaoyin			gpio-ranges = <&pmx4 0 13 8>;
784d94eab86SWang Xiaoyin			interrupt-controller;
785d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
786d94eab86SWang Xiaoyin			clocks = <&sctrl HI3660_PCLK_AO_GPIO2>;
787d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
788d94eab86SWang Xiaoyin		};
789d94eab86SWang Xiaoyin
790d94eab86SWang Xiaoyin		gpio25: gpio@fff0e000 {
791d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
792d94eab86SWang Xiaoyin			reg = <0 0xfff0e000 0 0x1000>;
793d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
794d94eab86SWang Xiaoyin			gpio-controller;
795d94eab86SWang Xiaoyin			#gpio-cells = <2>;
796d94eab86SWang Xiaoyin			/* GPIO200 */
797d94eab86SWang Xiaoyin			gpio-ranges = <&pmx4 0 21 4 &pmx4 5 25 3>;
798d94eab86SWang Xiaoyin			interrupt-controller;
799d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
800d94eab86SWang Xiaoyin			clocks = <&sctrl HI3660_PCLK_AO_GPIO3>;
801d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
802d94eab86SWang Xiaoyin		};
803d94eab86SWang Xiaoyin
804d94eab86SWang Xiaoyin		gpio26: gpio@fff0f000 {
805d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
806d94eab86SWang Xiaoyin			reg = <0 0xfff0f000 0 0x1000>;
807d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
808d94eab86SWang Xiaoyin			gpio-controller;
809d94eab86SWang Xiaoyin			#gpio-cells = <2>;
810d94eab86SWang Xiaoyin			/* GPIO208 */
811d94eab86SWang Xiaoyin			gpio-ranges = <&pmx4 0 28 8>;
812d94eab86SWang Xiaoyin			interrupt-controller;
813d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
814d94eab86SWang Xiaoyin			clocks = <&sctrl HI3660_PCLK_AO_GPIO4>;
815d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
816d94eab86SWang Xiaoyin		};
817d94eab86SWang Xiaoyin
818d94eab86SWang Xiaoyin		gpio27: gpio@fff10000 {
819d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
820d94eab86SWang Xiaoyin			reg = <0 0xfff10000 0 0x1000>;
821d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
822d94eab86SWang Xiaoyin			gpio-controller;
823d94eab86SWang Xiaoyin			#gpio-cells = <2>;
824d94eab86SWang Xiaoyin			/* GPIO216 */
825d94eab86SWang Xiaoyin			gpio-ranges = <&pmx4 0 36 6>;
826d94eab86SWang Xiaoyin			interrupt-controller;
827d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
828d94eab86SWang Xiaoyin			clocks = <&sctrl HI3660_PCLK_AO_GPIO5>;
829d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
830d94eab86SWang Xiaoyin		};
831d94eab86SWang Xiaoyin
832d94eab86SWang Xiaoyin		gpio28: gpio@fff1d000 {
833d94eab86SWang Xiaoyin			compatible = "arm,pl061", "arm,primecell";
834d94eab86SWang Xiaoyin			reg = <0 0xfff1d000 0 0x1000>;
835d94eab86SWang Xiaoyin			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
836d94eab86SWang Xiaoyin			gpio-controller;
837d94eab86SWang Xiaoyin			#gpio-cells = <2>;
838d94eab86SWang Xiaoyin			interrupt-controller;
839d94eab86SWang Xiaoyin			#interrupt-cells = <2>;
840d94eab86SWang Xiaoyin			clocks = <&sctrl HI3660_PCLK_AO_GPIO6>;
841d94eab86SWang Xiaoyin			clock-names = "apb_pclk";
842d94eab86SWang Xiaoyin		};
84338810497SWang Xiaoyin
84438810497SWang Xiaoyin		spi2: spi@ffd68000 {
84538810497SWang Xiaoyin			compatible = "arm,pl022", "arm,primecell";
84638810497SWang Xiaoyin			reg = <0x0 0xffd68000 0x0 0x1000>;
84738810497SWang Xiaoyin			#address-cells = <1>;
84838810497SWang Xiaoyin			#size-cells = <0>;
84938810497SWang Xiaoyin			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
85038810497SWang Xiaoyin			clocks = <&crg_ctrl HI3660_CLK_GATE_SPI2>;
85138810497SWang Xiaoyin			clock-names = "apb_pclk";
85238810497SWang Xiaoyin			pinctrl-names = "default";
85338810497SWang Xiaoyin			pinctrl-0 = <&spi2_pmx_func>;
85438810497SWang Xiaoyin			num-cs = <1>;
85538810497SWang Xiaoyin			cs-gpios = <&gpio27 2 0>;
85638810497SWang Xiaoyin			status = "disabled";
85738810497SWang Xiaoyin		};
85838810497SWang Xiaoyin
85938810497SWang Xiaoyin		spi3: spi@ff3b3000 {
86038810497SWang Xiaoyin			compatible = "arm,pl022", "arm,primecell";
86138810497SWang Xiaoyin			reg = <0x0 0xff3b3000 0x0 0x1000>;
86238810497SWang Xiaoyin			#address-cells = <1>;
86338810497SWang Xiaoyin			#size-cells = <0>;
86438810497SWang Xiaoyin			interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>;
86538810497SWang Xiaoyin			clocks = <&crg_ctrl HI3660_CLK_GATE_SPI3>;
86638810497SWang Xiaoyin			clock-names = "apb_pclk";
86738810497SWang Xiaoyin			pinctrl-names = "default";
86838810497SWang Xiaoyin			pinctrl-0 = <&spi3_pmx_func>;
86938810497SWang Xiaoyin			num-cs = <1>;
87038810497SWang Xiaoyin			cs-gpios = <&gpio18 5 0>;
87138810497SWang Xiaoyin			status = "disabled";
87238810497SWang Xiaoyin		};
87396909778SXiaowei Song
87496909778SXiaowei Song		pcie@f4000000 {
87596909778SXiaowei Song			compatible = "hisilicon,kirin960-pcie";
87696909778SXiaowei Song			reg = <0x0 0xf4000000 0x0 0x1000>,
87796909778SXiaowei Song			      <0x0 0xff3fe000 0x0 0x1000>,
87896909778SXiaowei Song			      <0x0 0xf3f20000 0x0 0x40000>,
87996909778SXiaowei Song			      <0x0 0xf5000000 0x0 0x2000>;
88096909778SXiaowei Song			reg-names = "dbi", "apb", "phy", "config";
88196909778SXiaowei Song			bus-range = <0x0  0x1>;
88296909778SXiaowei Song			#address-cells = <3>;
88396909778SXiaowei Song			#size-cells = <2>;
88496909778SXiaowei Song			device_type = "pci";
88596909778SXiaowei Song			ranges = <0x02000000 0x0 0x00000000
88696909778SXiaowei Song				  0x0 0xf6000000
88796909778SXiaowei Song				  0x0 0x02000000>;
88896909778SXiaowei Song			num-lanes = <1>;
88996909778SXiaowei Song			#interrupt-cells = <1>;
89096909778SXiaowei Song			interrupt-map-mask = <0xf800 0 0 7>;
89196909778SXiaowei Song			interrupt-map = <0x0 0 0 1
89296909778SXiaowei Song					 &gic GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
89396909778SXiaowei Song					<0x0 0 0 2
89496909778SXiaowei Song					 &gic GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
89596909778SXiaowei Song					<0x0 0 0 3
89696909778SXiaowei Song					 &gic GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
89796909778SXiaowei Song					<0x0 0 0 4
89896909778SXiaowei Song					 &gic GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>;
89996909778SXiaowei Song			clocks = <&crg_ctrl HI3660_PCIEPHY_REF>,
90096909778SXiaowei Song				 <&crg_ctrl HI3660_CLK_GATE_PCIEAUX>,
90196909778SXiaowei Song				 <&crg_ctrl HI3660_PCLK_GATE_PCIE_PHY>,
90296909778SXiaowei Song				 <&crg_ctrl HI3660_PCLK_GATE_PCIE_SYS>,
90396909778SXiaowei Song				 <&crg_ctrl HI3660_ACLK_GATE_PCIE>;
90496909778SXiaowei Song			clock-names = "pcie_phy_ref", "pcie_aux",
90596909778SXiaowei Song				      "pcie_apb_phy", "pcie_apb_sys",
90696909778SXiaowei Song				      "pcie_aclk";
90796909778SXiaowei Song			reset-gpios = <&gpio11 1 0 >;
90896909778SXiaowei Song		};
909804d7d7aSLi Wei
910804d7d7aSLi Wei		/* SD */
911804d7d7aSLi Wei		dwmmc1: dwmmc1@ff37f000 {
912804d7d7aSLi Wei			#address-cells = <1>;
913804d7d7aSLi Wei			#size-cells = <0>;
914804d7d7aSLi Wei			cd-inverted;
915804d7d7aSLi Wei			compatible = "hisilicon,hi3660-dw-mshc";
916804d7d7aSLi Wei			bus-width = <0x4>;
917804d7d7aSLi Wei			disable-wp;
918804d7d7aSLi Wei			cap-sd-highspeed;
919804d7d7aSLi Wei			supports-highspeed;
920804d7d7aSLi Wei			card-detect-delay = <200>;
921804d7d7aSLi Wei			reg = <0x0 0xff37f000 0x0 0x1000>;
922804d7d7aSLi Wei			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
923804d7d7aSLi Wei			clocks = <&crg_ctrl HI3660_CLK_GATE_SD>,
924804d7d7aSLi Wei				<&crg_ctrl HI3660_HCLK_GATE_SD>;
925804d7d7aSLi Wei			clock-names = "ciu", "biu";
926804d7d7aSLi Wei			clock-frequency = <3200000>;
927804d7d7aSLi Wei			resets = <&crg_rst 0x94 18>;
928996707d7SGuodong Xu			reset-names = "reset";
929804d7d7aSLi Wei			cd-gpios = <&gpio25 3 0>;
930804d7d7aSLi Wei			hisilicon,peripheral-syscon = <&sctrl>;
931804d7d7aSLi Wei			pinctrl-names = "default";
932804d7d7aSLi Wei			pinctrl-0 = <&sd_pmx_func
933804d7d7aSLi Wei				     &sd_clk_cfg_func
934804d7d7aSLi Wei				     &sd_cfg_func>;
935804d7d7aSLi Wei			sd-uhs-sdr12;
936804d7d7aSLi Wei			sd-uhs-sdr25;
937804d7d7aSLi Wei			sd-uhs-sdr50;
938804d7d7aSLi Wei			sd-uhs-sdr104;
939804d7d7aSLi Wei			status = "disabled";
940804d7d7aSLi Wei
941804d7d7aSLi Wei			slot@0 {
942804d7d7aSLi Wei				reg = <0x0>;
943804d7d7aSLi Wei				bus-width = <4>;
944804d7d7aSLi Wei				disable-wp;
945804d7d7aSLi Wei			};
946804d7d7aSLi Wei		};
947804d7d7aSLi Wei
948804d7d7aSLi Wei		/* SDIO */
949804d7d7aSLi Wei		dwmmc2: dwmmc2@ff3ff000 {
950804d7d7aSLi Wei			compatible = "hisilicon,hi3660-dw-mshc";
951804d7d7aSLi Wei			reg = <0x0 0xff3ff000 0x0 0x1000>;
952804d7d7aSLi Wei			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
953804d7d7aSLi Wei			clocks = <&crg_ctrl HI3660_CLK_GATE_SDIO0>,
954804d7d7aSLi Wei				 <&crg_ctrl HI3660_HCLK_GATE_SDIO0>;
955804d7d7aSLi Wei			clock-names = "ciu", "biu";
956804d7d7aSLi Wei			resets = <&crg_rst 0x94 20>;
957996707d7SGuodong Xu			reset-names = "reset";
958804d7d7aSLi Wei			card-detect-delay = <200>;
959804d7d7aSLi Wei			supports-highspeed;
960804d7d7aSLi Wei			keep-power-in-suspend;
961804d7d7aSLi Wei			pinctrl-names = "default";
962804d7d7aSLi Wei			pinctrl-0 = <&sdio_pmx_func
963804d7d7aSLi Wei				     &sdio_clk_cfg_func
964804d7d7aSLi Wei				     &sdio_cfg_func>;
965804d7d7aSLi Wei			status = "disabled";
966804d7d7aSLi Wei		};
967487f00d4SLeo Yan
968487f00d4SLeo Yan		watchdog0: watchdog@e8a06000 {
969487f00d4SLeo Yan			compatible = "arm,sp805-wdt", "arm,primecell";
970487f00d4SLeo Yan			reg = <0x0 0xe8a06000 0x0 0x1000>;
971487f00d4SLeo Yan			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
972487f00d4SLeo Yan			clocks = <&crg_ctrl HI3660_OSC32K>;
973487f00d4SLeo Yan			clock-names = "apb_pclk";
974487f00d4SLeo Yan		};
975487f00d4SLeo Yan
976487f00d4SLeo Yan		watchdog1: watchdog@e8a07000 {
977487f00d4SLeo Yan			compatible = "arm,sp805-wdt", "arm,primecell";
978487f00d4SLeo Yan			reg = <0x0 0xe8a07000 0x0 0x1000>;
979487f00d4SLeo Yan			interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
980487f00d4SLeo Yan			clocks = <&crg_ctrl HI3660_OSC32K>;
981487f00d4SLeo Yan			clock-names = "apb_pclk";
982487f00d4SLeo Yan		};
983a7ab4cb4SKevin Wangtao
984a7ab4cb4SKevin Wangtao		tsensor: tsensor@fff30000 {
985a7ab4cb4SKevin Wangtao			compatible = "hisilicon,hi3660-tsensor";
986a7ab4cb4SKevin Wangtao			reg = <0x0 0xfff30000 0x0 0x1000>;
987a7ab4cb4SKevin Wangtao			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
988a7ab4cb4SKevin Wangtao			#thermal-sensor-cells = <1>;
989a7ab4cb4SKevin Wangtao		};
99035ca8168SChen Feng	};
99135ca8168SChen Feng};
992