xref: /freebsd-src/sys/contrib/device-tree/src/arm/rockchip/rk3128.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * (C) Copyright 2017 Rockchip Electronics Co., Ltd
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include <dt-bindings/clock/rk3128-cru.h>
7f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
118d13bc63SEmmanuel Vadot#include <dt-bindings/power/rk3128-power.h>
12f126890aSEmmanuel Vadot
13f126890aSEmmanuel Vadot/ {
14f126890aSEmmanuel Vadot	compatible = "rockchip,rk3128";
15f126890aSEmmanuel Vadot	interrupt-parent = <&gic>;
16f126890aSEmmanuel Vadot	#address-cells = <1>;
17f126890aSEmmanuel Vadot	#size-cells = <1>;
18f126890aSEmmanuel Vadot
198d13bc63SEmmanuel Vadot	aliases {
208d13bc63SEmmanuel Vadot		gpio0 = &gpio0;
218d13bc63SEmmanuel Vadot		gpio1 = &gpio1;
228d13bc63SEmmanuel Vadot		gpio2 = &gpio2;
238d13bc63SEmmanuel Vadot		gpio3 = &gpio3;
248d13bc63SEmmanuel Vadot		i2c0 = &i2c0;
258d13bc63SEmmanuel Vadot		i2c1 = &i2c1;
268d13bc63SEmmanuel Vadot		i2c2 = &i2c2;
278d13bc63SEmmanuel Vadot		i2c3 = &i2c3;
288d13bc63SEmmanuel Vadot		serial0 = &uart0;
298d13bc63SEmmanuel Vadot		serial1 = &uart1;
308d13bc63SEmmanuel Vadot		serial2 = &uart2;
318d13bc63SEmmanuel Vadot	};
328d13bc63SEmmanuel Vadot
33f126890aSEmmanuel Vadot	arm-pmu {
34f126890aSEmmanuel Vadot		compatible = "arm,cortex-a7-pmu";
35f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
36f126890aSEmmanuel Vadot			     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
37f126890aSEmmanuel Vadot			     <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
38f126890aSEmmanuel Vadot			     <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
39f126890aSEmmanuel Vadot		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
40f126890aSEmmanuel Vadot	};
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot	cpus {
43f126890aSEmmanuel Vadot		#address-cells = <1>;
44f126890aSEmmanuel Vadot		#size-cells = <0>;
4584943d6fSEmmanuel Vadot		enable-method = "rockchip,rk3036-smp";
46f126890aSEmmanuel Vadot
47f126890aSEmmanuel Vadot		cpu0: cpu@f00 {
48f126890aSEmmanuel Vadot			device_type = "cpu";
49f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
50f126890aSEmmanuel Vadot			reg = <0xf00>;
51f126890aSEmmanuel Vadot			clock-latency = <40000>;
52f126890aSEmmanuel Vadot			clocks = <&cru ARMCLK>;
5384943d6fSEmmanuel Vadot			resets = <&cru SRST_CORE0>;
5484943d6fSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table>;
55f126890aSEmmanuel Vadot			#cooling-cells = <2>; /* min followed by max */
56f126890aSEmmanuel Vadot		};
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot		cpu1: cpu@f01 {
59f126890aSEmmanuel Vadot			device_type = "cpu";
60f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
61f126890aSEmmanuel Vadot			reg = <0xf01>;
6284943d6fSEmmanuel Vadot			resets = <&cru SRST_CORE1>;
6384943d6fSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table>;
64f126890aSEmmanuel Vadot		};
65f126890aSEmmanuel Vadot
66f126890aSEmmanuel Vadot		cpu2: cpu@f02 {
67f126890aSEmmanuel Vadot			device_type = "cpu";
68f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
69f126890aSEmmanuel Vadot			reg = <0xf02>;
7084943d6fSEmmanuel Vadot			resets = <&cru SRST_CORE2>;
7184943d6fSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table>;
72f126890aSEmmanuel Vadot		};
73f126890aSEmmanuel Vadot
74f126890aSEmmanuel Vadot		cpu3: cpu@f03 {
75f126890aSEmmanuel Vadot			device_type = "cpu";
76f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
77f126890aSEmmanuel Vadot			reg = <0xf03>;
7884943d6fSEmmanuel Vadot			resets = <&cru SRST_CORE3>;
7984943d6fSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table>;
8084943d6fSEmmanuel Vadot		};
8184943d6fSEmmanuel Vadot	};
8284943d6fSEmmanuel Vadot
8384943d6fSEmmanuel Vadot	cpu_opp_table: opp-table-0 {
8484943d6fSEmmanuel Vadot		compatible = "operating-points-v2";
8584943d6fSEmmanuel Vadot		opp-shared;
8684943d6fSEmmanuel Vadot
8784943d6fSEmmanuel Vadot		opp-216000000 {
8884943d6fSEmmanuel Vadot			opp-hz = /bits/ 64 <216000000>;
8984943d6fSEmmanuel Vadot			opp-microvolt = <950000 950000 1325000>;
9084943d6fSEmmanuel Vadot		};
9184943d6fSEmmanuel Vadot		opp-408000000 {
9284943d6fSEmmanuel Vadot			opp-hz = /bits/ 64 <408000000>;
9384943d6fSEmmanuel Vadot			opp-microvolt = <950000 950000 1325000>;
9484943d6fSEmmanuel Vadot		};
9584943d6fSEmmanuel Vadot		opp-600000000 {
9684943d6fSEmmanuel Vadot			opp-hz = /bits/ 64 <600000000>;
9784943d6fSEmmanuel Vadot			opp-microvolt = <950000 950000 1325000>;
9884943d6fSEmmanuel Vadot		};
9984943d6fSEmmanuel Vadot		opp-696000000 {
10084943d6fSEmmanuel Vadot			opp-hz = /bits/ 64 <696000000>;
10184943d6fSEmmanuel Vadot			opp-microvolt = <975000 975000 1325000>;
10284943d6fSEmmanuel Vadot		};
10384943d6fSEmmanuel Vadot		opp-816000000 {
10484943d6fSEmmanuel Vadot			opp-hz = /bits/ 64 <816000000>;
10584943d6fSEmmanuel Vadot			opp-microvolt = <1075000 1075000 1325000>;
10684943d6fSEmmanuel Vadot			opp-suspend;
10784943d6fSEmmanuel Vadot		};
10884943d6fSEmmanuel Vadot		opp-1008000000 {
10984943d6fSEmmanuel Vadot			opp-hz = /bits/ 64 <1008000000>;
11084943d6fSEmmanuel Vadot			opp-microvolt = <1200000 1200000 1325000>;
11184943d6fSEmmanuel Vadot		};
11284943d6fSEmmanuel Vadot		opp-1200000000 {
11384943d6fSEmmanuel Vadot			opp-hz = /bits/ 64 <1200000000>;
11484943d6fSEmmanuel Vadot			opp-microvolt = <1325000 1325000 1325000>;
115f126890aSEmmanuel Vadot		};
116f126890aSEmmanuel Vadot	};
117f126890aSEmmanuel Vadot
11801950c46SEmmanuel Vadot	display_subsystem: display-subsystem {
11901950c46SEmmanuel Vadot		compatible = "rockchip,display-subsystem";
12001950c46SEmmanuel Vadot		ports = <&vop_out>;
12101950c46SEmmanuel Vadot		status = "disabled";
12201950c46SEmmanuel Vadot	};
12301950c46SEmmanuel Vadot
1248d13bc63SEmmanuel Vadot	gpu_opp_table: opp-table-1 {
1258d13bc63SEmmanuel Vadot		compatible = "operating-points-v2";
1268d13bc63SEmmanuel Vadot
1278d13bc63SEmmanuel Vadot		opp-200000000 {
1288d13bc63SEmmanuel Vadot			opp-hz = /bits/ 64 <200000000>;
1298d13bc63SEmmanuel Vadot			opp-microvolt = <975000 975000 1250000>;
1308d13bc63SEmmanuel Vadot		};
1318d13bc63SEmmanuel Vadot		opp-300000000 {
1328d13bc63SEmmanuel Vadot			opp-hz = /bits/ 64 <300000000>;
1338d13bc63SEmmanuel Vadot			opp-microvolt = <1050000 1050000 1250000>;
1348d13bc63SEmmanuel Vadot		};
1358d13bc63SEmmanuel Vadot		opp-400000000 {
1368d13bc63SEmmanuel Vadot			opp-hz = /bits/ 64 <400000000>;
1378d13bc63SEmmanuel Vadot			opp-microvolt = <1150000 1150000 1250000>;
1388d13bc63SEmmanuel Vadot		};
1398d13bc63SEmmanuel Vadot		opp-480000000 {
1408d13bc63SEmmanuel Vadot			opp-hz = /bits/ 64 <480000000>;
1418d13bc63SEmmanuel Vadot			opp-microvolt = <1250000 1250000 1250000>;
1428d13bc63SEmmanuel Vadot		};
1438d13bc63SEmmanuel Vadot	};
1448d13bc63SEmmanuel Vadot
145f126890aSEmmanuel Vadot	timer {
146f126890aSEmmanuel Vadot		compatible = "arm,armv7-timer";
147f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
148f126890aSEmmanuel Vadot			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
149aa1a8ff2SEmmanuel Vadot			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
150aa1a8ff2SEmmanuel Vadot			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
151f126890aSEmmanuel Vadot		arm,cpu-registers-not-fw-configured;
152f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
153f126890aSEmmanuel Vadot	};
154f126890aSEmmanuel Vadot
155f126890aSEmmanuel Vadot	xin24m: oscillator {
156f126890aSEmmanuel Vadot		compatible = "fixed-clock";
157f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
158f126890aSEmmanuel Vadot		clock-output-names = "xin24m";
159f126890aSEmmanuel Vadot		#clock-cells = <0>;
160f126890aSEmmanuel Vadot	};
161f126890aSEmmanuel Vadot
16284943d6fSEmmanuel Vadot	imem: sram@10080000 {
16384943d6fSEmmanuel Vadot		compatible = "mmio-sram";
16484943d6fSEmmanuel Vadot		reg = <0x10080000 0x2000>;
16584943d6fSEmmanuel Vadot		#address-cells = <1>;
16684943d6fSEmmanuel Vadot		#size-cells = <1>;
16784943d6fSEmmanuel Vadot		ranges = <0 0x10080000 0x2000>;
16884943d6fSEmmanuel Vadot
16984943d6fSEmmanuel Vadot		smp-sram@0 {
17084943d6fSEmmanuel Vadot			compatible = "rockchip,rk3066-smp-sram";
17184943d6fSEmmanuel Vadot			reg = <0x00 0x10>;
17284943d6fSEmmanuel Vadot		};
17384943d6fSEmmanuel Vadot	};
17484943d6fSEmmanuel Vadot
1758d13bc63SEmmanuel Vadot	gpu: gpu@10090000 {
1768d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-mali", "arm,mali-400";
1778d13bc63SEmmanuel Vadot		reg = <0x10090000 0x10000>;
1788d13bc63SEmmanuel Vadot		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1798d13bc63SEmmanuel Vadot			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1808d13bc63SEmmanuel Vadot			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
1818d13bc63SEmmanuel Vadot			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1828d13bc63SEmmanuel Vadot			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
1838d13bc63SEmmanuel Vadot			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1848d13bc63SEmmanuel Vadot		interrupt-names = "gp",
1858d13bc63SEmmanuel Vadot				  "gpmmu",
1868d13bc63SEmmanuel Vadot				  "pp0",
1878d13bc63SEmmanuel Vadot				  "ppmmu0",
1888d13bc63SEmmanuel Vadot				  "pp1",
1898d13bc63SEmmanuel Vadot				  "ppmmu1";
1908d13bc63SEmmanuel Vadot		clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
1918d13bc63SEmmanuel Vadot		clock-names = "bus", "core";
1928d13bc63SEmmanuel Vadot		operating-points-v2 = <&gpu_opp_table>;
1938d13bc63SEmmanuel Vadot		resets = <&cru SRST_GPU>;
1948d13bc63SEmmanuel Vadot		power-domains = <&power RK3128_PD_GPU>;
1958d13bc63SEmmanuel Vadot		status = "disabled";
1968d13bc63SEmmanuel Vadot	};
1978d13bc63SEmmanuel Vadot
198f126890aSEmmanuel Vadot	pmu: syscon@100a0000 {
199f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd";
200f126890aSEmmanuel Vadot		reg = <0x100a0000 0x1000>;
2018d13bc63SEmmanuel Vadot
2028d13bc63SEmmanuel Vadot		power: power-controller {
2038d13bc63SEmmanuel Vadot			compatible = "rockchip,rk3128-power-controller";
2048d13bc63SEmmanuel Vadot			#power-domain-cells = <1>;
2058d13bc63SEmmanuel Vadot			#address-cells = <1>;
2068d13bc63SEmmanuel Vadot			#size-cells = <0>;
2078d13bc63SEmmanuel Vadot
2088d13bc63SEmmanuel Vadot			power-domain@RK3128_PD_VIO {
2098d13bc63SEmmanuel Vadot				reg = <RK3128_PD_VIO>;
2108d13bc63SEmmanuel Vadot				clocks = <&cru ACLK_CIF>,
2118d13bc63SEmmanuel Vadot					 <&cru HCLK_CIF>,
2128d13bc63SEmmanuel Vadot					 <&cru DCLK_EBC>,
2138d13bc63SEmmanuel Vadot					 <&cru HCLK_EBC>,
2148d13bc63SEmmanuel Vadot					 <&cru ACLK_IEP>,
2158d13bc63SEmmanuel Vadot					 <&cru HCLK_IEP>,
2168d13bc63SEmmanuel Vadot					 <&cru ACLK_LCDC0>,
2178d13bc63SEmmanuel Vadot					 <&cru HCLK_LCDC0>,
2188d13bc63SEmmanuel Vadot					 <&cru PCLK_MIPI>,
2190e8011faSEmmanuel Vadot					 <&cru PCLK_MIPIPHY>,
2200e8011faSEmmanuel Vadot					 <&cru SCLK_MIPI_24M>,
2218d13bc63SEmmanuel Vadot					 <&cru ACLK_RGA>,
2228d13bc63SEmmanuel Vadot					 <&cru HCLK_RGA>,
2238d13bc63SEmmanuel Vadot					 <&cru ACLK_VIO0>,
2248d13bc63SEmmanuel Vadot					 <&cru ACLK_VIO1>,
2258d13bc63SEmmanuel Vadot					 <&cru HCLK_VIO>,
2268d13bc63SEmmanuel Vadot					 <&cru HCLK_VIO_H2P>,
2278d13bc63SEmmanuel Vadot					 <&cru DCLK_VOP>,
2288d13bc63SEmmanuel Vadot					 <&cru SCLK_VOP>;
2298d13bc63SEmmanuel Vadot				pm_qos = <&qos_ebc>,
2308d13bc63SEmmanuel Vadot					 <&qos_iep>,
2318d13bc63SEmmanuel Vadot					 <&qos_lcdc>,
2328d13bc63SEmmanuel Vadot					 <&qos_rga>,
2338d13bc63SEmmanuel Vadot					 <&qos_vip>;
2348d13bc63SEmmanuel Vadot				#power-domain-cells = <0>;
2358d13bc63SEmmanuel Vadot			};
2368d13bc63SEmmanuel Vadot
2378d13bc63SEmmanuel Vadot			power-domain@RK3128_PD_VIDEO {
2388d13bc63SEmmanuel Vadot				reg = <RK3128_PD_VIDEO>;
2398d13bc63SEmmanuel Vadot				clocks = <&cru ACLK_VDPU>,
2408d13bc63SEmmanuel Vadot					 <&cru HCLK_VDPU>,
2418d13bc63SEmmanuel Vadot					 <&cru ACLK_VEPU>,
2428d13bc63SEmmanuel Vadot					 <&cru HCLK_VEPU>,
2438d13bc63SEmmanuel Vadot					 <&cru SCLK_HEVC_CORE>;
2448d13bc63SEmmanuel Vadot				pm_qos = <&qos_vpu>;
2458d13bc63SEmmanuel Vadot				#power-domain-cells = <0>;
2468d13bc63SEmmanuel Vadot			};
2478d13bc63SEmmanuel Vadot
2488d13bc63SEmmanuel Vadot			power-domain@RK3128_PD_GPU {
2498d13bc63SEmmanuel Vadot				reg = <RK3128_PD_GPU>;
2508d13bc63SEmmanuel Vadot				clocks = <&cru ACLK_GPU>;
2518d13bc63SEmmanuel Vadot				pm_qos = <&qos_gpu>;
2528d13bc63SEmmanuel Vadot				#power-domain-cells = <0>;
2538d13bc63SEmmanuel Vadot			};
2548d13bc63SEmmanuel Vadot		};
2558d13bc63SEmmanuel Vadot	};
2568d13bc63SEmmanuel Vadot
257*b2d2a78aSEmmanuel Vadot	vpu: video-codec@10106000 {
258*b2d2a78aSEmmanuel Vadot		compatible = "rockchip,rk3128-vpu", "rockchip,rk3066-vpu";
259*b2d2a78aSEmmanuel Vadot		reg = <0x10106000 0x800>;
260*b2d2a78aSEmmanuel Vadot		interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
261*b2d2a78aSEmmanuel Vadot			     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
262*b2d2a78aSEmmanuel Vadot		interrupt-names = "vepu", "vdpu";
263*b2d2a78aSEmmanuel Vadot		clocks = <&cru ACLK_VDPU>, <&cru HCLK_VDPU>,
264*b2d2a78aSEmmanuel Vadot			 <&cru ACLK_VEPU>, <&cru HCLK_VEPU>;
265*b2d2a78aSEmmanuel Vadot		clock-names = "aclk_vdpu", "hclk_vdpu",
266*b2d2a78aSEmmanuel Vadot			      "aclk_vepu", "hclk_vepu";
267*b2d2a78aSEmmanuel Vadot		iommus = <&vpu_mmu>;
268*b2d2a78aSEmmanuel Vadot		power-domains = <&power RK3128_PD_VIDEO>;
269*b2d2a78aSEmmanuel Vadot	};
270*b2d2a78aSEmmanuel Vadot
271*b2d2a78aSEmmanuel Vadot	vpu_mmu: iommu@10106800 {
272*b2d2a78aSEmmanuel Vadot		compatible = "rockchip,iommu";
273*b2d2a78aSEmmanuel Vadot		reg = <0x10106800 0x100>;
274*b2d2a78aSEmmanuel Vadot		interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
275*b2d2a78aSEmmanuel Vadot		clocks = <&cru ACLK_VEPU>, <&cru HCLK_VDPU>;
276*b2d2a78aSEmmanuel Vadot		clock-names = "aclk", "iface";
277*b2d2a78aSEmmanuel Vadot		power-domains = <&power RK3128_PD_VIDEO>;
278*b2d2a78aSEmmanuel Vadot		#iommu-cells = <0>;
279*b2d2a78aSEmmanuel Vadot	};
280*b2d2a78aSEmmanuel Vadot
28101950c46SEmmanuel Vadot	vop: vop@1010e000 {
28201950c46SEmmanuel Vadot		compatible = "rockchip,rk3126-vop";
28301950c46SEmmanuel Vadot		reg = <0x1010e000 0x300>;
28401950c46SEmmanuel Vadot		interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
28501950c46SEmmanuel Vadot		clocks = <&cru ACLK_LCDC0>, <&cru DCLK_VOP>,
28601950c46SEmmanuel Vadot			 <&cru HCLK_LCDC0>;
28701950c46SEmmanuel Vadot		clock-names = "aclk_vop", "dclk_vop",
28801950c46SEmmanuel Vadot			      "hclk_vop";
28901950c46SEmmanuel Vadot		resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>,
29001950c46SEmmanuel Vadot			 <&cru SRST_VOP_D>;
29101950c46SEmmanuel Vadot		reset-names = "axi", "ahb",
29201950c46SEmmanuel Vadot			      "dclk";
29301950c46SEmmanuel Vadot		power-domains = <&power RK3128_PD_VIO>;
29401950c46SEmmanuel Vadot		status = "disabled";
29501950c46SEmmanuel Vadot
29601950c46SEmmanuel Vadot		vop_out: port {
29701950c46SEmmanuel Vadot			#address-cells = <1>;
29801950c46SEmmanuel Vadot			#size-cells = <0>;
29901950c46SEmmanuel Vadot
30001950c46SEmmanuel Vadot			vop_out_hdmi: endpoint@0 {
30101950c46SEmmanuel Vadot				reg = <0>;
30201950c46SEmmanuel Vadot				remote-endpoint = <&hdmi_in_vop>;
30301950c46SEmmanuel Vadot			};
3040e8011faSEmmanuel Vadot
3050e8011faSEmmanuel Vadot			vop_out_dsi: endpoint@1 {
3060e8011faSEmmanuel Vadot				reg = <1>;
3070e8011faSEmmanuel Vadot				remote-endpoint = <&dsi_in_vop>;
3080e8011faSEmmanuel Vadot			};
3090e8011faSEmmanuel Vadot		};
3100e8011faSEmmanuel Vadot	};
3110e8011faSEmmanuel Vadot
3120e8011faSEmmanuel Vadot	dsi: dsi@10110000 {
3130e8011faSEmmanuel Vadot		compatible = "rockchip,rk3128-mipi-dsi", "snps,dw-mipi-dsi";
3140e8011faSEmmanuel Vadot		reg = <0x10110000 0x4000>;
3150e8011faSEmmanuel Vadot		interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
3160e8011faSEmmanuel Vadot		clocks = <&cru PCLK_MIPI>;
3170e8011faSEmmanuel Vadot		clock-names = "pclk";
3180e8011faSEmmanuel Vadot		phys = <&dphy>;
3190e8011faSEmmanuel Vadot		phy-names = "dphy";
3200e8011faSEmmanuel Vadot		power-domains = <&power RK3128_PD_VIO>;
3210e8011faSEmmanuel Vadot		resets = <&cru SRST_VIO_MIPI_DSI>;
3220e8011faSEmmanuel Vadot		reset-names = "apb";
3230e8011faSEmmanuel Vadot		rockchip,grf = <&grf>;
3240e8011faSEmmanuel Vadot		status = "disabled";
3250e8011faSEmmanuel Vadot
3260e8011faSEmmanuel Vadot		ports {
3270e8011faSEmmanuel Vadot			#address-cells = <1>;
3280e8011faSEmmanuel Vadot			#size-cells = <0>;
3290e8011faSEmmanuel Vadot
3300e8011faSEmmanuel Vadot			dsi_in: port@0 {
3310e8011faSEmmanuel Vadot				reg = <0>;
3320e8011faSEmmanuel Vadot
3330e8011faSEmmanuel Vadot				dsi_in_vop: endpoint {
3340e8011faSEmmanuel Vadot					remote-endpoint = <&vop_out_dsi>;
3350e8011faSEmmanuel Vadot				};
3360e8011faSEmmanuel Vadot			};
3370e8011faSEmmanuel Vadot
3380e8011faSEmmanuel Vadot			dsi_out: port@1 {
3390e8011faSEmmanuel Vadot				reg = <1>;
3400e8011faSEmmanuel Vadot			};
34101950c46SEmmanuel Vadot		};
34201950c46SEmmanuel Vadot	};
34301950c46SEmmanuel Vadot
3448d13bc63SEmmanuel Vadot	qos_gpu: qos@1012d000 {
3458d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-qos", "syscon";
3468d13bc63SEmmanuel Vadot		reg = <0x1012d000 0x20>;
3478d13bc63SEmmanuel Vadot	};
3488d13bc63SEmmanuel Vadot
3498d13bc63SEmmanuel Vadot	qos_vpu: qos@1012e000 {
3508d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-qos", "syscon";
3518d13bc63SEmmanuel Vadot		reg = <0x1012e000 0x20>;
3528d13bc63SEmmanuel Vadot	};
3538d13bc63SEmmanuel Vadot
3548d13bc63SEmmanuel Vadot	qos_rga: qos@1012f000 {
3558d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-qos", "syscon";
3568d13bc63SEmmanuel Vadot		reg = <0x1012f000 0x20>;
3578d13bc63SEmmanuel Vadot	};
3588d13bc63SEmmanuel Vadot
3598d13bc63SEmmanuel Vadot	qos_ebc: qos@1012f080 {
3608d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-qos", "syscon";
3618d13bc63SEmmanuel Vadot		reg = <0x1012f080 0x20>;
3628d13bc63SEmmanuel Vadot	};
3638d13bc63SEmmanuel Vadot
3648d13bc63SEmmanuel Vadot	qos_iep: qos@1012f100 {
3658d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-qos", "syscon";
3668d13bc63SEmmanuel Vadot		reg = <0x1012f100 0x20>;
3678d13bc63SEmmanuel Vadot	};
3688d13bc63SEmmanuel Vadot
3698d13bc63SEmmanuel Vadot	qos_lcdc: qos@1012f180 {
3708d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-qos", "syscon";
3718d13bc63SEmmanuel Vadot		reg = <0x1012f180 0x20>;
3728d13bc63SEmmanuel Vadot	};
3738d13bc63SEmmanuel Vadot
3748d13bc63SEmmanuel Vadot	qos_vip: qos@1012f200 {
3758d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-qos", "syscon";
3768d13bc63SEmmanuel Vadot		reg = <0x1012f200 0x20>;
377f126890aSEmmanuel Vadot	};
378f126890aSEmmanuel Vadot
379f126890aSEmmanuel Vadot	gic: interrupt-controller@10139000 {
380f126890aSEmmanuel Vadot		compatible = "arm,cortex-a7-gic";
381f126890aSEmmanuel Vadot		reg = <0x10139000 0x1000>,
382f126890aSEmmanuel Vadot		      <0x1013a000 0x1000>,
383f126890aSEmmanuel Vadot		      <0x1013c000 0x2000>,
384f126890aSEmmanuel Vadot		      <0x1013e000 0x2000>;
385f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
386f126890aSEmmanuel Vadot		interrupt-controller;
387f126890aSEmmanuel Vadot		#interrupt-cells = <3>;
388f126890aSEmmanuel Vadot		#address-cells = <0>;
389f126890aSEmmanuel Vadot	};
390f126890aSEmmanuel Vadot
391f126890aSEmmanuel Vadot	usb_otg: usb@10180000 {
392f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-usb", "rockchip,rk3066-usb", "snps,dwc2";
393f126890aSEmmanuel Vadot		reg = <0x10180000 0x40000>;
394f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
395f126890aSEmmanuel Vadot		clocks = <&cru HCLK_OTG>;
396f126890aSEmmanuel Vadot		clock-names = "otg";
397f126890aSEmmanuel Vadot		dr_mode = "otg";
3988d13bc63SEmmanuel Vadot		g-np-tx-fifo-size = <16>;
3998d13bc63SEmmanuel Vadot		g-rx-fifo-size = <280>;
4008d13bc63SEmmanuel Vadot		g-tx-fifo-size = <256 128 128 64 32 16>;
401f126890aSEmmanuel Vadot		phys = <&usb2phy_otg>;
402f126890aSEmmanuel Vadot		phy-names = "usb2-phy";
403f126890aSEmmanuel Vadot		status = "disabled";
404f126890aSEmmanuel Vadot	};
405f126890aSEmmanuel Vadot
406f126890aSEmmanuel Vadot	usb_host_ehci: usb@101c0000 {
407f126890aSEmmanuel Vadot		compatible = "generic-ehci";
408f126890aSEmmanuel Vadot		reg = <0x101c0000 0x20000>;
409f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
4108d13bc63SEmmanuel Vadot		clocks = <&cru HCLK_HOST2>;
411f126890aSEmmanuel Vadot		phys = <&usb2phy_host>;
412f126890aSEmmanuel Vadot		phy-names = "usb";
413f126890aSEmmanuel Vadot		status = "disabled";
414f126890aSEmmanuel Vadot	};
415f126890aSEmmanuel Vadot
416f126890aSEmmanuel Vadot	usb_host_ohci: usb@101e0000 {
417f126890aSEmmanuel Vadot		compatible = "generic-ohci";
418f126890aSEmmanuel Vadot		reg = <0x101e0000 0x20000>;
419f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
4208d13bc63SEmmanuel Vadot		clocks = <&cru HCLK_HOST2>;
421f126890aSEmmanuel Vadot		phys = <&usb2phy_host>;
422f126890aSEmmanuel Vadot		phy-names = "usb";
423f126890aSEmmanuel Vadot		status = "disabled";
424f126890aSEmmanuel Vadot	};
425f126890aSEmmanuel Vadot
4260e8011faSEmmanuel Vadot	i2s_8ch: i2s@10200000 {
4270e8011faSEmmanuel Vadot		compatible = "rockchip,rk3128-i2s", "rockchip,rk3066-i2s";
4280e8011faSEmmanuel Vadot		reg = <0x10200000 0x1000>;
4290e8011faSEmmanuel Vadot		interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
4300e8011faSEmmanuel Vadot		clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S_8CH>;
4310e8011faSEmmanuel Vadot		clock-names = "i2s_clk", "i2s_hclk";
4320e8011faSEmmanuel Vadot		dmas = <&pdma 14>, <&pdma 15>;
4330e8011faSEmmanuel Vadot		dma-names = "tx", "rx";
4340e8011faSEmmanuel Vadot		#sound-dai-cells = <0>;
4350e8011faSEmmanuel Vadot		status = "disabled";
4360e8011faSEmmanuel Vadot	};
4370e8011faSEmmanuel Vadot
4380e8011faSEmmanuel Vadot	spdif: spdif@10204000 {
4390e8011faSEmmanuel Vadot		compatible = "rockchip,rk3128-spdif", "rockchip,rk3066-spdif";
4400e8011faSEmmanuel Vadot		reg = <0x10204000 0x1000>;
4410e8011faSEmmanuel Vadot		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
4420e8011faSEmmanuel Vadot		clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>;
4430e8011faSEmmanuel Vadot		clock-names = "mclk", "hclk";
4440e8011faSEmmanuel Vadot		dmas = <&pdma 13>;
4450e8011faSEmmanuel Vadot		dma-names = "tx";
4460e8011faSEmmanuel Vadot		pinctrl-names = "default";
4470e8011faSEmmanuel Vadot		pinctrl-0 = <&spdif_tx>;
4480e8011faSEmmanuel Vadot		#sound-dai-cells = <0>;
4490e8011faSEmmanuel Vadot		status = "disabled";
4500e8011faSEmmanuel Vadot	};
4510e8011faSEmmanuel Vadot
4520e8011faSEmmanuel Vadot	sfc: spi@1020c000 {
4530e8011faSEmmanuel Vadot		compatible = "rockchip,sfc";
4540e8011faSEmmanuel Vadot		reg = <0x1020c000 0x8000>;
4550e8011faSEmmanuel Vadot		interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
456*b2d2a78aSEmmanuel Vadot		clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
4570e8011faSEmmanuel Vadot		clock-names = "clk_sfc", "hclk_sfc";
4580e8011faSEmmanuel Vadot		status = "disabled";
4590e8011faSEmmanuel Vadot	};
4600e8011faSEmmanuel Vadot
461f126890aSEmmanuel Vadot	sdmmc: mmc@10214000 {
462f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
463f126890aSEmmanuel Vadot		reg = <0x10214000 0x4000>;
464f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
465f126890aSEmmanuel Vadot		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
466f126890aSEmmanuel Vadot			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
467f126890aSEmmanuel Vadot		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
468f126890aSEmmanuel Vadot		dmas = <&pdma 10>;
469f126890aSEmmanuel Vadot		dma-names = "rx-tx";
470f126890aSEmmanuel Vadot		fifo-depth = <256>;
471f126890aSEmmanuel Vadot		max-frequency = <150000000>;
472f126890aSEmmanuel Vadot		resets = <&cru SRST_SDMMC>;
473f126890aSEmmanuel Vadot		reset-names = "reset";
474f126890aSEmmanuel Vadot		status = "disabled";
475f126890aSEmmanuel Vadot	};
476f126890aSEmmanuel Vadot
477f126890aSEmmanuel Vadot	sdio: mmc@10218000 {
478f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
479f126890aSEmmanuel Vadot		reg = <0x10218000 0x4000>;
480f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
481f126890aSEmmanuel Vadot		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
482f126890aSEmmanuel Vadot			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
483f126890aSEmmanuel Vadot		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
484f126890aSEmmanuel Vadot		dmas = <&pdma 11>;
485f126890aSEmmanuel Vadot		dma-names = "rx-tx";
486f126890aSEmmanuel Vadot		fifo-depth = <256>;
487f126890aSEmmanuel Vadot		max-frequency = <150000000>;
488f126890aSEmmanuel Vadot		resets = <&cru SRST_SDIO>;
489f126890aSEmmanuel Vadot		reset-names = "reset";
490f126890aSEmmanuel Vadot		status = "disabled";
491f126890aSEmmanuel Vadot	};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot	emmc: mmc@1021c000 {
494f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
495f126890aSEmmanuel Vadot		reg = <0x1021c000 0x4000>;
496f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
497f126890aSEmmanuel Vadot		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
498f126890aSEmmanuel Vadot			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
499f126890aSEmmanuel Vadot		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
500f126890aSEmmanuel Vadot		dmas = <&pdma 12>;
501f126890aSEmmanuel Vadot		dma-names = "rx-tx";
502f126890aSEmmanuel Vadot		fifo-depth = <256>;
503f126890aSEmmanuel Vadot		max-frequency = <150000000>;
504f126890aSEmmanuel Vadot		resets = <&cru SRST_EMMC>;
505f126890aSEmmanuel Vadot		reset-names = "reset";
506f126890aSEmmanuel Vadot		status = "disabled";
507f126890aSEmmanuel Vadot	};
508f126890aSEmmanuel Vadot
5090e8011faSEmmanuel Vadot	i2s_2ch: i2s@10220000 {
5100e8011faSEmmanuel Vadot		compatible = "rockchip,rk3128-i2s", "rockchip,rk3066-i2s";
5110e8011faSEmmanuel Vadot		reg = <0x10220000 0x1000>;
5120e8011faSEmmanuel Vadot		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
5130e8011faSEmmanuel Vadot		clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S_2CH>;
5140e8011faSEmmanuel Vadot		clock-names = "i2s_clk", "i2s_hclk";
5150e8011faSEmmanuel Vadot		dmas = <&pdma 0>, <&pdma 1>;
5160e8011faSEmmanuel Vadot		dma-names = "tx", "rx";
5170e8011faSEmmanuel Vadot		rockchip,playback-channels = <2>;
5180e8011faSEmmanuel Vadot		pinctrl-names = "default";
5190e8011faSEmmanuel Vadot		pinctrl-0 = <&i2s_bus>;
5200e8011faSEmmanuel Vadot		#sound-dai-cells = <0>;
5210e8011faSEmmanuel Vadot		status = "disabled";
5220e8011faSEmmanuel Vadot	};
5230e8011faSEmmanuel Vadot
524f126890aSEmmanuel Vadot	nfc: nand-controller@10500000 {
525f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-nfc", "rockchip,rk2928-nfc";
526f126890aSEmmanuel Vadot		reg = <0x10500000 0x4000>;
527f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
528f126890aSEmmanuel Vadot		clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
529f126890aSEmmanuel Vadot		clock-names = "ahb", "nfc";
530f126890aSEmmanuel Vadot		pinctrl-names = "default";
531f126890aSEmmanuel Vadot		pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0
532f126890aSEmmanuel Vadot			     &flash_dqs &flash_rdn &flash_rdy &flash_wrn>;
533f126890aSEmmanuel Vadot		status = "disabled";
534f126890aSEmmanuel Vadot	};
535f126890aSEmmanuel Vadot
536f126890aSEmmanuel Vadot	cru: clock-controller@20000000 {
537f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-cru";
538f126890aSEmmanuel Vadot		reg = <0x20000000 0x1000>;
539f126890aSEmmanuel Vadot		clocks = <&xin24m>;
540f126890aSEmmanuel Vadot		clock-names = "xin24m";
541f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
542f126890aSEmmanuel Vadot		#clock-cells = <1>;
543f126890aSEmmanuel Vadot		#reset-cells = <1>;
544f126890aSEmmanuel Vadot		assigned-clocks = <&cru PLL_GPLL>;
545f126890aSEmmanuel Vadot		assigned-clock-rates = <594000000>;
546f126890aSEmmanuel Vadot	};
547f126890aSEmmanuel Vadot
548f126890aSEmmanuel Vadot	grf: syscon@20008000 {
549f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-grf", "syscon", "simple-mfd";
550f126890aSEmmanuel Vadot		reg = <0x20008000 0x1000>;
551f126890aSEmmanuel Vadot		#address-cells = <1>;
552f126890aSEmmanuel Vadot		#size-cells = <1>;
553f126890aSEmmanuel Vadot
554f126890aSEmmanuel Vadot		usb2phy: usb2phy@17c {
555f126890aSEmmanuel Vadot			compatible = "rockchip,rk3128-usb2phy";
556f126890aSEmmanuel Vadot			reg = <0x017c 0x0c>;
557f126890aSEmmanuel Vadot			clocks = <&cru SCLK_OTGPHY0>;
558f126890aSEmmanuel Vadot			clock-names = "phyclk";
559f126890aSEmmanuel Vadot			clock-output-names = "usb480m_phy";
5608d13bc63SEmmanuel Vadot			assigned-clocks = <&cru SCLK_USB480M>;
5618d13bc63SEmmanuel Vadot			assigned-clock-parents = <&usb2phy>;
562f126890aSEmmanuel Vadot			#clock-cells = <0>;
563f126890aSEmmanuel Vadot			status = "disabled";
564f126890aSEmmanuel Vadot
565f126890aSEmmanuel Vadot			usb2phy_host: host-port {
566f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
567f126890aSEmmanuel Vadot				interrupt-names = "linestate";
568f126890aSEmmanuel Vadot				#phy-cells = <0>;
569f126890aSEmmanuel Vadot				status = "disabled";
570f126890aSEmmanuel Vadot			};
571f126890aSEmmanuel Vadot
572f126890aSEmmanuel Vadot			usb2phy_otg: otg-port {
573f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
574f126890aSEmmanuel Vadot					     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
575f126890aSEmmanuel Vadot					     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
576f126890aSEmmanuel Vadot				interrupt-names = "otg-bvalid", "otg-id",
577f126890aSEmmanuel Vadot						  "linestate";
578f126890aSEmmanuel Vadot				#phy-cells = <0>;
579f126890aSEmmanuel Vadot				status = "disabled";
580f126890aSEmmanuel Vadot			};
581f126890aSEmmanuel Vadot		};
582f126890aSEmmanuel Vadot	};
583f126890aSEmmanuel Vadot
58401950c46SEmmanuel Vadot	hdmi: hdmi@20034000 {
58501950c46SEmmanuel Vadot		compatible = "rockchip,rk3128-inno-hdmi";
58601950c46SEmmanuel Vadot		reg = <0x20034000 0x4000>;
58701950c46SEmmanuel Vadot		interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
58801950c46SEmmanuel Vadot		clocks = <&cru PCLK_HDMI>, <&cru DCLK_VOP>;
58901950c46SEmmanuel Vadot		clock-names = "pclk", "ref";
59001950c46SEmmanuel Vadot		pinctrl-names = "default";
59101950c46SEmmanuel Vadot		pinctrl-0 = <&hdmii2c_xfer &hdmi_hpd &hdmi_cec>;
59201950c46SEmmanuel Vadot		power-domains = <&power RK3128_PD_VIO>;
5930e8011faSEmmanuel Vadot		#sound-dai-cells = <0>;
59401950c46SEmmanuel Vadot		status = "disabled";
59501950c46SEmmanuel Vadot
59601950c46SEmmanuel Vadot		ports {
59701950c46SEmmanuel Vadot			#address-cells = <1>;
59801950c46SEmmanuel Vadot			#size-cells = <0>;
59901950c46SEmmanuel Vadot
60001950c46SEmmanuel Vadot			hdmi_in: port@0 {
60101950c46SEmmanuel Vadot				reg = <0>;
60201950c46SEmmanuel Vadot				hdmi_in_vop: endpoint {
60301950c46SEmmanuel Vadot					remote-endpoint = <&vop_out_hdmi>;
60401950c46SEmmanuel Vadot				};
60501950c46SEmmanuel Vadot			};
60601950c46SEmmanuel Vadot
60701950c46SEmmanuel Vadot			hdmi_out: port@1 {
60801950c46SEmmanuel Vadot				reg = <1>;
60901950c46SEmmanuel Vadot			};
61001950c46SEmmanuel Vadot		};
61101950c46SEmmanuel Vadot	};
61201950c46SEmmanuel Vadot
6130e8011faSEmmanuel Vadot	dphy: phy@20038000 {
6140e8011faSEmmanuel Vadot		compatible = "rockchip,rk3128-dsi-dphy";
6150e8011faSEmmanuel Vadot		reg = <0x20038000 0x4000>;
6160e8011faSEmmanuel Vadot		clocks = <&cru SCLK_MIPI_24M>, <&cru PCLK_MIPIPHY>;
6170e8011faSEmmanuel Vadot		clock-names = "ref", "pclk";
6180e8011faSEmmanuel Vadot		#phy-cells = <0>;
6190e8011faSEmmanuel Vadot		power-domains = <&power RK3128_PD_VIO>;
6200e8011faSEmmanuel Vadot		resets = <&cru SRST_MIPIPHY_P>;
6210e8011faSEmmanuel Vadot		reset-names = "apb";
6220e8011faSEmmanuel Vadot		status = "disabled";
6230e8011faSEmmanuel Vadot	};
6240e8011faSEmmanuel Vadot
625f126890aSEmmanuel Vadot	timer0: timer@20044000 {
626f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
627f126890aSEmmanuel Vadot		reg = <0x20044000 0x20>;
628f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
629aa1a8ff2SEmmanuel Vadot		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
630f126890aSEmmanuel Vadot		clock-names = "pclk", "timer";
631f126890aSEmmanuel Vadot	};
632f126890aSEmmanuel Vadot
633f126890aSEmmanuel Vadot	timer1: timer@20044020 {
634f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
635f126890aSEmmanuel Vadot		reg = <0x20044020 0x20>;
636f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
637aa1a8ff2SEmmanuel Vadot		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER1>;
638f126890aSEmmanuel Vadot		clock-names = "pclk", "timer";
639f126890aSEmmanuel Vadot	};
640f126890aSEmmanuel Vadot
641f126890aSEmmanuel Vadot	timer2: timer@20044040 {
642f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
643f126890aSEmmanuel Vadot		reg = <0x20044040 0x20>;
644f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
645aa1a8ff2SEmmanuel Vadot		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER2>;
646f126890aSEmmanuel Vadot		clock-names = "pclk", "timer";
647f126890aSEmmanuel Vadot	};
648f126890aSEmmanuel Vadot
649f126890aSEmmanuel Vadot	timer3: timer@20044060 {
650f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
651f126890aSEmmanuel Vadot		reg = <0x20044060 0x20>;
652f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
653aa1a8ff2SEmmanuel Vadot		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER3>;
654f126890aSEmmanuel Vadot		clock-names = "pclk", "timer";
655f126890aSEmmanuel Vadot	};
656f126890aSEmmanuel Vadot
657f126890aSEmmanuel Vadot	timer4: timer@20044080 {
658f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
659f126890aSEmmanuel Vadot		reg = <0x20044080 0x20>;
660f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
661aa1a8ff2SEmmanuel Vadot		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>;
662f126890aSEmmanuel Vadot		clock-names = "pclk", "timer";
663f126890aSEmmanuel Vadot	};
664f126890aSEmmanuel Vadot
665f126890aSEmmanuel Vadot	timer5: timer@200440a0 {
666f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
667f126890aSEmmanuel Vadot		reg = <0x200440a0 0x20>;
668f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
669aa1a8ff2SEmmanuel Vadot		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER5>;
670f126890aSEmmanuel Vadot		clock-names = "pclk", "timer";
671f126890aSEmmanuel Vadot	};
672f126890aSEmmanuel Vadot
673f126890aSEmmanuel Vadot	watchdog: watchdog@2004c000 {
674f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-wdt", "snps,dw-wdt";
675f126890aSEmmanuel Vadot		reg = <0x2004c000 0x100>;
676f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
677f126890aSEmmanuel Vadot		clocks = <&cru PCLK_WDT>;
678f126890aSEmmanuel Vadot		status = "disabled";
679f126890aSEmmanuel Vadot	};
680f126890aSEmmanuel Vadot
681f126890aSEmmanuel Vadot	pwm0: pwm@20050000 {
682f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
683f126890aSEmmanuel Vadot		reg = <0x20050000 0x10>;
684f126890aSEmmanuel Vadot		clocks = <&cru PCLK_PWM>;
685f126890aSEmmanuel Vadot		pinctrl-names = "default";
686f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm0_pin>;
687f126890aSEmmanuel Vadot		#pwm-cells = <3>;
688f126890aSEmmanuel Vadot		status = "disabled";
689f126890aSEmmanuel Vadot	};
690f126890aSEmmanuel Vadot
691f126890aSEmmanuel Vadot	pwm1: pwm@20050010 {
692f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
693f126890aSEmmanuel Vadot		reg = <0x20050010 0x10>;
694f126890aSEmmanuel Vadot		clocks = <&cru PCLK_PWM>;
695f126890aSEmmanuel Vadot		pinctrl-names = "default";
696f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm1_pin>;
697f126890aSEmmanuel Vadot		#pwm-cells = <3>;
698f126890aSEmmanuel Vadot		status = "disabled";
699f126890aSEmmanuel Vadot	};
700f126890aSEmmanuel Vadot
701f126890aSEmmanuel Vadot	pwm2: pwm@20050020 {
702f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
703f126890aSEmmanuel Vadot		reg = <0x20050020 0x10>;
704f126890aSEmmanuel Vadot		clocks = <&cru PCLK_PWM>;
705f126890aSEmmanuel Vadot		pinctrl-names = "default";
706f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm2_pin>;
707f126890aSEmmanuel Vadot		#pwm-cells = <3>;
708f126890aSEmmanuel Vadot		status = "disabled";
709f126890aSEmmanuel Vadot	};
710f126890aSEmmanuel Vadot
711f126890aSEmmanuel Vadot	pwm3: pwm@20050030 {
712f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
713f126890aSEmmanuel Vadot		reg = <0x20050030 0x10>;
714f126890aSEmmanuel Vadot		clocks = <&cru PCLK_PWM>;
715f126890aSEmmanuel Vadot		pinctrl-names = "default";
716f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm3_pin>;
717f126890aSEmmanuel Vadot		#pwm-cells = <3>;
718f126890aSEmmanuel Vadot		status = "disabled";
719f126890aSEmmanuel Vadot	};
720f126890aSEmmanuel Vadot
721f126890aSEmmanuel Vadot	i2c1: i2c@20056000 {
722f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
723f126890aSEmmanuel Vadot		reg = <0x20056000 0x1000>;
724f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
725f126890aSEmmanuel Vadot		clock-names = "i2c";
726f126890aSEmmanuel Vadot		clocks = <&cru PCLK_I2C1>;
727f126890aSEmmanuel Vadot		pinctrl-names = "default";
728f126890aSEmmanuel Vadot		pinctrl-0 = <&i2c1_xfer>;
729f126890aSEmmanuel Vadot		#address-cells = <1>;
730f126890aSEmmanuel Vadot		#size-cells = <0>;
731f126890aSEmmanuel Vadot		status = "disabled";
732f126890aSEmmanuel Vadot	};
733f126890aSEmmanuel Vadot
734f126890aSEmmanuel Vadot	i2c2: i2c@2005a000 {
735f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
736f126890aSEmmanuel Vadot		reg = <0x2005a000 0x1000>;
737f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
738f126890aSEmmanuel Vadot		clock-names = "i2c";
739f126890aSEmmanuel Vadot		clocks = <&cru PCLK_I2C2>;
740f126890aSEmmanuel Vadot		pinctrl-names = "default";
741f126890aSEmmanuel Vadot		pinctrl-0 = <&i2c2_xfer>;
742f126890aSEmmanuel Vadot		#address-cells = <1>;
743f126890aSEmmanuel Vadot		#size-cells = <0>;
744f126890aSEmmanuel Vadot		status = "disabled";
745f126890aSEmmanuel Vadot	};
746f126890aSEmmanuel Vadot
747f126890aSEmmanuel Vadot	i2c3: i2c@2005e000 {
748f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
749f126890aSEmmanuel Vadot		reg = <0x2005e000 0x1000>;
750f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
751f126890aSEmmanuel Vadot		clock-names = "i2c";
752f126890aSEmmanuel Vadot		clocks = <&cru PCLK_I2C3>;
753f126890aSEmmanuel Vadot		pinctrl-names = "default";
754f126890aSEmmanuel Vadot		pinctrl-0 = <&i2c3_xfer>;
755f126890aSEmmanuel Vadot		#address-cells = <1>;
756f126890aSEmmanuel Vadot		#size-cells = <0>;
757f126890aSEmmanuel Vadot		status = "disabled";
758f126890aSEmmanuel Vadot	};
759f126890aSEmmanuel Vadot
760f126890aSEmmanuel Vadot	uart0: serial@20060000 {
761f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
762f126890aSEmmanuel Vadot		reg = <0x20060000 0x100>;
763f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
764f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
765f126890aSEmmanuel Vadot		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
766f126890aSEmmanuel Vadot		clock-names = "baudclk", "apb_pclk";
767f126890aSEmmanuel Vadot		dmas = <&pdma 2>, <&pdma 3>;
768f126890aSEmmanuel Vadot		dma-names = "tx", "rx";
769f126890aSEmmanuel Vadot		pinctrl-names = "default";
770f126890aSEmmanuel Vadot		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
771f126890aSEmmanuel Vadot		reg-io-width = <4>;
772f126890aSEmmanuel Vadot		reg-shift = <2>;
773f126890aSEmmanuel Vadot		status = "disabled";
774f126890aSEmmanuel Vadot	};
775f126890aSEmmanuel Vadot
776f126890aSEmmanuel Vadot	uart1: serial@20064000 {
777f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
778f126890aSEmmanuel Vadot		reg = <0x20064000 0x100>;
779f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
780f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
781f126890aSEmmanuel Vadot		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
782f126890aSEmmanuel Vadot		clock-names = "baudclk", "apb_pclk";
783f126890aSEmmanuel Vadot		dmas = <&pdma 4>, <&pdma 5>;
784f126890aSEmmanuel Vadot		dma-names = "tx", "rx";
785f126890aSEmmanuel Vadot		pinctrl-names = "default";
786f126890aSEmmanuel Vadot		pinctrl-0 = <&uart1_xfer>;
787f126890aSEmmanuel Vadot		reg-io-width = <4>;
788f126890aSEmmanuel Vadot		reg-shift = <2>;
789f126890aSEmmanuel Vadot		status = "disabled";
790f126890aSEmmanuel Vadot	};
791f126890aSEmmanuel Vadot
792f126890aSEmmanuel Vadot	uart2: serial@20068000 {
793f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
794f126890aSEmmanuel Vadot		reg = <0x20068000 0x100>;
795f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
796f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
797f126890aSEmmanuel Vadot		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
798f126890aSEmmanuel Vadot		clock-names = "baudclk", "apb_pclk";
799f126890aSEmmanuel Vadot		dmas = <&pdma 6>, <&pdma 7>;
800f126890aSEmmanuel Vadot		dma-names = "tx", "rx";
801f126890aSEmmanuel Vadot		pinctrl-names = "default";
802f126890aSEmmanuel Vadot		pinctrl-0 = <&uart2_xfer>;
803f126890aSEmmanuel Vadot		reg-io-width = <4>;
804f126890aSEmmanuel Vadot		reg-shift = <2>;
805f126890aSEmmanuel Vadot		status = "disabled";
806f126890aSEmmanuel Vadot	};
807f126890aSEmmanuel Vadot
808f126890aSEmmanuel Vadot	saradc: saradc@2006c000 {
809f126890aSEmmanuel Vadot		compatible = "rockchip,saradc";
810f126890aSEmmanuel Vadot		reg = <0x2006c000 0x100>;
811f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
812f126890aSEmmanuel Vadot		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
813f126890aSEmmanuel Vadot		clock-names = "saradc", "apb_pclk";
814f126890aSEmmanuel Vadot		resets = <&cru SRST_SARADC>;
815f126890aSEmmanuel Vadot		reset-names = "saradc-apb";
816f126890aSEmmanuel Vadot		#io-channel-cells = <1>;
817f126890aSEmmanuel Vadot		status = "disabled";
818f126890aSEmmanuel Vadot	};
819f126890aSEmmanuel Vadot
820f126890aSEmmanuel Vadot	i2c0: i2c@20072000 {
821f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
822aa1a8ff2SEmmanuel Vadot		reg = <0x20072000 0x1000>;
823f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
824f126890aSEmmanuel Vadot		clock-names = "i2c";
825f126890aSEmmanuel Vadot		clocks = <&cru PCLK_I2C0>;
826f126890aSEmmanuel Vadot		pinctrl-names = "default";
827f126890aSEmmanuel Vadot		pinctrl-0 = <&i2c0_xfer>;
828f126890aSEmmanuel Vadot		#address-cells = <1>;
829f126890aSEmmanuel Vadot		#size-cells = <0>;
830f126890aSEmmanuel Vadot		status = "disabled";
831f126890aSEmmanuel Vadot	};
832f126890aSEmmanuel Vadot
833f126890aSEmmanuel Vadot	spi0: spi@20074000 {
834f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-spi", "rockchip,rk3066-spi";
835f126890aSEmmanuel Vadot		reg = <0x20074000 0x1000>;
836f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
837f126890aSEmmanuel Vadot		clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
838f126890aSEmmanuel Vadot		clock-names = "spiclk", "apb_pclk";
839f126890aSEmmanuel Vadot		dmas = <&pdma 8>, <&pdma 9>;
840f126890aSEmmanuel Vadot		dma-names = "tx", "rx";
841f126890aSEmmanuel Vadot		pinctrl-names = "default";
842f126890aSEmmanuel Vadot		pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>;
843f126890aSEmmanuel Vadot		#address-cells = <1>;
844f126890aSEmmanuel Vadot		#size-cells = <0>;
845f126890aSEmmanuel Vadot		status = "disabled";
846f126890aSEmmanuel Vadot	};
847f126890aSEmmanuel Vadot
848f126890aSEmmanuel Vadot	pdma: dma-controller@20078000 {
849f126890aSEmmanuel Vadot		compatible = "arm,pl330", "arm,primecell";
850f126890aSEmmanuel Vadot		reg = <0x20078000 0x4000>;
851f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
852f126890aSEmmanuel Vadot			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
853f126890aSEmmanuel Vadot		arm,pl330-broken-no-flushp;
854aa1a8ff2SEmmanuel Vadot		arm,pl330-periph-burst;
855f126890aSEmmanuel Vadot		clocks = <&cru ACLK_DMAC>;
856f126890aSEmmanuel Vadot		clock-names = "apb_pclk";
857f126890aSEmmanuel Vadot		#dma-cells = <1>;
858f126890aSEmmanuel Vadot	};
859f126890aSEmmanuel Vadot
8608d13bc63SEmmanuel Vadot	gmac: ethernet@2008c000 {
8618d13bc63SEmmanuel Vadot		compatible = "rockchip,rk3128-gmac";
8628d13bc63SEmmanuel Vadot		reg = <0x2008c000 0x4000>;
8638d13bc63SEmmanuel Vadot		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
8648d13bc63SEmmanuel Vadot			     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
8658d13bc63SEmmanuel Vadot		interrupt-names = "macirq", "eth_wake_irq";
8668d13bc63SEmmanuel Vadot		clocks = <&cru SCLK_MAC>,
8678d13bc63SEmmanuel Vadot			 <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
8688d13bc63SEmmanuel Vadot			 <&cru SCLK_MAC_REF>, <&cru SCLK_MAC_REFOUT>,
8698d13bc63SEmmanuel Vadot			 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
8708d13bc63SEmmanuel Vadot		clock-names = "stmmaceth",
8718d13bc63SEmmanuel Vadot			      "mac_clk_rx", "mac_clk_tx",
8728d13bc63SEmmanuel Vadot			      "clk_mac_ref", "clk_mac_refout",
8738d13bc63SEmmanuel Vadot			      "aclk_mac", "pclk_mac";
8748d13bc63SEmmanuel Vadot		resets = <&cru SRST_GMAC>;
8758d13bc63SEmmanuel Vadot		reset-names = "stmmaceth";
8768d13bc63SEmmanuel Vadot		rockchip,grf = <&grf>;
8778d13bc63SEmmanuel Vadot		rx-fifo-depth = <4096>;
8788d13bc63SEmmanuel Vadot		tx-fifo-depth = <2048>;
8798d13bc63SEmmanuel Vadot		status = "disabled";
8808d13bc63SEmmanuel Vadot
8818d13bc63SEmmanuel Vadot		mdio: mdio {
8828d13bc63SEmmanuel Vadot			compatible = "snps,dwmac-mdio";
8838d13bc63SEmmanuel Vadot			#address-cells = <0x1>;
8848d13bc63SEmmanuel Vadot			#size-cells = <0x0>;
8858d13bc63SEmmanuel Vadot		};
8868d13bc63SEmmanuel Vadot	};
8878d13bc63SEmmanuel Vadot
888f126890aSEmmanuel Vadot	pinctrl: pinctrl {
889f126890aSEmmanuel Vadot		compatible = "rockchip,rk3128-pinctrl";
890f126890aSEmmanuel Vadot		rockchip,grf = <&grf>;
891f126890aSEmmanuel Vadot		#address-cells = <1>;
892f126890aSEmmanuel Vadot		#size-cells = <1>;
893f126890aSEmmanuel Vadot		ranges;
894f126890aSEmmanuel Vadot
895f126890aSEmmanuel Vadot		gpio0: gpio@2007c000 {
896f126890aSEmmanuel Vadot			compatible = "rockchip,gpio-bank";
897f126890aSEmmanuel Vadot			reg = <0x2007c000 0x100>;
898f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
899f126890aSEmmanuel Vadot			clocks = <&cru PCLK_GPIO0>;
900f126890aSEmmanuel Vadot			gpio-controller;
901f126890aSEmmanuel Vadot			#gpio-cells = <2>;
902f126890aSEmmanuel Vadot			interrupt-controller;
903f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
904f126890aSEmmanuel Vadot		};
905f126890aSEmmanuel Vadot
906f126890aSEmmanuel Vadot		gpio1: gpio@20080000 {
907f126890aSEmmanuel Vadot			compatible = "rockchip,gpio-bank";
908f126890aSEmmanuel Vadot			reg = <0x20080000 0x100>;
909f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
910f126890aSEmmanuel Vadot			clocks = <&cru PCLK_GPIO1>;
911f126890aSEmmanuel Vadot			gpio-controller;
912f126890aSEmmanuel Vadot			#gpio-cells = <2>;
913f126890aSEmmanuel Vadot			interrupt-controller;
914f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
915f126890aSEmmanuel Vadot		};
916f126890aSEmmanuel Vadot
917f126890aSEmmanuel Vadot		gpio2: gpio@20084000 {
918f126890aSEmmanuel Vadot			compatible = "rockchip,gpio-bank";
919f126890aSEmmanuel Vadot			reg = <0x20084000 0x100>;
920f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
921f126890aSEmmanuel Vadot			clocks = <&cru PCLK_GPIO2>;
922f126890aSEmmanuel Vadot			gpio-controller;
923f126890aSEmmanuel Vadot			#gpio-cells = <2>;
924f126890aSEmmanuel Vadot			interrupt-controller;
925f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
926f126890aSEmmanuel Vadot		};
927f126890aSEmmanuel Vadot
928f126890aSEmmanuel Vadot		gpio3: gpio@20088000 {
929f126890aSEmmanuel Vadot			compatible = "rockchip,gpio-bank";
930f126890aSEmmanuel Vadot			reg = <0x20088000 0x100>;
931f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
932f126890aSEmmanuel Vadot			clocks = <&cru PCLK_GPIO3>;
933f126890aSEmmanuel Vadot			gpio-controller;
934f126890aSEmmanuel Vadot			#gpio-cells = <2>;
935f126890aSEmmanuel Vadot			interrupt-controller;
936f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
937f126890aSEmmanuel Vadot		};
938f126890aSEmmanuel Vadot
939f126890aSEmmanuel Vadot		pcfg_pull_default: pcfg-pull-default {
940f126890aSEmmanuel Vadot			bias-pull-pin-default;
941f126890aSEmmanuel Vadot		};
942f126890aSEmmanuel Vadot
943f126890aSEmmanuel Vadot		pcfg_pull_none: pcfg-pull-none {
944f126890aSEmmanuel Vadot			bias-disable;
945f126890aSEmmanuel Vadot		};
946f126890aSEmmanuel Vadot
947f126890aSEmmanuel Vadot		emmc {
948f126890aSEmmanuel Vadot			emmc_clk: emmc-clk {
949f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>;
950f126890aSEmmanuel Vadot			};
951f126890aSEmmanuel Vadot
952f126890aSEmmanuel Vadot			emmc_cmd: emmc-cmd {
953f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PC6 2 &pcfg_pull_default>;
954f126890aSEmmanuel Vadot			};
955f126890aSEmmanuel Vadot
956f126890aSEmmanuel Vadot			emmc_cmd1: emmc-cmd1 {
957f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA4 2 &pcfg_pull_default>;
958f126890aSEmmanuel Vadot			};
959f126890aSEmmanuel Vadot
960f126890aSEmmanuel Vadot			emmc_pwr: emmc-pwr {
961f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA5 2 &pcfg_pull_default>;
962f126890aSEmmanuel Vadot			};
963f126890aSEmmanuel Vadot
964f126890aSEmmanuel Vadot			emmc_bus1: emmc-bus1 {
965f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>;
966f126890aSEmmanuel Vadot			};
967f126890aSEmmanuel Vadot
968f126890aSEmmanuel Vadot			emmc_bus4: emmc-bus4 {
969f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>,
970f126890aSEmmanuel Vadot						<1 RK_PD1 2 &pcfg_pull_default>,
971f126890aSEmmanuel Vadot						<1 RK_PD2 2 &pcfg_pull_default>,
972f126890aSEmmanuel Vadot						<1 RK_PD3 2 &pcfg_pull_default>;
973f126890aSEmmanuel Vadot			};
974f126890aSEmmanuel Vadot
975f126890aSEmmanuel Vadot			emmc_bus8: emmc-bus8 {
976f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>,
977f126890aSEmmanuel Vadot						<1 RK_PD1 2 &pcfg_pull_default>,
978f126890aSEmmanuel Vadot						<1 RK_PD2 2 &pcfg_pull_default>,
979f126890aSEmmanuel Vadot						<1 RK_PD3 2 &pcfg_pull_default>,
980f126890aSEmmanuel Vadot						<1 RK_PD4 2 &pcfg_pull_default>,
981f126890aSEmmanuel Vadot						<1 RK_PD5 2 &pcfg_pull_default>,
982f126890aSEmmanuel Vadot						<1 RK_PD6 2 &pcfg_pull_default>,
983f126890aSEmmanuel Vadot						<1 RK_PD7 2 &pcfg_pull_default>;
984f126890aSEmmanuel Vadot			};
985f126890aSEmmanuel Vadot		};
986f126890aSEmmanuel Vadot
987f126890aSEmmanuel Vadot		gmac {
988f126890aSEmmanuel Vadot			rgmii_pins: rgmii-pins {
989f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>,
990f126890aSEmmanuel Vadot						<2 RK_PB1 3 &pcfg_pull_default>,
991f126890aSEmmanuel Vadot						<2 RK_PB3 3 &pcfg_pull_default>,
992f126890aSEmmanuel Vadot						<2 RK_PB4 3 &pcfg_pull_default>,
993f126890aSEmmanuel Vadot						<2 RK_PB5 3 &pcfg_pull_default>,
994f126890aSEmmanuel Vadot						<2 RK_PB6 3 &pcfg_pull_default>,
995f126890aSEmmanuel Vadot						<2 RK_PC0 3 &pcfg_pull_default>,
996f126890aSEmmanuel Vadot						<2 RK_PC1 3 &pcfg_pull_default>,
997f126890aSEmmanuel Vadot						<2 RK_PC2 3 &pcfg_pull_default>,
998f126890aSEmmanuel Vadot						<2 RK_PC3 3 &pcfg_pull_default>,
999f126890aSEmmanuel Vadot						<2 RK_PD1 3 &pcfg_pull_default>,
1000f126890aSEmmanuel Vadot						<2 RK_PC4 4 &pcfg_pull_default>,
1001f126890aSEmmanuel Vadot						<2 RK_PC5 4 &pcfg_pull_default>,
1002f126890aSEmmanuel Vadot						<2 RK_PC6 4 &pcfg_pull_default>,
1003f126890aSEmmanuel Vadot						<2 RK_PC7 4 &pcfg_pull_default>;
1004f126890aSEmmanuel Vadot			};
1005f126890aSEmmanuel Vadot
1006f126890aSEmmanuel Vadot			rmii_pins: rmii-pins {
1007f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>,
1008f126890aSEmmanuel Vadot						<2 RK_PB4 3 &pcfg_pull_default>,
1009f126890aSEmmanuel Vadot						<2 RK_PB5 3 &pcfg_pull_default>,
1010f126890aSEmmanuel Vadot						<2 RK_PB6 3 &pcfg_pull_default>,
1011f126890aSEmmanuel Vadot						<2 RK_PB7 3 &pcfg_pull_default>,
1012f126890aSEmmanuel Vadot						<2 RK_PC0 3 &pcfg_pull_default>,
1013f126890aSEmmanuel Vadot						<2 RK_PC1 3 &pcfg_pull_default>,
1014f126890aSEmmanuel Vadot						<2 RK_PC2 3 &pcfg_pull_default>,
1015f126890aSEmmanuel Vadot						<2 RK_PC3 3 &pcfg_pull_default>,
1016f126890aSEmmanuel Vadot						<2 RK_PD1 3 &pcfg_pull_default>;
1017f126890aSEmmanuel Vadot			};
1018f126890aSEmmanuel Vadot		};
1019f126890aSEmmanuel Vadot
1020f126890aSEmmanuel Vadot		hdmi {
1021f126890aSEmmanuel Vadot			hdmii2c_xfer: hdmii2c-xfer {
1022f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA6 2 &pcfg_pull_none>,
1023f126890aSEmmanuel Vadot						<0 RK_PA7 2 &pcfg_pull_none>;
1024f126890aSEmmanuel Vadot			};
1025f126890aSEmmanuel Vadot
1026f126890aSEmmanuel Vadot			hdmi_hpd: hdmi-hpd {
1027f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>;
1028f126890aSEmmanuel Vadot			};
1029f126890aSEmmanuel Vadot
1030f126890aSEmmanuel Vadot			hdmi_cec: hdmi-cec {
1031f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>;
1032f126890aSEmmanuel Vadot			};
1033f126890aSEmmanuel Vadot		};
1034f126890aSEmmanuel Vadot
1035f126890aSEmmanuel Vadot		i2c0 {
1036f126890aSEmmanuel Vadot			i2c0_xfer: i2c0-xfer {
1037f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>,
1038f126890aSEmmanuel Vadot						<0 RK_PA1 1 &pcfg_pull_none>;
1039f126890aSEmmanuel Vadot			};
1040f126890aSEmmanuel Vadot		};
1041f126890aSEmmanuel Vadot
1042f126890aSEmmanuel Vadot		i2c1 {
1043f126890aSEmmanuel Vadot			i2c1_xfer: i2c1-xfer {
1044f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>,
1045f126890aSEmmanuel Vadot						<0 RK_PA3 1 &pcfg_pull_none>;
1046f126890aSEmmanuel Vadot			};
1047f126890aSEmmanuel Vadot		};
1048f126890aSEmmanuel Vadot
1049f126890aSEmmanuel Vadot		i2c2 {
1050f126890aSEmmanuel Vadot			i2c2_xfer: i2c2-xfer {
1051f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PC4 3 &pcfg_pull_none>,
1052f126890aSEmmanuel Vadot						<2 RK_PC5 3 &pcfg_pull_none>;
1053f126890aSEmmanuel Vadot			};
1054f126890aSEmmanuel Vadot		};
1055f126890aSEmmanuel Vadot
1056f126890aSEmmanuel Vadot		i2c3 {
1057f126890aSEmmanuel Vadot			i2c3_xfer: i2c3-xfer {
1058f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>,
1059f126890aSEmmanuel Vadot						<0 RK_PA7 1 &pcfg_pull_none>;
1060f126890aSEmmanuel Vadot			};
1061f126890aSEmmanuel Vadot		};
1062f126890aSEmmanuel Vadot
1063f126890aSEmmanuel Vadot		i2s {
1064f126890aSEmmanuel Vadot			i2s_bus: i2s-bus {
1065f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>,
1066f126890aSEmmanuel Vadot						<0 RK_PB1 1 &pcfg_pull_none>,
1067f126890aSEmmanuel Vadot						<0 RK_PB3 1 &pcfg_pull_none>,
1068f126890aSEmmanuel Vadot						<0 RK_PB4 1 &pcfg_pull_none>,
1069f126890aSEmmanuel Vadot						<0 RK_PB5 1 &pcfg_pull_none>,
1070f126890aSEmmanuel Vadot						<0 RK_PB6 1 &pcfg_pull_none>;
1071f126890aSEmmanuel Vadot			};
1072f126890aSEmmanuel Vadot
1073f126890aSEmmanuel Vadot			i2s1_bus: i2s1-bus {
1074f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PA0 1 &pcfg_pull_none>,
1075f126890aSEmmanuel Vadot						<1 RK_PA1 1 &pcfg_pull_none>,
1076f126890aSEmmanuel Vadot						<1 RK_PA2 1 &pcfg_pull_none>,
1077f126890aSEmmanuel Vadot						<1 RK_PA3 1 &pcfg_pull_none>,
1078f126890aSEmmanuel Vadot						<1 RK_PA4 1 &pcfg_pull_none>,
1079f126890aSEmmanuel Vadot						<1 RK_PA5 1 &pcfg_pull_none>;
1080f126890aSEmmanuel Vadot			};
1081f126890aSEmmanuel Vadot		};
1082f126890aSEmmanuel Vadot
1083f126890aSEmmanuel Vadot		lcdc {
1084f126890aSEmmanuel Vadot			lcdc_dclk: lcdc-dclk {
1085f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB0 1 &pcfg_pull_none>;
1086f126890aSEmmanuel Vadot			};
1087f126890aSEmmanuel Vadot
1088f126890aSEmmanuel Vadot			lcdc_den: lcdc-den {
1089f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none>;
1090f126890aSEmmanuel Vadot			};
1091f126890aSEmmanuel Vadot
1092f126890aSEmmanuel Vadot			lcdc_hsync: lcdc-hsync {
1093f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>;
1094f126890aSEmmanuel Vadot			};
1095f126890aSEmmanuel Vadot
1096f126890aSEmmanuel Vadot			lcdc_vsync: lcdc-vsync {
1097f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB2 1 &pcfg_pull_none>;
1098f126890aSEmmanuel Vadot			};
1099f126890aSEmmanuel Vadot
1100f126890aSEmmanuel Vadot			lcdc_rgb24: lcdc-rgb24 {
1101f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>,
1102f126890aSEmmanuel Vadot						<2 RK_PB5 1 &pcfg_pull_none>,
1103f126890aSEmmanuel Vadot						<2 RK_PB6 1 &pcfg_pull_none>,
1104f126890aSEmmanuel Vadot						<2 RK_PB7 1 &pcfg_pull_none>,
1105f126890aSEmmanuel Vadot						<2 RK_PC0 1 &pcfg_pull_none>,
1106f126890aSEmmanuel Vadot						<2 RK_PC1 1 &pcfg_pull_none>,
1107f126890aSEmmanuel Vadot						<2 RK_PC2 1 &pcfg_pull_none>,
1108f126890aSEmmanuel Vadot						<2 RK_PC3 1 &pcfg_pull_none>,
1109f126890aSEmmanuel Vadot						<2 RK_PC4 1 &pcfg_pull_none>,
1110f126890aSEmmanuel Vadot						<2 RK_PC5 1 &pcfg_pull_none>,
1111f126890aSEmmanuel Vadot						<2 RK_PC6 1 &pcfg_pull_none>,
1112f126890aSEmmanuel Vadot						<2 RK_PC7 1 &pcfg_pull_none>,
1113f126890aSEmmanuel Vadot						<2 RK_PD0 1 &pcfg_pull_none>,
1114f126890aSEmmanuel Vadot						<2 RK_PD1 1 &pcfg_pull_none>;
1115f126890aSEmmanuel Vadot			};
1116f126890aSEmmanuel Vadot		};
1117f126890aSEmmanuel Vadot
1118f126890aSEmmanuel Vadot		nfc {
1119f126890aSEmmanuel Vadot			flash_ale: flash-ale {
1120f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>;
1121f126890aSEmmanuel Vadot			};
1122f126890aSEmmanuel Vadot
1123f126890aSEmmanuel Vadot			flash_cle: flash-cle {
1124f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA1 1 &pcfg_pull_none>;
1125f126890aSEmmanuel Vadot			};
1126f126890aSEmmanuel Vadot
1127f126890aSEmmanuel Vadot			flash_wrn: flash-wrn {
1128f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>;
1129f126890aSEmmanuel Vadot			};
1130f126890aSEmmanuel Vadot
1131f126890aSEmmanuel Vadot			flash_rdn: flash-rdn {
1132f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA3 1 &pcfg_pull_none>;
1133f126890aSEmmanuel Vadot			};
1134f126890aSEmmanuel Vadot
1135f126890aSEmmanuel Vadot			flash_rdy: flash-rdy {
1136f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>;
1137f126890aSEmmanuel Vadot			};
1138f126890aSEmmanuel Vadot
1139f126890aSEmmanuel Vadot			flash_cs0: flash-cs0 {
1140f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>;
1141f126890aSEmmanuel Vadot			};
1142f126890aSEmmanuel Vadot
1143f126890aSEmmanuel Vadot			flash_dqs: flash-dqs {
1144f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>;
1145f126890aSEmmanuel Vadot			};
1146f126890aSEmmanuel Vadot
1147f126890aSEmmanuel Vadot			flash_bus8: flash-bus8 {
1148f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>,
1149f126890aSEmmanuel Vadot						<1 RK_PD1 1 &pcfg_pull_none>,
1150f126890aSEmmanuel Vadot						<1 RK_PD2 1 &pcfg_pull_none>,
1151f126890aSEmmanuel Vadot						<1 RK_PD3 1 &pcfg_pull_none>,
1152f126890aSEmmanuel Vadot						<1 RK_PD4 1 &pcfg_pull_none>,
1153f126890aSEmmanuel Vadot						<1 RK_PD5 1 &pcfg_pull_none>,
1154f126890aSEmmanuel Vadot						<1 RK_PD6 1 &pcfg_pull_none>,
1155f126890aSEmmanuel Vadot						<1 RK_PD7 1 &pcfg_pull_none>;
1156f126890aSEmmanuel Vadot			};
1157f126890aSEmmanuel Vadot		};
1158f126890aSEmmanuel Vadot
1159f126890aSEmmanuel Vadot		pwm0 {
1160f126890aSEmmanuel Vadot			pwm0_pin: pwm0-pin {
1161f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PD2 1 &pcfg_pull_none>;
1162f126890aSEmmanuel Vadot			};
1163f126890aSEmmanuel Vadot		};
1164f126890aSEmmanuel Vadot
1165f126890aSEmmanuel Vadot		pwm1 {
1166f126890aSEmmanuel Vadot			pwm1_pin: pwm1-pin {
1167f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
1168f126890aSEmmanuel Vadot			};
1169f126890aSEmmanuel Vadot		};
1170f126890aSEmmanuel Vadot
1171f126890aSEmmanuel Vadot		pwm2 {
1172f126890aSEmmanuel Vadot			pwm2_pin: pwm2-pin {
1173f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>;
1174f126890aSEmmanuel Vadot			};
1175f126890aSEmmanuel Vadot		};
1176f126890aSEmmanuel Vadot
1177f126890aSEmmanuel Vadot		pwm3 {
1178f126890aSEmmanuel Vadot			pwm3_pin: pwm3-pin {
1179f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PD2 1 &pcfg_pull_none>;
1180f126890aSEmmanuel Vadot			};
1181f126890aSEmmanuel Vadot		};
1182f126890aSEmmanuel Vadot
1183f126890aSEmmanuel Vadot		sdio {
1184f126890aSEmmanuel Vadot			sdio_clk: sdio-clk {
1185f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PA0 2 &pcfg_pull_none>;
1186f126890aSEmmanuel Vadot			};
1187f126890aSEmmanuel Vadot
1188f126890aSEmmanuel Vadot			sdio_cmd: sdio-cmd {
1189f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PA3 2 &pcfg_pull_default>;
1190f126890aSEmmanuel Vadot			};
1191f126890aSEmmanuel Vadot
1192f126890aSEmmanuel Vadot			sdio_pwren: sdio-pwren {
1193f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PD6 1 &pcfg_pull_default>;
1194f126890aSEmmanuel Vadot			};
1195f126890aSEmmanuel Vadot
1196f126890aSEmmanuel Vadot			sdio_bus4: sdio-bus4 {
1197f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PA1 2 &pcfg_pull_default>,
1198f126890aSEmmanuel Vadot						<1 RK_PA2 2 &pcfg_pull_default>,
1199f126890aSEmmanuel Vadot						<1 RK_PA4 2 &pcfg_pull_default>,
1200f126890aSEmmanuel Vadot						<1 RK_PA5 2 &pcfg_pull_default>;
1201f126890aSEmmanuel Vadot			};
1202f126890aSEmmanuel Vadot		};
1203f126890aSEmmanuel Vadot
1204f126890aSEmmanuel Vadot		sdmmc {
1205f126890aSEmmanuel Vadot			sdmmc_clk: sdmmc-clk {
1206f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>;
1207f126890aSEmmanuel Vadot			};
1208f126890aSEmmanuel Vadot
1209f126890aSEmmanuel Vadot			sdmmc_cmd: sdmmc-cmd {
1210f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>;
1211f126890aSEmmanuel Vadot			};
1212f126890aSEmmanuel Vadot
12138d13bc63SEmmanuel Vadot			sdmmc_det: sdmmc-det {
12148d13bc63SEmmanuel Vadot				rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>;
12158d13bc63SEmmanuel Vadot			};
12168d13bc63SEmmanuel Vadot
1217f126890aSEmmanuel Vadot			sdmmc_wp: sdmmc-wp {
1218f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>;
1219f126890aSEmmanuel Vadot			};
1220f126890aSEmmanuel Vadot
1221f126890aSEmmanuel Vadot			sdmmc_pwren: sdmmc-pwren {
122284943d6fSEmmanuel Vadot				rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_default>;
1223f126890aSEmmanuel Vadot			};
1224f126890aSEmmanuel Vadot
1225f126890aSEmmanuel Vadot			sdmmc_bus4: sdmmc-bus4 {
1226f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>,
1227f126890aSEmmanuel Vadot						<1 RK_PC3 1 &pcfg_pull_default>,
1228f126890aSEmmanuel Vadot						<1 RK_PC4 1 &pcfg_pull_default>,
1229f126890aSEmmanuel Vadot						<1 RK_PC5 1 &pcfg_pull_default>;
1230f126890aSEmmanuel Vadot			};
1231f126890aSEmmanuel Vadot		};
1232f126890aSEmmanuel Vadot
12330e8011faSEmmanuel Vadot		sfc {
12340e8011faSEmmanuel Vadot			sfc_bus2: sfc-bus2 {
12350e8011faSEmmanuel Vadot				rockchip,pins = <1 RK_PD0 3 &pcfg_pull_default>,
12360e8011faSEmmanuel Vadot						<1 RK_PD1 3 &pcfg_pull_default>;
12370e8011faSEmmanuel Vadot			};
12380e8011faSEmmanuel Vadot
12390e8011faSEmmanuel Vadot			sfc_bus4: sfc-bus4 {
12400e8011faSEmmanuel Vadot				rockchip,pins = <1 RK_PD0 3 &pcfg_pull_default>,
12410e8011faSEmmanuel Vadot						<1 RK_PD1 3 &pcfg_pull_default>,
12420e8011faSEmmanuel Vadot						<1 RK_PD2 3 &pcfg_pull_default>,
12430e8011faSEmmanuel Vadot						<1 RK_PD3 3 &pcfg_pull_default>;
12440e8011faSEmmanuel Vadot			};
12450e8011faSEmmanuel Vadot
12460e8011faSEmmanuel Vadot			sfc_clk: sfc-clk {
12470e8011faSEmmanuel Vadot				rockchip,pins = <2 RK_PA4 3 &pcfg_pull_none>;
12480e8011faSEmmanuel Vadot			};
12490e8011faSEmmanuel Vadot
12500e8011faSEmmanuel Vadot			sfc_cs0: sfc-cs0 {
12510e8011faSEmmanuel Vadot				rockchip,pins = <2 RK_PA2 2 &pcfg_pull_default>;
12520e8011faSEmmanuel Vadot			};
12530e8011faSEmmanuel Vadot
12540e8011faSEmmanuel Vadot			sfc_cs1: sfc-cs1 {
12550e8011faSEmmanuel Vadot				rockchip,pins = <2 RK_PA3 2 &pcfg_pull_default>;
12560e8011faSEmmanuel Vadot			};
12570e8011faSEmmanuel Vadot		};
12580e8011faSEmmanuel Vadot
1259f126890aSEmmanuel Vadot		spdif {
1260f126890aSEmmanuel Vadot			spdif_tx: spdif-tx {
1261f126890aSEmmanuel Vadot				rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>;
1262f126890aSEmmanuel Vadot			};
1263f126890aSEmmanuel Vadot		};
1264f126890aSEmmanuel Vadot
1265f126890aSEmmanuel Vadot		spi0 {
1266f126890aSEmmanuel Vadot			spi0_clk: spi0-clk {
1267f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>;
1268f126890aSEmmanuel Vadot			};
1269f126890aSEmmanuel Vadot
1270f126890aSEmmanuel Vadot			spi0_cs0: spi0-cs0 {
1271f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB3 1 &pcfg_pull_default>;
1272f126890aSEmmanuel Vadot			};
1273f126890aSEmmanuel Vadot
1274f126890aSEmmanuel Vadot			spi0_tx: spi0-tx {
1275f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB1 1 &pcfg_pull_default>;
1276f126890aSEmmanuel Vadot			};
1277f126890aSEmmanuel Vadot
1278f126890aSEmmanuel Vadot			spi0_rx: spi0-rx {
1279f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB2 1 &pcfg_pull_default>;
1280f126890aSEmmanuel Vadot			};
1281f126890aSEmmanuel Vadot
1282f126890aSEmmanuel Vadot			spi0_cs1: spi0-cs1 {
1283f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB4 1 &pcfg_pull_default>;
1284f126890aSEmmanuel Vadot			};
1285f126890aSEmmanuel Vadot
1286f126890aSEmmanuel Vadot			spi1_clk: spi1-clk {
1287f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>;
1288f126890aSEmmanuel Vadot			};
1289f126890aSEmmanuel Vadot
1290f126890aSEmmanuel Vadot			spi1_cs0: spi1-cs0 {
1291f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>;
1292f126890aSEmmanuel Vadot			};
1293f126890aSEmmanuel Vadot
1294f126890aSEmmanuel Vadot			spi1_tx: spi1-tx {
1295f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>;
1296f126890aSEmmanuel Vadot			};
1297f126890aSEmmanuel Vadot
1298f126890aSEmmanuel Vadot			spi1_rx: spi1-rx {
1299f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>;
1300f126890aSEmmanuel Vadot			};
1301f126890aSEmmanuel Vadot
1302f126890aSEmmanuel Vadot			spi1_cs1: spi1-cs1 {
1303f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>;
1304f126890aSEmmanuel Vadot			};
1305f126890aSEmmanuel Vadot
1306f126890aSEmmanuel Vadot			spi2_clk: spi2-clk {
1307f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB1 2 &pcfg_pull_default>;
1308f126890aSEmmanuel Vadot			};
1309f126890aSEmmanuel Vadot
1310f126890aSEmmanuel Vadot			spi2_cs0: spi2-cs0 {
1311f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB6 2 &pcfg_pull_default>;
1312f126890aSEmmanuel Vadot			};
1313f126890aSEmmanuel Vadot
1314f126890aSEmmanuel Vadot			spi2_tx: spi2-tx {
1315f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB3 2 &pcfg_pull_default>;
1316f126890aSEmmanuel Vadot			};
1317f126890aSEmmanuel Vadot
1318f126890aSEmmanuel Vadot			spi2_rx: spi2-rx {
1319f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PB5 2 &pcfg_pull_default>;
1320f126890aSEmmanuel Vadot			};
1321f126890aSEmmanuel Vadot		};
1322f126890aSEmmanuel Vadot
1323f126890aSEmmanuel Vadot		uart0 {
1324f126890aSEmmanuel Vadot			uart0_xfer: uart0-xfer {
1325f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PD2 2 &pcfg_pull_default>,
1326f126890aSEmmanuel Vadot						<2 RK_PD3 2 &pcfg_pull_none>;
1327f126890aSEmmanuel Vadot			};
1328f126890aSEmmanuel Vadot
1329f126890aSEmmanuel Vadot			uart0_cts: uart0-cts {
1330f126890aSEmmanuel Vadot				rockchip,pins = <2 RK_PD5 2 &pcfg_pull_none>;
1331f126890aSEmmanuel Vadot			};
1332f126890aSEmmanuel Vadot
1333f126890aSEmmanuel Vadot			uart0_rts: uart0-rts {
1334f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PC1 2 &pcfg_pull_none>;
1335f126890aSEmmanuel Vadot			};
1336f126890aSEmmanuel Vadot		};
1337f126890aSEmmanuel Vadot
1338f126890aSEmmanuel Vadot		uart1 {
1339f126890aSEmmanuel Vadot			uart1_xfer: uart1-xfer {
1340f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB1 2 &pcfg_pull_default>,
1341f126890aSEmmanuel Vadot						<1 RK_PB2 2 &pcfg_pull_default>;
1342f126890aSEmmanuel Vadot			};
1343f126890aSEmmanuel Vadot
1344f126890aSEmmanuel Vadot			uart1_cts: uart1-cts {
1345f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>;
1346f126890aSEmmanuel Vadot			};
1347f126890aSEmmanuel Vadot
1348f126890aSEmmanuel Vadot			uart1_rts: uart1-rts {
1349f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>;
1350f126890aSEmmanuel Vadot			};
1351f126890aSEmmanuel Vadot		};
1352f126890aSEmmanuel Vadot
1353f126890aSEmmanuel Vadot		uart2 {
1354f126890aSEmmanuel Vadot			uart2_xfer: uart2-xfer {
1355f126890aSEmmanuel Vadot				rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>,
1356f126890aSEmmanuel Vadot						<1 RK_PC3 2 &pcfg_pull_none>;
1357f126890aSEmmanuel Vadot			};
1358f126890aSEmmanuel Vadot
1359f126890aSEmmanuel Vadot			uart2_cts: uart2-cts {
1360f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>;
1361f126890aSEmmanuel Vadot			};
1362f126890aSEmmanuel Vadot
1363f126890aSEmmanuel Vadot			uart2_rts: uart2-rts {
1364f126890aSEmmanuel Vadot				rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>;
1365f126890aSEmmanuel Vadot			};
1366f126890aSEmmanuel Vadot		};
1367f126890aSEmmanuel Vadot	};
1368f126890aSEmmanuel Vadot};
1369