14ee99cebSKlaus Goger// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
252e02d37SLiang Chen/*
352e02d37SLiang Chen * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
452e02d37SLiang Chen */
552e02d37SLiang Chen
652e02d37SLiang Chen#include <dt-bindings/clock/rk3328-cru.h>
752e02d37SLiang Chen#include <dt-bindings/gpio/gpio.h>
852e02d37SLiang Chen#include <dt-bindings/interrupt-controller/arm-gic.h>
952e02d37SLiang Chen#include <dt-bindings/interrupt-controller/irq.h>
1052e02d37SLiang Chen#include <dt-bindings/pinctrl/rockchip.h>
1152e02d37SLiang Chen#include <dt-bindings/power/rk3328-power.h>
1252e02d37SLiang Chen#include <dt-bindings/soc/rockchip,boot-mode.h>
1387e0d607SRocky Hao#include <dt-bindings/thermal/thermal.h>
1452e02d37SLiang Chen
1552e02d37SLiang Chen/ {
1652e02d37SLiang Chen	compatible = "rockchip,rk3328";
1752e02d37SLiang Chen
1852e02d37SLiang Chen	interrupt-parent = <&gic>;
1952e02d37SLiang Chen	#address-cells = <2>;
2052e02d37SLiang Chen	#size-cells = <2>;
2152e02d37SLiang Chen
2252e02d37SLiang Chen	aliases {
2352e02d37SLiang Chen		serial0 = &uart0;
2452e02d37SLiang Chen		serial1 = &uart1;
2552e02d37SLiang Chen		serial2 = &uart2;
2652e02d37SLiang Chen		i2c0 = &i2c0;
2752e02d37SLiang Chen		i2c1 = &i2c1;
2852e02d37SLiang Chen		i2c2 = &i2c2;
2952e02d37SLiang Chen		i2c3 = &i2c3;
309c4cc910SDavid Wu		ethernet0 = &gmac2io;
319c4cc910SDavid Wu		ethernet1 = &gmac2phy;
3252e02d37SLiang Chen	};
3352e02d37SLiang Chen
3452e02d37SLiang Chen	cpus {
3552e02d37SLiang Chen		#address-cells = <2>;
3652e02d37SLiang Chen		#size-cells = <0>;
3752e02d37SLiang Chen
3852e02d37SLiang Chen		cpu0: cpu@0 {
3952e02d37SLiang Chen			device_type = "cpu";
4031af04cdSRob Herring			compatible = "arm,cortex-a53";
4152e02d37SLiang Chen			reg = <0x0 0x0>;
4252e02d37SLiang Chen			clocks = <&cru ARMCLK>;
4387e0d607SRocky Hao			#cooling-cells = <2>;
4487e0d607SRocky Hao			dynamic-power-coefficient = <120>;
4552e02d37SLiang Chen			enable-method = "psci";
4652e02d37SLiang Chen			next-level-cache = <&l2>;
47e997a6a4SFinley Xiao			operating-points-v2 = <&cpu0_opp_table>;
4852e02d37SLiang Chen		};
4952e02d37SLiang Chen
5052e02d37SLiang Chen		cpu1: cpu@1 {
5152e02d37SLiang Chen			device_type = "cpu";
5231af04cdSRob Herring			compatible = "arm,cortex-a53";
5352e02d37SLiang Chen			reg = <0x0 0x1>;
5452e02d37SLiang Chen			clocks = <&cru ARMCLK>;
55cc9b0918SViresh Kumar			#cooling-cells = <2>;
5687e0d607SRocky Hao			dynamic-power-coefficient = <120>;
5752e02d37SLiang Chen			enable-method = "psci";
5852e02d37SLiang Chen			next-level-cache = <&l2>;
59e997a6a4SFinley Xiao			operating-points-v2 = <&cpu0_opp_table>;
6052e02d37SLiang Chen		};
6152e02d37SLiang Chen
6252e02d37SLiang Chen		cpu2: cpu@2 {
6352e02d37SLiang Chen			device_type = "cpu";
6431af04cdSRob Herring			compatible = "arm,cortex-a53";
6552e02d37SLiang Chen			reg = <0x0 0x2>;
6652e02d37SLiang Chen			clocks = <&cru ARMCLK>;
67cc9b0918SViresh Kumar			#cooling-cells = <2>;
6887e0d607SRocky Hao			dynamic-power-coefficient = <120>;
6952e02d37SLiang Chen			enable-method = "psci";
7052e02d37SLiang Chen			next-level-cache = <&l2>;
71e997a6a4SFinley Xiao			operating-points-v2 = <&cpu0_opp_table>;
7252e02d37SLiang Chen		};
7352e02d37SLiang Chen
7452e02d37SLiang Chen		cpu3: cpu@3 {
7552e02d37SLiang Chen			device_type = "cpu";
7631af04cdSRob Herring			compatible = "arm,cortex-a53";
7752e02d37SLiang Chen			reg = <0x0 0x3>;
7852e02d37SLiang Chen			clocks = <&cru ARMCLK>;
79cc9b0918SViresh Kumar			#cooling-cells = <2>;
8087e0d607SRocky Hao			dynamic-power-coefficient = <120>;
8152e02d37SLiang Chen			enable-method = "psci";
8252e02d37SLiang Chen			next-level-cache = <&l2>;
83e997a6a4SFinley Xiao			operating-points-v2 = <&cpu0_opp_table>;
8452e02d37SLiang Chen		};
8552e02d37SLiang Chen
8652e02d37SLiang Chen		l2: l2-cache0 {
8752e02d37SLiang Chen			compatible = "cache";
8852e02d37SLiang Chen		};
8952e02d37SLiang Chen	};
9052e02d37SLiang Chen
91e997a6a4SFinley Xiao	cpu0_opp_table: opp_table0 {
92e997a6a4SFinley Xiao		compatible = "operating-points-v2";
93e997a6a4SFinley Xiao		opp-shared;
94e997a6a4SFinley Xiao
95e997a6a4SFinley Xiao		opp-408000000 {
96e997a6a4SFinley Xiao			opp-hz = /bits/ 64 <408000000>;
97e997a6a4SFinley Xiao			opp-microvolt = <950000>;
98e997a6a4SFinley Xiao			clock-latency-ns = <40000>;
99e997a6a4SFinley Xiao			opp-suspend;
100e997a6a4SFinley Xiao		};
101e997a6a4SFinley Xiao		opp-600000000 {
102e997a6a4SFinley Xiao			opp-hz = /bits/ 64 <600000000>;
103e997a6a4SFinley Xiao			opp-microvolt = <950000>;
104e997a6a4SFinley Xiao			clock-latency-ns = <40000>;
105e997a6a4SFinley Xiao		};
106e997a6a4SFinley Xiao		opp-816000000 {
107e997a6a4SFinley Xiao			opp-hz = /bits/ 64 <816000000>;
108e997a6a4SFinley Xiao			opp-microvolt = <1000000>;
109e997a6a4SFinley Xiao			clock-latency-ns = <40000>;
110e997a6a4SFinley Xiao		};
111e997a6a4SFinley Xiao		opp-1008000000 {
112e997a6a4SFinley Xiao			opp-hz = /bits/ 64 <1008000000>;
113e997a6a4SFinley Xiao			opp-microvolt = <1100000>;
114e997a6a4SFinley Xiao			clock-latency-ns = <40000>;
115e997a6a4SFinley Xiao		};
116e997a6a4SFinley Xiao		opp-1200000000 {
117e997a6a4SFinley Xiao			opp-hz = /bits/ 64 <1200000000>;
118e997a6a4SFinley Xiao			opp-microvolt = <1225000>;
119e997a6a4SFinley Xiao			clock-latency-ns = <40000>;
120e997a6a4SFinley Xiao		};
121e997a6a4SFinley Xiao		opp-1296000000 {
122e997a6a4SFinley Xiao			opp-hz = /bits/ 64 <1296000000>;
123e997a6a4SFinley Xiao			opp-microvolt = <1300000>;
124e997a6a4SFinley Xiao			clock-latency-ns = <40000>;
125e997a6a4SFinley Xiao		};
126e997a6a4SFinley Xiao	};
127e997a6a4SFinley Xiao
12852e02d37SLiang Chen	amba {
12952e02d37SLiang Chen		compatible = "simple-bus";
13052e02d37SLiang Chen		#address-cells = <2>;
13152e02d37SLiang Chen		#size-cells = <2>;
13252e02d37SLiang Chen		ranges;
13352e02d37SLiang Chen
13452e02d37SLiang Chen		dmac: dmac@ff1f0000 {
13552e02d37SLiang Chen			compatible = "arm,pl330", "arm,primecell";
13652e02d37SLiang Chen			reg = <0x0 0xff1f0000 0x0 0x4000>;
13752e02d37SLiang Chen			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
13852e02d37SLiang Chen				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
13952e02d37SLiang Chen			clocks = <&cru ACLK_DMAC>;
14052e02d37SLiang Chen			clock-names = "apb_pclk";
14152e02d37SLiang Chen			#dma-cells = <1>;
14252e02d37SLiang Chen		};
14352e02d37SLiang Chen	};
14452e02d37SLiang Chen
14552e02d37SLiang Chen	arm-pmu {
14652e02d37SLiang Chen		compatible = "arm,cortex-a53-pmu";
14752e02d37SLiang Chen		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
14852e02d37SLiang Chen			     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
14952e02d37SLiang Chen			     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
15052e02d37SLiang Chen			     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
15152e02d37SLiang Chen		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
15252e02d37SLiang Chen	};
15352e02d37SLiang Chen
154725e351cSHeiko Stuebner	display_subsystem: display-subsystem {
155725e351cSHeiko Stuebner		compatible = "rockchip,display-subsystem";
156725e351cSHeiko Stuebner		ports = <&vop_out>;
157725e351cSHeiko Stuebner	};
158725e351cSHeiko Stuebner
15952e02d37SLiang Chen	psci {
16052e02d37SLiang Chen		compatible = "arm,psci-1.0", "arm,psci-0.2";
16152e02d37SLiang Chen		method = "smc";
16252e02d37SLiang Chen	};
16352e02d37SLiang Chen
16452e02d37SLiang Chen	timer {
16552e02d37SLiang Chen		compatible = "arm,armv8-timer";
16652e02d37SLiang Chen		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16752e02d37SLiang Chen			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16852e02d37SLiang Chen			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16952e02d37SLiang Chen			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
17052e02d37SLiang Chen	};
17152e02d37SLiang Chen
17252e02d37SLiang Chen	xin24m: xin24m {
17352e02d37SLiang Chen		compatible = "fixed-clock";
17452e02d37SLiang Chen		#clock-cells = <0>;
17552e02d37SLiang Chen		clock-frequency = <24000000>;
17652e02d37SLiang Chen		clock-output-names = "xin24m";
17752e02d37SLiang Chen	};
17852e02d37SLiang Chen
179d80ef50aSSugar Zhang	i2s0: i2s@ff000000 {
180d80ef50aSSugar Zhang		compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
181d80ef50aSSugar Zhang		reg = <0x0 0xff000000 0x0 0x1000>;
182d80ef50aSSugar Zhang		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
183d80ef50aSSugar Zhang		clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>;
184d80ef50aSSugar Zhang		clock-names = "i2s_clk", "i2s_hclk";
185d80ef50aSSugar Zhang		dmas = <&dmac 11>, <&dmac 12>;
186d80ef50aSSugar Zhang		dma-names = "tx", "rx";
187b78442b8SHeiko Stuebner		#sound-dai-cells = <0>;
188d80ef50aSSugar Zhang		status = "disabled";
189d80ef50aSSugar Zhang	};
190d80ef50aSSugar Zhang
191d80ef50aSSugar Zhang	i2s1: i2s@ff010000 {
192d80ef50aSSugar Zhang		compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
193d80ef50aSSugar Zhang		reg = <0x0 0xff010000 0x0 0x1000>;
194d80ef50aSSugar Zhang		interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
195d80ef50aSSugar Zhang		clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>;
196d80ef50aSSugar Zhang		clock-names = "i2s_clk", "i2s_hclk";
197d80ef50aSSugar Zhang		dmas = <&dmac 14>, <&dmac 15>;
198d80ef50aSSugar Zhang		dma-names = "tx", "rx";
199b78442b8SHeiko Stuebner		#sound-dai-cells = <0>;
200d80ef50aSSugar Zhang		status = "disabled";
201d80ef50aSSugar Zhang	};
202d80ef50aSSugar Zhang
203d80ef50aSSugar Zhang	i2s2: i2s@ff020000 {
204d80ef50aSSugar Zhang		compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
205d80ef50aSSugar Zhang		reg = <0x0 0xff020000 0x0 0x1000>;
206d80ef50aSSugar Zhang		interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
207d80ef50aSSugar Zhang		clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2_2CH>;
208d80ef50aSSugar Zhang		clock-names = "i2s_clk", "i2s_hclk";
209d80ef50aSSugar Zhang		dmas = <&dmac 0>, <&dmac 1>;
210d80ef50aSSugar Zhang		dma-names = "tx", "rx";
211b78442b8SHeiko Stuebner		#sound-dai-cells = <0>;
212d80ef50aSSugar Zhang		status = "disabled";
213d80ef50aSSugar Zhang	};
214d80ef50aSSugar Zhang
215fc982e0bSSugar Zhang	spdif: spdif@ff030000 {
216fc982e0bSSugar Zhang		compatible = "rockchip,rk3328-spdif";
217fc982e0bSSugar Zhang		reg = <0x0 0xff030000 0x0 0x1000>;
218fc982e0bSSugar Zhang		interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
219fc982e0bSSugar Zhang		clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>;
220fc982e0bSSugar Zhang		clock-names = "mclk", "hclk";
221fc982e0bSSugar Zhang		dmas = <&dmac 10>;
222fc982e0bSSugar Zhang		dma-names = "tx";
223fc982e0bSSugar Zhang		pinctrl-names = "default";
224fc982e0bSSugar Zhang		pinctrl-0 = <&spdifm2_tx>;
225b78442b8SHeiko Stuebner		#sound-dai-cells = <0>;
226fc982e0bSSugar Zhang		status = "disabled";
227fc982e0bSSugar Zhang	};
228fc982e0bSSugar Zhang
22913ed1501SSugar Zhang	pdm: pdm@ff040000 {
23013ed1501SSugar Zhang		compatible = "rockchip,pdm";
23113ed1501SSugar Zhang		reg = <0x0 0xff040000 0x0 0x1000>;
23213ed1501SSugar Zhang		clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>;
23313ed1501SSugar Zhang		clock-names = "pdm_clk", "pdm_hclk";
23413ed1501SSugar Zhang		dmas = <&dmac 16>;
23513ed1501SSugar Zhang		dma-names = "rx";
23613ed1501SSugar Zhang		pinctrl-names = "default", "sleep";
23713ed1501SSugar Zhang		pinctrl-0 = <&pdmm0_clk
23813ed1501SSugar Zhang			     &pdmm0_sdi0
23913ed1501SSugar Zhang			     &pdmm0_sdi1
24013ed1501SSugar Zhang			     &pdmm0_sdi2
24113ed1501SSugar Zhang			     &pdmm0_sdi3>;
24213ed1501SSugar Zhang		pinctrl-1 = <&pdmm0_clk_sleep
24313ed1501SSugar Zhang			     &pdmm0_sdi0_sleep
24413ed1501SSugar Zhang			     &pdmm0_sdi1_sleep
24513ed1501SSugar Zhang			     &pdmm0_sdi2_sleep
24613ed1501SSugar Zhang			     &pdmm0_sdi3_sleep>;
24713ed1501SSugar Zhang		status = "disabled";
24813ed1501SSugar Zhang	};
24913ed1501SSugar Zhang
25052e02d37SLiang Chen	grf: syscon@ff100000 {
25152e02d37SLiang Chen		compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
25252e02d37SLiang Chen		reg = <0x0 0xff100000 0x0 0x1000>;
25352e02d37SLiang Chen		#address-cells = <1>;
25452e02d37SLiang Chen		#size-cells = <1>;
25552e02d37SLiang Chen
256cc51f503SDavid Wu		io_domains: io-domains {
257cc51f503SDavid Wu			compatible = "rockchip,rk3328-io-voltage-domain";
258cc51f503SDavid Wu			status = "disabled";
259cc51f503SDavid Wu		};
260cc51f503SDavid Wu
261692ff61eSLevin Du		grf_gpio: grf-gpio {
262692ff61eSLevin Du			compatible = "rockchip,rk3328-grf-gpio";
263692ff61eSLevin Du			gpio-controller;
264692ff61eSLevin Du			#gpio-cells = <2>;
265692ff61eSLevin Du		};
266692ff61eSLevin Du
26752e02d37SLiang Chen		power: power-controller {
26852e02d37SLiang Chen			compatible = "rockchip,rk3328-power-controller";
26952e02d37SLiang Chen			#power-domain-cells = <1>;
27052e02d37SLiang Chen			#address-cells = <1>;
27152e02d37SLiang Chen			#size-cells = <0>;
27252e02d37SLiang Chen
27352e02d37SLiang Chen			pd_hevc@RK3328_PD_HEVC {
27452e02d37SLiang Chen				reg = <RK3328_PD_HEVC>;
27552e02d37SLiang Chen			};
27652e02d37SLiang Chen			pd_video@RK3328_PD_VIDEO {
27752e02d37SLiang Chen				reg = <RK3328_PD_VIDEO>;
27852e02d37SLiang Chen			};
27952e02d37SLiang Chen			pd_vpu@RK3328_PD_VPU {
28052e02d37SLiang Chen				reg = <RK3328_PD_VPU>;
28152e02d37SLiang Chen			};
28252e02d37SLiang Chen		};
28352e02d37SLiang Chen
28452e02d37SLiang Chen		reboot-mode {
28552e02d37SLiang Chen			compatible = "syscon-reboot-mode";
28652e02d37SLiang Chen			offset = <0x5c8>;
28752e02d37SLiang Chen			mode-normal = <BOOT_NORMAL>;
28852e02d37SLiang Chen			mode-recovery = <BOOT_RECOVERY>;
28952e02d37SLiang Chen			mode-bootloader = <BOOT_FASTBOOT>;
29052e02d37SLiang Chen			mode-loader = <BOOT_BL_DOWNLOAD>;
29152e02d37SLiang Chen		};
29252e02d37SLiang Chen	};
29352e02d37SLiang Chen
29452e02d37SLiang Chen	uart0: serial@ff110000 {
29552e02d37SLiang Chen		compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
29652e02d37SLiang Chen		reg = <0x0 0xff110000 0x0 0x100>;
29752e02d37SLiang Chen		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
29852e02d37SLiang Chen		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
29952e02d37SLiang Chen		clock-names = "baudclk", "apb_pclk";
30052e02d37SLiang Chen		dmas = <&dmac 2>, <&dmac 3>;
3011255fe03SRobin Murphy		dma-names = "tx", "rx";
30252e02d37SLiang Chen		pinctrl-names = "default";
30352e02d37SLiang Chen		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
30452e02d37SLiang Chen		reg-io-width = <4>;
30552e02d37SLiang Chen		reg-shift = <2>;
30652e02d37SLiang Chen		status = "disabled";
30752e02d37SLiang Chen	};
30852e02d37SLiang Chen
30952e02d37SLiang Chen	uart1: serial@ff120000 {
31052e02d37SLiang Chen		compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
31152e02d37SLiang Chen		reg = <0x0 0xff120000 0x0 0x100>;
31252e02d37SLiang Chen		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
31352e02d37SLiang Chen		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
314d0414fddSHuibin Hong		clock-names = "baudclk", "apb_pclk";
31552e02d37SLiang Chen		dmas = <&dmac 4>, <&dmac 5>;
3161255fe03SRobin Murphy		dma-names = "tx", "rx";
31752e02d37SLiang Chen		pinctrl-names = "default";
31852e02d37SLiang Chen		pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
31952e02d37SLiang Chen		reg-io-width = <4>;
32052e02d37SLiang Chen		reg-shift = <2>;
32152e02d37SLiang Chen		status = "disabled";
32252e02d37SLiang Chen	};
32352e02d37SLiang Chen
32452e02d37SLiang Chen	uart2: serial@ff130000 {
32552e02d37SLiang Chen		compatible = "rockchip,rk3328-uart", "snps,dw-apb-uart";
32652e02d37SLiang Chen		reg = <0x0 0xff130000 0x0 0x100>;
32752e02d37SLiang Chen		interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
32852e02d37SLiang Chen		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
32952e02d37SLiang Chen		clock-names = "baudclk", "apb_pclk";
33052e02d37SLiang Chen		dmas = <&dmac 6>, <&dmac 7>;
3311255fe03SRobin Murphy		dma-names = "tx", "rx";
33252e02d37SLiang Chen		pinctrl-names = "default";
33352e02d37SLiang Chen		pinctrl-0 = <&uart2m1_xfer>;
33452e02d37SLiang Chen		reg-io-width = <4>;
33552e02d37SLiang Chen		reg-shift = <2>;
33652e02d37SLiang Chen		status = "disabled";
33752e02d37SLiang Chen	};
33852e02d37SLiang Chen
33952e02d37SLiang Chen	i2c0: i2c@ff150000 {
34052e02d37SLiang Chen		compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
34152e02d37SLiang Chen		reg = <0x0 0xff150000 0x0 0x1000>;
34252e02d37SLiang Chen		interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
34352e02d37SLiang Chen		#address-cells = <1>;
34452e02d37SLiang Chen		#size-cells = <0>;
34552e02d37SLiang Chen		clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
34652e02d37SLiang Chen		clock-names = "i2c", "pclk";
34752e02d37SLiang Chen		pinctrl-names = "default";
34852e02d37SLiang Chen		pinctrl-0 = <&i2c0_xfer>;
34952e02d37SLiang Chen		status = "disabled";
35052e02d37SLiang Chen	};
35152e02d37SLiang Chen
35252e02d37SLiang Chen	i2c1: i2c@ff160000 {
35352e02d37SLiang Chen		compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
35452e02d37SLiang Chen		reg = <0x0 0xff160000 0x0 0x1000>;
35552e02d37SLiang Chen		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
35652e02d37SLiang Chen		#address-cells = <1>;
35752e02d37SLiang Chen		#size-cells = <0>;
35852e02d37SLiang Chen		clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
35952e02d37SLiang Chen		clock-names = "i2c", "pclk";
36052e02d37SLiang Chen		pinctrl-names = "default";
36152e02d37SLiang Chen		pinctrl-0 = <&i2c1_xfer>;
36252e02d37SLiang Chen		status = "disabled";
36352e02d37SLiang Chen	};
36452e02d37SLiang Chen
36552e02d37SLiang Chen	i2c2: i2c@ff170000 {
36652e02d37SLiang Chen		compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
36752e02d37SLiang Chen		reg = <0x0 0xff170000 0x0 0x1000>;
36852e02d37SLiang Chen		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
36952e02d37SLiang Chen		#address-cells = <1>;
37052e02d37SLiang Chen		#size-cells = <0>;
37152e02d37SLiang Chen		clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
37252e02d37SLiang Chen		clock-names = "i2c", "pclk";
37352e02d37SLiang Chen		pinctrl-names = "default";
37452e02d37SLiang Chen		pinctrl-0 = <&i2c2_xfer>;
37552e02d37SLiang Chen		status = "disabled";
37652e02d37SLiang Chen	};
37752e02d37SLiang Chen
37852e02d37SLiang Chen	i2c3: i2c@ff180000 {
37952e02d37SLiang Chen		compatible = "rockchip,rk3328-i2c", "rockchip,rk3399-i2c";
38052e02d37SLiang Chen		reg = <0x0 0xff180000 0x0 0x1000>;
38152e02d37SLiang Chen		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
38252e02d37SLiang Chen		#address-cells = <1>;
38352e02d37SLiang Chen		#size-cells = <0>;
38452e02d37SLiang Chen		clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
38552e02d37SLiang Chen		clock-names = "i2c", "pclk";
38652e02d37SLiang Chen		pinctrl-names = "default";
38752e02d37SLiang Chen		pinctrl-0 = <&i2c3_xfer>;
38852e02d37SLiang Chen		status = "disabled";
38952e02d37SLiang Chen	};
39052e02d37SLiang Chen
39152e02d37SLiang Chen	spi0: spi@ff190000 {
39252e02d37SLiang Chen		compatible = "rockchip,rk3328-spi", "rockchip,rk3066-spi";
39352e02d37SLiang Chen		reg = <0x0 0xff190000 0x0 0x1000>;
39452e02d37SLiang Chen		interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
39552e02d37SLiang Chen		#address-cells = <1>;
39652e02d37SLiang Chen		#size-cells = <0>;
39752e02d37SLiang Chen		clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
39852e02d37SLiang Chen		clock-names = "spiclk", "apb_pclk";
39952e02d37SLiang Chen		dmas = <&dmac 8>, <&dmac 9>;
40052e02d37SLiang Chen		dma-names = "tx", "rx";
40152e02d37SLiang Chen		pinctrl-names = "default";
40252e02d37SLiang Chen		pinctrl-0 = <&spi0m2_clk &spi0m2_tx &spi0m2_rx &spi0m2_cs0>;
40352e02d37SLiang Chen		status = "disabled";
40452e02d37SLiang Chen	};
40552e02d37SLiang Chen
40652e02d37SLiang Chen	wdt: watchdog@ff1a0000 {
40752e02d37SLiang Chen		compatible = "snps,dw-wdt";
40852e02d37SLiang Chen		reg = <0x0 0xff1a0000 0x0 0x100>;
40952e02d37SLiang Chen		interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
41052e02d37SLiang Chen	};
41152e02d37SLiang Chen
4120bb2ef61SDavid Wu	pwm0: pwm@ff1b0000 {
4130bb2ef61SDavid Wu		compatible = "rockchip,rk3328-pwm";
4140bb2ef61SDavid Wu		reg = <0x0 0xff1b0000 0x0 0x10>;
4150bb2ef61SDavid Wu		clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
4160bb2ef61SDavid Wu		clock-names = "pwm", "pclk";
4170bb2ef61SDavid Wu		pinctrl-names = "default";
4180bb2ef61SDavid Wu		pinctrl-0 = <&pwm0_pin>;
4190bb2ef61SDavid Wu		#pwm-cells = <3>;
4200bb2ef61SDavid Wu		status = "disabled";
4210bb2ef61SDavid Wu	};
4220bb2ef61SDavid Wu
4230bb2ef61SDavid Wu	pwm1: pwm@ff1b0010 {
4240bb2ef61SDavid Wu		compatible = "rockchip,rk3328-pwm";
4250bb2ef61SDavid Wu		reg = <0x0 0xff1b0010 0x0 0x10>;
4260bb2ef61SDavid Wu		clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
4270bb2ef61SDavid Wu		clock-names = "pwm", "pclk";
4280bb2ef61SDavid Wu		pinctrl-names = "default";
4290bb2ef61SDavid Wu		pinctrl-0 = <&pwm1_pin>;
4300bb2ef61SDavid Wu		#pwm-cells = <3>;
4310bb2ef61SDavid Wu		status = "disabled";
4320bb2ef61SDavid Wu	};
4330bb2ef61SDavid Wu
4340bb2ef61SDavid Wu	pwm2: pwm@ff1b0020 {
4350bb2ef61SDavid Wu		compatible = "rockchip,rk3328-pwm";
4360bb2ef61SDavid Wu		reg = <0x0 0xff1b0020 0x0 0x10>;
4370bb2ef61SDavid Wu		clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
4380bb2ef61SDavid Wu		clock-names = "pwm", "pclk";
4390bb2ef61SDavid Wu		pinctrl-names = "default";
4400bb2ef61SDavid Wu		pinctrl-0 = <&pwm2_pin>;
4410bb2ef61SDavid Wu		#pwm-cells = <3>;
4420bb2ef61SDavid Wu		status = "disabled";
4430bb2ef61SDavid Wu	};
4440bb2ef61SDavid Wu
4450bb2ef61SDavid Wu	pwm3: pwm@ff1b0030 {
4460bb2ef61SDavid Wu		compatible = "rockchip,rk3328-pwm";
4470bb2ef61SDavid Wu		reg = <0x0 0xff1b0030 0x0 0x10>;
4480bb2ef61SDavid Wu		interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
4490bb2ef61SDavid Wu		clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
4500bb2ef61SDavid Wu		clock-names = "pwm", "pclk";
4510bb2ef61SDavid Wu		pinctrl-names = "default";
4520bb2ef61SDavid Wu		pinctrl-0 = <&pwmir_pin>;
4530bb2ef61SDavid Wu		#pwm-cells = <3>;
4540bb2ef61SDavid Wu		status = "disabled";
4550bb2ef61SDavid Wu	};
4560bb2ef61SDavid Wu
45787e0d607SRocky Hao	thermal-zones {
45887e0d607SRocky Hao		soc_thermal: soc-thermal {
45987e0d607SRocky Hao			polling-delay-passive = <20>;
46087e0d607SRocky Hao			polling-delay = <1000>;
46187e0d607SRocky Hao			sustainable-power = <1000>;
46287e0d607SRocky Hao
46387e0d607SRocky Hao			thermal-sensors = <&tsadc 0>;
46487e0d607SRocky Hao
46587e0d607SRocky Hao			trips {
46687e0d607SRocky Hao				threshold: trip-point0 {
46787e0d607SRocky Hao					temperature = <70000>;
46887e0d607SRocky Hao					hysteresis = <2000>;
46987e0d607SRocky Hao					type = "passive";
47087e0d607SRocky Hao				};
47187e0d607SRocky Hao				target: trip-point1 {
47287e0d607SRocky Hao					temperature = <85000>;
47387e0d607SRocky Hao					hysteresis = <2000>;
47487e0d607SRocky Hao					type = "passive";
47587e0d607SRocky Hao				};
47687e0d607SRocky Hao				soc_crit: soc-crit {
47787e0d607SRocky Hao					temperature = <95000>;
47887e0d607SRocky Hao					hysteresis = <2000>;
47987e0d607SRocky Hao					type = "critical";
48087e0d607SRocky Hao				};
48187e0d607SRocky Hao			};
48287e0d607SRocky Hao
48387e0d607SRocky Hao			cooling-maps {
48487e0d607SRocky Hao				map0 {
48587e0d607SRocky Hao					trip = <&target>;
486cdd46460SViresh Kumar					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
487cdd46460SViresh Kumar							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
488cdd46460SViresh Kumar							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
489cdd46460SViresh Kumar							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
49087e0d607SRocky Hao					contribution = <4096>;
49187e0d607SRocky Hao				};
49287e0d607SRocky Hao			};
49387e0d607SRocky Hao		};
49487e0d607SRocky Hao
49587e0d607SRocky Hao	};
49687e0d607SRocky Hao
49720590de2SRocky Hao	tsadc: tsadc@ff250000 {
49820590de2SRocky Hao		compatible = "rockchip,rk3328-tsadc";
49920590de2SRocky Hao		reg = <0x0 0xff250000 0x0 0x100>;
5003fa8c49fSHeiko Stuebner		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
50120590de2SRocky Hao		assigned-clocks = <&cru SCLK_TSADC>;
50220590de2SRocky Hao		assigned-clock-rates = <50000>;
50320590de2SRocky Hao		clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
50420590de2SRocky Hao		clock-names = "tsadc", "apb_pclk";
50520590de2SRocky Hao		pinctrl-names = "init", "default", "sleep";
50620590de2SRocky Hao		pinctrl-0 = <&otp_gpio>;
50720590de2SRocky Hao		pinctrl-1 = <&otp_out>;
50820590de2SRocky Hao		pinctrl-2 = <&otp_gpio>;
50920590de2SRocky Hao		resets = <&cru SRST_TSADC>;
51020590de2SRocky Hao		reset-names = "tsadc-apb";
51120590de2SRocky Hao		rockchip,grf = <&grf>;
51220590de2SRocky Hao		rockchip,hw-tshut-temp = <100000>;
51320590de2SRocky Hao		#thermal-sensor-cells = <1>;
51420590de2SRocky Hao		status = "disabled";
51520590de2SRocky Hao	};
51620590de2SRocky Hao
51713bc2c0aSFinley Xiao	efuse: efuse@ff260000 {
51813bc2c0aSFinley Xiao		compatible = "rockchip,rk3328-efuse";
51913bc2c0aSFinley Xiao		reg = <0x0 0xff260000 0x0 0x50>;
52013bc2c0aSFinley Xiao		#address-cells = <1>;
52113bc2c0aSFinley Xiao		#size-cells = <1>;
52213bc2c0aSFinley Xiao		clocks = <&cru SCLK_EFUSE>;
52313bc2c0aSFinley Xiao		clock-names = "pclk_efuse";
52413bc2c0aSFinley Xiao		rockchip,efuse-size = <0x20>;
52513bc2c0aSFinley Xiao
52613bc2c0aSFinley Xiao		/* Data cells */
52713bc2c0aSFinley Xiao		efuse_id: id@7 {
52813bc2c0aSFinley Xiao			reg = <0x07 0x10>;
52913bc2c0aSFinley Xiao		};
53013bc2c0aSFinley Xiao		cpu_leakage: cpu-leakage@17 {
53113bc2c0aSFinley Xiao			reg = <0x17 0x1>;
53213bc2c0aSFinley Xiao		};
53313bc2c0aSFinley Xiao		logic_leakage: logic-leakage@19 {
53413bc2c0aSFinley Xiao			reg = <0x19 0x1>;
53513bc2c0aSFinley Xiao		};
53613bc2c0aSFinley Xiao		efuse_cpu_version: cpu-version@1a {
53713bc2c0aSFinley Xiao			reg = <0x1a 0x1>;
53813bc2c0aSFinley Xiao			bits = <3 3>;
53913bc2c0aSFinley Xiao		};
54013bc2c0aSFinley Xiao	};
54113bc2c0aSFinley Xiao
54252e02d37SLiang Chen	saradc: adc@ff280000 {
54352e02d37SLiang Chen		compatible = "rockchip,rk3328-saradc", "rockchip,rk3399-saradc";
54452e02d37SLiang Chen		reg = <0x0 0xff280000 0x0 0x100>;
54552e02d37SLiang Chen		interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
54652e02d37SLiang Chen		#io-channel-cells = <1>;
54752e02d37SLiang Chen		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
54852e02d37SLiang Chen		clock-names = "saradc", "apb_pclk";
54952e02d37SLiang Chen		resets = <&cru SRST_SARADC_P>;
55052e02d37SLiang Chen		reset-names = "saradc-apb";
55152e02d37SLiang Chen		status = "disabled";
55252e02d37SLiang Chen	};
55352e02d37SLiang Chen
554752fbc0cSHeiko Stuebner	gpu: gpu@ff300000 {
555752fbc0cSHeiko Stuebner		compatible = "rockchip,rk3328-mali", "arm,mali-450";
556752fbc0cSHeiko Stuebner		reg = <0x0 0xff300000 0x0 0x40000>;
557752fbc0cSHeiko Stuebner		interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
558752fbc0cSHeiko Stuebner			     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
559752fbc0cSHeiko Stuebner			     <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
560752fbc0cSHeiko Stuebner			     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
561752fbc0cSHeiko Stuebner			     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
562752fbc0cSHeiko Stuebner			     <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
563752fbc0cSHeiko Stuebner			     <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
564752fbc0cSHeiko Stuebner		interrupt-names = "gp",
565752fbc0cSHeiko Stuebner				  "gpmmu",
566752fbc0cSHeiko Stuebner				  "pp",
567752fbc0cSHeiko Stuebner				  "pp0",
568752fbc0cSHeiko Stuebner				  "ppmmu0",
569752fbc0cSHeiko Stuebner				  "pp1",
570752fbc0cSHeiko Stuebner				  "ppmmu1";
571752fbc0cSHeiko Stuebner		clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
572752fbc0cSHeiko Stuebner		clock-names = "bus", "core";
573752fbc0cSHeiko Stuebner		resets = <&cru SRST_GPU_A>;
574752fbc0cSHeiko Stuebner	};
575752fbc0cSHeiko Stuebner
57649c82f2bSSimon Xue	h265e_mmu: iommu@ff330200 {
57749c82f2bSSimon Xue		compatible = "rockchip,iommu";
57849c82f2bSSimon Xue		reg = <0x0 0xff330200 0 0x100>;
57949c82f2bSSimon Xue		interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
58049c82f2bSSimon Xue		interrupt-names = "h265e_mmu";
581df3bcde7SJeffy Chen		clocks = <&cru ACLK_H265>, <&cru PCLK_H265>;
582df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
58349c82f2bSSimon Xue		#iommu-cells = <0>;
58449c82f2bSSimon Xue		status = "disabled";
58549c82f2bSSimon Xue	};
58649c82f2bSSimon Xue
58749c82f2bSSimon Xue	vepu_mmu: iommu@ff340800 {
58849c82f2bSSimon Xue		compatible = "rockchip,iommu";
58949c82f2bSSimon Xue		reg = <0x0 0xff340800 0x0 0x40>;
59049c82f2bSSimon Xue		interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
59149c82f2bSSimon Xue		interrupt-names = "vepu_mmu";
592df3bcde7SJeffy Chen		clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
593df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
59449c82f2bSSimon Xue		#iommu-cells = <0>;
59549c82f2bSSimon Xue		status = "disabled";
59649c82f2bSSimon Xue	};
59749c82f2bSSimon Xue
59849c82f2bSSimon Xue	vpu_mmu: iommu@ff350800 {
59949c82f2bSSimon Xue		compatible = "rockchip,iommu";
60049c82f2bSSimon Xue		reg = <0x0 0xff350800 0x0 0x40>;
60149c82f2bSSimon Xue		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
60249c82f2bSSimon Xue		interrupt-names = "vpu_mmu";
603df3bcde7SJeffy Chen		clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
604df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
60549c82f2bSSimon Xue		#iommu-cells = <0>;
60649c82f2bSSimon Xue		status = "disabled";
60749c82f2bSSimon Xue	};
60849c82f2bSSimon Xue
60949c82f2bSSimon Xue	rkvdec_mmu: iommu@ff360480 {
61049c82f2bSSimon Xue		compatible = "rockchip,iommu";
61149c82f2bSSimon Xue		reg = <0x0 0xff360480 0x0 0x40>, <0x0 0xff3604c0 0x0 0x40>;
61249c82f2bSSimon Xue		interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
61349c82f2bSSimon Xue		interrupt-names = "rkvdec_mmu";
614df3bcde7SJeffy Chen		clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>;
615df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
61649c82f2bSSimon Xue		#iommu-cells = <0>;
61749c82f2bSSimon Xue		status = "disabled";
61849c82f2bSSimon Xue	};
61949c82f2bSSimon Xue
620725e351cSHeiko Stuebner	vop: vop@ff370000 {
621725e351cSHeiko Stuebner		compatible = "rockchip,rk3328-vop";
622725e351cSHeiko Stuebner		reg = <0x0 0xff370000 0x0 0x3efc>;
623725e351cSHeiko Stuebner		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
624725e351cSHeiko Stuebner		clocks = <&cru ACLK_VOP>, <&cru DCLK_LCDC>, <&cru HCLK_VOP>;
625725e351cSHeiko Stuebner		clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
626725e351cSHeiko Stuebner		resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>;
627725e351cSHeiko Stuebner		reset-names = "axi", "ahb", "dclk";
628725e351cSHeiko Stuebner		iommus = <&vop_mmu>;
629725e351cSHeiko Stuebner		status = "disabled";
630725e351cSHeiko Stuebner
631725e351cSHeiko Stuebner		vop_out: port {
632725e351cSHeiko Stuebner			#address-cells = <1>;
633725e351cSHeiko Stuebner			#size-cells = <0>;
634725e351cSHeiko Stuebner
635725e351cSHeiko Stuebner			vop_out_hdmi: endpoint@0 {
636725e351cSHeiko Stuebner				reg = <0>;
637725e351cSHeiko Stuebner				remote-endpoint = <&hdmi_in_vop>;
638725e351cSHeiko Stuebner			};
639725e351cSHeiko Stuebner		};
640725e351cSHeiko Stuebner	};
641725e351cSHeiko Stuebner
64249c82f2bSSimon Xue	vop_mmu: iommu@ff373f00 {
64349c82f2bSSimon Xue		compatible = "rockchip,iommu";
64449c82f2bSSimon Xue		reg = <0x0 0xff373f00 0x0 0x100>;
645b521102dSArnd Bergmann		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
64649c82f2bSSimon Xue		interrupt-names = "vop_mmu";
647df3bcde7SJeffy Chen		clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
648df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
64949c82f2bSSimon Xue		#iommu-cells = <0>;
65049c82f2bSSimon Xue		status = "disabled";
65149c82f2bSSimon Xue	};
65249c82f2bSSimon Xue
653725e351cSHeiko Stuebner	hdmi: hdmi@ff3c0000 {
654725e351cSHeiko Stuebner		compatible = "rockchip,rk3328-dw-hdmi";
655725e351cSHeiko Stuebner		reg = <0x0 0xff3c0000 0x0 0x20000>;
656725e351cSHeiko Stuebner		reg-io-width = <4>;
657725e351cSHeiko Stuebner		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
658725e351cSHeiko Stuebner			     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
659725e351cSHeiko Stuebner		clocks = <&cru PCLK_HDMI>,
660725e351cSHeiko Stuebner			 <&cru SCLK_HDMI_SFC>;
661725e351cSHeiko Stuebner		clock-names = "iahb",
662725e351cSHeiko Stuebner			      "isfr";
663725e351cSHeiko Stuebner		phys = <&hdmiphy>;
664725e351cSHeiko Stuebner		phy-names = "hdmi";
665725e351cSHeiko Stuebner		pinctrl-names = "default";
666725e351cSHeiko Stuebner		pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>;
667725e351cSHeiko Stuebner		rockchip,grf = <&grf>;
668725e351cSHeiko Stuebner		status = "disabled";
669725e351cSHeiko Stuebner
670725e351cSHeiko Stuebner		ports {
671725e351cSHeiko Stuebner			hdmi_in: port {
672725e351cSHeiko Stuebner				hdmi_in_vop: endpoint {
673725e351cSHeiko Stuebner					remote-endpoint = <&vop_out_hdmi>;
674725e351cSHeiko Stuebner				};
675725e351cSHeiko Stuebner			};
676725e351cSHeiko Stuebner		};
677725e351cSHeiko Stuebner	};
678725e351cSHeiko Stuebner
679c0975706SKatsuhiro Suzuki	codec: codec@ff410000 {
680c0975706SKatsuhiro Suzuki		compatible = "rockchip,rk3328-codec";
681c0975706SKatsuhiro Suzuki		reg = <0x0 0xff410000 0x0 0x1000>;
682c0975706SKatsuhiro Suzuki		clocks = <&cru PCLK_ACODECPHY>, <&cru SCLK_I2S1>;
683c0975706SKatsuhiro Suzuki		clock-names = "pclk", "mclk";
684c0975706SKatsuhiro Suzuki		rockchip,grf = <&grf>;
685c0975706SKatsuhiro Suzuki		#sound-dai-cells = <0>;
686c0975706SKatsuhiro Suzuki		status = "disabled";
687c0975706SKatsuhiro Suzuki	};
688c0975706SKatsuhiro Suzuki
6896c69dfe2SHeiko Stuebner	hdmiphy: phy@ff430000 {
6906c69dfe2SHeiko Stuebner		compatible = "rockchip,rk3328-hdmi-phy";
6916c69dfe2SHeiko Stuebner		reg = <0x0 0xff430000 0x0 0x10000>;
6926c69dfe2SHeiko Stuebner		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
6936c69dfe2SHeiko Stuebner		clocks = <&cru PCLK_HDMIPHY>, <&xin24m>, <&cru DCLK_HDMIPHY>;
6946c69dfe2SHeiko Stuebner		clock-names = "sysclk", "refoclk", "refpclk";
6956c69dfe2SHeiko Stuebner		clock-output-names = "hdmi_phy";
6966c69dfe2SHeiko Stuebner		#clock-cells = <0>;
6976c69dfe2SHeiko Stuebner		nvmem-cells = <&efuse_cpu_version>;
6986c69dfe2SHeiko Stuebner		nvmem-cell-names = "cpu-version";
6996c69dfe2SHeiko Stuebner		#phy-cells = <0>;
7006c69dfe2SHeiko Stuebner		status = "disabled";
7016c69dfe2SHeiko Stuebner	};
7026c69dfe2SHeiko Stuebner
70352e02d37SLiang Chen	cru: clock-controller@ff440000 {
70452e02d37SLiang Chen		compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon";
70552e02d37SLiang Chen		reg = <0x0 0xff440000 0x0 0x1000>;
70652e02d37SLiang Chen		rockchip,grf = <&grf>;
70752e02d37SLiang Chen		#clock-cells = <1>;
70852e02d37SLiang Chen		#reset-cells = <1>;
70952e02d37SLiang Chen		assigned-clocks =
71052e02d37SLiang Chen			/*
71152e02d37SLiang Chen			 * CPLL should run at 1200, but that is to high for
71252e02d37SLiang Chen			 * the initial dividers of most of its children.
71352e02d37SLiang Chen			 * We need set cpll child clk div first,
71452e02d37SLiang Chen			 * and then set the cpll frequency.
71552e02d37SLiang Chen			 */
71652e02d37SLiang Chen			<&cru DCLK_LCDC>, <&cru SCLK_PDM>,
71752e02d37SLiang Chen			<&cru SCLK_RTC32K>, <&cru SCLK_UART0>,
71852e02d37SLiang Chen			<&cru SCLK_UART1>, <&cru SCLK_UART2>,
71952e02d37SLiang Chen			<&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
72052e02d37SLiang Chen			<&cru ACLK_VIO_PRE>, <&cru ACLK_RGA_PRE>,
72152e02d37SLiang Chen			<&cru ACLK_VOP_PRE>, <&cru ACLK_RKVDEC_PRE>,
72252e02d37SLiang Chen			<&cru ACLK_RKVENC>, <&cru ACLK_VPU_PRE>,
72352e02d37SLiang Chen			<&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>,
72452e02d37SLiang Chen			<&cru SCLK_VENC_CORE>, <&cru SCLK_VENC_DSP>,
72552e02d37SLiang Chen			<&cru SCLK_SDIO>, <&cru SCLK_TSP>,
72652e02d37SLiang Chen			<&cru SCLK_WIFI>, <&cru ARMCLK>,
72752e02d37SLiang Chen			<&cru PLL_GPLL>, <&cru PLL_CPLL>,
72852e02d37SLiang Chen			<&cru ACLK_BUS_PRE>, <&cru HCLK_BUS_PRE>,
72952e02d37SLiang Chen			<&cru PCLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
73052e02d37SLiang Chen			<&cru HCLK_PERI>, <&cru PCLK_PERI>,
73152e02d37SLiang Chen			<&cru SCLK_RTC32K>;
73252e02d37SLiang Chen		assigned-clock-parents =
73352e02d37SLiang Chen			<&cru HDMIPHY>, <&cru PLL_APLL>,
73452e02d37SLiang Chen			<&cru PLL_GPLL>, <&xin24m>,
73552e02d37SLiang Chen			<&xin24m>, <&xin24m>;
73652e02d37SLiang Chen		assigned-clock-rates =
73752e02d37SLiang Chen			<0>, <61440000>,
73852e02d37SLiang Chen			<0>, <24000000>,
73952e02d37SLiang Chen			<24000000>, <24000000>,
74052e02d37SLiang Chen			<15000000>, <15000000>,
74152e02d37SLiang Chen			<100000000>, <100000000>,
74252e02d37SLiang Chen			<100000000>, <100000000>,
74352e02d37SLiang Chen			<50000000>, <100000000>,
74452e02d37SLiang Chen			<100000000>, <100000000>,
74552e02d37SLiang Chen			<50000000>, <50000000>,
74652e02d37SLiang Chen			<50000000>, <50000000>,
74752e02d37SLiang Chen			<24000000>, <600000000>,
74852e02d37SLiang Chen			<491520000>, <1200000000>,
74952e02d37SLiang Chen			<150000000>, <75000000>,
75052e02d37SLiang Chen			<75000000>, <150000000>,
75152e02d37SLiang Chen			<75000000>, <75000000>,
75252e02d37SLiang Chen			<32768>;
75352e02d37SLiang Chen	};
75452e02d37SLiang Chen
755c60c0373SWilliam Wu	usb2phy_grf: syscon@ff450000 {
756c60c0373SWilliam Wu		compatible = "rockchip,rk3328-usb2phy-grf", "syscon",
757c60c0373SWilliam Wu			     "simple-mfd";
758c60c0373SWilliam Wu		reg = <0x0 0xff450000 0x0 0x10000>;
759c60c0373SWilliam Wu		#address-cells = <1>;
760c60c0373SWilliam Wu		#size-cells = <1>;
761c60c0373SWilliam Wu
762c60c0373SWilliam Wu		u2phy: usb2-phy@100 {
763c60c0373SWilliam Wu			compatible = "rockchip,rk3328-usb2phy";
764c60c0373SWilliam Wu			reg = <0x100 0x10>;
765c60c0373SWilliam Wu			clocks = <&xin24m>;
766c60c0373SWilliam Wu			clock-names = "phyclk";
767c60c0373SWilliam Wu			clock-output-names = "usb480m_phy";
768c60c0373SWilliam Wu			#clock-cells = <0>;
769c60c0373SWilliam Wu			assigned-clocks = <&cru USB480M>;
770c60c0373SWilliam Wu			assigned-clock-parents = <&u2phy>;
771c60c0373SWilliam Wu			status = "disabled";
772c60c0373SWilliam Wu
773c60c0373SWilliam Wu			u2phy_otg: otg-port {
774c60c0373SWilliam Wu				#phy-cells = <0>;
775c60c0373SWilliam Wu				interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
776c60c0373SWilliam Wu					     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
777c60c0373SWilliam Wu					     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
778c60c0373SWilliam Wu				interrupt-names = "otg-bvalid", "otg-id",
779c60c0373SWilliam Wu						  "linestate";
780c60c0373SWilliam Wu				status = "disabled";
781c60c0373SWilliam Wu			};
782c60c0373SWilliam Wu
783c60c0373SWilliam Wu			u2phy_host: host-port {
784c60c0373SWilliam Wu				#phy-cells = <0>;
785c60c0373SWilliam Wu				interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
786c60c0373SWilliam Wu				interrupt-names = "linestate";
787c60c0373SWilliam Wu				status = "disabled";
788c60c0373SWilliam Wu			};
789c60c0373SWilliam Wu		};
790c60c0373SWilliam Wu	};
791c60c0373SWilliam Wu
792d717f735SShawn Lin	sdmmc: dwmmc@ff500000 {
793d717f735SShawn Lin		compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
794d717f735SShawn Lin		reg = <0x0 0xff500000 0x0 0x4000>;
795d717f735SShawn Lin		interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
796d717f735SShawn Lin		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
797d717f735SShawn Lin			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
798ca9eee95SRobin Murphy		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
799d717f735SShawn Lin		fifo-depth = <0x100>;
800d717f735SShawn Lin		status = "disabled";
801d717f735SShawn Lin	};
802d717f735SShawn Lin
803d717f735SShawn Lin	sdio: dwmmc@ff510000 {
804d717f735SShawn Lin		compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
805d717f735SShawn Lin		reg = <0x0 0xff510000 0x0 0x4000>;
806d717f735SShawn Lin		interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
807d717f735SShawn Lin		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
808d717f735SShawn Lin			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
809ca9eee95SRobin Murphy		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
810d717f735SShawn Lin		fifo-depth = <0x100>;
811d717f735SShawn Lin		status = "disabled";
812d717f735SShawn Lin	};
813d717f735SShawn Lin
814d717f735SShawn Lin	emmc: dwmmc@ff520000 {
815d717f735SShawn Lin		compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
816d717f735SShawn Lin		reg = <0x0 0xff520000 0x0 0x4000>;
817d717f735SShawn Lin		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
818d717f735SShawn Lin		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
819d717f735SShawn Lin			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
820ca9eee95SRobin Murphy		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
821d717f735SShawn Lin		fifo-depth = <0x100>;
822d717f735SShawn Lin		status = "disabled";
823d717f735SShawn Lin	};
824d717f735SShawn Lin
82552e02d37SLiang Chen	gmac2io: ethernet@ff540000 {
82652e02d37SLiang Chen		compatible = "rockchip,rk3328-gmac";
82752e02d37SLiang Chen		reg = <0x0 0xff540000 0x0 0x10000>;
82852e02d37SLiang Chen		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
82952e02d37SLiang Chen		interrupt-names = "macirq";
83052e02d37SLiang Chen		clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_RX>,
83152e02d37SLiang Chen			 <&cru SCLK_MAC2IO_TX>, <&cru SCLK_MAC2IO_REF>,
83252e02d37SLiang Chen			 <&cru SCLK_MAC2IO_REFOUT>, <&cru ACLK_MAC2IO>,
83352e02d37SLiang Chen			 <&cru PCLK_MAC2IO>;
83452e02d37SLiang Chen		clock-names = "stmmaceth", "mac_clk_rx",
83552e02d37SLiang Chen			      "mac_clk_tx", "clk_mac_ref",
83652e02d37SLiang Chen			      "clk_mac_refout", "aclk_mac",
83752e02d37SLiang Chen			      "pclk_mac";
83852e02d37SLiang Chen		resets = <&cru SRST_GMAC2IO_A>;
83952e02d37SLiang Chen		reset-names = "stmmaceth";
84052e02d37SLiang Chen		rockchip,grf = <&grf>;
84152e02d37SLiang Chen		status = "disabled";
84252e02d37SLiang Chen	};
84352e02d37SLiang Chen
8449c4cc910SDavid Wu	gmac2phy: ethernet@ff550000 {
8459c4cc910SDavid Wu		compatible = "rockchip,rk3328-gmac";
8469c4cc910SDavid Wu		reg = <0x0 0xff550000 0x0 0x10000>;
8479c4cc910SDavid Wu		rockchip,grf = <&grf>;
8489c4cc910SDavid Wu		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
8499c4cc910SDavid Wu		interrupt-names = "macirq";
8509c4cc910SDavid Wu		clocks = <&cru SCLK_MAC2PHY_SRC>, <&cru SCLK_MAC2PHY_RXTX>,
8519c4cc910SDavid Wu			 <&cru SCLK_MAC2PHY_RXTX>, <&cru SCLK_MAC2PHY_REF>,
8529c4cc910SDavid Wu			 <&cru ACLK_MAC2PHY>, <&cru PCLK_MAC2PHY>,
8539c4cc910SDavid Wu			 <&cru SCLK_MAC2PHY_OUT>;
8549c4cc910SDavid Wu		clock-names = "stmmaceth", "mac_clk_rx",
8559c4cc910SDavid Wu			      "mac_clk_tx", "clk_mac_ref",
8569c4cc910SDavid Wu			      "aclk_mac", "pclk_mac",
8579c4cc910SDavid Wu			      "clk_macphy";
8589c4cc910SDavid Wu		resets = <&cru SRST_GMAC2PHY_A>, <&cru SRST_MACPHY>;
8599c4cc910SDavid Wu		reset-names = "stmmaceth", "mac-phy";
8609c4cc910SDavid Wu		phy-mode = "rmii";
8619c4cc910SDavid Wu		phy-handle = <&phy>;
8629c4cc910SDavid Wu		status = "disabled";
8639c4cc910SDavid Wu
8649c4cc910SDavid Wu		mdio {
8659c4cc910SDavid Wu			compatible = "snps,dwmac-mdio";
8669c4cc910SDavid Wu			#address-cells = <1>;
8679c4cc910SDavid Wu			#size-cells = <0>;
8689c4cc910SDavid Wu
8699c4cc910SDavid Wu			phy: phy@0 {
8709c4cc910SDavid Wu				compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
8719c4cc910SDavid Wu				reg = <0>;
8729c4cc910SDavid Wu				clocks = <&cru SCLK_MAC2PHY_OUT>;
8739c4cc910SDavid Wu				resets = <&cru SRST_MACPHY>;
8749c4cc910SDavid Wu				pinctrl-names = "default";
8759c4cc910SDavid Wu				pinctrl-0 = <&fephyled_rxm1 &fephyled_linkm1>;
8769c4cc910SDavid Wu				phy-is-integrated;
8779c4cc910SDavid Wu			};
8789c4cc910SDavid Wu		};
8799c4cc910SDavid Wu	};
8809c4cc910SDavid Wu
881c60c0373SWilliam Wu	usb20_otg: usb@ff580000 {
882c60c0373SWilliam Wu		compatible = "rockchip,rk3328-usb", "rockchip,rk3066-usb",
883c60c0373SWilliam Wu			     "snps,dwc2";
884c60c0373SWilliam Wu		reg = <0x0 0xff580000 0x0 0x40000>;
885c60c0373SWilliam Wu		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
886c60c0373SWilliam Wu		clocks = <&cru HCLK_OTG>;
887c60c0373SWilliam Wu		clock-names = "otg";
888c60c0373SWilliam Wu		dr_mode = "otg";
889c60c0373SWilliam Wu		g-np-tx-fifo-size = <16>;
890c60c0373SWilliam Wu		g-rx-fifo-size = <280>;
891c60c0373SWilliam Wu		g-tx-fifo-size = <256 128 128 64 32 16>;
892c60c0373SWilliam Wu		g-use-dma;
893c60c0373SWilliam Wu		phys = <&u2phy_otg>;
894c60c0373SWilliam Wu		phy-names = "usb2-phy";
895c60c0373SWilliam Wu		status = "disabled";
896c60c0373SWilliam Wu	};
897c60c0373SWilliam Wu
898c60c0373SWilliam Wu	usb_host0_ehci: usb@ff5c0000 {
899c60c0373SWilliam Wu		compatible = "generic-ehci";
900c60c0373SWilliam Wu		reg = <0x0 0xff5c0000 0x0 0x10000>;
901c60c0373SWilliam Wu		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
902c60c0373SWilliam Wu		clocks = <&cru HCLK_HOST0>, <&u2phy>;
903c60c0373SWilliam Wu		clock-names = "usbhost", "utmi";
904c60c0373SWilliam Wu		phys = <&u2phy_host>;
905c60c0373SWilliam Wu		phy-names = "usb";
906c60c0373SWilliam Wu		status = "disabled";
907c60c0373SWilliam Wu	};
908c60c0373SWilliam Wu
909c60c0373SWilliam Wu	usb_host0_ohci: usb@ff5d0000 {
910c60c0373SWilliam Wu		compatible = "generic-ohci";
911c60c0373SWilliam Wu		reg = <0x0 0xff5d0000 0x0 0x10000>;
912c60c0373SWilliam Wu		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
913c60c0373SWilliam Wu		clocks = <&cru HCLK_HOST0>, <&u2phy>;
914c60c0373SWilliam Wu		clock-names = "usbhost", "utmi";
915c60c0373SWilliam Wu		phys = <&u2phy_host>;
916c60c0373SWilliam Wu		phy-names = "usb";
917c60c0373SWilliam Wu		status = "disabled";
918c60c0373SWilliam Wu	};
919c60c0373SWilliam Wu
92052e02d37SLiang Chen	gic: interrupt-controller@ff811000 {
92152e02d37SLiang Chen		compatible = "arm,gic-400";
92252e02d37SLiang Chen		#interrupt-cells = <3>;
92352e02d37SLiang Chen		#address-cells = <0>;
92452e02d37SLiang Chen		interrupt-controller;
92552e02d37SLiang Chen		reg = <0x0 0xff811000 0 0x1000>,
92652e02d37SLiang Chen		      <0x0 0xff812000 0 0x2000>,
92752e02d37SLiang Chen		      <0x0 0xff814000 0 0x2000>,
92852e02d37SLiang Chen		      <0x0 0xff816000 0 0x2000>;
92952e02d37SLiang Chen		interrupts = <GIC_PPI 9
93052e02d37SLiang Chen		      (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
93152e02d37SLiang Chen	};
93252e02d37SLiang Chen
93352e02d37SLiang Chen	pinctrl: pinctrl {
93452e02d37SLiang Chen		compatible = "rockchip,rk3328-pinctrl";
93552e02d37SLiang Chen		rockchip,grf = <&grf>;
93652e02d37SLiang Chen		#address-cells = <2>;
93752e02d37SLiang Chen		#size-cells = <2>;
93852e02d37SLiang Chen		ranges;
93952e02d37SLiang Chen
94052e02d37SLiang Chen		gpio0: gpio0@ff210000 {
94152e02d37SLiang Chen			compatible = "rockchip,gpio-bank";
94252e02d37SLiang Chen			reg = <0x0 0xff210000 0x0 0x100>;
94352e02d37SLiang Chen			interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
94452e02d37SLiang Chen			clocks = <&cru PCLK_GPIO0>;
94552e02d37SLiang Chen
94652e02d37SLiang Chen			gpio-controller;
94752e02d37SLiang Chen			#gpio-cells = <2>;
94852e02d37SLiang Chen
94952e02d37SLiang Chen			interrupt-controller;
95052e02d37SLiang Chen			#interrupt-cells = <2>;
95152e02d37SLiang Chen		};
95252e02d37SLiang Chen
95352e02d37SLiang Chen		gpio1: gpio1@ff220000 {
95452e02d37SLiang Chen			compatible = "rockchip,gpio-bank";
95552e02d37SLiang Chen			reg = <0x0 0xff220000 0x0 0x100>;
95652e02d37SLiang Chen			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
95752e02d37SLiang Chen			clocks = <&cru PCLK_GPIO1>;
95852e02d37SLiang Chen
95952e02d37SLiang Chen			gpio-controller;
96052e02d37SLiang Chen			#gpio-cells = <2>;
96152e02d37SLiang Chen
96252e02d37SLiang Chen			interrupt-controller;
96352e02d37SLiang Chen			#interrupt-cells = <2>;
96452e02d37SLiang Chen		};
96552e02d37SLiang Chen
96652e02d37SLiang Chen		gpio2: gpio2@ff230000 {
96752e02d37SLiang Chen			compatible = "rockchip,gpio-bank";
96852e02d37SLiang Chen			reg = <0x0 0xff230000 0x0 0x100>;
96952e02d37SLiang Chen			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
97052e02d37SLiang Chen			clocks = <&cru PCLK_GPIO2>;
97152e02d37SLiang Chen
97252e02d37SLiang Chen			gpio-controller;
97352e02d37SLiang Chen			#gpio-cells = <2>;
97452e02d37SLiang Chen
97552e02d37SLiang Chen			interrupt-controller;
97652e02d37SLiang Chen			#interrupt-cells = <2>;
97752e02d37SLiang Chen		};
97852e02d37SLiang Chen
97952e02d37SLiang Chen		gpio3: gpio3@ff240000 {
98052e02d37SLiang Chen			compatible = "rockchip,gpio-bank";
98152e02d37SLiang Chen			reg = <0x0 0xff240000 0x0 0x100>;
98252e02d37SLiang Chen			interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
98352e02d37SLiang Chen			clocks = <&cru PCLK_GPIO3>;
98452e02d37SLiang Chen
98552e02d37SLiang Chen			gpio-controller;
98652e02d37SLiang Chen			#gpio-cells = <2>;
98752e02d37SLiang Chen
98852e02d37SLiang Chen			interrupt-controller;
98952e02d37SLiang Chen			#interrupt-cells = <2>;
99052e02d37SLiang Chen		};
99152e02d37SLiang Chen
99252e02d37SLiang Chen		pcfg_pull_up: pcfg-pull-up {
99352e02d37SLiang Chen			bias-pull-up;
99452e02d37SLiang Chen		};
99552e02d37SLiang Chen
99652e02d37SLiang Chen		pcfg_pull_down: pcfg-pull-down {
99752e02d37SLiang Chen			bias-pull-down;
99852e02d37SLiang Chen		};
99952e02d37SLiang Chen
100052e02d37SLiang Chen		pcfg_pull_none: pcfg-pull-none {
100152e02d37SLiang Chen			bias-disable;
100252e02d37SLiang Chen		};
100352e02d37SLiang Chen
100452e02d37SLiang Chen		pcfg_pull_none_2ma: pcfg-pull-none-2ma {
100552e02d37SLiang Chen			bias-disable;
100652e02d37SLiang Chen			drive-strength = <2>;
100752e02d37SLiang Chen		};
100852e02d37SLiang Chen
100952e02d37SLiang Chen		pcfg_pull_up_2ma: pcfg-pull-up-2ma {
101052e02d37SLiang Chen			bias-pull-up;
101152e02d37SLiang Chen			drive-strength = <2>;
101252e02d37SLiang Chen		};
101352e02d37SLiang Chen
101452e02d37SLiang Chen		pcfg_pull_up_4ma: pcfg-pull-up-4ma {
101552e02d37SLiang Chen			bias-pull-up;
101652e02d37SLiang Chen			drive-strength = <4>;
101752e02d37SLiang Chen		};
101852e02d37SLiang Chen
101952e02d37SLiang Chen		pcfg_pull_none_4ma: pcfg-pull-none-4ma {
102052e02d37SLiang Chen			bias-disable;
102152e02d37SLiang Chen			drive-strength = <4>;
102252e02d37SLiang Chen		};
102352e02d37SLiang Chen
102452e02d37SLiang Chen		pcfg_pull_down_4ma: pcfg-pull-down-4ma {
102552e02d37SLiang Chen			bias-pull-down;
102652e02d37SLiang Chen			drive-strength = <4>;
102752e02d37SLiang Chen		};
102852e02d37SLiang Chen
102952e02d37SLiang Chen		pcfg_pull_none_8ma: pcfg-pull-none-8ma {
103052e02d37SLiang Chen			bias-disable;
103152e02d37SLiang Chen			drive-strength = <8>;
103252e02d37SLiang Chen		};
103352e02d37SLiang Chen
103452e02d37SLiang Chen		pcfg_pull_up_8ma: pcfg-pull-up-8ma {
103552e02d37SLiang Chen			bias-pull-up;
103652e02d37SLiang Chen			drive-strength = <8>;
103752e02d37SLiang Chen		};
103852e02d37SLiang Chen
103952e02d37SLiang Chen		pcfg_pull_none_12ma: pcfg-pull-none-12ma {
104052e02d37SLiang Chen			bias-disable;
104152e02d37SLiang Chen			drive-strength = <12>;
104252e02d37SLiang Chen		};
104352e02d37SLiang Chen
104452e02d37SLiang Chen		pcfg_pull_up_12ma: pcfg-pull-up-12ma {
104552e02d37SLiang Chen			bias-pull-up;
104652e02d37SLiang Chen			drive-strength = <12>;
104752e02d37SLiang Chen		};
104852e02d37SLiang Chen
104952e02d37SLiang Chen		pcfg_output_high: pcfg-output-high {
105052e02d37SLiang Chen			output-high;
105152e02d37SLiang Chen		};
105252e02d37SLiang Chen
105352e02d37SLiang Chen		pcfg_output_low: pcfg-output-low {
105452e02d37SLiang Chen			output-low;
105552e02d37SLiang Chen		};
105652e02d37SLiang Chen
105752e02d37SLiang Chen		pcfg_input_high: pcfg-input-high {
105852e02d37SLiang Chen			bias-pull-up;
105952e02d37SLiang Chen			input-enable;
106052e02d37SLiang Chen		};
106152e02d37SLiang Chen
106252e02d37SLiang Chen		pcfg_input: pcfg-input {
106352e02d37SLiang Chen			input-enable;
106452e02d37SLiang Chen		};
106552e02d37SLiang Chen
106652e02d37SLiang Chen		i2c0 {
106752e02d37SLiang Chen			i2c0_xfer: i2c0-xfer {
106852e02d37SLiang Chen				rockchip,pins = <2 RK_PD0 1 &pcfg_pull_none>,
106952e02d37SLiang Chen						<2 RK_PD1 1 &pcfg_pull_none>;
107052e02d37SLiang Chen			};
107152e02d37SLiang Chen		};
107252e02d37SLiang Chen
107352e02d37SLiang Chen		i2c1 {
107452e02d37SLiang Chen			i2c1_xfer: i2c1-xfer {
107552e02d37SLiang Chen				rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>,
107652e02d37SLiang Chen						<2 RK_PA5 2 &pcfg_pull_none>;
107752e02d37SLiang Chen			};
107852e02d37SLiang Chen		};
107952e02d37SLiang Chen
108052e02d37SLiang Chen		i2c2 {
108152e02d37SLiang Chen			i2c2_xfer: i2c2-xfer {
108252e02d37SLiang Chen				rockchip,pins = <2 RK_PB5 1 &pcfg_pull_none>,
108352e02d37SLiang Chen						<2 RK_PB6 1 &pcfg_pull_none>;
108452e02d37SLiang Chen			};
108552e02d37SLiang Chen		};
108652e02d37SLiang Chen
108752e02d37SLiang Chen		i2c3 {
108852e02d37SLiang Chen			i2c3_xfer: i2c3-xfer {
108952e02d37SLiang Chen				rockchip,pins = <0 RK_PA5 2 &pcfg_pull_none>,
109052e02d37SLiang Chen						<0 RK_PA6 2 &pcfg_pull_none>;
109152e02d37SLiang Chen			};
109252e02d37SLiang Chen			i2c3_gpio: i2c3-gpio {
109352e02d37SLiang Chen				rockchip,pins =
109452e02d37SLiang Chen					<0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>,
109552e02d37SLiang Chen					<0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
109652e02d37SLiang Chen			};
109752e02d37SLiang Chen		};
109852e02d37SLiang Chen
109952e02d37SLiang Chen		hdmi_i2c {
110052e02d37SLiang Chen			hdmii2c_xfer: hdmii2c-xfer {
110152e02d37SLiang Chen				rockchip,pins = <0 RK_PA5 1 &pcfg_pull_none>,
110252e02d37SLiang Chen						<0 RK_PA6 1 &pcfg_pull_none>;
110352e02d37SLiang Chen			};
110452e02d37SLiang Chen		};
110552e02d37SLiang Chen
110613ed1501SSugar Zhang		pdm-0 {
110713ed1501SSugar Zhang			pdmm0_clk: pdmm0-clk {
110813ed1501SSugar Zhang				rockchip,pins = <2 RK_PC2 2 &pcfg_pull_none>;
110913ed1501SSugar Zhang			};
111013ed1501SSugar Zhang
111113ed1501SSugar Zhang			pdmm0_fsync: pdmm0-fsync {
111213ed1501SSugar Zhang				rockchip,pins = <2 RK_PC7 2 &pcfg_pull_none>;
111313ed1501SSugar Zhang			};
111413ed1501SSugar Zhang
111513ed1501SSugar Zhang			pdmm0_sdi0: pdmm0-sdi0 {
111613ed1501SSugar Zhang				rockchip,pins = <2 RK_PC3 2 &pcfg_pull_none>;
111713ed1501SSugar Zhang			};
111813ed1501SSugar Zhang
111913ed1501SSugar Zhang			pdmm0_sdi1: pdmm0-sdi1 {
112013ed1501SSugar Zhang				rockchip,pins = <2 RK_PC4 2 &pcfg_pull_none>;
112113ed1501SSugar Zhang			};
112213ed1501SSugar Zhang
112313ed1501SSugar Zhang			pdmm0_sdi2: pdmm0-sdi2 {
112413ed1501SSugar Zhang				rockchip,pins = <2 RK_PC5 2 &pcfg_pull_none>;
112513ed1501SSugar Zhang			};
112613ed1501SSugar Zhang
112713ed1501SSugar Zhang			pdmm0_sdi3: pdmm0-sdi3 {
112813ed1501SSugar Zhang				rockchip,pins = <2 RK_PC6 2 &pcfg_pull_none>;
112913ed1501SSugar Zhang			};
113013ed1501SSugar Zhang
113113ed1501SSugar Zhang			pdmm0_clk_sleep: pdmm0-clk-sleep {
113213ed1501SSugar Zhang				rockchip,pins =
113313ed1501SSugar Zhang					<2 RK_PC2 RK_FUNC_GPIO &pcfg_input_high>;
113413ed1501SSugar Zhang			};
113513ed1501SSugar Zhang
113613ed1501SSugar Zhang			pdmm0_sdi0_sleep: pdmm0-sdi0-sleep {
113713ed1501SSugar Zhang				rockchip,pins =
113813ed1501SSugar Zhang					<2 RK_PC3 RK_FUNC_GPIO &pcfg_input_high>;
113913ed1501SSugar Zhang			};
114013ed1501SSugar Zhang
114113ed1501SSugar Zhang			pdmm0_sdi1_sleep: pdmm0-sdi1-sleep {
114213ed1501SSugar Zhang				rockchip,pins =
114313ed1501SSugar Zhang					<2 RK_PC4 RK_FUNC_GPIO &pcfg_input_high>;
114413ed1501SSugar Zhang			};
114513ed1501SSugar Zhang
114613ed1501SSugar Zhang			pdmm0_sdi2_sleep: pdmm0-sdi2-sleep {
114713ed1501SSugar Zhang				rockchip,pins =
114813ed1501SSugar Zhang					<2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>;
114913ed1501SSugar Zhang			};
115013ed1501SSugar Zhang
115113ed1501SSugar Zhang			pdmm0_sdi3_sleep: pdmm0-sdi3-sleep {
115213ed1501SSugar Zhang				rockchip,pins =
115313ed1501SSugar Zhang					<2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
115413ed1501SSugar Zhang			};
115513ed1501SSugar Zhang
115613ed1501SSugar Zhang			pdmm0_fsync_sleep: pdmm0-fsync-sleep {
115713ed1501SSugar Zhang				rockchip,pins =
115813ed1501SSugar Zhang					<2 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
115913ed1501SSugar Zhang			};
116013ed1501SSugar Zhang		};
116113ed1501SSugar Zhang
116252e02d37SLiang Chen		tsadc {
116352e02d37SLiang Chen			otp_gpio: otp-gpio {
116452e02d37SLiang Chen				rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
116552e02d37SLiang Chen			};
116652e02d37SLiang Chen
116752e02d37SLiang Chen			otp_out: otp-out {
116852e02d37SLiang Chen				rockchip,pins = <2 RK_PB5 1 &pcfg_pull_none>;
116952e02d37SLiang Chen			};
117052e02d37SLiang Chen		};
117152e02d37SLiang Chen
117252e02d37SLiang Chen		uart0 {
117352e02d37SLiang Chen			uart0_xfer: uart0-xfer {
117452e02d37SLiang Chen				rockchip,pins = <1 RK_PB1 1 &pcfg_pull_up>,
117552e02d37SLiang Chen						<1 RK_PB0 1 &pcfg_pull_none>;
117652e02d37SLiang Chen			};
117752e02d37SLiang Chen
117852e02d37SLiang Chen			uart0_cts: uart0-cts {
117952e02d37SLiang Chen				rockchip,pins = <1 RK_PB3 1 &pcfg_pull_none>;
118052e02d37SLiang Chen			};
118152e02d37SLiang Chen
118252e02d37SLiang Chen			uart0_rts: uart0-rts {
118352e02d37SLiang Chen				rockchip,pins = <1 RK_PB2 1 &pcfg_pull_none>;
118452e02d37SLiang Chen			};
118552e02d37SLiang Chen
118652e02d37SLiang Chen			uart0_rts_gpio: uart0-rts-gpio {
118752e02d37SLiang Chen				rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
118852e02d37SLiang Chen			};
118952e02d37SLiang Chen		};
119052e02d37SLiang Chen
119152e02d37SLiang Chen		uart1 {
119252e02d37SLiang Chen			uart1_xfer: uart1-xfer {
119352e02d37SLiang Chen				rockchip,pins = <3 RK_PA4 4 &pcfg_pull_up>,
119452e02d37SLiang Chen						<3 RK_PA6 4 &pcfg_pull_none>;
119552e02d37SLiang Chen			};
119652e02d37SLiang Chen
119752e02d37SLiang Chen			uart1_cts: uart1-cts {
119852e02d37SLiang Chen				rockchip,pins = <3 RK_PA7 4 &pcfg_pull_none>;
119952e02d37SLiang Chen			};
120052e02d37SLiang Chen
120152e02d37SLiang Chen			uart1_rts: uart1-rts {
120252e02d37SLiang Chen				rockchip,pins = <3 RK_PA5 4 &pcfg_pull_none>;
120352e02d37SLiang Chen			};
120452e02d37SLiang Chen
120552e02d37SLiang Chen			uart1_rts_gpio: uart1-rts-gpio {
120652e02d37SLiang Chen				rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
120752e02d37SLiang Chen			};
120852e02d37SLiang Chen		};
120952e02d37SLiang Chen
121052e02d37SLiang Chen		uart2-0 {
121152e02d37SLiang Chen			uart2m0_xfer: uart2m0-xfer {
121252e02d37SLiang Chen				rockchip,pins = <1 RK_PA0 2 &pcfg_pull_up>,
121352e02d37SLiang Chen						<1 RK_PA1 2 &pcfg_pull_none>;
121452e02d37SLiang Chen			};
121552e02d37SLiang Chen		};
121652e02d37SLiang Chen
121752e02d37SLiang Chen		uart2-1 {
121852e02d37SLiang Chen			uart2m1_xfer: uart2m1-xfer {
121952e02d37SLiang Chen				rockchip,pins = <2 RK_PA0 1 &pcfg_pull_up>,
122052e02d37SLiang Chen						<2 RK_PA1 1 &pcfg_pull_none>;
122152e02d37SLiang Chen			};
122252e02d37SLiang Chen		};
122352e02d37SLiang Chen
122452e02d37SLiang Chen		spi0-0 {
122552e02d37SLiang Chen			spi0m0_clk: spi0m0-clk {
122652e02d37SLiang Chen				rockchip,pins = <2 RK_PB0 1 &pcfg_pull_up>;
122752e02d37SLiang Chen			};
122852e02d37SLiang Chen
122952e02d37SLiang Chen			spi0m0_cs0: spi0m0-cs0 {
123052e02d37SLiang Chen				rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up>;
123152e02d37SLiang Chen			};
123252e02d37SLiang Chen
123352e02d37SLiang Chen			spi0m0_tx: spi0m0-tx {
123452e02d37SLiang Chen				rockchip,pins = <2 RK_PB1 1 &pcfg_pull_up>;
123552e02d37SLiang Chen			};
123652e02d37SLiang Chen
123752e02d37SLiang Chen			spi0m0_rx: spi0m0-rx {
123852e02d37SLiang Chen				rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up>;
123952e02d37SLiang Chen			};
124052e02d37SLiang Chen
124152e02d37SLiang Chen			spi0m0_cs1: spi0m0-cs1 {
124252e02d37SLiang Chen				rockchip,pins = <2 RK_PB4 1 &pcfg_pull_up>;
124352e02d37SLiang Chen			};
124452e02d37SLiang Chen		};
124552e02d37SLiang Chen
124652e02d37SLiang Chen		spi0-1 {
124752e02d37SLiang Chen			spi0m1_clk: spi0m1-clk {
124852e02d37SLiang Chen				rockchip,pins = <3 RK_PC7 2 &pcfg_pull_up>;
124952e02d37SLiang Chen			};
125052e02d37SLiang Chen
125152e02d37SLiang Chen			spi0m1_cs0: spi0m1-cs0 {
125252e02d37SLiang Chen				rockchip,pins = <3 RK_PD2 2 &pcfg_pull_up>;
125352e02d37SLiang Chen			};
125452e02d37SLiang Chen
125552e02d37SLiang Chen			spi0m1_tx: spi0m1-tx {
125652e02d37SLiang Chen				rockchip,pins = <3 RK_PD1 2 &pcfg_pull_up>;
125752e02d37SLiang Chen			};
125852e02d37SLiang Chen
125952e02d37SLiang Chen			spi0m1_rx: spi0m1-rx {
126052e02d37SLiang Chen				rockchip,pins = <3 RK_PD0 2 &pcfg_pull_up>;
126152e02d37SLiang Chen			};
126252e02d37SLiang Chen
126352e02d37SLiang Chen			spi0m1_cs1: spi0m1-cs1 {
126452e02d37SLiang Chen				rockchip,pins = <3 RK_PD3 2 &pcfg_pull_up>;
126552e02d37SLiang Chen			};
126652e02d37SLiang Chen		};
126752e02d37SLiang Chen
126852e02d37SLiang Chen		spi0-2 {
126952e02d37SLiang Chen			spi0m2_clk: spi0m2-clk {
127052e02d37SLiang Chen				rockchip,pins = <3 RK_PA0 4 &pcfg_pull_up>;
127152e02d37SLiang Chen			};
127252e02d37SLiang Chen
127352e02d37SLiang Chen			spi0m2_cs0: spi0m2-cs0 {
127452e02d37SLiang Chen				rockchip,pins = <3 RK_PB0 3 &pcfg_pull_up>;
127552e02d37SLiang Chen			};
127652e02d37SLiang Chen
127752e02d37SLiang Chen			spi0m2_tx: spi0m2-tx {
127852e02d37SLiang Chen				rockchip,pins = <3 RK_PA1 4 &pcfg_pull_up>;
127952e02d37SLiang Chen			};
128052e02d37SLiang Chen
128152e02d37SLiang Chen			spi0m2_rx: spi0m2-rx {
128252e02d37SLiang Chen				rockchip,pins = <3 RK_PA2 4 &pcfg_pull_up>;
128352e02d37SLiang Chen			};
128452e02d37SLiang Chen		};
128552e02d37SLiang Chen
128652e02d37SLiang Chen		i2s1 {
128752e02d37SLiang Chen			i2s1_mclk: i2s1-mclk {
128852e02d37SLiang Chen				rockchip,pins = <2 RK_PB7 1 &pcfg_pull_none>;
128952e02d37SLiang Chen			};
129052e02d37SLiang Chen
129152e02d37SLiang Chen			i2s1_sclk: i2s1-sclk {
129252e02d37SLiang Chen				rockchip,pins = <2 RK_PC2 1 &pcfg_pull_none>;
129352e02d37SLiang Chen			};
129452e02d37SLiang Chen
129552e02d37SLiang Chen			i2s1_lrckrx: i2s1-lrckrx {
129652e02d37SLiang Chen				rockchip,pins = <2 RK_PC0 1 &pcfg_pull_none>;
129752e02d37SLiang Chen			};
129852e02d37SLiang Chen
129952e02d37SLiang Chen			i2s1_lrcktx: i2s1-lrcktx {
130052e02d37SLiang Chen				rockchip,pins = <2 RK_PC1 1 &pcfg_pull_none>;
130152e02d37SLiang Chen			};
130252e02d37SLiang Chen
130352e02d37SLiang Chen			i2s1_sdi: i2s1-sdi {
130452e02d37SLiang Chen				rockchip,pins = <2 RK_PC3 1 &pcfg_pull_none>;
130552e02d37SLiang Chen			};
130652e02d37SLiang Chen
130752e02d37SLiang Chen			i2s1_sdo: i2s1-sdo {
130852e02d37SLiang Chen				rockchip,pins = <2 RK_PC7 1 &pcfg_pull_none>;
130952e02d37SLiang Chen			};
131052e02d37SLiang Chen
131152e02d37SLiang Chen			i2s1_sdio1: i2s1-sdio1 {
131252e02d37SLiang Chen				rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>;
131352e02d37SLiang Chen			};
131452e02d37SLiang Chen
131552e02d37SLiang Chen			i2s1_sdio2: i2s1-sdio2 {
131652e02d37SLiang Chen				rockchip,pins = <2 RK_PC5 1 &pcfg_pull_none>;
131752e02d37SLiang Chen			};
131852e02d37SLiang Chen
131952e02d37SLiang Chen			i2s1_sdio3: i2s1-sdio3 {
132052e02d37SLiang Chen				rockchip,pins = <2 RK_PC6 1 &pcfg_pull_none>;
132152e02d37SLiang Chen			};
132252e02d37SLiang Chen
132352e02d37SLiang Chen			i2s1_sleep: i2s1-sleep {
132452e02d37SLiang Chen				rockchip,pins =
132552e02d37SLiang Chen					<2 RK_PB7 RK_FUNC_GPIO &pcfg_input_high>,
132652e02d37SLiang Chen					<2 RK_PC0 RK_FUNC_GPIO &pcfg_input_high>,
132752e02d37SLiang Chen					<2 RK_PC1 RK_FUNC_GPIO &pcfg_input_high>,
132852e02d37SLiang Chen					<2 RK_PC2 RK_FUNC_GPIO &pcfg_input_high>,
132952e02d37SLiang Chen					<2 RK_PC3 RK_FUNC_GPIO &pcfg_input_high>,
133052e02d37SLiang Chen					<2 RK_PC4 RK_FUNC_GPIO &pcfg_input_high>,
133152e02d37SLiang Chen					<2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
133252e02d37SLiang Chen					<2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
133352e02d37SLiang Chen					<2 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
133452e02d37SLiang Chen			};
133552e02d37SLiang Chen		};
133652e02d37SLiang Chen
133752e02d37SLiang Chen		i2s2-0 {
133852e02d37SLiang Chen			i2s2m0_mclk: i2s2m0-mclk {
133952e02d37SLiang Chen				rockchip,pins = <1 RK_PC5 1 &pcfg_pull_none>;
134052e02d37SLiang Chen			};
134152e02d37SLiang Chen
134252e02d37SLiang Chen			i2s2m0_sclk: i2s2m0-sclk {
134352e02d37SLiang Chen				rockchip,pins = <1 RK_PC6 1 &pcfg_pull_none>;
134452e02d37SLiang Chen			};
134552e02d37SLiang Chen
134652e02d37SLiang Chen			i2s2m0_lrckrx: i2s2m0-lrckrx {
134752e02d37SLiang Chen				rockchip,pins = <1 RK_PD2 1 &pcfg_pull_none>;
134852e02d37SLiang Chen			};
134952e02d37SLiang Chen
135052e02d37SLiang Chen			i2s2m0_lrcktx: i2s2m0-lrcktx {
135152e02d37SLiang Chen				rockchip,pins = <1 RK_PC7 1 &pcfg_pull_none>;
135252e02d37SLiang Chen			};
135352e02d37SLiang Chen
135452e02d37SLiang Chen			i2s2m0_sdi: i2s2m0-sdi {
135552e02d37SLiang Chen				rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>;
135652e02d37SLiang Chen			};
135752e02d37SLiang Chen
135852e02d37SLiang Chen			i2s2m0_sdo: i2s2m0-sdo {
135952e02d37SLiang Chen				rockchip,pins = <1 RK_PD1 1 &pcfg_pull_none>;
136052e02d37SLiang Chen			};
136152e02d37SLiang Chen
136252e02d37SLiang Chen			i2s2m0_sleep: i2s2m0-sleep {
136352e02d37SLiang Chen				rockchip,pins =
136452e02d37SLiang Chen					<1 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
136552e02d37SLiang Chen					<1 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>,
136652e02d37SLiang Chen					<1 RK_PD2 RK_FUNC_GPIO &pcfg_input_high>,
136752e02d37SLiang Chen					<1 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>,
136852e02d37SLiang Chen					<1 RK_PD0 RK_FUNC_GPIO &pcfg_input_high>,
136952e02d37SLiang Chen					<1 RK_PD1 RK_FUNC_GPIO &pcfg_input_high>;
137052e02d37SLiang Chen			};
137152e02d37SLiang Chen		};
137252e02d37SLiang Chen
137352e02d37SLiang Chen		i2s2-1 {
137452e02d37SLiang Chen			i2s2m1_mclk: i2s2m1-mclk {
137552e02d37SLiang Chen				rockchip,pins = <1 RK_PC5 1 &pcfg_pull_none>;
137652e02d37SLiang Chen			};
137752e02d37SLiang Chen
137852e02d37SLiang Chen			i2s2m1_sclk: i2s2m1-sclk {
137952e02d37SLiang Chen				rockchip,pins = <3 RK_PA0 6 &pcfg_pull_none>;
138052e02d37SLiang Chen			};
138152e02d37SLiang Chen
138252e02d37SLiang Chen			i2s2m1_lrckrx: i2sm1-lrckrx {
138352e02d37SLiang Chen				rockchip,pins = <3 RK_PB0 6 &pcfg_pull_none>;
138452e02d37SLiang Chen			};
138552e02d37SLiang Chen
138652e02d37SLiang Chen			i2s2m1_lrcktx: i2s2m1-lrcktx {
138752e02d37SLiang Chen				rockchip,pins = <3 RK_PB0 4 &pcfg_pull_none>;
138852e02d37SLiang Chen			};
138952e02d37SLiang Chen
139052e02d37SLiang Chen			i2s2m1_sdi: i2s2m1-sdi {
139152e02d37SLiang Chen				rockchip,pins = <3 RK_PA2 6 &pcfg_pull_none>;
139252e02d37SLiang Chen			};
139352e02d37SLiang Chen
139452e02d37SLiang Chen			i2s2m1_sdo: i2s2m1-sdo {
139552e02d37SLiang Chen				rockchip,pins = <3 RK_PA1 6 &pcfg_pull_none>;
139652e02d37SLiang Chen			};
139752e02d37SLiang Chen
139852e02d37SLiang Chen			i2s2m1_sleep: i2s2m1-sleep {
139952e02d37SLiang Chen				rockchip,pins =
140052e02d37SLiang Chen					<1 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>,
140152e02d37SLiang Chen					<3 RK_PA0 RK_FUNC_GPIO &pcfg_input_high>,
140252e02d37SLiang Chen					<3 RK_PB0 RK_FUNC_GPIO &pcfg_input_high>,
140352e02d37SLiang Chen					<3 RK_PA2 RK_FUNC_GPIO &pcfg_input_high>,
140452e02d37SLiang Chen					<3 RK_PA1 RK_FUNC_GPIO &pcfg_input_high>;
140552e02d37SLiang Chen			};
140652e02d37SLiang Chen		};
140752e02d37SLiang Chen
140852e02d37SLiang Chen		spdif-0 {
140952e02d37SLiang Chen			spdifm0_tx: spdifm0-tx {
141052e02d37SLiang Chen				rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
141152e02d37SLiang Chen			};
141252e02d37SLiang Chen		};
141352e02d37SLiang Chen
141452e02d37SLiang Chen		spdif-1 {
141552e02d37SLiang Chen			spdifm1_tx: spdifm1-tx {
141652e02d37SLiang Chen				rockchip,pins = <2 RK_PC1 2 &pcfg_pull_none>;
141752e02d37SLiang Chen			};
141852e02d37SLiang Chen		};
141952e02d37SLiang Chen
142052e02d37SLiang Chen		spdif-2 {
142152e02d37SLiang Chen			spdifm2_tx: spdifm2-tx {
142252e02d37SLiang Chen				rockchip,pins = <0 RK_PA2 2 &pcfg_pull_none>;
142352e02d37SLiang Chen			};
142452e02d37SLiang Chen		};
142552e02d37SLiang Chen
142652e02d37SLiang Chen		sdmmc0-0 {
142752e02d37SLiang Chen			sdmmc0m0_pwren: sdmmc0m0-pwren {
142852e02d37SLiang Chen				rockchip,pins = <2 RK_PA7 1 &pcfg_pull_up_4ma>;
142952e02d37SLiang Chen			};
143052e02d37SLiang Chen
143152e02d37SLiang Chen			sdmmc0m0_gpio: sdmmc0m0-gpio {
143252e02d37SLiang Chen				rockchip,pins = <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
143352e02d37SLiang Chen			};
143452e02d37SLiang Chen		};
143552e02d37SLiang Chen
143652e02d37SLiang Chen		sdmmc0-1 {
143752e02d37SLiang Chen			sdmmc0m1_pwren: sdmmc0m1-pwren {
143852e02d37SLiang Chen				rockchip,pins = <0 RK_PD6 3 &pcfg_pull_up_4ma>;
143952e02d37SLiang Chen			};
144052e02d37SLiang Chen
144152e02d37SLiang Chen			sdmmc0m1_gpio: sdmmc0m1-gpio {
144252e02d37SLiang Chen				rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
144352e02d37SLiang Chen			};
144452e02d37SLiang Chen		};
144552e02d37SLiang Chen
144652e02d37SLiang Chen		sdmmc0 {
144752e02d37SLiang Chen			sdmmc0_clk: sdmmc0-clk {
144852e02d37SLiang Chen				rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none_4ma>;
144952e02d37SLiang Chen			};
145052e02d37SLiang Chen
145152e02d37SLiang Chen			sdmmc0_cmd: sdmmc0-cmd {
145252e02d37SLiang Chen				rockchip,pins = <1 RK_PA4 1 &pcfg_pull_up_4ma>;
145352e02d37SLiang Chen			};
145452e02d37SLiang Chen
145552e02d37SLiang Chen			sdmmc0_dectn: sdmmc0-dectn {
145652e02d37SLiang Chen				rockchip,pins = <1 RK_PA5 1 &pcfg_pull_up_4ma>;
145752e02d37SLiang Chen			};
145852e02d37SLiang Chen
145952e02d37SLiang Chen			sdmmc0_wrprt: sdmmc0-wrprt {
146052e02d37SLiang Chen				rockchip,pins = <1 RK_PA7 1 &pcfg_pull_up_4ma>;
146152e02d37SLiang Chen			};
146252e02d37SLiang Chen
146352e02d37SLiang Chen			sdmmc0_bus1: sdmmc0-bus1 {
146452e02d37SLiang Chen				rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_4ma>;
146552e02d37SLiang Chen			};
146652e02d37SLiang Chen
146752e02d37SLiang Chen			sdmmc0_bus4: sdmmc0-bus4 {
146852e02d37SLiang Chen				rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_4ma>,
146952e02d37SLiang Chen						<1 RK_PA1 1 &pcfg_pull_up_4ma>,
147052e02d37SLiang Chen						<1 RK_PA2 1 &pcfg_pull_up_4ma>,
147152e02d37SLiang Chen						<1 RK_PA3 1 &pcfg_pull_up_4ma>;
147252e02d37SLiang Chen			};
147352e02d37SLiang Chen
147452e02d37SLiang Chen			sdmmc0_gpio: sdmmc0-gpio {
147552e02d37SLiang Chen				rockchip,pins =
147652e02d37SLiang Chen					<1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
147752e02d37SLiang Chen					<1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
147852e02d37SLiang Chen					<1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
147952e02d37SLiang Chen					<1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
148052e02d37SLiang Chen					<1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
148152e02d37SLiang Chen					<1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
148252e02d37SLiang Chen					<1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
148352e02d37SLiang Chen					<1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
148452e02d37SLiang Chen			};
148552e02d37SLiang Chen		};
148652e02d37SLiang Chen
148752e02d37SLiang Chen		sdmmc0ext {
148852e02d37SLiang Chen			sdmmc0ext_clk: sdmmc0ext-clk {
148952e02d37SLiang Chen				rockchip,pins = <3 RK_PA2 3 &pcfg_pull_none_4ma>;
149052e02d37SLiang Chen			};
149152e02d37SLiang Chen
149252e02d37SLiang Chen			sdmmc0ext_cmd: sdmmc0ext-cmd {
149352e02d37SLiang Chen				rockchip,pins = <3 RK_PA0 3 &pcfg_pull_up_4ma>;
149452e02d37SLiang Chen			};
149552e02d37SLiang Chen
149652e02d37SLiang Chen			sdmmc0ext_wrprt: sdmmc0ext-wrprt {
149752e02d37SLiang Chen				rockchip,pins = <3 RK_PA3 3 &pcfg_pull_up_4ma>;
149852e02d37SLiang Chen			};
149952e02d37SLiang Chen
150052e02d37SLiang Chen			sdmmc0ext_dectn: sdmmc0ext-dectn {
150152e02d37SLiang Chen				rockchip,pins = <3 RK_PA1 3 &pcfg_pull_up_4ma>;
150252e02d37SLiang Chen			};
150352e02d37SLiang Chen
150452e02d37SLiang Chen			sdmmc0ext_bus1: sdmmc0ext-bus1 {
150552e02d37SLiang Chen				rockchip,pins = <3 RK_PA4 3 &pcfg_pull_up_4ma>;
150652e02d37SLiang Chen			};
150752e02d37SLiang Chen
150852e02d37SLiang Chen			sdmmc0ext_bus4: sdmmc0ext-bus4 {
150952e02d37SLiang Chen				rockchip,pins =
151052e02d37SLiang Chen					<3 RK_PA4 3 &pcfg_pull_up_4ma>,
151152e02d37SLiang Chen					<3 RK_PA5 3 &pcfg_pull_up_4ma>,
151252e02d37SLiang Chen					<3 RK_PA6 3 &pcfg_pull_up_4ma>,
151352e02d37SLiang Chen					<3 RK_PA7 3 &pcfg_pull_up_4ma>;
151452e02d37SLiang Chen			};
151552e02d37SLiang Chen
151652e02d37SLiang Chen			sdmmc0ext_gpio: sdmmc0ext-gpio {
151752e02d37SLiang Chen				rockchip,pins =
151852e02d37SLiang Chen					<3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
151952e02d37SLiang Chen					<3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
152052e02d37SLiang Chen					<3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
152152e02d37SLiang Chen					<3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
152252e02d37SLiang Chen					<3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
152352e02d37SLiang Chen					<3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
152452e02d37SLiang Chen					<3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
152552e02d37SLiang Chen					<3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
152652e02d37SLiang Chen			};
152752e02d37SLiang Chen		};
152852e02d37SLiang Chen
152952e02d37SLiang Chen		sdmmc1 {
153052e02d37SLiang Chen			sdmmc1_clk: sdmmc1-clk {
153152e02d37SLiang Chen				rockchip,pins = <1 RK_PB4 1 &pcfg_pull_none_8ma>;
153252e02d37SLiang Chen			};
153352e02d37SLiang Chen
153452e02d37SLiang Chen			sdmmc1_cmd: sdmmc1-cmd {
153552e02d37SLiang Chen				rockchip,pins = <1 RK_PB5 1 &pcfg_pull_up_8ma>;
153652e02d37SLiang Chen			};
153752e02d37SLiang Chen
153852e02d37SLiang Chen			sdmmc1_pwren: sdmmc1-pwren {
153952e02d37SLiang Chen				rockchip,pins = <1 RK_PC2 1 &pcfg_pull_up_8ma>;
154052e02d37SLiang Chen			};
154152e02d37SLiang Chen
154252e02d37SLiang Chen			sdmmc1_wrprt: sdmmc1-wrprt {
154352e02d37SLiang Chen				rockchip,pins = <1 RK_PC4 1 &pcfg_pull_up_8ma>;
154452e02d37SLiang Chen			};
154552e02d37SLiang Chen
154652e02d37SLiang Chen			sdmmc1_dectn: sdmmc1-dectn {
154752e02d37SLiang Chen				rockchip,pins = <1 RK_PC3 1 &pcfg_pull_up_8ma>;
154852e02d37SLiang Chen			};
154952e02d37SLiang Chen
155052e02d37SLiang Chen			sdmmc1_bus1: sdmmc1-bus1 {
155152e02d37SLiang Chen				rockchip,pins = <1 RK_PB6 1 &pcfg_pull_up_8ma>;
155252e02d37SLiang Chen			};
155352e02d37SLiang Chen
155452e02d37SLiang Chen			sdmmc1_bus4: sdmmc1-bus4 {
155552e02d37SLiang Chen				rockchip,pins = <1 RK_PB6 1 &pcfg_pull_up_8ma>,
155652e02d37SLiang Chen						<1 RK_PB7 1 &pcfg_pull_up_8ma>,
155752e02d37SLiang Chen						<1 RK_PC0 1 &pcfg_pull_up_8ma>,
155852e02d37SLiang Chen						<1 RK_PC1 1 &pcfg_pull_up_8ma>;
155952e02d37SLiang Chen			};
156052e02d37SLiang Chen
156152e02d37SLiang Chen			sdmmc1_gpio: sdmmc1-gpio {
156252e02d37SLiang Chen				rockchip,pins =
156352e02d37SLiang Chen					<1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
156452e02d37SLiang Chen					<1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
156552e02d37SLiang Chen					<1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
156652e02d37SLiang Chen					<1 RK_PB7 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
156752e02d37SLiang Chen					<1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
156852e02d37SLiang Chen					<1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
156952e02d37SLiang Chen					<1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
157052e02d37SLiang Chen					<1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
157152e02d37SLiang Chen					<1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
157252e02d37SLiang Chen			};
157352e02d37SLiang Chen		};
157452e02d37SLiang Chen
157552e02d37SLiang Chen		emmc {
157652e02d37SLiang Chen			emmc_clk: emmc-clk {
157752e02d37SLiang Chen				rockchip,pins = <3 RK_PC5 2 &pcfg_pull_none_12ma>;
157852e02d37SLiang Chen			};
157952e02d37SLiang Chen
158052e02d37SLiang Chen			emmc_cmd: emmc-cmd {
158152e02d37SLiang Chen				rockchip,pins = <3 RK_PC3 2 &pcfg_pull_up_12ma>;
158252e02d37SLiang Chen			};
158352e02d37SLiang Chen
158452e02d37SLiang Chen			emmc_pwren: emmc-pwren {
158552e02d37SLiang Chen				rockchip,pins = <3 RK_PC6 2 &pcfg_pull_none>;
158652e02d37SLiang Chen			};
158752e02d37SLiang Chen
158852e02d37SLiang Chen			emmc_rstnout: emmc-rstnout {
158952e02d37SLiang Chen				rockchip,pins = <3 RK_PC4 2 &pcfg_pull_none>;
159052e02d37SLiang Chen			};
159152e02d37SLiang Chen
159252e02d37SLiang Chen			emmc_bus1: emmc-bus1 {
159352e02d37SLiang Chen				rockchip,pins = <0 RK_PA7 2 &pcfg_pull_up_12ma>;
159452e02d37SLiang Chen			};
159552e02d37SLiang Chen
159652e02d37SLiang Chen			emmc_bus4: emmc-bus4 {
159752e02d37SLiang Chen				rockchip,pins =
159852e02d37SLiang Chen					<0 RK_PA7 2 &pcfg_pull_up_12ma>,
159952e02d37SLiang Chen					<2 RK_PD4 2 &pcfg_pull_up_12ma>,
160052e02d37SLiang Chen					<2 RK_PD5 2 &pcfg_pull_up_12ma>,
160152e02d37SLiang Chen					<2 RK_PD6 2 &pcfg_pull_up_12ma>;
160252e02d37SLiang Chen			};
160352e02d37SLiang Chen
160452e02d37SLiang Chen			emmc_bus8: emmc-bus8 {
160552e02d37SLiang Chen				rockchip,pins =
160652e02d37SLiang Chen					<0 RK_PA7 2 &pcfg_pull_up_12ma>,
160752e02d37SLiang Chen					<2 RK_PD4 2 &pcfg_pull_up_12ma>,
160852e02d37SLiang Chen					<2 RK_PD5 2 &pcfg_pull_up_12ma>,
160952e02d37SLiang Chen					<2 RK_PD6 2 &pcfg_pull_up_12ma>,
161052e02d37SLiang Chen					<2 RK_PD7 2 &pcfg_pull_up_12ma>,
161152e02d37SLiang Chen					<3 RK_PC0 2 &pcfg_pull_up_12ma>,
161252e02d37SLiang Chen					<3 RK_PC1 2 &pcfg_pull_up_12ma>,
161352e02d37SLiang Chen					<3 RK_PC2 2 &pcfg_pull_up_12ma>;
161452e02d37SLiang Chen			};
161552e02d37SLiang Chen		};
161652e02d37SLiang Chen
161752e02d37SLiang Chen		pwm0 {
161852e02d37SLiang Chen			pwm0_pin: pwm0-pin {
161952e02d37SLiang Chen				rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>;
162052e02d37SLiang Chen			};
162152e02d37SLiang Chen		};
162252e02d37SLiang Chen
162352e02d37SLiang Chen		pwm1 {
162452e02d37SLiang Chen			pwm1_pin: pwm1-pin {
162552e02d37SLiang Chen				rockchip,pins = <2 RK_PA5 1 &pcfg_pull_none>;
162652e02d37SLiang Chen			};
162752e02d37SLiang Chen		};
162852e02d37SLiang Chen
162952e02d37SLiang Chen		pwm2 {
163052e02d37SLiang Chen			pwm2_pin: pwm2-pin {
163152e02d37SLiang Chen				rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>;
163252e02d37SLiang Chen			};
163352e02d37SLiang Chen		};
163452e02d37SLiang Chen
163552e02d37SLiang Chen		pwmir {
163652e02d37SLiang Chen			pwmir_pin: pwmir-pin {
163752e02d37SLiang Chen				rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>;
163852e02d37SLiang Chen			};
163952e02d37SLiang Chen		};
164052e02d37SLiang Chen
164152e02d37SLiang Chen		gmac-1 {
164252e02d37SLiang Chen			rgmiim1_pins: rgmiim1-pins {
164352e02d37SLiang Chen				rockchip,pins =
164452e02d37SLiang Chen					/* mac_txclk */
1645*6fd8b978SPeter Geis					<1 RK_PB4 2 &pcfg_pull_none_8ma>,
164652e02d37SLiang Chen					/* mac_rxclk */
1647*6fd8b978SPeter Geis					<1 RK_PB5 2 &pcfg_pull_none_4ma>,
164852e02d37SLiang Chen					/* mac_mdio */
1649*6fd8b978SPeter Geis					<1 RK_PC3 2 &pcfg_pull_none_4ma>,
165052e02d37SLiang Chen					/* mac_txen */
1651*6fd8b978SPeter Geis					<1 RK_PD1 2 &pcfg_pull_none_8ma>,
165252e02d37SLiang Chen					/* mac_clk */
1653*6fd8b978SPeter Geis					<1 RK_PC5 2 &pcfg_pull_none_4ma>,
165452e02d37SLiang Chen					/* mac_rxdv */
1655*6fd8b978SPeter Geis					<1 RK_PC6 2 &pcfg_pull_none_4ma>,
165652e02d37SLiang Chen					/* mac_mdc */
1657*6fd8b978SPeter Geis					<1 RK_PC7 2 &pcfg_pull_none_4ma>,
165852e02d37SLiang Chen					/* mac_rxd1 */
1659*6fd8b978SPeter Geis					<1 RK_PB2 2 &pcfg_pull_none_4ma>,
166052e02d37SLiang Chen					/* mac_rxd0 */
1661*6fd8b978SPeter Geis					<1 RK_PB3 2 &pcfg_pull_none_4ma>,
166252e02d37SLiang Chen					/* mac_txd1 */
1663*6fd8b978SPeter Geis					<1 RK_PB0 2 &pcfg_pull_none_8ma>,
166452e02d37SLiang Chen					/* mac_txd0 */
1665*6fd8b978SPeter Geis					<1 RK_PB1 2 &pcfg_pull_none_8ma>,
166652e02d37SLiang Chen					/* mac_rxd3 */
1667*6fd8b978SPeter Geis					<1 RK_PB6 2 &pcfg_pull_none_4ma>,
166852e02d37SLiang Chen					/* mac_rxd2 */
1669*6fd8b978SPeter Geis					<1 RK_PB7 2 &pcfg_pull_none_4ma>,
167052e02d37SLiang Chen					/* mac_txd3 */
1671*6fd8b978SPeter Geis					<1 RK_PC0 2 &pcfg_pull_none_8ma>,
167252e02d37SLiang Chen					/* mac_txd2 */
1673*6fd8b978SPeter Geis					<1 RK_PC1 2 &pcfg_pull_none_8ma>,
167452e02d37SLiang Chen
167552e02d37SLiang Chen					/* mac_txclk */
1676*6fd8b978SPeter Geis					<0 RK_PB0 1 &pcfg_pull_none_8ma>,
167752e02d37SLiang Chen					/* mac_txen */
1678*6fd8b978SPeter Geis					<0 RK_PB4 1 &pcfg_pull_none_8ma>,
167952e02d37SLiang Chen					/* mac_clk */
1680*6fd8b978SPeter Geis					<0 RK_PD0 1 &pcfg_pull_none_4ma>,
168152e02d37SLiang Chen					/* mac_txd1 */
1682*6fd8b978SPeter Geis					<0 RK_PC0 1 &pcfg_pull_none_8ma>,
168352e02d37SLiang Chen					/* mac_txd0 */
1684*6fd8b978SPeter Geis					<0 RK_PC1 1 &pcfg_pull_none_8ma>,
168552e02d37SLiang Chen					/* mac_txd3 */
1686*6fd8b978SPeter Geis					<0 RK_PC7 1 &pcfg_pull_none_8ma>,
168752e02d37SLiang Chen					/* mac_txd2 */
1688*6fd8b978SPeter Geis					<0 RK_PC6 1 &pcfg_pull_none_8ma>;
168952e02d37SLiang Chen			};
169052e02d37SLiang Chen
169152e02d37SLiang Chen			rmiim1_pins: rmiim1-pins {
169252e02d37SLiang Chen				rockchip,pins =
169352e02d37SLiang Chen					/* mac_mdio */
169452e02d37SLiang Chen					<1 RK_PC3 2 &pcfg_pull_none_2ma>,
169552e02d37SLiang Chen					/* mac_txen */
169652e02d37SLiang Chen					<1 RK_PD1 2 &pcfg_pull_none_12ma>,
169752e02d37SLiang Chen					/* mac_clk */
169852e02d37SLiang Chen					<1 RK_PC5 2 &pcfg_pull_none_2ma>,
169952e02d37SLiang Chen					/* mac_rxer */
170052e02d37SLiang Chen					<1 RK_PD0 2 &pcfg_pull_none_2ma>,
170152e02d37SLiang Chen					/* mac_rxdv */
170252e02d37SLiang Chen					<1 RK_PC6 2 &pcfg_pull_none_2ma>,
170352e02d37SLiang Chen					/* mac_mdc */
170452e02d37SLiang Chen					<1 RK_PC7 2 &pcfg_pull_none_2ma>,
170552e02d37SLiang Chen					/* mac_rxd1 */
170652e02d37SLiang Chen					<1 RK_PB2 2 &pcfg_pull_none_2ma>,
170752e02d37SLiang Chen					/* mac_rxd0 */
170852e02d37SLiang Chen					<1 RK_PB3 2 &pcfg_pull_none_2ma>,
170952e02d37SLiang Chen					/* mac_txd1 */
171052e02d37SLiang Chen					<1 RK_PB0 2 &pcfg_pull_none_12ma>,
171152e02d37SLiang Chen					/* mac_txd0 */
171252e02d37SLiang Chen					<1 RK_PB1 2 &pcfg_pull_none_12ma>,
171352e02d37SLiang Chen
171452e02d37SLiang Chen					/* mac_mdio */
171552e02d37SLiang Chen					<0 RK_PB3 1 &pcfg_pull_none>,
171652e02d37SLiang Chen					/* mac_txen */
171752e02d37SLiang Chen					<0 RK_PB4 1 &pcfg_pull_none>,
171852e02d37SLiang Chen					/* mac_clk */
171952e02d37SLiang Chen					<0 RK_PD0 1 &pcfg_pull_none>,
172052e02d37SLiang Chen					/* mac_mdc */
172152e02d37SLiang Chen					<0 RK_PC3 1 &pcfg_pull_none>,
172252e02d37SLiang Chen					/* mac_txd1 */
172352e02d37SLiang Chen					<0 RK_PC0 1 &pcfg_pull_none>,
172452e02d37SLiang Chen					/* mac_txd0 */
172552e02d37SLiang Chen					<0 RK_PC1 1 &pcfg_pull_none>;
172652e02d37SLiang Chen			};
172752e02d37SLiang Chen		};
172852e02d37SLiang Chen
172952e02d37SLiang Chen		gmac2phy {
173052e02d37SLiang Chen			fephyled_speed100: fephyled-speed100 {
173152e02d37SLiang Chen				rockchip,pins = <0 RK_PD7 1 &pcfg_pull_none>;
173252e02d37SLiang Chen			};
173352e02d37SLiang Chen
173452e02d37SLiang Chen			fephyled_speed10: fephyled-speed10 {
173552e02d37SLiang Chen				rockchip,pins = <0 RK_PD6 1 &pcfg_pull_none>;
173652e02d37SLiang Chen			};
173752e02d37SLiang Chen
173852e02d37SLiang Chen			fephyled_duplex: fephyled-duplex {
173952e02d37SLiang Chen				rockchip,pins = <0 RK_PD6 2 &pcfg_pull_none>;
174052e02d37SLiang Chen			};
174152e02d37SLiang Chen
174252e02d37SLiang Chen			fephyled_rxm0: fephyled-rxm0 {
174352e02d37SLiang Chen				rockchip,pins = <0 RK_PD5 1 &pcfg_pull_none>;
174452e02d37SLiang Chen			};
174552e02d37SLiang Chen
174652e02d37SLiang Chen			fephyled_txm0: fephyled-txm0 {
174752e02d37SLiang Chen				rockchip,pins = <0 RK_PD5 2 &pcfg_pull_none>;
174852e02d37SLiang Chen			};
174952e02d37SLiang Chen
175052e02d37SLiang Chen			fephyled_linkm0: fephyled-linkm0 {
175152e02d37SLiang Chen				rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>;
175252e02d37SLiang Chen			};
175352e02d37SLiang Chen
175452e02d37SLiang Chen			fephyled_rxm1: fephyled-rxm1 {
175552e02d37SLiang Chen				rockchip,pins = <2 RK_PD1 2 &pcfg_pull_none>;
175652e02d37SLiang Chen			};
175752e02d37SLiang Chen
175852e02d37SLiang Chen			fephyled_txm1: fephyled-txm1 {
175952e02d37SLiang Chen				rockchip,pins = <2 RK_PD1 3 &pcfg_pull_none>;
176052e02d37SLiang Chen			};
176152e02d37SLiang Chen
176252e02d37SLiang Chen			fephyled_linkm1: fephyled-linkm1 {
176352e02d37SLiang Chen				rockchip,pins = <2 RK_PD0 2 &pcfg_pull_none>;
176452e02d37SLiang Chen			};
176552e02d37SLiang Chen		};
176652e02d37SLiang Chen
176752e02d37SLiang Chen		tsadc_pin {
176852e02d37SLiang Chen			tsadc_int: tsadc-int {
176952e02d37SLiang Chen				rockchip,pins = <2 RK_PB5 2 &pcfg_pull_none>;
177052e02d37SLiang Chen			};
177152e02d37SLiang Chen			tsadc_gpio: tsadc-gpio {
177252e02d37SLiang Chen				rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
177352e02d37SLiang Chen			};
177452e02d37SLiang Chen		};
177552e02d37SLiang Chen
177652e02d37SLiang Chen		hdmi_pin {
177752e02d37SLiang Chen			hdmi_cec: hdmi-cec {
177852e02d37SLiang Chen				rockchip,pins = <0 RK_PA3 1 &pcfg_pull_none>;
177952e02d37SLiang Chen			};
178052e02d37SLiang Chen
178152e02d37SLiang Chen			hdmi_hpd: hdmi-hpd {
178252e02d37SLiang Chen				rockchip,pins = <0 RK_PA4 1 &pcfg_pull_down>;
178352e02d37SLiang Chen			};
178452e02d37SLiang Chen		};
178552e02d37SLiang Chen
178652e02d37SLiang Chen		cif-0 {
178752e02d37SLiang Chen			dvp_d2d9_m0:dvp-d2d9-m0 {
178852e02d37SLiang Chen				rockchip,pins =
178952e02d37SLiang Chen					/* cif_d0 */
179052e02d37SLiang Chen					<3 RK_PA4 2 &pcfg_pull_none>,
179152e02d37SLiang Chen					/* cif_d1 */
179252e02d37SLiang Chen					<3 RK_PA5 2 &pcfg_pull_none>,
179352e02d37SLiang Chen					/* cif_d2 */
179452e02d37SLiang Chen					<3 RK_PA6 2 &pcfg_pull_none>,
179552e02d37SLiang Chen					/* cif_d3 */
179652e02d37SLiang Chen					<3 RK_PA7 2 &pcfg_pull_none>,
179752e02d37SLiang Chen					/* cif_d4 */
179852e02d37SLiang Chen					<3 RK_PB0 2 &pcfg_pull_none>,
179952e02d37SLiang Chen					/* cif_d5m0 */
180052e02d37SLiang Chen					<3 RK_PB1 2 &pcfg_pull_none>,
180152e02d37SLiang Chen					/* cif_d6m0 */
180252e02d37SLiang Chen					<3 RK_PB2 2 &pcfg_pull_none>,
180352e02d37SLiang Chen					/* cif_d7m0 */
180452e02d37SLiang Chen					<3 RK_PB3 2 &pcfg_pull_none>,
180552e02d37SLiang Chen					/* cif_href */
180652e02d37SLiang Chen					<3 RK_PA1 2 &pcfg_pull_none>,
180752e02d37SLiang Chen					/* cif_vsync */
180852e02d37SLiang Chen					<3 RK_PA0 2 &pcfg_pull_none>,
180952e02d37SLiang Chen					/* cif_clkoutm0 */
181052e02d37SLiang Chen					<3 RK_PA3 2 &pcfg_pull_none>,
181152e02d37SLiang Chen					/* cif_clkin */
181252e02d37SLiang Chen					<3 RK_PA2 2 &pcfg_pull_none>;
181352e02d37SLiang Chen			};
181452e02d37SLiang Chen		};
181552e02d37SLiang Chen
181652e02d37SLiang Chen		cif-1 {
181752e02d37SLiang Chen			dvp_d2d9_m1:dvp-d2d9-m1 {
181852e02d37SLiang Chen				rockchip,pins =
181952e02d37SLiang Chen					/* cif_d0 */
182052e02d37SLiang Chen					<3 RK_PA4 2 &pcfg_pull_none>,
182152e02d37SLiang Chen					/* cif_d1 */
182252e02d37SLiang Chen					<3 RK_PA5 2 &pcfg_pull_none>,
182352e02d37SLiang Chen					/* cif_d2 */
182452e02d37SLiang Chen					<3 RK_PA6 2 &pcfg_pull_none>,
182552e02d37SLiang Chen					/* cif_d3 */
182652e02d37SLiang Chen					<3 RK_PA7 2 &pcfg_pull_none>,
182752e02d37SLiang Chen					/* cif_d4 */
182852e02d37SLiang Chen					<3 RK_PB0 2 &pcfg_pull_none>,
182952e02d37SLiang Chen					/* cif_d5m1 */
183052e02d37SLiang Chen					<2 RK_PC0 4 &pcfg_pull_none>,
183152e02d37SLiang Chen					/* cif_d6m1 */
183252e02d37SLiang Chen					<2 RK_PC1 4 &pcfg_pull_none>,
183352e02d37SLiang Chen					/* cif_d7m1 */
183452e02d37SLiang Chen					<2 RK_PC2 4 &pcfg_pull_none>,
183552e02d37SLiang Chen					/* cif_href */
183652e02d37SLiang Chen					<3 RK_PA1 2 &pcfg_pull_none>,
183752e02d37SLiang Chen					/* cif_vsync */
183852e02d37SLiang Chen					<3 RK_PA0 2 &pcfg_pull_none>,
183952e02d37SLiang Chen					/* cif_clkoutm1 */
184052e02d37SLiang Chen					<2 RK_PB7 4 &pcfg_pull_none>,
184152e02d37SLiang Chen					/* cif_clkin */
184252e02d37SLiang Chen					<3 RK_PA2 2 &pcfg_pull_none>;
184352e02d37SLiang Chen			};
184452e02d37SLiang Chen		};
184552e02d37SLiang Chen	};
184652e02d37SLiang Chen};
1847