xref: /linux/arch/arm/boot/dts/rockchip/rk3128.dtsi (revision 5ca860fb438bafdf8501567b320239ea99910748)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+
2724ba675SRob Herring/*
3724ba675SRob Herring * (C) Copyright 2017 Rockchip Electronics Co., Ltd
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring#include <dt-bindings/clock/rk3128-cru.h>
7724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
8724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
9724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
10724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h>
11edc4802dSAlex Bee#include <dt-bindings/power/rk3128-power.h>
12724ba675SRob Herring
13724ba675SRob Herring/ {
14724ba675SRob Herring	compatible = "rockchip,rk3128";
15724ba675SRob Herring	interrupt-parent = <&gic>;
16724ba675SRob Herring	#address-cells = <1>;
17724ba675SRob Herring	#size-cells = <1>;
18724ba675SRob Herring
19*5ca860fbSAlex Bee	aliases {
20*5ca860fbSAlex Bee		gpio0 = &gpio0;
21*5ca860fbSAlex Bee		gpio1 = &gpio1;
22*5ca860fbSAlex Bee		gpio2 = &gpio2;
23*5ca860fbSAlex Bee		gpio3 = &gpio3;
24*5ca860fbSAlex Bee	};
25*5ca860fbSAlex Bee
26724ba675SRob Herring	arm-pmu {
27724ba675SRob Herring		compatible = "arm,cortex-a7-pmu";
28724ba675SRob Herring		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
29724ba675SRob Herring			     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
30724ba675SRob Herring			     <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
31724ba675SRob Herring			     <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
32724ba675SRob Herring		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
33724ba675SRob Herring	};
34724ba675SRob Herring
35724ba675SRob Herring	cpus {
36724ba675SRob Herring		#address-cells = <1>;
37724ba675SRob Herring		#size-cells = <0>;
38da8b9739SAlex Bee		enable-method = "rockchip,rk3036-smp";
39724ba675SRob Herring
40724ba675SRob Herring		cpu0: cpu@f00 {
41724ba675SRob Herring			device_type = "cpu";
42724ba675SRob Herring			compatible = "arm,cortex-a7";
43724ba675SRob Herring			reg = <0xf00>;
44724ba675SRob Herring			clock-latency = <40000>;
45724ba675SRob Herring			clocks = <&cru ARMCLK>;
4602941bc2SAlex Bee			resets = <&cru SRST_CORE0>;
47c96b13d7SAlex Bee			operating-points-v2 = <&cpu_opp_table>;
48724ba675SRob Herring			#cooling-cells = <2>; /* min followed by max */
49724ba675SRob Herring		};
50724ba675SRob Herring
51724ba675SRob Herring		cpu1: cpu@f01 {
52724ba675SRob Herring			device_type = "cpu";
53724ba675SRob Herring			compatible = "arm,cortex-a7";
54724ba675SRob Herring			reg = <0xf01>;
5502941bc2SAlex Bee			resets = <&cru SRST_CORE1>;
56c96b13d7SAlex Bee			operating-points-v2 = <&cpu_opp_table>;
57724ba675SRob Herring		};
58724ba675SRob Herring
59724ba675SRob Herring		cpu2: cpu@f02 {
60724ba675SRob Herring			device_type = "cpu";
61724ba675SRob Herring			compatible = "arm,cortex-a7";
62724ba675SRob Herring			reg = <0xf02>;
6302941bc2SAlex Bee			resets = <&cru SRST_CORE2>;
64c96b13d7SAlex Bee			operating-points-v2 = <&cpu_opp_table>;
65724ba675SRob Herring		};
66724ba675SRob Herring
67724ba675SRob Herring		cpu3: cpu@f03 {
68724ba675SRob Herring			device_type = "cpu";
69724ba675SRob Herring			compatible = "arm,cortex-a7";
70724ba675SRob Herring			reg = <0xf03>;
7102941bc2SAlex Bee			resets = <&cru SRST_CORE3>;
72c96b13d7SAlex Bee			operating-points-v2 = <&cpu_opp_table>;
73c96b13d7SAlex Bee		};
74c96b13d7SAlex Bee	};
75c96b13d7SAlex Bee
76c96b13d7SAlex Bee	cpu_opp_table: opp-table-0 {
77c96b13d7SAlex Bee		compatible = "operating-points-v2";
78c96b13d7SAlex Bee		opp-shared;
79c96b13d7SAlex Bee
80c96b13d7SAlex Bee		opp-216000000 {
81c96b13d7SAlex Bee			opp-hz = /bits/ 64 <216000000>;
82c96b13d7SAlex Bee			opp-microvolt = <950000 950000 1325000>;
83c96b13d7SAlex Bee		};
84c96b13d7SAlex Bee		opp-408000000 {
85c96b13d7SAlex Bee			opp-hz = /bits/ 64 <408000000>;
86c96b13d7SAlex Bee			opp-microvolt = <950000 950000 1325000>;
87c96b13d7SAlex Bee		};
88c96b13d7SAlex Bee		opp-600000000 {
89c96b13d7SAlex Bee			opp-hz = /bits/ 64 <600000000>;
90c96b13d7SAlex Bee			opp-microvolt = <950000 950000 1325000>;
91c96b13d7SAlex Bee		};
92c96b13d7SAlex Bee		opp-696000000 {
93c96b13d7SAlex Bee			opp-hz = /bits/ 64 <696000000>;
94c96b13d7SAlex Bee			opp-microvolt = <975000 975000 1325000>;
95c96b13d7SAlex Bee		};
96c96b13d7SAlex Bee		opp-816000000 {
97c96b13d7SAlex Bee			opp-hz = /bits/ 64 <816000000>;
98c96b13d7SAlex Bee			opp-microvolt = <1075000 1075000 1325000>;
99c96b13d7SAlex Bee			opp-suspend;
100c96b13d7SAlex Bee		};
101c96b13d7SAlex Bee		opp-1008000000 {
102c96b13d7SAlex Bee			opp-hz = /bits/ 64 <1008000000>;
103c96b13d7SAlex Bee			opp-microvolt = <1200000 1200000 1325000>;
104c96b13d7SAlex Bee		};
105c96b13d7SAlex Bee		opp-1200000000 {
106c96b13d7SAlex Bee			opp-hz = /bits/ 64 <1200000000>;
107c96b13d7SAlex Bee			opp-microvolt = <1325000 1325000 1325000>;
108724ba675SRob Herring		};
109724ba675SRob Herring	};
110724ba675SRob Herring
1119ca8b8f8SAlex Bee	gpu_opp_table: opp-table-1 {
1129ca8b8f8SAlex Bee		compatible = "operating-points-v2";
1139ca8b8f8SAlex Bee
1149ca8b8f8SAlex Bee		opp-200000000 {
1159ca8b8f8SAlex Bee			opp-hz = /bits/ 64 <200000000>;
1169ca8b8f8SAlex Bee			opp-microvolt = <975000 975000 1250000>;
1179ca8b8f8SAlex Bee		};
1189ca8b8f8SAlex Bee		opp-300000000 {
1199ca8b8f8SAlex Bee			opp-hz = /bits/ 64 <300000000>;
1209ca8b8f8SAlex Bee			opp-microvolt = <1050000 1050000 1250000>;
1219ca8b8f8SAlex Bee		};
1229ca8b8f8SAlex Bee		opp-400000000 {
1239ca8b8f8SAlex Bee			opp-hz = /bits/ 64 <400000000>;
1249ca8b8f8SAlex Bee			opp-microvolt = <1150000 1150000 1250000>;
1259ca8b8f8SAlex Bee		};
1269ca8b8f8SAlex Bee		opp-480000000 {
1279ca8b8f8SAlex Bee			opp-hz = /bits/ 64 <480000000>;
1289ca8b8f8SAlex Bee			opp-microvolt = <1250000 1250000 1250000>;
1299ca8b8f8SAlex Bee		};
1309ca8b8f8SAlex Bee	};
1319ca8b8f8SAlex Bee
132724ba675SRob Herring	timer {
133724ba675SRob Herring		compatible = "arm,armv7-timer";
134724ba675SRob Herring		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
135724ba675SRob Herring			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
1367e3be9eaSAlex Bee			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
1377e3be9eaSAlex Bee			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
138724ba675SRob Herring		arm,cpu-registers-not-fw-configured;
139724ba675SRob Herring		clock-frequency = <24000000>;
140724ba675SRob Herring	};
141724ba675SRob Herring
142724ba675SRob Herring	xin24m: oscillator {
143724ba675SRob Herring		compatible = "fixed-clock";
144724ba675SRob Herring		clock-frequency = <24000000>;
145724ba675SRob Herring		clock-output-names = "xin24m";
146724ba675SRob Herring		#clock-cells = <0>;
147724ba675SRob Herring	};
148724ba675SRob Herring
1499107283bSAlex Bee	imem: sram@10080000 {
1509107283bSAlex Bee		compatible = "mmio-sram";
1519107283bSAlex Bee		reg = <0x10080000 0x2000>;
1529107283bSAlex Bee		#address-cells = <1>;
1539107283bSAlex Bee		#size-cells = <1>;
1549107283bSAlex Bee		ranges = <0 0x10080000 0x2000>;
155da8b9739SAlex Bee
156da8b9739SAlex Bee		smp-sram@0 {
157da8b9739SAlex Bee			compatible = "rockchip,rk3066-smp-sram";
158da8b9739SAlex Bee			reg = <0x00 0x10>;
159da8b9739SAlex Bee		};
1609107283bSAlex Bee	};
1619107283bSAlex Bee
1629ca8b8f8SAlex Bee	gpu: gpu@10090000 {
1639ca8b8f8SAlex Bee		compatible = "rockchip,rk3128-mali", "arm,mali-400";
1649ca8b8f8SAlex Bee		reg = <0x10090000 0x10000>;
1659ca8b8f8SAlex Bee		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1669ca8b8f8SAlex Bee			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1679ca8b8f8SAlex Bee			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
1689ca8b8f8SAlex Bee			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1699ca8b8f8SAlex Bee			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
1709ca8b8f8SAlex Bee			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1719ca8b8f8SAlex Bee		interrupt-names = "gp",
1729ca8b8f8SAlex Bee				  "gpmmu",
1739ca8b8f8SAlex Bee				  "pp0",
1749ca8b8f8SAlex Bee				  "ppmmu0",
1759ca8b8f8SAlex Bee				  "pp1",
1769ca8b8f8SAlex Bee				  "ppmmu1";
1779ca8b8f8SAlex Bee		clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
1789ca8b8f8SAlex Bee		clock-names = "bus", "core";
1799ca8b8f8SAlex Bee		operating-points-v2 = <&gpu_opp_table>;
1809ca8b8f8SAlex Bee		resets = <&cru SRST_GPU>;
1819ca8b8f8SAlex Bee		power-domains = <&power RK3128_PD_GPU>;
1829ca8b8f8SAlex Bee		status = "disabled";
1839ca8b8f8SAlex Bee	};
1849ca8b8f8SAlex Bee
185724ba675SRob Herring	pmu: syscon@100a0000 {
186724ba675SRob Herring		compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd";
187724ba675SRob Herring		reg = <0x100a0000 0x1000>;
188edc4802dSAlex Bee
189edc4802dSAlex Bee		power: power-controller {
190edc4802dSAlex Bee			compatible = "rockchip,rk3128-power-controller";
191edc4802dSAlex Bee			#power-domain-cells = <1>;
192edc4802dSAlex Bee			#address-cells = <1>;
193edc4802dSAlex Bee			#size-cells = <0>;
194edc4802dSAlex Bee
195edc4802dSAlex Bee			power-domain@RK3128_PD_VIO {
196edc4802dSAlex Bee				reg = <RK3128_PD_VIO>;
197edc4802dSAlex Bee				clocks = <&cru ACLK_CIF>,
198edc4802dSAlex Bee					 <&cru HCLK_CIF>,
199edc4802dSAlex Bee					 <&cru DCLK_EBC>,
200edc4802dSAlex Bee					 <&cru HCLK_EBC>,
201edc4802dSAlex Bee					 <&cru ACLK_IEP>,
202edc4802dSAlex Bee					 <&cru HCLK_IEP>,
203edc4802dSAlex Bee					 <&cru ACLK_LCDC0>,
204edc4802dSAlex Bee					 <&cru HCLK_LCDC0>,
205edc4802dSAlex Bee					 <&cru PCLK_MIPI>,
206edc4802dSAlex Bee					 <&cru ACLK_RGA>,
207edc4802dSAlex Bee					 <&cru HCLK_RGA>,
208edc4802dSAlex Bee					 <&cru ACLK_VIO0>,
209edc4802dSAlex Bee					 <&cru ACLK_VIO1>,
210edc4802dSAlex Bee					 <&cru HCLK_VIO>,
211edc4802dSAlex Bee					 <&cru HCLK_VIO_H2P>,
212edc4802dSAlex Bee					 <&cru DCLK_VOP>,
213edc4802dSAlex Bee					 <&cru SCLK_VOP>;
214edc4802dSAlex Bee				pm_qos = <&qos_ebc>,
215edc4802dSAlex Bee					 <&qos_iep>,
216edc4802dSAlex Bee					 <&qos_lcdc>,
217edc4802dSAlex Bee					 <&qos_rga>,
218edc4802dSAlex Bee					 <&qos_vip>;
219edc4802dSAlex Bee				#power-domain-cells = <0>;
220edc4802dSAlex Bee			};
221edc4802dSAlex Bee
222edc4802dSAlex Bee			power-domain@RK3128_PD_VIDEO {
223edc4802dSAlex Bee				reg = <RK3128_PD_VIDEO>;
224edc4802dSAlex Bee				clocks = <&cru ACLK_VDPU>,
225edc4802dSAlex Bee					 <&cru HCLK_VDPU>,
226edc4802dSAlex Bee					 <&cru ACLK_VEPU>,
227edc4802dSAlex Bee					 <&cru HCLK_VEPU>,
228edc4802dSAlex Bee					 <&cru SCLK_HEVC_CORE>;
229edc4802dSAlex Bee				pm_qos = <&qos_vpu>;
230edc4802dSAlex Bee				#power-domain-cells = <0>;
231edc4802dSAlex Bee			};
232edc4802dSAlex Bee
233edc4802dSAlex Bee			power-domain@RK3128_PD_GPU {
234edc4802dSAlex Bee				reg = <RK3128_PD_GPU>;
235edc4802dSAlex Bee				clocks = <&cru ACLK_GPU>;
236edc4802dSAlex Bee				pm_qos = <&qos_gpu>;
237edc4802dSAlex Bee				#power-domain-cells = <0>;
238edc4802dSAlex Bee			};
239edc4802dSAlex Bee		};
240edc4802dSAlex Bee	};
241edc4802dSAlex Bee
242edc4802dSAlex Bee	qos_gpu: qos@1012d000 {
243edc4802dSAlex Bee		compatible = "rockchip,rk3128-qos", "syscon";
244edc4802dSAlex Bee		reg = <0x1012d000 0x20>;
245edc4802dSAlex Bee	};
246edc4802dSAlex Bee
247edc4802dSAlex Bee	qos_vpu: qos@1012e000 {
248edc4802dSAlex Bee		compatible = "rockchip,rk3128-qos", "syscon";
249edc4802dSAlex Bee		reg = <0x1012e000 0x20>;
250edc4802dSAlex Bee	};
251edc4802dSAlex Bee
252edc4802dSAlex Bee	qos_rga: qos@1012f000 {
253edc4802dSAlex Bee		compatible = "rockchip,rk3128-qos", "syscon";
254edc4802dSAlex Bee		reg = <0x1012f000 0x20>;
255edc4802dSAlex Bee	};
256edc4802dSAlex Bee
257edc4802dSAlex Bee	qos_ebc: qos@1012f080 {
258edc4802dSAlex Bee		compatible = "rockchip,rk3128-qos", "syscon";
259edc4802dSAlex Bee		reg = <0x1012f080 0x20>;
260edc4802dSAlex Bee	};
261edc4802dSAlex Bee
262edc4802dSAlex Bee	qos_iep: qos@1012f100 {
263edc4802dSAlex Bee		compatible = "rockchip,rk3128-qos", "syscon";
264edc4802dSAlex Bee		reg = <0x1012f100 0x20>;
265edc4802dSAlex Bee	};
266edc4802dSAlex Bee
267edc4802dSAlex Bee	qos_lcdc: qos@1012f180 {
268edc4802dSAlex Bee		compatible = "rockchip,rk3128-qos", "syscon";
269edc4802dSAlex Bee		reg = <0x1012f180 0x20>;
270edc4802dSAlex Bee	};
271edc4802dSAlex Bee
272edc4802dSAlex Bee	qos_vip: qos@1012f200 {
273edc4802dSAlex Bee		compatible = "rockchip,rk3128-qos", "syscon";
274edc4802dSAlex Bee		reg = <0x1012f200 0x20>;
275724ba675SRob Herring	};
276724ba675SRob Herring
277724ba675SRob Herring	gic: interrupt-controller@10139000 {
278724ba675SRob Herring		compatible = "arm,cortex-a7-gic";
279724ba675SRob Herring		reg = <0x10139000 0x1000>,
280724ba675SRob Herring		      <0x1013a000 0x1000>,
281724ba675SRob Herring		      <0x1013c000 0x2000>,
282724ba675SRob Herring		      <0x1013e000 0x2000>;
283724ba675SRob Herring		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
284724ba675SRob Herring		interrupt-controller;
285724ba675SRob Herring		#interrupt-cells = <3>;
286724ba675SRob Herring		#address-cells = <0>;
287724ba675SRob Herring	};
288724ba675SRob Herring
289724ba675SRob Herring	usb_otg: usb@10180000 {
290724ba675SRob Herring		compatible = "rockchip,rk3128-usb", "rockchip,rk3066-usb", "snps,dwc2";
291724ba675SRob Herring		reg = <0x10180000 0x40000>;
292724ba675SRob Herring		interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
293724ba675SRob Herring		clocks = <&cru HCLK_OTG>;
294724ba675SRob Herring		clock-names = "otg";
295724ba675SRob Herring		dr_mode = "otg";
2964b12245eSAlex Bee		g-np-tx-fifo-size = <16>;
2974b12245eSAlex Bee		g-rx-fifo-size = <280>;
2984b12245eSAlex Bee		g-tx-fifo-size = <256 128 128 64 32 16>;
299724ba675SRob Herring		phys = <&usb2phy_otg>;
300724ba675SRob Herring		phy-names = "usb2-phy";
301724ba675SRob Herring		status = "disabled";
302724ba675SRob Herring	};
303724ba675SRob Herring
304724ba675SRob Herring	usb_host_ehci: usb@101c0000 {
305724ba675SRob Herring		compatible = "generic-ehci";
306724ba675SRob Herring		reg = <0x101c0000 0x20000>;
307724ba675SRob Herring		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
308759d6bd9SAlex Bee		clocks = <&cru HCLK_HOST2>;
309724ba675SRob Herring		phys = <&usb2phy_host>;
310724ba675SRob Herring		phy-names = "usb";
311724ba675SRob Herring		status = "disabled";
312724ba675SRob Herring	};
313724ba675SRob Herring
314724ba675SRob Herring	usb_host_ohci: usb@101e0000 {
315724ba675SRob Herring		compatible = "generic-ohci";
316724ba675SRob Herring		reg = <0x101e0000 0x20000>;
317724ba675SRob Herring		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
318759d6bd9SAlex Bee		clocks = <&cru HCLK_HOST2>;
319724ba675SRob Herring		phys = <&usb2phy_host>;
320724ba675SRob Herring		phy-names = "usb";
321724ba675SRob Herring		status = "disabled";
322724ba675SRob Herring	};
323724ba675SRob Herring
324724ba675SRob Herring	sdmmc: mmc@10214000 {
325724ba675SRob Herring		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
326724ba675SRob Herring		reg = <0x10214000 0x4000>;
327724ba675SRob Herring		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
328724ba675SRob Herring		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
329724ba675SRob Herring			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
330724ba675SRob Herring		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
331724ba675SRob Herring		dmas = <&pdma 10>;
332724ba675SRob Herring		dma-names = "rx-tx";
333724ba675SRob Herring		fifo-depth = <256>;
334724ba675SRob Herring		max-frequency = <150000000>;
335724ba675SRob Herring		resets = <&cru SRST_SDMMC>;
336724ba675SRob Herring		reset-names = "reset";
337724ba675SRob Herring		status = "disabled";
338724ba675SRob Herring	};
339724ba675SRob Herring
340724ba675SRob Herring	sdio: mmc@10218000 {
341724ba675SRob Herring		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
342724ba675SRob Herring		reg = <0x10218000 0x4000>;
343724ba675SRob Herring		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
344724ba675SRob Herring		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
345724ba675SRob Herring			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
346724ba675SRob Herring		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
347724ba675SRob Herring		dmas = <&pdma 11>;
348724ba675SRob Herring		dma-names = "rx-tx";
349724ba675SRob Herring		fifo-depth = <256>;
350724ba675SRob Herring		max-frequency = <150000000>;
351724ba675SRob Herring		resets = <&cru SRST_SDIO>;
352724ba675SRob Herring		reset-names = "reset";
353724ba675SRob Herring		status = "disabled";
354724ba675SRob Herring	};
355724ba675SRob Herring
356724ba675SRob Herring	emmc: mmc@1021c000 {
357724ba675SRob Herring		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
358724ba675SRob Herring		reg = <0x1021c000 0x4000>;
359724ba675SRob Herring		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
360724ba675SRob Herring		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
361724ba675SRob Herring			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
362724ba675SRob Herring		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
363724ba675SRob Herring		dmas = <&pdma 12>;
364724ba675SRob Herring		dma-names = "rx-tx";
365724ba675SRob Herring		fifo-depth = <256>;
366724ba675SRob Herring		max-frequency = <150000000>;
367724ba675SRob Herring		resets = <&cru SRST_EMMC>;
368724ba675SRob Herring		reset-names = "reset";
369724ba675SRob Herring		status = "disabled";
370724ba675SRob Herring	};
371724ba675SRob Herring
372724ba675SRob Herring	nfc: nand-controller@10500000 {
373724ba675SRob Herring		compatible = "rockchip,rk3128-nfc", "rockchip,rk2928-nfc";
374724ba675SRob Herring		reg = <0x10500000 0x4000>;
375724ba675SRob Herring		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
376724ba675SRob Herring		clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
377724ba675SRob Herring		clock-names = "ahb", "nfc";
378724ba675SRob Herring		pinctrl-names = "default";
379724ba675SRob Herring		pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0
380724ba675SRob Herring			     &flash_dqs &flash_rdn &flash_rdy &flash_wrn>;
381724ba675SRob Herring		status = "disabled";
382724ba675SRob Herring	};
383724ba675SRob Herring
384724ba675SRob Herring	cru: clock-controller@20000000 {
385724ba675SRob Herring		compatible = "rockchip,rk3128-cru";
386724ba675SRob Herring		reg = <0x20000000 0x1000>;
387724ba675SRob Herring		clocks = <&xin24m>;
388724ba675SRob Herring		clock-names = "xin24m";
389724ba675SRob Herring		rockchip,grf = <&grf>;
390724ba675SRob Herring		#clock-cells = <1>;
391724ba675SRob Herring		#reset-cells = <1>;
392724ba675SRob Herring		assigned-clocks = <&cru PLL_GPLL>;
393724ba675SRob Herring		assigned-clock-rates = <594000000>;
394724ba675SRob Herring	};
395724ba675SRob Herring
396724ba675SRob Herring	grf: syscon@20008000 {
397724ba675SRob Herring		compatible = "rockchip,rk3128-grf", "syscon", "simple-mfd";
398724ba675SRob Herring		reg = <0x20008000 0x1000>;
399724ba675SRob Herring		#address-cells = <1>;
400724ba675SRob Herring		#size-cells = <1>;
401724ba675SRob Herring
402724ba675SRob Herring		usb2phy: usb2phy@17c {
403724ba675SRob Herring			compatible = "rockchip,rk3128-usb2phy";
404724ba675SRob Herring			reg = <0x017c 0x0c>;
405724ba675SRob Herring			clocks = <&cru SCLK_OTGPHY0>;
406724ba675SRob Herring			clock-names = "phyclk";
407724ba675SRob Herring			clock-output-names = "usb480m_phy";
408fd610e60SAlex Bee			assigned-clocks = <&cru SCLK_USB480M>;
409fd610e60SAlex Bee			assigned-clock-parents = <&usb2phy>;
410724ba675SRob Herring			#clock-cells = <0>;
411724ba675SRob Herring			status = "disabled";
412724ba675SRob Herring
413724ba675SRob Herring			usb2phy_host: host-port {
414724ba675SRob Herring				interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
415724ba675SRob Herring				interrupt-names = "linestate";
416724ba675SRob Herring				#phy-cells = <0>;
417724ba675SRob Herring				status = "disabled";
418724ba675SRob Herring			};
419724ba675SRob Herring
420724ba675SRob Herring			usb2phy_otg: otg-port {
421724ba675SRob Herring				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
422724ba675SRob Herring					     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
423724ba675SRob Herring					     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
424724ba675SRob Herring				interrupt-names = "otg-bvalid", "otg-id",
425724ba675SRob Herring						  "linestate";
426724ba675SRob Herring				#phy-cells = <0>;
427724ba675SRob Herring				status = "disabled";
428724ba675SRob Herring			};
429724ba675SRob Herring		};
430724ba675SRob Herring	};
431724ba675SRob Herring
432724ba675SRob Herring	timer0: timer@20044000 {
433724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
434724ba675SRob Herring		reg = <0x20044000 0x20>;
435724ba675SRob Herring		interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
4362c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
437724ba675SRob Herring		clock-names = "pclk", "timer";
438724ba675SRob Herring	};
439724ba675SRob Herring
440724ba675SRob Herring	timer1: timer@20044020 {
441724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
442724ba675SRob Herring		reg = <0x20044020 0x20>;
443724ba675SRob Herring		interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
4442c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER1>;
445724ba675SRob Herring		clock-names = "pclk", "timer";
446724ba675SRob Herring	};
447724ba675SRob Herring
448724ba675SRob Herring	timer2: timer@20044040 {
449724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
450724ba675SRob Herring		reg = <0x20044040 0x20>;
451724ba675SRob Herring		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
4522c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER2>;
453724ba675SRob Herring		clock-names = "pclk", "timer";
454724ba675SRob Herring	};
455724ba675SRob Herring
456724ba675SRob Herring	timer3: timer@20044060 {
457724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
458724ba675SRob Herring		reg = <0x20044060 0x20>;
459724ba675SRob Herring		interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
4602c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER3>;
461724ba675SRob Herring		clock-names = "pclk", "timer";
462724ba675SRob Herring	};
463724ba675SRob Herring
464724ba675SRob Herring	timer4: timer@20044080 {
465724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
466724ba675SRob Herring		reg = <0x20044080 0x20>;
467724ba675SRob Herring		interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
4682c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>;
469724ba675SRob Herring		clock-names = "pclk", "timer";
470724ba675SRob Herring	};
471724ba675SRob Herring
472724ba675SRob Herring	timer5: timer@200440a0 {
473724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
474724ba675SRob Herring		reg = <0x200440a0 0x20>;
475724ba675SRob Herring		interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
4762c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER5>;
477724ba675SRob Herring		clock-names = "pclk", "timer";
478724ba675SRob Herring	};
479724ba675SRob Herring
480724ba675SRob Herring	watchdog: watchdog@2004c000 {
481724ba675SRob Herring		compatible = "rockchip,rk3128-wdt", "snps,dw-wdt";
482724ba675SRob Herring		reg = <0x2004c000 0x100>;
483724ba675SRob Herring		interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
484724ba675SRob Herring		clocks = <&cru PCLK_WDT>;
485724ba675SRob Herring		status = "disabled";
486724ba675SRob Herring	};
487724ba675SRob Herring
488724ba675SRob Herring	pwm0: pwm@20050000 {
489724ba675SRob Herring		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
490724ba675SRob Herring		reg = <0x20050000 0x10>;
491724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
492724ba675SRob Herring		pinctrl-names = "default";
493724ba675SRob Herring		pinctrl-0 = <&pwm0_pin>;
494724ba675SRob Herring		#pwm-cells = <3>;
495724ba675SRob Herring		status = "disabled";
496724ba675SRob Herring	};
497724ba675SRob Herring
498724ba675SRob Herring	pwm1: pwm@20050010 {
499724ba675SRob Herring		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
500724ba675SRob Herring		reg = <0x20050010 0x10>;
501724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
502724ba675SRob Herring		pinctrl-names = "default";
503724ba675SRob Herring		pinctrl-0 = <&pwm1_pin>;
504724ba675SRob Herring		#pwm-cells = <3>;
505724ba675SRob Herring		status = "disabled";
506724ba675SRob Herring	};
507724ba675SRob Herring
508724ba675SRob Herring	pwm2: pwm@20050020 {
509724ba675SRob Herring		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
510724ba675SRob Herring		reg = <0x20050020 0x10>;
511724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
512724ba675SRob Herring		pinctrl-names = "default";
513724ba675SRob Herring		pinctrl-0 = <&pwm2_pin>;
514724ba675SRob Herring		#pwm-cells = <3>;
515724ba675SRob Herring		status = "disabled";
516724ba675SRob Herring	};
517724ba675SRob Herring
518724ba675SRob Herring	pwm3: pwm@20050030 {
519724ba675SRob Herring		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
520724ba675SRob Herring		reg = <0x20050030 0x10>;
521724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
522724ba675SRob Herring		pinctrl-names = "default";
523724ba675SRob Herring		pinctrl-0 = <&pwm3_pin>;
524724ba675SRob Herring		#pwm-cells = <3>;
525724ba675SRob Herring		status = "disabled";
526724ba675SRob Herring	};
527724ba675SRob Herring
528724ba675SRob Herring	i2c1: i2c@20056000 {
529724ba675SRob Herring		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
530724ba675SRob Herring		reg = <0x20056000 0x1000>;
531724ba675SRob Herring		interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
532724ba675SRob Herring		clock-names = "i2c";
533724ba675SRob Herring		clocks = <&cru PCLK_I2C1>;
534724ba675SRob Herring		pinctrl-names = "default";
535724ba675SRob Herring		pinctrl-0 = <&i2c1_xfer>;
536724ba675SRob Herring		#address-cells = <1>;
537724ba675SRob Herring		#size-cells = <0>;
538724ba675SRob Herring		status = "disabled";
539724ba675SRob Herring	};
540724ba675SRob Herring
541724ba675SRob Herring	i2c2: i2c@2005a000 {
542724ba675SRob Herring		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
543724ba675SRob Herring		reg = <0x2005a000 0x1000>;
544724ba675SRob Herring		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
545724ba675SRob Herring		clock-names = "i2c";
546724ba675SRob Herring		clocks = <&cru PCLK_I2C2>;
547724ba675SRob Herring		pinctrl-names = "default";
548724ba675SRob Herring		pinctrl-0 = <&i2c2_xfer>;
549724ba675SRob Herring		#address-cells = <1>;
550724ba675SRob Herring		#size-cells = <0>;
551724ba675SRob Herring		status = "disabled";
552724ba675SRob Herring	};
553724ba675SRob Herring
554724ba675SRob Herring	i2c3: i2c@2005e000 {
555724ba675SRob Herring		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
556724ba675SRob Herring		reg = <0x2005e000 0x1000>;
557724ba675SRob Herring		interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
558724ba675SRob Herring		clock-names = "i2c";
559724ba675SRob Herring		clocks = <&cru PCLK_I2C3>;
560724ba675SRob Herring		pinctrl-names = "default";
561724ba675SRob Herring		pinctrl-0 = <&i2c3_xfer>;
562724ba675SRob Herring		#address-cells = <1>;
563724ba675SRob Herring		#size-cells = <0>;
564724ba675SRob Herring		status = "disabled";
565724ba675SRob Herring	};
566724ba675SRob Herring
567724ba675SRob Herring	uart0: serial@20060000 {
568724ba675SRob Herring		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
569724ba675SRob Herring		reg = <0x20060000 0x100>;
570724ba675SRob Herring		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
571724ba675SRob Herring		clock-frequency = <24000000>;
572724ba675SRob Herring		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
573724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
574724ba675SRob Herring		dmas = <&pdma 2>, <&pdma 3>;
575724ba675SRob Herring		dma-names = "tx", "rx";
576724ba675SRob Herring		pinctrl-names = "default";
577724ba675SRob Herring		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
578724ba675SRob Herring		reg-io-width = <4>;
579724ba675SRob Herring		reg-shift = <2>;
580724ba675SRob Herring		status = "disabled";
581724ba675SRob Herring	};
582724ba675SRob Herring
583724ba675SRob Herring	uart1: serial@20064000 {
584724ba675SRob Herring		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
585724ba675SRob Herring		reg = <0x20064000 0x100>;
586724ba675SRob Herring		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
587724ba675SRob Herring		clock-frequency = <24000000>;
588724ba675SRob Herring		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
589724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
590724ba675SRob Herring		dmas = <&pdma 4>, <&pdma 5>;
591724ba675SRob Herring		dma-names = "tx", "rx";
592724ba675SRob Herring		pinctrl-names = "default";
593724ba675SRob Herring		pinctrl-0 = <&uart1_xfer>;
594724ba675SRob Herring		reg-io-width = <4>;
595724ba675SRob Herring		reg-shift = <2>;
596724ba675SRob Herring		status = "disabled";
597724ba675SRob Herring	};
598724ba675SRob Herring
599724ba675SRob Herring	uart2: serial@20068000 {
600724ba675SRob Herring		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
601724ba675SRob Herring		reg = <0x20068000 0x100>;
602724ba675SRob Herring		interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
603724ba675SRob Herring		clock-frequency = <24000000>;
604724ba675SRob Herring		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
605724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
606724ba675SRob Herring		dmas = <&pdma 6>, <&pdma 7>;
607724ba675SRob Herring		dma-names = "tx", "rx";
608724ba675SRob Herring		pinctrl-names = "default";
609724ba675SRob Herring		pinctrl-0 = <&uart2_xfer>;
610724ba675SRob Herring		reg-io-width = <4>;
611724ba675SRob Herring		reg-shift = <2>;
612724ba675SRob Herring		status = "disabled";
613724ba675SRob Herring	};
614724ba675SRob Herring
615724ba675SRob Herring	saradc: saradc@2006c000 {
616724ba675SRob Herring		compatible = "rockchip,saradc";
617724ba675SRob Herring		reg = <0x2006c000 0x100>;
618724ba675SRob Herring		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
619724ba675SRob Herring		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
620724ba675SRob Herring		clock-names = "saradc", "apb_pclk";
621724ba675SRob Herring		resets = <&cru SRST_SARADC>;
622724ba675SRob Herring		reset-names = "saradc-apb";
623724ba675SRob Herring		#io-channel-cells = <1>;
624724ba675SRob Herring		status = "disabled";
625724ba675SRob Herring	};
626724ba675SRob Herring
627724ba675SRob Herring	i2c0: i2c@20072000 {
628724ba675SRob Herring		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
6292e9cbc41SAlex Bee		reg = <0x20072000 0x1000>;
630724ba675SRob Herring		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
631724ba675SRob Herring		clock-names = "i2c";
632724ba675SRob Herring		clocks = <&cru PCLK_I2C0>;
633724ba675SRob Herring		pinctrl-names = "default";
634724ba675SRob Herring		pinctrl-0 = <&i2c0_xfer>;
635724ba675SRob Herring		#address-cells = <1>;
636724ba675SRob Herring		#size-cells = <0>;
637724ba675SRob Herring		status = "disabled";
638724ba675SRob Herring	};
639724ba675SRob Herring
640724ba675SRob Herring	spi0: spi@20074000 {
641724ba675SRob Herring		compatible = "rockchip,rk3128-spi", "rockchip,rk3066-spi";
642724ba675SRob Herring		reg = <0x20074000 0x1000>;
643724ba675SRob Herring		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
644724ba675SRob Herring		clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
645724ba675SRob Herring		clock-names = "spiclk", "apb_pclk";
646724ba675SRob Herring		dmas = <&pdma 8>, <&pdma 9>;
647724ba675SRob Herring		dma-names = "tx", "rx";
648724ba675SRob Herring		pinctrl-names = "default";
649724ba675SRob Herring		pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>;
650724ba675SRob Herring		#address-cells = <1>;
651724ba675SRob Herring		#size-cells = <0>;
652724ba675SRob Herring		status = "disabled";
653724ba675SRob Herring	};
654724ba675SRob Herring
655724ba675SRob Herring	pdma: dma-controller@20078000 {
656724ba675SRob Herring		compatible = "arm,pl330", "arm,primecell";
657724ba675SRob Herring		reg = <0x20078000 0x4000>;
658724ba675SRob Herring		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
659724ba675SRob Herring			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
660724ba675SRob Herring		arm,pl330-broken-no-flushp;
661b0b4e978SAlex Bee		arm,pl330-periph-burst;
662724ba675SRob Herring		clocks = <&cru ACLK_DMAC>;
663724ba675SRob Herring		clock-names = "apb_pclk";
664724ba675SRob Herring		#dma-cells = <1>;
665724ba675SRob Herring	};
666724ba675SRob Herring
6673d880c31SAlex Bee	gmac: ethernet@2008c000 {
6683d880c31SAlex Bee		compatible = "rockchip,rk3128-gmac";
6693d880c31SAlex Bee		reg = <0x2008c000 0x4000>;
6703d880c31SAlex Bee		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
6713d880c31SAlex Bee			     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
6723d880c31SAlex Bee		interrupt-names = "macirq", "eth_wake_irq";
6733d880c31SAlex Bee		clocks = <&cru SCLK_MAC>,
6743d880c31SAlex Bee			 <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
6753d880c31SAlex Bee			 <&cru SCLK_MAC_REF>, <&cru SCLK_MAC_REFOUT>,
6763d880c31SAlex Bee			 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
6773d880c31SAlex Bee		clock-names = "stmmaceth",
6783d880c31SAlex Bee			      "mac_clk_rx", "mac_clk_tx",
6793d880c31SAlex Bee			      "clk_mac_ref", "clk_mac_refout",
6803d880c31SAlex Bee			      "aclk_mac", "pclk_mac";
6813d880c31SAlex Bee		resets = <&cru SRST_GMAC>;
6823d880c31SAlex Bee		reset-names = "stmmaceth";
6833d880c31SAlex Bee		rockchip,grf = <&grf>;
6843d880c31SAlex Bee		rx-fifo-depth = <4096>;
6853d880c31SAlex Bee		tx-fifo-depth = <2048>;
6863d880c31SAlex Bee		status = "disabled";
6873d880c31SAlex Bee
6883d880c31SAlex Bee		mdio: mdio {
6893d880c31SAlex Bee			compatible = "snps,dwmac-mdio";
6903d880c31SAlex Bee			#address-cells = <0x1>;
6913d880c31SAlex Bee			#size-cells = <0x0>;
6923d880c31SAlex Bee		};
6933d880c31SAlex Bee	};
6943d880c31SAlex Bee
695724ba675SRob Herring	pinctrl: pinctrl {
696724ba675SRob Herring		compatible = "rockchip,rk3128-pinctrl";
697724ba675SRob Herring		rockchip,grf = <&grf>;
698724ba675SRob Herring		#address-cells = <1>;
699724ba675SRob Herring		#size-cells = <1>;
700724ba675SRob Herring		ranges;
701724ba675SRob Herring
702724ba675SRob Herring		gpio0: gpio@2007c000 {
703724ba675SRob Herring			compatible = "rockchip,gpio-bank";
704724ba675SRob Herring			reg = <0x2007c000 0x100>;
705724ba675SRob Herring			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
706724ba675SRob Herring			clocks = <&cru PCLK_GPIO0>;
707724ba675SRob Herring			gpio-controller;
708724ba675SRob Herring			#gpio-cells = <2>;
709724ba675SRob Herring			interrupt-controller;
710724ba675SRob Herring			#interrupt-cells = <2>;
711724ba675SRob Herring		};
712724ba675SRob Herring
713724ba675SRob Herring		gpio1: gpio@20080000 {
714724ba675SRob Herring			compatible = "rockchip,gpio-bank";
715724ba675SRob Herring			reg = <0x20080000 0x100>;
716724ba675SRob Herring			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
717724ba675SRob Herring			clocks = <&cru PCLK_GPIO1>;
718724ba675SRob Herring			gpio-controller;
719724ba675SRob Herring			#gpio-cells = <2>;
720724ba675SRob Herring			interrupt-controller;
721724ba675SRob Herring			#interrupt-cells = <2>;
722724ba675SRob Herring		};
723724ba675SRob Herring
724724ba675SRob Herring		gpio2: gpio@20084000 {
725724ba675SRob Herring			compatible = "rockchip,gpio-bank";
726724ba675SRob Herring			reg = <0x20084000 0x100>;
727724ba675SRob Herring			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
728724ba675SRob Herring			clocks = <&cru PCLK_GPIO2>;
729724ba675SRob Herring			gpio-controller;
730724ba675SRob Herring			#gpio-cells = <2>;
731724ba675SRob Herring			interrupt-controller;
732724ba675SRob Herring			#interrupt-cells = <2>;
733724ba675SRob Herring		};
734724ba675SRob Herring
735724ba675SRob Herring		gpio3: gpio@20088000 {
736724ba675SRob Herring			compatible = "rockchip,gpio-bank";
737724ba675SRob Herring			reg = <0x20088000 0x100>;
738724ba675SRob Herring			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
739724ba675SRob Herring			clocks = <&cru PCLK_GPIO3>;
740724ba675SRob Herring			gpio-controller;
741724ba675SRob Herring			#gpio-cells = <2>;
742724ba675SRob Herring			interrupt-controller;
743724ba675SRob Herring			#interrupt-cells = <2>;
744724ba675SRob Herring		};
745724ba675SRob Herring
746724ba675SRob Herring		pcfg_pull_default: pcfg-pull-default {
747724ba675SRob Herring			bias-pull-pin-default;
748724ba675SRob Herring		};
749724ba675SRob Herring
750724ba675SRob Herring		pcfg_pull_none: pcfg-pull-none {
751724ba675SRob Herring			bias-disable;
752724ba675SRob Herring		};
753724ba675SRob Herring
754724ba675SRob Herring		emmc {
755724ba675SRob Herring			emmc_clk: emmc-clk {
756724ba675SRob Herring				rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>;
757724ba675SRob Herring			};
758724ba675SRob Herring
759724ba675SRob Herring			emmc_cmd: emmc-cmd {
760724ba675SRob Herring				rockchip,pins = <1 RK_PC6 2 &pcfg_pull_default>;
761724ba675SRob Herring			};
762724ba675SRob Herring
763724ba675SRob Herring			emmc_cmd1: emmc-cmd1 {
764724ba675SRob Herring				rockchip,pins = <2 RK_PA4 2 &pcfg_pull_default>;
765724ba675SRob Herring			};
766724ba675SRob Herring
767724ba675SRob Herring			emmc_pwr: emmc-pwr {
768724ba675SRob Herring				rockchip,pins = <2 RK_PA5 2 &pcfg_pull_default>;
769724ba675SRob Herring			};
770724ba675SRob Herring
771724ba675SRob Herring			emmc_bus1: emmc-bus1 {
772724ba675SRob Herring				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>;
773724ba675SRob Herring			};
774724ba675SRob Herring
775724ba675SRob Herring			emmc_bus4: emmc-bus4 {
776724ba675SRob Herring				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>,
777724ba675SRob Herring						<1 RK_PD1 2 &pcfg_pull_default>,
778724ba675SRob Herring						<1 RK_PD2 2 &pcfg_pull_default>,
779724ba675SRob Herring						<1 RK_PD3 2 &pcfg_pull_default>;
780724ba675SRob Herring			};
781724ba675SRob Herring
782724ba675SRob Herring			emmc_bus8: emmc-bus8 {
783724ba675SRob Herring				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>,
784724ba675SRob Herring						<1 RK_PD1 2 &pcfg_pull_default>,
785724ba675SRob Herring						<1 RK_PD2 2 &pcfg_pull_default>,
786724ba675SRob Herring						<1 RK_PD3 2 &pcfg_pull_default>,
787724ba675SRob Herring						<1 RK_PD4 2 &pcfg_pull_default>,
788724ba675SRob Herring						<1 RK_PD5 2 &pcfg_pull_default>,
789724ba675SRob Herring						<1 RK_PD6 2 &pcfg_pull_default>,
790724ba675SRob Herring						<1 RK_PD7 2 &pcfg_pull_default>;
791724ba675SRob Herring			};
792724ba675SRob Herring		};
793724ba675SRob Herring
794724ba675SRob Herring		gmac {
795724ba675SRob Herring			rgmii_pins: rgmii-pins {
796724ba675SRob Herring				rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>,
797724ba675SRob Herring						<2 RK_PB1 3 &pcfg_pull_default>,
798724ba675SRob Herring						<2 RK_PB3 3 &pcfg_pull_default>,
799724ba675SRob Herring						<2 RK_PB4 3 &pcfg_pull_default>,
800724ba675SRob Herring						<2 RK_PB5 3 &pcfg_pull_default>,
801724ba675SRob Herring						<2 RK_PB6 3 &pcfg_pull_default>,
802724ba675SRob Herring						<2 RK_PC0 3 &pcfg_pull_default>,
803724ba675SRob Herring						<2 RK_PC1 3 &pcfg_pull_default>,
804724ba675SRob Herring						<2 RK_PC2 3 &pcfg_pull_default>,
805724ba675SRob Herring						<2 RK_PC3 3 &pcfg_pull_default>,
806724ba675SRob Herring						<2 RK_PD1 3 &pcfg_pull_default>,
807724ba675SRob Herring						<2 RK_PC4 4 &pcfg_pull_default>,
808724ba675SRob Herring						<2 RK_PC5 4 &pcfg_pull_default>,
809724ba675SRob Herring						<2 RK_PC6 4 &pcfg_pull_default>,
810724ba675SRob Herring						<2 RK_PC7 4 &pcfg_pull_default>;
811724ba675SRob Herring			};
812724ba675SRob Herring
813724ba675SRob Herring			rmii_pins: rmii-pins {
814724ba675SRob Herring				rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>,
815724ba675SRob Herring						<2 RK_PB4 3 &pcfg_pull_default>,
816724ba675SRob Herring						<2 RK_PB5 3 &pcfg_pull_default>,
817724ba675SRob Herring						<2 RK_PB6 3 &pcfg_pull_default>,
818724ba675SRob Herring						<2 RK_PB7 3 &pcfg_pull_default>,
819724ba675SRob Herring						<2 RK_PC0 3 &pcfg_pull_default>,
820724ba675SRob Herring						<2 RK_PC1 3 &pcfg_pull_default>,
821724ba675SRob Herring						<2 RK_PC2 3 &pcfg_pull_default>,
822724ba675SRob Herring						<2 RK_PC3 3 &pcfg_pull_default>,
823724ba675SRob Herring						<2 RK_PD1 3 &pcfg_pull_default>;
824724ba675SRob Herring			};
825724ba675SRob Herring		};
826724ba675SRob Herring
827724ba675SRob Herring		hdmi {
828724ba675SRob Herring			hdmii2c_xfer: hdmii2c-xfer {
829724ba675SRob Herring				rockchip,pins = <0 RK_PA6 2 &pcfg_pull_none>,
830724ba675SRob Herring						<0 RK_PA7 2 &pcfg_pull_none>;
831724ba675SRob Herring			};
832724ba675SRob Herring
833724ba675SRob Herring			hdmi_hpd: hdmi-hpd {
834724ba675SRob Herring				rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>;
835724ba675SRob Herring			};
836724ba675SRob Herring
837724ba675SRob Herring			hdmi_cec: hdmi-cec {
838724ba675SRob Herring				rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>;
839724ba675SRob Herring			};
840724ba675SRob Herring		};
841724ba675SRob Herring
842724ba675SRob Herring		i2c0 {
843724ba675SRob Herring			i2c0_xfer: i2c0-xfer {
844724ba675SRob Herring				rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>,
845724ba675SRob Herring						<0 RK_PA1 1 &pcfg_pull_none>;
846724ba675SRob Herring			};
847724ba675SRob Herring		};
848724ba675SRob Herring
849724ba675SRob Herring		i2c1 {
850724ba675SRob Herring			i2c1_xfer: i2c1-xfer {
851724ba675SRob Herring				rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>,
852724ba675SRob Herring						<0 RK_PA3 1 &pcfg_pull_none>;
853724ba675SRob Herring			};
854724ba675SRob Herring		};
855724ba675SRob Herring
856724ba675SRob Herring		i2c2 {
857724ba675SRob Herring			i2c2_xfer: i2c2-xfer {
858724ba675SRob Herring				rockchip,pins = <2 RK_PC4 3 &pcfg_pull_none>,
859724ba675SRob Herring						<2 RK_PC5 3 &pcfg_pull_none>;
860724ba675SRob Herring			};
861724ba675SRob Herring		};
862724ba675SRob Herring
863724ba675SRob Herring		i2c3 {
864724ba675SRob Herring			i2c3_xfer: i2c3-xfer {
865724ba675SRob Herring				rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>,
866724ba675SRob Herring						<0 RK_PA7 1 &pcfg_pull_none>;
867724ba675SRob Herring			};
868724ba675SRob Herring		};
869724ba675SRob Herring
870724ba675SRob Herring		i2s {
871724ba675SRob Herring			i2s_bus: i2s-bus {
872724ba675SRob Herring				rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>,
873724ba675SRob Herring						<0 RK_PB1 1 &pcfg_pull_none>,
874724ba675SRob Herring						<0 RK_PB3 1 &pcfg_pull_none>,
875724ba675SRob Herring						<0 RK_PB4 1 &pcfg_pull_none>,
876724ba675SRob Herring						<0 RK_PB5 1 &pcfg_pull_none>,
877724ba675SRob Herring						<0 RK_PB6 1 &pcfg_pull_none>;
878724ba675SRob Herring			};
879724ba675SRob Herring
880724ba675SRob Herring			i2s1_bus: i2s1-bus {
881724ba675SRob Herring				rockchip,pins = <1 RK_PA0 1 &pcfg_pull_none>,
882724ba675SRob Herring						<1 RK_PA1 1 &pcfg_pull_none>,
883724ba675SRob Herring						<1 RK_PA2 1 &pcfg_pull_none>,
884724ba675SRob Herring						<1 RK_PA3 1 &pcfg_pull_none>,
885724ba675SRob Herring						<1 RK_PA4 1 &pcfg_pull_none>,
886724ba675SRob Herring						<1 RK_PA5 1 &pcfg_pull_none>;
887724ba675SRob Herring			};
888724ba675SRob Herring		};
889724ba675SRob Herring
890724ba675SRob Herring		lcdc {
891724ba675SRob Herring			lcdc_dclk: lcdc-dclk {
892724ba675SRob Herring				rockchip,pins = <2 RK_PB0 1 &pcfg_pull_none>;
893724ba675SRob Herring			};
894724ba675SRob Herring
895724ba675SRob Herring			lcdc_den: lcdc-den {
896724ba675SRob Herring				rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none>;
897724ba675SRob Herring			};
898724ba675SRob Herring
899724ba675SRob Herring			lcdc_hsync: lcdc-hsync {
900724ba675SRob Herring				rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>;
901724ba675SRob Herring			};
902724ba675SRob Herring
903724ba675SRob Herring			lcdc_vsync: lcdc-vsync {
904724ba675SRob Herring				rockchip,pins = <2 RK_PB2 1 &pcfg_pull_none>;
905724ba675SRob Herring			};
906724ba675SRob Herring
907724ba675SRob Herring			lcdc_rgb24: lcdc-rgb24 {
908724ba675SRob Herring				rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>,
909724ba675SRob Herring						<2 RK_PB5 1 &pcfg_pull_none>,
910724ba675SRob Herring						<2 RK_PB6 1 &pcfg_pull_none>,
911724ba675SRob Herring						<2 RK_PB7 1 &pcfg_pull_none>,
912724ba675SRob Herring						<2 RK_PC0 1 &pcfg_pull_none>,
913724ba675SRob Herring						<2 RK_PC1 1 &pcfg_pull_none>,
914724ba675SRob Herring						<2 RK_PC2 1 &pcfg_pull_none>,
915724ba675SRob Herring						<2 RK_PC3 1 &pcfg_pull_none>,
916724ba675SRob Herring						<2 RK_PC4 1 &pcfg_pull_none>,
917724ba675SRob Herring						<2 RK_PC5 1 &pcfg_pull_none>,
918724ba675SRob Herring						<2 RK_PC6 1 &pcfg_pull_none>,
919724ba675SRob Herring						<2 RK_PC7 1 &pcfg_pull_none>,
920724ba675SRob Herring						<2 RK_PD0 1 &pcfg_pull_none>,
921724ba675SRob Herring						<2 RK_PD1 1 &pcfg_pull_none>;
922724ba675SRob Herring			};
923724ba675SRob Herring		};
924724ba675SRob Herring
925724ba675SRob Herring		nfc {
926724ba675SRob Herring			flash_ale: flash-ale {
927724ba675SRob Herring				rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>;
928724ba675SRob Herring			};
929724ba675SRob Herring
930724ba675SRob Herring			flash_cle: flash-cle {
931724ba675SRob Herring				rockchip,pins = <2 RK_PA1 1 &pcfg_pull_none>;
932724ba675SRob Herring			};
933724ba675SRob Herring
934724ba675SRob Herring			flash_wrn: flash-wrn {
935724ba675SRob Herring				rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>;
936724ba675SRob Herring			};
937724ba675SRob Herring
938724ba675SRob Herring			flash_rdn: flash-rdn {
939724ba675SRob Herring				rockchip,pins = <2 RK_PA3 1 &pcfg_pull_none>;
940724ba675SRob Herring			};
941724ba675SRob Herring
942724ba675SRob Herring			flash_rdy: flash-rdy {
943724ba675SRob Herring				rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>;
944724ba675SRob Herring			};
945724ba675SRob Herring
946724ba675SRob Herring			flash_cs0: flash-cs0 {
947724ba675SRob Herring				rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>;
948724ba675SRob Herring			};
949724ba675SRob Herring
950724ba675SRob Herring			flash_dqs: flash-dqs {
951724ba675SRob Herring				rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>;
952724ba675SRob Herring			};
953724ba675SRob Herring
954724ba675SRob Herring			flash_bus8: flash-bus8 {
955724ba675SRob Herring				rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>,
956724ba675SRob Herring						<1 RK_PD1 1 &pcfg_pull_none>,
957724ba675SRob Herring						<1 RK_PD2 1 &pcfg_pull_none>,
958724ba675SRob Herring						<1 RK_PD3 1 &pcfg_pull_none>,
959724ba675SRob Herring						<1 RK_PD4 1 &pcfg_pull_none>,
960724ba675SRob Herring						<1 RK_PD5 1 &pcfg_pull_none>,
961724ba675SRob Herring						<1 RK_PD6 1 &pcfg_pull_none>,
962724ba675SRob Herring						<1 RK_PD7 1 &pcfg_pull_none>;
963724ba675SRob Herring			};
964724ba675SRob Herring		};
965724ba675SRob Herring
966724ba675SRob Herring		pwm0 {
967724ba675SRob Herring			pwm0_pin: pwm0-pin {
968724ba675SRob Herring				rockchip,pins = <0 RK_PD2 1 &pcfg_pull_none>;
969724ba675SRob Herring			};
970724ba675SRob Herring		};
971724ba675SRob Herring
972724ba675SRob Herring		pwm1 {
973724ba675SRob Herring			pwm1_pin: pwm1-pin {
974724ba675SRob Herring				rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
975724ba675SRob Herring			};
976724ba675SRob Herring		};
977724ba675SRob Herring
978724ba675SRob Herring		pwm2 {
979724ba675SRob Herring			pwm2_pin: pwm2-pin {
980724ba675SRob Herring				rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>;
981724ba675SRob Herring			};
982724ba675SRob Herring		};
983724ba675SRob Herring
984724ba675SRob Herring		pwm3 {
985724ba675SRob Herring			pwm3_pin: pwm3-pin {
986724ba675SRob Herring				rockchip,pins = <3 RK_PD2 1 &pcfg_pull_none>;
987724ba675SRob Herring			};
988724ba675SRob Herring		};
989724ba675SRob Herring
990724ba675SRob Herring		sdio {
991724ba675SRob Herring			sdio_clk: sdio-clk {
992724ba675SRob Herring				rockchip,pins = <1 RK_PA0 2 &pcfg_pull_none>;
993724ba675SRob Herring			};
994724ba675SRob Herring
995724ba675SRob Herring			sdio_cmd: sdio-cmd {
996724ba675SRob Herring				rockchip,pins = <0 RK_PA3 2 &pcfg_pull_default>;
997724ba675SRob Herring			};
998724ba675SRob Herring
999724ba675SRob Herring			sdio_pwren: sdio-pwren {
1000724ba675SRob Herring				rockchip,pins = <0 RK_PD6 1 &pcfg_pull_default>;
1001724ba675SRob Herring			};
1002724ba675SRob Herring
1003724ba675SRob Herring			sdio_bus4: sdio-bus4 {
1004724ba675SRob Herring				rockchip,pins = <1 RK_PA1 2 &pcfg_pull_default>,
1005724ba675SRob Herring						<1 RK_PA2 2 &pcfg_pull_default>,
1006724ba675SRob Herring						<1 RK_PA4 2 &pcfg_pull_default>,
1007724ba675SRob Herring						<1 RK_PA5 2 &pcfg_pull_default>;
1008724ba675SRob Herring			};
1009724ba675SRob Herring		};
1010724ba675SRob Herring
1011724ba675SRob Herring		sdmmc {
1012724ba675SRob Herring			sdmmc_clk: sdmmc-clk {
1013724ba675SRob Herring				rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>;
1014724ba675SRob Herring			};
1015724ba675SRob Herring
1016724ba675SRob Herring			sdmmc_cmd: sdmmc-cmd {
1017724ba675SRob Herring				rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>;
1018724ba675SRob Herring			};
1019724ba675SRob Herring
1020cdc86eeeSAlex Bee			sdmmc_det: sdmmc-det {
1021cdc86eeeSAlex Bee				rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>;
1022cdc86eeeSAlex Bee			};
1023cdc86eeeSAlex Bee
1024724ba675SRob Herring			sdmmc_wp: sdmmc-wp {
1025724ba675SRob Herring				rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>;
1026724ba675SRob Herring			};
1027724ba675SRob Herring
1028724ba675SRob Herring			sdmmc_pwren: sdmmc-pwren {
1029724ba675SRob Herring				rockchip,pins = <1 RK_PB6 1 &pcfg_pull_default>;
1030724ba675SRob Herring			};
1031724ba675SRob Herring
1032724ba675SRob Herring			sdmmc_bus4: sdmmc-bus4 {
1033724ba675SRob Herring				rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>,
1034724ba675SRob Herring						<1 RK_PC3 1 &pcfg_pull_default>,
1035724ba675SRob Herring						<1 RK_PC4 1 &pcfg_pull_default>,
1036724ba675SRob Herring						<1 RK_PC5 1 &pcfg_pull_default>;
1037724ba675SRob Herring			};
1038724ba675SRob Herring		};
1039724ba675SRob Herring
1040724ba675SRob Herring		spdif {
1041724ba675SRob Herring			spdif_tx: spdif-tx {
1042724ba675SRob Herring				rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>;
1043724ba675SRob Herring			};
1044724ba675SRob Herring		};
1045724ba675SRob Herring
1046724ba675SRob Herring		spi0 {
1047724ba675SRob Herring			spi0_clk: spi0-clk {
1048724ba675SRob Herring				rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>;
1049724ba675SRob Herring			};
1050724ba675SRob Herring
1051724ba675SRob Herring			spi0_cs0: spi0-cs0 {
1052724ba675SRob Herring				rockchip,pins = <1 RK_PB3 1 &pcfg_pull_default>;
1053724ba675SRob Herring			};
1054724ba675SRob Herring
1055724ba675SRob Herring			spi0_tx: spi0-tx {
1056724ba675SRob Herring				rockchip,pins = <1 RK_PB1 1 &pcfg_pull_default>;
1057724ba675SRob Herring			};
1058724ba675SRob Herring
1059724ba675SRob Herring			spi0_rx: spi0-rx {
1060724ba675SRob Herring				rockchip,pins = <1 RK_PB2 1 &pcfg_pull_default>;
1061724ba675SRob Herring			};
1062724ba675SRob Herring
1063724ba675SRob Herring			spi0_cs1: spi0-cs1 {
1064724ba675SRob Herring				rockchip,pins = <1 RK_PB4 1 &pcfg_pull_default>;
1065724ba675SRob Herring			};
1066724ba675SRob Herring
1067724ba675SRob Herring			spi1_clk: spi1-clk {
1068724ba675SRob Herring				rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>;
1069724ba675SRob Herring			};
1070724ba675SRob Herring
1071724ba675SRob Herring			spi1_cs0: spi1-cs0 {
1072724ba675SRob Herring				rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>;
1073724ba675SRob Herring			};
1074724ba675SRob Herring
1075724ba675SRob Herring			spi1_tx: spi1-tx {
1076724ba675SRob Herring				rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>;
1077724ba675SRob Herring			};
1078724ba675SRob Herring
1079724ba675SRob Herring			spi1_rx: spi1-rx {
1080724ba675SRob Herring				rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>;
1081724ba675SRob Herring			};
1082724ba675SRob Herring
1083724ba675SRob Herring			spi1_cs1: spi1-cs1 {
1084724ba675SRob Herring				rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>;
1085724ba675SRob Herring			};
1086724ba675SRob Herring
1087724ba675SRob Herring			spi2_clk: spi2-clk {
1088724ba675SRob Herring				rockchip,pins = <0 RK_PB1 2 &pcfg_pull_default>;
1089724ba675SRob Herring			};
1090724ba675SRob Herring
1091724ba675SRob Herring			spi2_cs0: spi2-cs0 {
1092724ba675SRob Herring				rockchip,pins = <0 RK_PB6 2 &pcfg_pull_default>;
1093724ba675SRob Herring			};
1094724ba675SRob Herring
1095724ba675SRob Herring			spi2_tx: spi2-tx {
1096724ba675SRob Herring				rockchip,pins = <0 RK_PB3 2 &pcfg_pull_default>;
1097724ba675SRob Herring			};
1098724ba675SRob Herring
1099724ba675SRob Herring			spi2_rx: spi2-rx {
1100724ba675SRob Herring				rockchip,pins = <0 RK_PB5 2 &pcfg_pull_default>;
1101724ba675SRob Herring			};
1102724ba675SRob Herring		};
1103724ba675SRob Herring
1104724ba675SRob Herring		uart0 {
1105724ba675SRob Herring			uart0_xfer: uart0-xfer {
1106724ba675SRob Herring				rockchip,pins = <2 RK_PD2 2 &pcfg_pull_default>,
1107724ba675SRob Herring						<2 RK_PD3 2 &pcfg_pull_none>;
1108724ba675SRob Herring			};
1109724ba675SRob Herring
1110724ba675SRob Herring			uart0_cts: uart0-cts {
1111724ba675SRob Herring				rockchip,pins = <2 RK_PD5 2 &pcfg_pull_none>;
1112724ba675SRob Herring			};
1113724ba675SRob Herring
1114724ba675SRob Herring			uart0_rts: uart0-rts {
1115724ba675SRob Herring				rockchip,pins = <0 RK_PC1 2 &pcfg_pull_none>;
1116724ba675SRob Herring			};
1117724ba675SRob Herring		};
1118724ba675SRob Herring
1119724ba675SRob Herring		uart1 {
1120724ba675SRob Herring			uart1_xfer: uart1-xfer {
1121724ba675SRob Herring				rockchip,pins = <1 RK_PB1 2 &pcfg_pull_default>,
1122724ba675SRob Herring						<1 RK_PB2 2 &pcfg_pull_default>;
1123724ba675SRob Herring			};
1124724ba675SRob Herring
1125724ba675SRob Herring			uart1_cts: uart1-cts {
1126724ba675SRob Herring				rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>;
1127724ba675SRob Herring			};
1128724ba675SRob Herring
1129724ba675SRob Herring			uart1_rts: uart1-rts {
1130724ba675SRob Herring				rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>;
1131724ba675SRob Herring			};
1132724ba675SRob Herring		};
1133724ba675SRob Herring
1134724ba675SRob Herring		uart2 {
1135724ba675SRob Herring			uart2_xfer: uart2-xfer {
1136724ba675SRob Herring				rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>,
1137724ba675SRob Herring						<1 RK_PC3 2 &pcfg_pull_none>;
1138724ba675SRob Herring			};
1139724ba675SRob Herring
1140724ba675SRob Herring			uart2_cts: uart2-cts {
1141724ba675SRob Herring				rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>;
1142724ba675SRob Herring			};
1143724ba675SRob Herring
1144724ba675SRob Herring			uart2_rts: uart2-rts {
1145724ba675SRob Herring				rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>;
1146724ba675SRob Herring			};
1147724ba675SRob Herring		};
1148724ba675SRob Herring	};
1149724ba675SRob Herring};
1150