xref: /freebsd/sys/contrib/device-tree/src/arm/rockchip/rv1108.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot
3*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
4*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
5*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
6*f126890aSEmmanuel Vadot#include <dt-bindings/clock/rv1108-cru.h>
7*f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
8*f126890aSEmmanuel Vadot#include <dt-bindings/thermal/thermal.h>
9*f126890aSEmmanuel Vadot/ {
10*f126890aSEmmanuel Vadot	#address-cells = <1>;
11*f126890aSEmmanuel Vadot	#size-cells = <1>;
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	compatible = "rockchip,rv1108";
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	interrupt-parent = <&gic>;
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	aliases {
18*f126890aSEmmanuel Vadot		i2c0 = &i2c0;
19*f126890aSEmmanuel Vadot		i2c1 = &i2c1;
20*f126890aSEmmanuel Vadot		i2c2 = &i2c2;
21*f126890aSEmmanuel Vadot		i2c3 = &i2c3;
22*f126890aSEmmanuel Vadot		serial0 = &uart0;
23*f126890aSEmmanuel Vadot		serial1 = &uart1;
24*f126890aSEmmanuel Vadot		serial2 = &uart2;
25*f126890aSEmmanuel Vadot	};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot	cpus {
28*f126890aSEmmanuel Vadot		#address-cells = <1>;
29*f126890aSEmmanuel Vadot		#size-cells = <0>;
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot		cpu0: cpu@f00 {
32*f126890aSEmmanuel Vadot			device_type = "cpu";
33*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
34*f126890aSEmmanuel Vadot			reg = <0xf00>;
35*f126890aSEmmanuel Vadot			clock-latency = <40000>;
36*f126890aSEmmanuel Vadot			clocks = <&cru ARMCLK>;
37*f126890aSEmmanuel Vadot			#cooling-cells = <2>; /* min followed by max */
38*f126890aSEmmanuel Vadot			dynamic-power-coefficient = <75>;
39*f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table>;
40*f126890aSEmmanuel Vadot		};
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	cpu_opp_table: opp-table-0 {
44*f126890aSEmmanuel Vadot		compatible = "operating-points-v2";
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot		opp-408000000 {
47*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <408000000>;
48*f126890aSEmmanuel Vadot			opp-microvolt = <975000>;
49*f126890aSEmmanuel Vadot			clock-latency-ns = <40000>;
50*f126890aSEmmanuel Vadot		};
51*f126890aSEmmanuel Vadot		opp-600000000 {
52*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <600000000>;
53*f126890aSEmmanuel Vadot			opp-microvolt = <975000>;
54*f126890aSEmmanuel Vadot			clock-latency-ns = <40000>;
55*f126890aSEmmanuel Vadot		};
56*f126890aSEmmanuel Vadot		opp-816000000 {
57*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <816000000>;
58*f126890aSEmmanuel Vadot			opp-microvolt = <1025000>;
59*f126890aSEmmanuel Vadot			clock-latency-ns = <40000>;
60*f126890aSEmmanuel Vadot		};
61*f126890aSEmmanuel Vadot		opp-1008000000 {
62*f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <1008000000>;
63*f126890aSEmmanuel Vadot			opp-microvolt = <1150000>;
64*f126890aSEmmanuel Vadot			clock-latency-ns = <40000>;
65*f126890aSEmmanuel Vadot		};
66*f126890aSEmmanuel Vadot	};
67*f126890aSEmmanuel Vadot
68*f126890aSEmmanuel Vadot	arm-pmu {
69*f126890aSEmmanuel Vadot		compatible = "arm,cortex-a7-pmu";
70*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
71*f126890aSEmmanuel Vadot	};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot	timer {
74*f126890aSEmmanuel Vadot		compatible = "arm,armv7-timer";
75*f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>,
76*f126890aSEmmanuel Vadot			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
77*f126890aSEmmanuel Vadot		arm,cpu-registers-not-fw-configured;
78*f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
79*f126890aSEmmanuel Vadot	};
80*f126890aSEmmanuel Vadot
81*f126890aSEmmanuel Vadot	xin24m: oscillator {
82*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
83*f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
84*f126890aSEmmanuel Vadot		clock-output-names = "xin24m";
85*f126890aSEmmanuel Vadot		#clock-cells = <0>;
86*f126890aSEmmanuel Vadot	};
87*f126890aSEmmanuel Vadot
88*f126890aSEmmanuel Vadot	bus_intmem: sram@10080000 {
89*f126890aSEmmanuel Vadot		compatible = "mmio-sram";
90*f126890aSEmmanuel Vadot		reg = <0x10080000 0x2000>;
91*f126890aSEmmanuel Vadot		#address-cells = <1>;
92*f126890aSEmmanuel Vadot		#size-cells = <1>;
93*f126890aSEmmanuel Vadot		ranges = <0 0x10080000 0x2000>;
94*f126890aSEmmanuel Vadot	};
95*f126890aSEmmanuel Vadot
96*f126890aSEmmanuel Vadot	uart2: serial@10210000 {
97*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
98*f126890aSEmmanuel Vadot		reg = <0x10210000 0x100>;
99*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
100*f126890aSEmmanuel Vadot		reg-shift = <2>;
101*f126890aSEmmanuel Vadot		reg-io-width = <4>;
102*f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
103*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
104*f126890aSEmmanuel Vadot		clock-names = "baudclk", "apb_pclk";
105*f126890aSEmmanuel Vadot		dmas = <&pdma 6>, <&pdma 7>;
106*f126890aSEmmanuel Vadot		pinctrl-names = "default";
107*f126890aSEmmanuel Vadot		pinctrl-0 = <&uart2m0_xfer>;
108*f126890aSEmmanuel Vadot		status = "disabled";
109*f126890aSEmmanuel Vadot	};
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot	uart1: serial@10220000 {
112*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
113*f126890aSEmmanuel Vadot		reg = <0x10220000 0x100>;
114*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
115*f126890aSEmmanuel Vadot		reg-shift = <2>;
116*f126890aSEmmanuel Vadot		reg-io-width = <4>;
117*f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
118*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
119*f126890aSEmmanuel Vadot		clock-names = "baudclk", "apb_pclk";
120*f126890aSEmmanuel Vadot		dmas = <&pdma 4>, <&pdma 5>;
121*f126890aSEmmanuel Vadot		pinctrl-names = "default";
122*f126890aSEmmanuel Vadot		pinctrl-0 = <&uart1_xfer>;
123*f126890aSEmmanuel Vadot		status = "disabled";
124*f126890aSEmmanuel Vadot	};
125*f126890aSEmmanuel Vadot
126*f126890aSEmmanuel Vadot	uart0: serial@10230000 {
127*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
128*f126890aSEmmanuel Vadot		reg = <0x10230000 0x100>;
129*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
130*f126890aSEmmanuel Vadot		reg-shift = <2>;
131*f126890aSEmmanuel Vadot		reg-io-width = <4>;
132*f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
133*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
134*f126890aSEmmanuel Vadot		clock-names = "baudclk", "apb_pclk";
135*f126890aSEmmanuel Vadot		dmas = <&pdma 2>, <&pdma 3>;
136*f126890aSEmmanuel Vadot		pinctrl-names = "default";
137*f126890aSEmmanuel Vadot		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
138*f126890aSEmmanuel Vadot		status = "disabled";
139*f126890aSEmmanuel Vadot	};
140*f126890aSEmmanuel Vadot
141*f126890aSEmmanuel Vadot	i2c1: i2c@10240000 {
142*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-i2c";
143*f126890aSEmmanuel Vadot		reg = <0x10240000 0x1000>;
144*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
145*f126890aSEmmanuel Vadot		#address-cells = <1>;
146*f126890aSEmmanuel Vadot		#size-cells = <0>;
147*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
148*f126890aSEmmanuel Vadot		clock-names = "i2c", "pclk";
149*f126890aSEmmanuel Vadot		pinctrl-names = "default";
150*f126890aSEmmanuel Vadot		pinctrl-0 = <&i2c1_xfer>;
151*f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
152*f126890aSEmmanuel Vadot		status = "disabled";
153*f126890aSEmmanuel Vadot	};
154*f126890aSEmmanuel Vadot
155*f126890aSEmmanuel Vadot	i2c2: i2c@10250000 {
156*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-i2c";
157*f126890aSEmmanuel Vadot		reg = <0x10250000 0x1000>;
158*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
159*f126890aSEmmanuel Vadot		#address-cells = <1>;
160*f126890aSEmmanuel Vadot		#size-cells = <0>;
161*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
162*f126890aSEmmanuel Vadot		clock-names = "i2c", "pclk";
163*f126890aSEmmanuel Vadot		pinctrl-names = "default";
164*f126890aSEmmanuel Vadot		pinctrl-0 = <&i2c2m1_xfer>;
165*f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
166*f126890aSEmmanuel Vadot		status = "disabled";
167*f126890aSEmmanuel Vadot	};
168*f126890aSEmmanuel Vadot
169*f126890aSEmmanuel Vadot	i2c3: i2c@10260000 {
170*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-i2c";
171*f126890aSEmmanuel Vadot		reg = <0x10260000 0x1000>;
172*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
173*f126890aSEmmanuel Vadot		#address-cells = <1>;
174*f126890aSEmmanuel Vadot		#size-cells = <0>;
175*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
176*f126890aSEmmanuel Vadot		clock-names = "i2c", "pclk";
177*f126890aSEmmanuel Vadot		pinctrl-names = "default";
178*f126890aSEmmanuel Vadot		pinctrl-0 = <&i2c3_xfer>;
179*f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
180*f126890aSEmmanuel Vadot		status = "disabled";
181*f126890aSEmmanuel Vadot	};
182*f126890aSEmmanuel Vadot
183*f126890aSEmmanuel Vadot	spi: spi@10270000 {
184*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-spi";
185*f126890aSEmmanuel Vadot		reg = <0x10270000 0x1000>;
186*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
187*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
188*f126890aSEmmanuel Vadot		clock-names = "spiclk", "apb_pclk";
189*f126890aSEmmanuel Vadot		dmas = <&pdma 8>, <&pdma 9>;
190*f126890aSEmmanuel Vadot		dma-names = "tx", "rx";
191*f126890aSEmmanuel Vadot		#address-cells = <1>;
192*f126890aSEmmanuel Vadot		#size-cells = <0>;
193*f126890aSEmmanuel Vadot		status = "disabled";
194*f126890aSEmmanuel Vadot	};
195*f126890aSEmmanuel Vadot
196*f126890aSEmmanuel Vadot	pwm4: pwm@10280000 {
197*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
198*f126890aSEmmanuel Vadot		reg = <0x10280000 0x10>;
199*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
200*f126890aSEmmanuel Vadot		clock-names = "pwm", "pclk";
201*f126890aSEmmanuel Vadot		pinctrl-names = "default";
202*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm4_pin>;
203*f126890aSEmmanuel Vadot		#pwm-cells = <3>;
204*f126890aSEmmanuel Vadot		status = "disabled";
205*f126890aSEmmanuel Vadot	};
206*f126890aSEmmanuel Vadot
207*f126890aSEmmanuel Vadot	pwm5: pwm@10280010 {
208*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
209*f126890aSEmmanuel Vadot		reg = <0x10280010 0x10>;
210*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
211*f126890aSEmmanuel Vadot		clock-names = "pwm", "pclk";
212*f126890aSEmmanuel Vadot		pinctrl-names = "default";
213*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm5_pin>;
214*f126890aSEmmanuel Vadot		#pwm-cells = <3>;
215*f126890aSEmmanuel Vadot		status = "disabled";
216*f126890aSEmmanuel Vadot	};
217*f126890aSEmmanuel Vadot
218*f126890aSEmmanuel Vadot	pwm6: pwm@10280020 {
219*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
220*f126890aSEmmanuel Vadot		reg = <0x10280020 0x10>;
221*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
222*f126890aSEmmanuel Vadot		clock-names = "pwm", "pclk";
223*f126890aSEmmanuel Vadot		pinctrl-names = "default";
224*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm6_pin>;
225*f126890aSEmmanuel Vadot		#pwm-cells = <3>;
226*f126890aSEmmanuel Vadot		status = "disabled";
227*f126890aSEmmanuel Vadot	};
228*f126890aSEmmanuel Vadot
229*f126890aSEmmanuel Vadot	pwm7: pwm@10280030 {
230*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
231*f126890aSEmmanuel Vadot		reg = <0x10280030 0x10>;
232*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
233*f126890aSEmmanuel Vadot		clock-names = "pwm", "pclk";
234*f126890aSEmmanuel Vadot		pinctrl-names = "default";
235*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm7_pin>;
236*f126890aSEmmanuel Vadot		#pwm-cells = <3>;
237*f126890aSEmmanuel Vadot		status = "disabled";
238*f126890aSEmmanuel Vadot	};
239*f126890aSEmmanuel Vadot
240*f126890aSEmmanuel Vadot	pdma: dma-controller@102a0000 {
241*f126890aSEmmanuel Vadot		compatible = "arm,pl330", "arm,primecell";
242*f126890aSEmmanuel Vadot		reg = <0x102a0000 0x4000>;
243*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
244*f126890aSEmmanuel Vadot		#dma-cells = <1>;
245*f126890aSEmmanuel Vadot		arm,pl330-broken-no-flushp;
246*f126890aSEmmanuel Vadot		arm,pl330-periph-burst;
247*f126890aSEmmanuel Vadot		clocks = <&cru ACLK_DMAC>;
248*f126890aSEmmanuel Vadot		clock-names = "apb_pclk";
249*f126890aSEmmanuel Vadot	};
250*f126890aSEmmanuel Vadot
251*f126890aSEmmanuel Vadot	grf: syscon@10300000 {
252*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-grf", "syscon", "simple-mfd";
253*f126890aSEmmanuel Vadot		reg = <0x10300000 0x1000>;
254*f126890aSEmmanuel Vadot		#address-cells = <1>;
255*f126890aSEmmanuel Vadot		#size-cells = <1>;
256*f126890aSEmmanuel Vadot
257*f126890aSEmmanuel Vadot		io_domains: io-domains {
258*f126890aSEmmanuel Vadot			compatible = "rockchip,rv1108-io-voltage-domain";
259*f126890aSEmmanuel Vadot			status = "disabled";
260*f126890aSEmmanuel Vadot		};
261*f126890aSEmmanuel Vadot
262*f126890aSEmmanuel Vadot		u2phy: usb2phy@100 {
263*f126890aSEmmanuel Vadot			compatible = "rockchip,rv1108-usb2phy";
264*f126890aSEmmanuel Vadot			reg = <0x100 0x0c>;
265*f126890aSEmmanuel Vadot			clocks = <&cru SCLK_USBPHY>;
266*f126890aSEmmanuel Vadot			clock-names = "phyclk";
267*f126890aSEmmanuel Vadot			#clock-cells = <0>;
268*f126890aSEmmanuel Vadot			clock-output-names = "usbphy";
269*f126890aSEmmanuel Vadot			rockchip,usbgrf = <&usbgrf>;
270*f126890aSEmmanuel Vadot			status = "disabled";
271*f126890aSEmmanuel Vadot
272*f126890aSEmmanuel Vadot			u2phy_otg: otg-port {
273*f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
274*f126890aSEmmanuel Vadot				interrupt-names = "otg-mux";
275*f126890aSEmmanuel Vadot				#phy-cells = <0>;
276*f126890aSEmmanuel Vadot				status = "disabled";
277*f126890aSEmmanuel Vadot			};
278*f126890aSEmmanuel Vadot
279*f126890aSEmmanuel Vadot			u2phy_host: host-port {
280*f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
281*f126890aSEmmanuel Vadot				interrupt-names = "linestate";
282*f126890aSEmmanuel Vadot				#phy-cells = <0>;
283*f126890aSEmmanuel Vadot				status = "disabled";
284*f126890aSEmmanuel Vadot			};
285*f126890aSEmmanuel Vadot		};
286*f126890aSEmmanuel Vadot	};
287*f126890aSEmmanuel Vadot
288*f126890aSEmmanuel Vadot	timer: timer@10350000 {
289*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer";
290*f126890aSEmmanuel Vadot		reg = <0x10350000 0x20>;
291*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
292*f126890aSEmmanuel Vadot		clocks = <&cru PCLK_TIMER>, <&xin24m>;
293*f126890aSEmmanuel Vadot		clock-names = "pclk", "timer";
294*f126890aSEmmanuel Vadot	};
295*f126890aSEmmanuel Vadot
296*f126890aSEmmanuel Vadot	watchdog: watchdog@10360000 {
297*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-wdt", "snps,dw-wdt";
298*f126890aSEmmanuel Vadot		reg = <0x10360000 0x100>;
299*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
300*f126890aSEmmanuel Vadot		clocks = <&cru PCLK_WDT>;
301*f126890aSEmmanuel Vadot		status = "disabled";
302*f126890aSEmmanuel Vadot	};
303*f126890aSEmmanuel Vadot
304*f126890aSEmmanuel Vadot	thermal-zones {
305*f126890aSEmmanuel Vadot		soc_thermal: soc-thermal {
306*f126890aSEmmanuel Vadot			polling-delay-passive = <20>;
307*f126890aSEmmanuel Vadot			polling-delay = <1000>;
308*f126890aSEmmanuel Vadot			sustainable-power = <50>;
309*f126890aSEmmanuel Vadot			thermal-sensors = <&tsadc 0>;
310*f126890aSEmmanuel Vadot
311*f126890aSEmmanuel Vadot			trips {
312*f126890aSEmmanuel Vadot				threshold: trip-point0 {
313*f126890aSEmmanuel Vadot					temperature = <70000>;
314*f126890aSEmmanuel Vadot					hysteresis = <2000>;
315*f126890aSEmmanuel Vadot					type = "passive";
316*f126890aSEmmanuel Vadot				};
317*f126890aSEmmanuel Vadot				target: trip-point1 {
318*f126890aSEmmanuel Vadot					temperature = <85000>;
319*f126890aSEmmanuel Vadot					hysteresis = <2000>;
320*f126890aSEmmanuel Vadot					type = "passive";
321*f126890aSEmmanuel Vadot				};
322*f126890aSEmmanuel Vadot				soc_crit: soc-crit {
323*f126890aSEmmanuel Vadot					temperature = <95000>;
324*f126890aSEmmanuel Vadot					hysteresis = <2000>;
325*f126890aSEmmanuel Vadot					type = "critical";
326*f126890aSEmmanuel Vadot				};
327*f126890aSEmmanuel Vadot			};
328*f126890aSEmmanuel Vadot
329*f126890aSEmmanuel Vadot			cooling-maps {
330*f126890aSEmmanuel Vadot				map0 {
331*f126890aSEmmanuel Vadot					trip = <&target>;
332*f126890aSEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
333*f126890aSEmmanuel Vadot					contribution = <4096>;
334*f126890aSEmmanuel Vadot				};
335*f126890aSEmmanuel Vadot			};
336*f126890aSEmmanuel Vadot		};
337*f126890aSEmmanuel Vadot	};
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot	tsadc: tsadc@10370000 {
340*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-tsadc";
341*f126890aSEmmanuel Vadot		reg = <0x10370000 0x100>;
342*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
343*f126890aSEmmanuel Vadot		assigned-clocks = <&cru SCLK_TSADC>;
344*f126890aSEmmanuel Vadot		assigned-clock-rates = <750000>;
345*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
346*f126890aSEmmanuel Vadot		clock-names = "tsadc", "apb_pclk";
347*f126890aSEmmanuel Vadot		pinctrl-names = "init", "default", "sleep";
348*f126890aSEmmanuel Vadot		pinctrl-0 = <&otp_pin>;
349*f126890aSEmmanuel Vadot		pinctrl-1 = <&otp_out>;
350*f126890aSEmmanuel Vadot		pinctrl-2 = <&otp_pin>;
351*f126890aSEmmanuel Vadot		resets = <&cru SRST_TSADC>;
352*f126890aSEmmanuel Vadot		reset-names = "tsadc-apb";
353*f126890aSEmmanuel Vadot		rockchip,hw-tshut-temp = <120000>;
354*f126890aSEmmanuel Vadot		#thermal-sensor-cells = <1>;
355*f126890aSEmmanuel Vadot		status = "disabled";
356*f126890aSEmmanuel Vadot	};
357*f126890aSEmmanuel Vadot
358*f126890aSEmmanuel Vadot	adc: adc@1038c000 {
359*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-saradc", "rockchip,rk3399-saradc";
360*f126890aSEmmanuel Vadot		reg = <0x1038c000 0x100>;
361*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
362*f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
363*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
364*f126890aSEmmanuel Vadot		clock-names = "saradc", "apb_pclk";
365*f126890aSEmmanuel Vadot		status = "disabled";
366*f126890aSEmmanuel Vadot	};
367*f126890aSEmmanuel Vadot
368*f126890aSEmmanuel Vadot	i2c0: i2c@20000000 {
369*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-i2c";
370*f126890aSEmmanuel Vadot		reg = <0x20000000 0x1000>;
371*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
372*f126890aSEmmanuel Vadot		#address-cells = <1>;
373*f126890aSEmmanuel Vadot		#size-cells = <0>;
374*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_I2C0_PMU>, <&cru PCLK_I2C0_PMU>;
375*f126890aSEmmanuel Vadot		clock-names = "i2c", "pclk";
376*f126890aSEmmanuel Vadot		pinctrl-names = "default";
377*f126890aSEmmanuel Vadot		pinctrl-0 = <&i2c0_xfer>;
378*f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
379*f126890aSEmmanuel Vadot		status = "disabled";
380*f126890aSEmmanuel Vadot	};
381*f126890aSEmmanuel Vadot
382*f126890aSEmmanuel Vadot	pwm0: pwm@20040000 {
383*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
384*f126890aSEmmanuel Vadot		reg = <0x20040000 0x10>;
385*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_PWM0_PMU>, <&cru PCLK_PWM0_PMU>;
386*f126890aSEmmanuel Vadot		clock-names = "pwm", "pclk";
387*f126890aSEmmanuel Vadot		pinctrl-names = "default";
388*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm0_pin>;
389*f126890aSEmmanuel Vadot		#pwm-cells = <3>;
390*f126890aSEmmanuel Vadot		status = "disabled";
391*f126890aSEmmanuel Vadot	};
392*f126890aSEmmanuel Vadot
393*f126890aSEmmanuel Vadot	pwm1: pwm@20040010 {
394*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
395*f126890aSEmmanuel Vadot		reg = <0x20040010 0x10>;
396*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_PWM0_PMU>, <&cru PCLK_PWM0_PMU>;
397*f126890aSEmmanuel Vadot		clock-names = "pwm", "pclk";
398*f126890aSEmmanuel Vadot		pinctrl-names = "default";
399*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm1_pin>;
400*f126890aSEmmanuel Vadot		#pwm-cells = <3>;
401*f126890aSEmmanuel Vadot		status = "disabled";
402*f126890aSEmmanuel Vadot	};
403*f126890aSEmmanuel Vadot
404*f126890aSEmmanuel Vadot	pwm2: pwm@20040020 {
405*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
406*f126890aSEmmanuel Vadot		reg = <0x20040020 0x10>;
407*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_PWM0_PMU>, <&cru PCLK_PWM0_PMU>;
408*f126890aSEmmanuel Vadot		clock-names = "pwm", "pclk";
409*f126890aSEmmanuel Vadot		pinctrl-names = "default";
410*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm2_pin>;
411*f126890aSEmmanuel Vadot		#pwm-cells = <3>;
412*f126890aSEmmanuel Vadot		status = "disabled";
413*f126890aSEmmanuel Vadot	};
414*f126890aSEmmanuel Vadot
415*f126890aSEmmanuel Vadot	pwm3: pwm@20040030 {
416*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm";
417*f126890aSEmmanuel Vadot		reg = <0x20040030 0x10>;
418*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_PWM0_PMU>, <&cru PCLK_PWM0_PMU>;
419*f126890aSEmmanuel Vadot		clock-names = "pwm", "pclk";
420*f126890aSEmmanuel Vadot		pinctrl-names = "default";
421*f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm3_pin>;
422*f126890aSEmmanuel Vadot		#pwm-cells = <3>;
423*f126890aSEmmanuel Vadot		status = "disabled";
424*f126890aSEmmanuel Vadot	};
425*f126890aSEmmanuel Vadot
426*f126890aSEmmanuel Vadot	pmugrf: syscon@20060000 {
427*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pmugrf", "syscon", "simple-mfd";
428*f126890aSEmmanuel Vadot		reg = <0x20060000 0x1000>;
429*f126890aSEmmanuel Vadot
430*f126890aSEmmanuel Vadot		pmu_io_domains: io-domains {
431*f126890aSEmmanuel Vadot			compatible = "rockchip,rv1108-pmu-io-voltage-domain";
432*f126890aSEmmanuel Vadot			status = "disabled";
433*f126890aSEmmanuel Vadot		};
434*f126890aSEmmanuel Vadot	};
435*f126890aSEmmanuel Vadot
436*f126890aSEmmanuel Vadot	usbgrf: syscon@202a0000 {
437*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-usbgrf", "syscon";
438*f126890aSEmmanuel Vadot		reg = <0x202a0000 0x1000>;
439*f126890aSEmmanuel Vadot	};
440*f126890aSEmmanuel Vadot
441*f126890aSEmmanuel Vadot	cru: clock-controller@20200000 {
442*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-cru";
443*f126890aSEmmanuel Vadot		reg = <0x20200000 0x1000>;
444*f126890aSEmmanuel Vadot		clocks = <&xin24m>;
445*f126890aSEmmanuel Vadot		clock-names = "xin24m";
446*f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
447*f126890aSEmmanuel Vadot		#clock-cells = <1>;
448*f126890aSEmmanuel Vadot		#reset-cells = <1>;
449*f126890aSEmmanuel Vadot	};
450*f126890aSEmmanuel Vadot
451*f126890aSEmmanuel Vadot	nfc: nand-controller@30100000 {
452*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-nfc";
453*f126890aSEmmanuel Vadot		reg = <0x30100000  0x1000>;
454*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
455*f126890aSEmmanuel Vadot		clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
456*f126890aSEmmanuel Vadot		clock-names = "ahb", "nfc";
457*f126890aSEmmanuel Vadot		assigned-clocks = <&cru SCLK_NANDC>;
458*f126890aSEmmanuel Vadot		assigned-clock-rates = <150000000>;
459*f126890aSEmmanuel Vadot		status = "disabled";
460*f126890aSEmmanuel Vadot	};
461*f126890aSEmmanuel Vadot
462*f126890aSEmmanuel Vadot	emmc: mmc@30110000 {
463*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc";
464*f126890aSEmmanuel Vadot		reg = <0x30110000 0x4000>;
465*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
466*f126890aSEmmanuel Vadot		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
467*f126890aSEmmanuel Vadot			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
468*f126890aSEmmanuel Vadot		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
469*f126890aSEmmanuel Vadot		fifo-depth = <0x100>;
470*f126890aSEmmanuel Vadot		max-frequency = <150000000>;
471*f126890aSEmmanuel Vadot		status = "disabled";
472*f126890aSEmmanuel Vadot	};
473*f126890aSEmmanuel Vadot
474*f126890aSEmmanuel Vadot	sdio: mmc@30120000 {
475*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc";
476*f126890aSEmmanuel Vadot		reg = <0x30120000 0x4000>;
477*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
478*f126890aSEmmanuel Vadot		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
479*f126890aSEmmanuel Vadot			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
480*f126890aSEmmanuel Vadot		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
481*f126890aSEmmanuel Vadot		fifo-depth = <0x100>;
482*f126890aSEmmanuel Vadot		max-frequency = <150000000>;
483*f126890aSEmmanuel Vadot		status = "disabled";
484*f126890aSEmmanuel Vadot	};
485*f126890aSEmmanuel Vadot
486*f126890aSEmmanuel Vadot	sdmmc: mmc@30130000 {
487*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc";
488*f126890aSEmmanuel Vadot		reg = <0x30130000 0x4000>;
489*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
490*f126890aSEmmanuel Vadot		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
491*f126890aSEmmanuel Vadot			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
492*f126890aSEmmanuel Vadot		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
493*f126890aSEmmanuel Vadot		fifo-depth = <0x100>;
494*f126890aSEmmanuel Vadot		max-frequency = <100000000>;
495*f126890aSEmmanuel Vadot		pinctrl-names = "default";
496*f126890aSEmmanuel Vadot		pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
497*f126890aSEmmanuel Vadot		status = "disabled";
498*f126890aSEmmanuel Vadot	};
499*f126890aSEmmanuel Vadot
500*f126890aSEmmanuel Vadot	usb_host_ehci: usb@30140000 {
501*f126890aSEmmanuel Vadot		compatible = "generic-ehci";
502*f126890aSEmmanuel Vadot		reg = <0x30140000 0x20000>;
503*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
504*f126890aSEmmanuel Vadot		clocks = <&cru HCLK_HOST0>, <&u2phy>;
505*f126890aSEmmanuel Vadot		phys = <&u2phy_host>;
506*f126890aSEmmanuel Vadot		phy-names = "usb";
507*f126890aSEmmanuel Vadot		status = "disabled";
508*f126890aSEmmanuel Vadot	};
509*f126890aSEmmanuel Vadot
510*f126890aSEmmanuel Vadot	usb_host_ohci: usb@30160000 {
511*f126890aSEmmanuel Vadot		compatible = "generic-ohci";
512*f126890aSEmmanuel Vadot		reg = <0x30160000 0x20000>;
513*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
514*f126890aSEmmanuel Vadot		clocks = <&cru HCLK_HOST0>, <&u2phy>;
515*f126890aSEmmanuel Vadot		phys = <&u2phy_host>;
516*f126890aSEmmanuel Vadot		phy-names = "usb";
517*f126890aSEmmanuel Vadot		status = "disabled";
518*f126890aSEmmanuel Vadot	};
519*f126890aSEmmanuel Vadot
520*f126890aSEmmanuel Vadot	usb_otg: usb@30180000 {
521*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-usb", "rockchip,rk3066-usb",
522*f126890aSEmmanuel Vadot			     "snps,dwc2";
523*f126890aSEmmanuel Vadot		reg = <0x30180000 0x40000>;
524*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
525*f126890aSEmmanuel Vadot		clocks = <&cru HCLK_OTG>;
526*f126890aSEmmanuel Vadot		clock-names = "otg";
527*f126890aSEmmanuel Vadot		dr_mode = "otg";
528*f126890aSEmmanuel Vadot		g-np-tx-fifo-size = <16>;
529*f126890aSEmmanuel Vadot		g-rx-fifo-size = <280>;
530*f126890aSEmmanuel Vadot		g-tx-fifo-size = <256 128 128 64 32 16>;
531*f126890aSEmmanuel Vadot		phys = <&u2phy_otg>;
532*f126890aSEmmanuel Vadot		phy-names = "usb2-phy";
533*f126890aSEmmanuel Vadot		status = "disabled";
534*f126890aSEmmanuel Vadot	};
535*f126890aSEmmanuel Vadot
536*f126890aSEmmanuel Vadot	sfc: spi@301c0000 {
537*f126890aSEmmanuel Vadot		compatible = "rockchip,sfc";
538*f126890aSEmmanuel Vadot		reg = <0x301c0000 0x4000>;
539*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
540*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
541*f126890aSEmmanuel Vadot		clock-names = "clk_sfc", "hclk_sfc";
542*f126890aSEmmanuel Vadot		pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
543*f126890aSEmmanuel Vadot		pinctrl-names = "default";
544*f126890aSEmmanuel Vadot		status = "disabled";
545*f126890aSEmmanuel Vadot	};
546*f126890aSEmmanuel Vadot
547*f126890aSEmmanuel Vadot	gmac: ethernet@30200000 {
548*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-gmac";
549*f126890aSEmmanuel Vadot		reg = <0x30200000 0x10000>;
550*f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
551*f126890aSEmmanuel Vadot			     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
552*f126890aSEmmanuel Vadot		interrupt-names = "macirq", "eth_wake_irq";
553*f126890aSEmmanuel Vadot		clocks = <&cru SCLK_MAC>,
554*f126890aSEmmanuel Vadot			<&cru SCLK_MAC_RX>, <&cru SCLK_MAC_RX>,
555*f126890aSEmmanuel Vadot			<&cru SCLK_MAC_REF>, <&cru SCLK_MAC_REFOUT>,
556*f126890aSEmmanuel Vadot			<&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
557*f126890aSEmmanuel Vadot		clock-names = "stmmaceth",
558*f126890aSEmmanuel Vadot			"mac_clk_rx", "mac_clk_tx",
559*f126890aSEmmanuel Vadot			"clk_mac_ref", "clk_mac_refout",
560*f126890aSEmmanuel Vadot			"aclk_mac", "pclk_mac";
561*f126890aSEmmanuel Vadot		/* rv1108 only supports an rmii interface */
562*f126890aSEmmanuel Vadot		phy-mode = "rmii";
563*f126890aSEmmanuel Vadot		pinctrl-names = "default";
564*f126890aSEmmanuel Vadot		pinctrl-0 = <&rmii_pins>;
565*f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
566*f126890aSEmmanuel Vadot		status = "disabled";
567*f126890aSEmmanuel Vadot	};
568*f126890aSEmmanuel Vadot
569*f126890aSEmmanuel Vadot	gic: interrupt-controller@32010000 {
570*f126890aSEmmanuel Vadot		compatible = "arm,gic-400";
571*f126890aSEmmanuel Vadot		interrupt-controller;
572*f126890aSEmmanuel Vadot		#interrupt-cells = <3>;
573*f126890aSEmmanuel Vadot		#address-cells = <0>;
574*f126890aSEmmanuel Vadot
575*f126890aSEmmanuel Vadot		reg = <0x32011000 0x1000>,
576*f126890aSEmmanuel Vadot		      <0x32012000 0x2000>,
577*f126890aSEmmanuel Vadot		      <0x32014000 0x2000>,
578*f126890aSEmmanuel Vadot		      <0x32016000 0x2000>;
579*f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
580*f126890aSEmmanuel Vadot	};
581*f126890aSEmmanuel Vadot
582*f126890aSEmmanuel Vadot	pinctrl: pinctrl {
583*f126890aSEmmanuel Vadot		compatible = "rockchip,rv1108-pinctrl";
584*f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
585*f126890aSEmmanuel Vadot		rockchip,pmu = <&pmugrf>;
586*f126890aSEmmanuel Vadot		#address-cells = <1>;
587*f126890aSEmmanuel Vadot		#size-cells = <1>;
588*f126890aSEmmanuel Vadot		ranges;
589*f126890aSEmmanuel Vadot
590*f126890aSEmmanuel Vadot		gpio0: gpio@20030000 {
591*f126890aSEmmanuel Vadot			compatible = "rockchip,gpio-bank";
592*f126890aSEmmanuel Vadot			reg = <0x20030000 0x100>;
593*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
594*f126890aSEmmanuel Vadot			clocks = <&cru PCLK_GPIO0_PMU>;
595*f126890aSEmmanuel Vadot
596*f126890aSEmmanuel Vadot			gpio-controller;
597*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
598*f126890aSEmmanuel Vadot
599*f126890aSEmmanuel Vadot			interrupt-controller;
600*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
601*f126890aSEmmanuel Vadot		};
602*f126890aSEmmanuel Vadot
603*f126890aSEmmanuel Vadot		gpio1: gpio@10310000 {
604*f126890aSEmmanuel Vadot			compatible = "rockchip,gpio-bank";
605*f126890aSEmmanuel Vadot			reg = <0x10310000 0x100>;
606*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
607*f126890aSEmmanuel Vadot			clocks = <&cru PCLK_GPIO1>;
608*f126890aSEmmanuel Vadot
609*f126890aSEmmanuel Vadot			gpio-controller;
610*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
611*f126890aSEmmanuel Vadot
612*f126890aSEmmanuel Vadot			interrupt-controller;
613*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
614*f126890aSEmmanuel Vadot		};
615*f126890aSEmmanuel Vadot
616*f126890aSEmmanuel Vadot		gpio2: gpio@10320000 {
617*f126890aSEmmanuel Vadot			compatible = "rockchip,gpio-bank";
618*f126890aSEmmanuel Vadot			reg = <0x10320000 0x100>;
619*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
620*f126890aSEmmanuel Vadot			clocks = <&cru PCLK_GPIO2>;
621*f126890aSEmmanuel Vadot
622*f126890aSEmmanuel Vadot			gpio-controller;
623*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
624*f126890aSEmmanuel Vadot
625*f126890aSEmmanuel Vadot			interrupt-controller;
626*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
627*f126890aSEmmanuel Vadot		};
628*f126890aSEmmanuel Vadot
629*f126890aSEmmanuel Vadot		gpio3: gpio@10330000 {
630*f126890aSEmmanuel Vadot			compatible = "rockchip,gpio-bank";
631*f126890aSEmmanuel Vadot			reg = <0x10330000 0x100>;
632*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
633*f126890aSEmmanuel Vadot			clocks = <&cru PCLK_GPIO3>;
634*f126890aSEmmanuel Vadot
635*f126890aSEmmanuel Vadot			gpio-controller;
636*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
637*f126890aSEmmanuel Vadot
638*f126890aSEmmanuel Vadot			interrupt-controller;
639*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
640*f126890aSEmmanuel Vadot		};
641*f126890aSEmmanuel Vadot
642*f126890aSEmmanuel Vadot		pcfg_pull_up: pcfg-pull-up {
643*f126890aSEmmanuel Vadot			bias-pull-up;
644*f126890aSEmmanuel Vadot		};
645*f126890aSEmmanuel Vadot
646*f126890aSEmmanuel Vadot		pcfg_pull_down: pcfg-pull-down {
647*f126890aSEmmanuel Vadot			bias-pull-down;
648*f126890aSEmmanuel Vadot		};
649*f126890aSEmmanuel Vadot
650*f126890aSEmmanuel Vadot		pcfg_pull_none: pcfg-pull-none {
651*f126890aSEmmanuel Vadot			bias-disable;
652*f126890aSEmmanuel Vadot		};
653*f126890aSEmmanuel Vadot
654*f126890aSEmmanuel Vadot		pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
655*f126890aSEmmanuel Vadot			drive-strength = <8>;
656*f126890aSEmmanuel Vadot		};
657*f126890aSEmmanuel Vadot
658*f126890aSEmmanuel Vadot		pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma {
659*f126890aSEmmanuel Vadot			drive-strength = <12>;
660*f126890aSEmmanuel Vadot		};
661*f126890aSEmmanuel Vadot
662*f126890aSEmmanuel Vadot		pcfg_pull_none_smt: pcfg-pull-none-smt {
663*f126890aSEmmanuel Vadot			bias-disable;
664*f126890aSEmmanuel Vadot			input-schmitt-enable;
665*f126890aSEmmanuel Vadot		};
666*f126890aSEmmanuel Vadot
667*f126890aSEmmanuel Vadot		pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
668*f126890aSEmmanuel Vadot			bias-pull-up;
669*f126890aSEmmanuel Vadot			drive-strength = <8>;
670*f126890aSEmmanuel Vadot		};
671*f126890aSEmmanuel Vadot
672*f126890aSEmmanuel Vadot		pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma {
673*f126890aSEmmanuel Vadot			drive-strength = <4>;
674*f126890aSEmmanuel Vadot		};
675*f126890aSEmmanuel Vadot
676*f126890aSEmmanuel Vadot		pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma {
677*f126890aSEmmanuel Vadot			bias-pull-up;
678*f126890aSEmmanuel Vadot			drive-strength = <4>;
679*f126890aSEmmanuel Vadot		};
680*f126890aSEmmanuel Vadot
681*f126890aSEmmanuel Vadot		pcfg_output_high: pcfg-output-high {
682*f126890aSEmmanuel Vadot			output-high;
683*f126890aSEmmanuel Vadot		};
684*f126890aSEmmanuel Vadot
685*f126890aSEmmanuel Vadot		pcfg_output_low: pcfg-output-low {
686*f126890aSEmmanuel Vadot			output-low;
687*f126890aSEmmanuel Vadot		};
688*f126890aSEmmanuel Vadot
689*f126890aSEmmanuel Vadot		pcfg_input_high: pcfg-input-high {
690*f126890aSEmmanuel Vadot			bias-pull-up;
691*f126890aSEmmanuel Vadot			input-enable;
692*f126890aSEmmanuel Vadot		};
693*f126890aSEmmanuel Vadot
694*f126890aSEmmanuel Vadot		emmc {
695*f126890aSEmmanuel Vadot			emmc_bus8: emmc-bus8 {
696*f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA0 2 &pcfg_pull_up_drv_8ma>,
697*f126890aSEmmanuel Vadot						<2 RK_PA1 2 &pcfg_pull_up_drv_8ma>,
698*f126890aSEmmanuel Vadot						<2 RK_PA2 2 &pcfg_pull_up_drv_8ma>,
699*f126890aSEmmanuel Vadot						<2 RK_PA3 2 &pcfg_pull_up_drv_8ma>,
700*f126890aSEmmanuel Vadot						<2 RK_PA4 2 &pcfg_pull_up_drv_8ma>,
701*f126890aSEmmanuel Vadot						<2 RK_PA5 2 &pcfg_pull_up_drv_8ma>,
702*f126890aSEmmanuel Vadot						<2 RK_PA6 2 &pcfg_pull_up_drv_8ma>,
703*f126890aSEmmanuel Vadot						<2 RK_PA7 2 &pcfg_pull_up_drv_8ma>;
704*f126890aSEmmanuel Vadot			};
705*f126890aSEmmanuel Vadot
706*f126890aSEmmanuel Vadot			emmc_clk: emmc-clk {
707*f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB6 1 &pcfg_pull_none_drv_8ma>;
708*f126890aSEmmanuel Vadot			};
709*f126890aSEmmanuel Vadot
710*f126890aSEmmanuel Vadot			emmc_cmd: emmc-cmd {
711*f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB4 2 &pcfg_pull_up_drv_8ma>;
712*f126890aSEmmanuel Vadot			};
713*f126890aSEmmanuel Vadot		};
714*f126890aSEmmanuel Vadot
715*f126890aSEmmanuel Vadot		sfc {
716*f126890aSEmmanuel Vadot			sfc_bus4: sfc-bus4 {
717*f126890aSEmmanuel Vadot				rockchip,pins =
718*f126890aSEmmanuel Vadot					<2 RK_PA0 3 &pcfg_pull_none>,
719*f126890aSEmmanuel Vadot					<2 RK_PA1 3 &pcfg_pull_none>,
720*f126890aSEmmanuel Vadot					<2 RK_PA2 3 &pcfg_pull_none>,
721*f126890aSEmmanuel Vadot					<2 RK_PA3 3 &pcfg_pull_none>;
722*f126890aSEmmanuel Vadot			};
723*f126890aSEmmanuel Vadot
724*f126890aSEmmanuel Vadot			sfc_bus2: sfc-bus2 {
725*f126890aSEmmanuel Vadot				rockchip,pins =
726*f126890aSEmmanuel Vadot					<2 RK_PA0 3 &pcfg_pull_none>,
727*f126890aSEmmanuel Vadot					<2 RK_PA1 3 &pcfg_pull_none>;
728*f126890aSEmmanuel Vadot			};
729*f126890aSEmmanuel Vadot
730*f126890aSEmmanuel Vadot			sfc_cs0: sfc-cs0 {
731*f126890aSEmmanuel Vadot				rockchip,pins =
732*f126890aSEmmanuel Vadot					<2 RK_PB4 3 &pcfg_pull_none>;
733*f126890aSEmmanuel Vadot			};
734*f126890aSEmmanuel Vadot
735*f126890aSEmmanuel Vadot			sfc_clk: sfc-clk {
736*f126890aSEmmanuel Vadot				rockchip,pins =
737*f126890aSEmmanuel Vadot					<2 RK_PB7 2 &pcfg_pull_none>;
738*f126890aSEmmanuel Vadot			};
739*f126890aSEmmanuel Vadot		};
740*f126890aSEmmanuel Vadot
741*f126890aSEmmanuel Vadot		gmac {
742*f126890aSEmmanuel Vadot			rmii_pins: rmii-pins {
743*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PC5 2 &pcfg_pull_none>,
744*f126890aSEmmanuel Vadot						<1 RK_PC3 2 &pcfg_pull_none>,
745*f126890aSEmmanuel Vadot						<1 RK_PC4 2 &pcfg_pull_none>,
746*f126890aSEmmanuel Vadot						<1 RK_PB2 3 &pcfg_pull_none_drv_12ma>,
747*f126890aSEmmanuel Vadot						<1 RK_PB3 3 &pcfg_pull_none_drv_12ma>,
748*f126890aSEmmanuel Vadot						<1 RK_PB4 3 &pcfg_pull_none_drv_12ma>,
749*f126890aSEmmanuel Vadot						<1 RK_PB5 3 &pcfg_pull_none>,
750*f126890aSEmmanuel Vadot						<1 RK_PB6 3 &pcfg_pull_none>,
751*f126890aSEmmanuel Vadot						<1 RK_PB7 3 &pcfg_pull_none>,
752*f126890aSEmmanuel Vadot						<1 RK_PC2 3 &pcfg_pull_none>;
753*f126890aSEmmanuel Vadot			};
754*f126890aSEmmanuel Vadot		};
755*f126890aSEmmanuel Vadot
756*f126890aSEmmanuel Vadot		i2c0 {
757*f126890aSEmmanuel Vadot			i2c0_xfer: i2c0-xfer {
758*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB1 1 &pcfg_pull_none_smt>,
759*f126890aSEmmanuel Vadot						<0 RK_PB2 1 &pcfg_pull_none_smt>;
760*f126890aSEmmanuel Vadot			};
761*f126890aSEmmanuel Vadot		};
762*f126890aSEmmanuel Vadot
763*f126890aSEmmanuel Vadot		i2c1 {
764*f126890aSEmmanuel Vadot			i2c1_xfer: i2c1-xfer {
765*f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PD3 1 &pcfg_pull_up>,
766*f126890aSEmmanuel Vadot						<2 RK_PD4 1 &pcfg_pull_up>;
767*f126890aSEmmanuel Vadot			};
768*f126890aSEmmanuel Vadot		};
769*f126890aSEmmanuel Vadot
770*f126890aSEmmanuel Vadot		i2c2m1 {
771*f126890aSEmmanuel Vadot			i2c2m1_xfer: i2c2m1-xfer {
772*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PC2 2 &pcfg_pull_none>,
773*f126890aSEmmanuel Vadot						<0 RK_PC6 3 &pcfg_pull_none>;
774*f126890aSEmmanuel Vadot			};
775*f126890aSEmmanuel Vadot
776*f126890aSEmmanuel Vadot			i2c2m1_pins: i2c2m1-pins {
777*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>,
778*f126890aSEmmanuel Vadot						<0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
779*f126890aSEmmanuel Vadot			};
780*f126890aSEmmanuel Vadot		};
781*f126890aSEmmanuel Vadot
782*f126890aSEmmanuel Vadot		i2c2m05v {
783*f126890aSEmmanuel Vadot			i2c2m05v_xfer: i2c2m05v-xfer {
784*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD5 2 &pcfg_pull_none>,
785*f126890aSEmmanuel Vadot						<1 RK_PD4 2 &pcfg_pull_none>;
786*f126890aSEmmanuel Vadot			};
787*f126890aSEmmanuel Vadot
788*f126890aSEmmanuel Vadot			i2c2m05v_pins: i2c2m05v-pins {
789*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,
790*f126890aSEmmanuel Vadot						<1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
791*f126890aSEmmanuel Vadot			};
792*f126890aSEmmanuel Vadot		};
793*f126890aSEmmanuel Vadot
794*f126890aSEmmanuel Vadot		i2c3 {
795*f126890aSEmmanuel Vadot			i2c3_xfer: i2c3-xfer {
796*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB6 1 &pcfg_pull_none>,
797*f126890aSEmmanuel Vadot						<0 RK_PC4 2 &pcfg_pull_none>;
798*f126890aSEmmanuel Vadot			};
799*f126890aSEmmanuel Vadot		};
800*f126890aSEmmanuel Vadot
801*f126890aSEmmanuel Vadot		pwm0 {
802*f126890aSEmmanuel Vadot			pwm0_pin: pwm0-pin {
803*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PC5 1 &pcfg_pull_none>;
804*f126890aSEmmanuel Vadot			};
805*f126890aSEmmanuel Vadot		};
806*f126890aSEmmanuel Vadot
807*f126890aSEmmanuel Vadot		pwm1 {
808*f126890aSEmmanuel Vadot			pwm1_pin: pwm1-pin {
809*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>;
810*f126890aSEmmanuel Vadot			};
811*f126890aSEmmanuel Vadot		};
812*f126890aSEmmanuel Vadot
813*f126890aSEmmanuel Vadot		pwm2 {
814*f126890aSEmmanuel Vadot			pwm2_pin: pwm2-pin {
815*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PC6 1 &pcfg_pull_none>;
816*f126890aSEmmanuel Vadot			};
817*f126890aSEmmanuel Vadot		};
818*f126890aSEmmanuel Vadot
819*f126890aSEmmanuel Vadot		pwm3 {
820*f126890aSEmmanuel Vadot			pwm3_pin: pwm3-pin {
821*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PC0 1 &pcfg_pull_none>;
822*f126890aSEmmanuel Vadot			};
823*f126890aSEmmanuel Vadot		};
824*f126890aSEmmanuel Vadot
825*f126890aSEmmanuel Vadot		pwm4 {
826*f126890aSEmmanuel Vadot			pwm4_pin: pwm4-pin {
827*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PC1 3 &pcfg_pull_none>;
828*f126890aSEmmanuel Vadot			};
829*f126890aSEmmanuel Vadot		};
830*f126890aSEmmanuel Vadot
831*f126890aSEmmanuel Vadot		pwm5 {
832*f126890aSEmmanuel Vadot			pwm5_pin: pwm5-pin {
833*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PA7 2 &pcfg_pull_none>;
834*f126890aSEmmanuel Vadot			};
835*f126890aSEmmanuel Vadot		};
836*f126890aSEmmanuel Vadot
837*f126890aSEmmanuel Vadot		pwm6 {
838*f126890aSEmmanuel Vadot			pwm6_pin: pwm6-pin {
839*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>;
840*f126890aSEmmanuel Vadot			};
841*f126890aSEmmanuel Vadot		};
842*f126890aSEmmanuel Vadot
843*f126890aSEmmanuel Vadot		pwm7 {
844*f126890aSEmmanuel Vadot			pwm7_pin: pwm7-pin {
845*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB1 2 &pcfg_pull_none>;
846*f126890aSEmmanuel Vadot			};
847*f126890aSEmmanuel Vadot		};
848*f126890aSEmmanuel Vadot
849*f126890aSEmmanuel Vadot		sdmmc {
850*f126890aSEmmanuel Vadot			sdmmc_clk: sdmmc-clk {
851*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PC4 1 &pcfg_pull_none_drv_4ma>;
852*f126890aSEmmanuel Vadot			};
853*f126890aSEmmanuel Vadot
854*f126890aSEmmanuel Vadot			sdmmc_cmd: sdmmc-cmd {
855*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PC5 1 &pcfg_pull_up_drv_4ma>;
856*f126890aSEmmanuel Vadot			};
857*f126890aSEmmanuel Vadot
858*f126890aSEmmanuel Vadot			sdmmc_cd: sdmmc-cd {
859*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA1 1 &pcfg_pull_up_drv_4ma>;
860*f126890aSEmmanuel Vadot			};
861*f126890aSEmmanuel Vadot
862*f126890aSEmmanuel Vadot			sdmmc_bus1: sdmmc-bus1 {
863*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PC3 1 &pcfg_pull_up_drv_4ma>;
864*f126890aSEmmanuel Vadot			};
865*f126890aSEmmanuel Vadot
866*f126890aSEmmanuel Vadot			sdmmc_bus4: sdmmc-bus4 {
867*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PC3 1 &pcfg_pull_up_drv_4ma>,
868*f126890aSEmmanuel Vadot						<3 RK_PC2 1 &pcfg_pull_up_drv_4ma>,
869*f126890aSEmmanuel Vadot						<3 RK_PC1 1 &pcfg_pull_up_drv_4ma>,
870*f126890aSEmmanuel Vadot						<3 RK_PC0 1 &pcfg_pull_up_drv_4ma>;
871*f126890aSEmmanuel Vadot			};
872*f126890aSEmmanuel Vadot		};
873*f126890aSEmmanuel Vadot
874*f126890aSEmmanuel Vadot		spim0 {
875*f126890aSEmmanuel Vadot			spim0_clk: spim0-clk {
876*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_up>;
877*f126890aSEmmanuel Vadot			};
878*f126890aSEmmanuel Vadot
879*f126890aSEmmanuel Vadot			spim0_cs0: spim0-cs0 {
880*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD1 2 &pcfg_pull_up>;
881*f126890aSEmmanuel Vadot			};
882*f126890aSEmmanuel Vadot
883*f126890aSEmmanuel Vadot			spim0_tx: spim0-tx {
884*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD3 2 &pcfg_pull_up>;
885*f126890aSEmmanuel Vadot			};
886*f126890aSEmmanuel Vadot
887*f126890aSEmmanuel Vadot			spim0_rx: spim0-rx {
888*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up>;
889*f126890aSEmmanuel Vadot			};
890*f126890aSEmmanuel Vadot		};
891*f126890aSEmmanuel Vadot
892*f126890aSEmmanuel Vadot		spim1 {
893*f126890aSEmmanuel Vadot			spim1_clk: spim1-clk {
894*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA3 1 &pcfg_pull_up>;
895*f126890aSEmmanuel Vadot			};
896*f126890aSEmmanuel Vadot
897*f126890aSEmmanuel Vadot			spim1_cs0: spim1-cs0 {
898*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA4 1 &pcfg_pull_up>;
899*f126890aSEmmanuel Vadot			};
900*f126890aSEmmanuel Vadot
901*f126890aSEmmanuel Vadot			spim1_rx: spim1-rx {
902*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB0 1 &pcfg_pull_up>;
903*f126890aSEmmanuel Vadot			};
904*f126890aSEmmanuel Vadot
905*f126890aSEmmanuel Vadot			spim1_tx: spim1-tx {
906*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA7 1 &pcfg_pull_up>;
907*f126890aSEmmanuel Vadot			};
908*f126890aSEmmanuel Vadot		};
909*f126890aSEmmanuel Vadot
910*f126890aSEmmanuel Vadot		tsadc {
911*f126890aSEmmanuel Vadot			otp_out: otp-out {
912*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>;
913*f126890aSEmmanuel Vadot			};
914*f126890aSEmmanuel Vadot
915*f126890aSEmmanuel Vadot			otp_pin: otp-pin {
916*f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
917*f126890aSEmmanuel Vadot			};
918*f126890aSEmmanuel Vadot		};
919*f126890aSEmmanuel Vadot
920*f126890aSEmmanuel Vadot		uart0 {
921*f126890aSEmmanuel Vadot			uart0_xfer: uart0-xfer {
922*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PA6 1 &pcfg_pull_up>,
923*f126890aSEmmanuel Vadot						<3 RK_PA5 1 &pcfg_pull_none>;
924*f126890aSEmmanuel Vadot			};
925*f126890aSEmmanuel Vadot
926*f126890aSEmmanuel Vadot			uart0_cts: uart0-cts {
927*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PA4 1 &pcfg_pull_none>;
928*f126890aSEmmanuel Vadot			};
929*f126890aSEmmanuel Vadot
930*f126890aSEmmanuel Vadot			uart0_rts: uart0-rts {
931*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PA3 1 &pcfg_pull_none>;
932*f126890aSEmmanuel Vadot			};
933*f126890aSEmmanuel Vadot
934*f126890aSEmmanuel Vadot			uart0_rts_pin: uart0-rts-pin {
935*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
936*f126890aSEmmanuel Vadot			};
937*f126890aSEmmanuel Vadot		};
938*f126890aSEmmanuel Vadot
939*f126890aSEmmanuel Vadot		uart1 {
940*f126890aSEmmanuel Vadot			uart1_xfer: uart1-xfer {
941*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD3 1 &pcfg_pull_up>,
942*f126890aSEmmanuel Vadot						<1 RK_PD2 1 &pcfg_pull_none>;
943*f126890aSEmmanuel Vadot			};
944*f126890aSEmmanuel Vadot
945*f126890aSEmmanuel Vadot			uart1_cts: uart1-cts {
946*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>;
947*f126890aSEmmanuel Vadot			};
948*f126890aSEmmanuel Vadot
949*f126890aSEmmanuel Vadot			uart1_rts: uart1-rts {
950*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD1 1 &pcfg_pull_none>;
951*f126890aSEmmanuel Vadot			};
952*f126890aSEmmanuel Vadot		};
953*f126890aSEmmanuel Vadot
954*f126890aSEmmanuel Vadot		uart2m0 {
955*f126890aSEmmanuel Vadot			uart2m0_xfer: uart2m0-xfer {
956*f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PD2 1 &pcfg_pull_up>,
957*f126890aSEmmanuel Vadot						<2 RK_PD1 1 &pcfg_pull_none>;
958*f126890aSEmmanuel Vadot			};
959*f126890aSEmmanuel Vadot		};
960*f126890aSEmmanuel Vadot
961*f126890aSEmmanuel Vadot		uart2m1 {
962*f126890aSEmmanuel Vadot			uart2m1_xfer: uart2m1-xfer {
963*f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PC3 2 &pcfg_pull_up>,
964*f126890aSEmmanuel Vadot						<3 RK_PC2 2 &pcfg_pull_none>;
965*f126890aSEmmanuel Vadot			};
966*f126890aSEmmanuel Vadot		};
967*f126890aSEmmanuel Vadot
968*f126890aSEmmanuel Vadot		uart2_5v {
969*f126890aSEmmanuel Vadot			uart2_5v_cts: uart2_5v-cts {
970*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD4 1 &pcfg_pull_none>;
971*f126890aSEmmanuel Vadot			};
972*f126890aSEmmanuel Vadot
973*f126890aSEmmanuel Vadot			uart2_5v_rts: uart2_5v-rts {
974*f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD5 1 &pcfg_pull_none>;
975*f126890aSEmmanuel Vadot			};
976*f126890aSEmmanuel Vadot		};
977*f126890aSEmmanuel Vadot	};
978*f126890aSEmmanuel Vadot};
979