xref: /linux/arch/arm/boot/dts/rockchip/rk3128.dtsi (revision cdc86eeebbd26c60bcee1c81598ecf684852a733)
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>
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	compatible = "rockchip,rk3128";
14724ba675SRob Herring	interrupt-parent = <&gic>;
15724ba675SRob Herring	#address-cells = <1>;
16724ba675SRob Herring	#size-cells = <1>;
17724ba675SRob Herring
18724ba675SRob Herring	arm-pmu {
19724ba675SRob Herring		compatible = "arm,cortex-a7-pmu";
20724ba675SRob Herring		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
21724ba675SRob Herring			     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
22724ba675SRob Herring			     <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
23724ba675SRob Herring			     <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
24724ba675SRob Herring		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
25724ba675SRob Herring	};
26724ba675SRob Herring
27724ba675SRob Herring	cpus {
28724ba675SRob Herring		#address-cells = <1>;
29724ba675SRob Herring		#size-cells = <0>;
30da8b9739SAlex Bee		enable-method = "rockchip,rk3036-smp";
31724ba675SRob Herring
32724ba675SRob Herring		cpu0: cpu@f00 {
33724ba675SRob Herring			device_type = "cpu";
34724ba675SRob Herring			compatible = "arm,cortex-a7";
35724ba675SRob Herring			reg = <0xf00>;
36724ba675SRob Herring			clock-latency = <40000>;
37724ba675SRob Herring			clocks = <&cru ARMCLK>;
3802941bc2SAlex Bee			resets = <&cru SRST_CORE0>;
39c96b13d7SAlex Bee			operating-points-v2 = <&cpu_opp_table>;
40724ba675SRob Herring			#cooling-cells = <2>; /* min followed by max */
41724ba675SRob Herring		};
42724ba675SRob Herring
43724ba675SRob Herring		cpu1: cpu@f01 {
44724ba675SRob Herring			device_type = "cpu";
45724ba675SRob Herring			compatible = "arm,cortex-a7";
46724ba675SRob Herring			reg = <0xf01>;
4702941bc2SAlex Bee			resets = <&cru SRST_CORE1>;
48c96b13d7SAlex Bee			operating-points-v2 = <&cpu_opp_table>;
49724ba675SRob Herring		};
50724ba675SRob Herring
51724ba675SRob Herring		cpu2: cpu@f02 {
52724ba675SRob Herring			device_type = "cpu";
53724ba675SRob Herring			compatible = "arm,cortex-a7";
54724ba675SRob Herring			reg = <0xf02>;
5502941bc2SAlex Bee			resets = <&cru SRST_CORE2>;
56c96b13d7SAlex Bee			operating-points-v2 = <&cpu_opp_table>;
57724ba675SRob Herring		};
58724ba675SRob Herring
59724ba675SRob Herring		cpu3: cpu@f03 {
60724ba675SRob Herring			device_type = "cpu";
61724ba675SRob Herring			compatible = "arm,cortex-a7";
62724ba675SRob Herring			reg = <0xf03>;
6302941bc2SAlex Bee			resets = <&cru SRST_CORE3>;
64c96b13d7SAlex Bee			operating-points-v2 = <&cpu_opp_table>;
65c96b13d7SAlex Bee		};
66c96b13d7SAlex Bee	};
67c96b13d7SAlex Bee
68c96b13d7SAlex Bee	cpu_opp_table: opp-table-0 {
69c96b13d7SAlex Bee		compatible = "operating-points-v2";
70c96b13d7SAlex Bee		opp-shared;
71c96b13d7SAlex Bee
72c96b13d7SAlex Bee		opp-216000000 {
73c96b13d7SAlex Bee			opp-hz = /bits/ 64 <216000000>;
74c96b13d7SAlex Bee			opp-microvolt = <950000 950000 1325000>;
75c96b13d7SAlex Bee		};
76c96b13d7SAlex Bee		opp-408000000 {
77c96b13d7SAlex Bee			opp-hz = /bits/ 64 <408000000>;
78c96b13d7SAlex Bee			opp-microvolt = <950000 950000 1325000>;
79c96b13d7SAlex Bee		};
80c96b13d7SAlex Bee		opp-600000000 {
81c96b13d7SAlex Bee			opp-hz = /bits/ 64 <600000000>;
82c96b13d7SAlex Bee			opp-microvolt = <950000 950000 1325000>;
83c96b13d7SAlex Bee		};
84c96b13d7SAlex Bee		opp-696000000 {
85c96b13d7SAlex Bee			opp-hz = /bits/ 64 <696000000>;
86c96b13d7SAlex Bee			opp-microvolt = <975000 975000 1325000>;
87c96b13d7SAlex Bee		};
88c96b13d7SAlex Bee		opp-816000000 {
89c96b13d7SAlex Bee			opp-hz = /bits/ 64 <816000000>;
90c96b13d7SAlex Bee			opp-microvolt = <1075000 1075000 1325000>;
91c96b13d7SAlex Bee			opp-suspend;
92c96b13d7SAlex Bee		};
93c96b13d7SAlex Bee		opp-1008000000 {
94c96b13d7SAlex Bee			opp-hz = /bits/ 64 <1008000000>;
95c96b13d7SAlex Bee			opp-microvolt = <1200000 1200000 1325000>;
96c96b13d7SAlex Bee		};
97c96b13d7SAlex Bee		opp-1200000000 {
98c96b13d7SAlex Bee			opp-hz = /bits/ 64 <1200000000>;
99c96b13d7SAlex Bee			opp-microvolt = <1325000 1325000 1325000>;
100724ba675SRob Herring		};
101724ba675SRob Herring	};
102724ba675SRob Herring
103724ba675SRob Herring	timer {
104724ba675SRob Herring		compatible = "arm,armv7-timer";
105724ba675SRob Herring		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
106724ba675SRob Herring			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
1077e3be9eaSAlex Bee			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
1087e3be9eaSAlex Bee			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
109724ba675SRob Herring		arm,cpu-registers-not-fw-configured;
110724ba675SRob Herring		clock-frequency = <24000000>;
111724ba675SRob Herring	};
112724ba675SRob Herring
113724ba675SRob Herring	xin24m: oscillator {
114724ba675SRob Herring		compatible = "fixed-clock";
115724ba675SRob Herring		clock-frequency = <24000000>;
116724ba675SRob Herring		clock-output-names = "xin24m";
117724ba675SRob Herring		#clock-cells = <0>;
118724ba675SRob Herring	};
119724ba675SRob Herring
1209107283bSAlex Bee	imem: sram@10080000 {
1219107283bSAlex Bee		compatible = "mmio-sram";
1229107283bSAlex Bee		reg = <0x10080000 0x2000>;
1239107283bSAlex Bee		#address-cells = <1>;
1249107283bSAlex Bee		#size-cells = <1>;
1259107283bSAlex Bee		ranges = <0 0x10080000 0x2000>;
126da8b9739SAlex Bee
127da8b9739SAlex Bee		smp-sram@0 {
128da8b9739SAlex Bee			compatible = "rockchip,rk3066-smp-sram";
129da8b9739SAlex Bee			reg = <0x00 0x10>;
130da8b9739SAlex Bee		};
1319107283bSAlex Bee	};
1329107283bSAlex Bee
133724ba675SRob Herring	pmu: syscon@100a0000 {
134724ba675SRob Herring		compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd";
135724ba675SRob Herring		reg = <0x100a0000 0x1000>;
136724ba675SRob Herring	};
137724ba675SRob Herring
138724ba675SRob Herring	gic: interrupt-controller@10139000 {
139724ba675SRob Herring		compatible = "arm,cortex-a7-gic";
140724ba675SRob Herring		reg = <0x10139000 0x1000>,
141724ba675SRob Herring		      <0x1013a000 0x1000>,
142724ba675SRob Herring		      <0x1013c000 0x2000>,
143724ba675SRob Herring		      <0x1013e000 0x2000>;
144724ba675SRob Herring		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
145724ba675SRob Herring		interrupt-controller;
146724ba675SRob Herring		#interrupt-cells = <3>;
147724ba675SRob Herring		#address-cells = <0>;
148724ba675SRob Herring	};
149724ba675SRob Herring
150724ba675SRob Herring	usb_otg: usb@10180000 {
151724ba675SRob Herring		compatible = "rockchip,rk3128-usb", "rockchip,rk3066-usb", "snps,dwc2";
152724ba675SRob Herring		reg = <0x10180000 0x40000>;
153724ba675SRob Herring		interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
154724ba675SRob Herring		clocks = <&cru HCLK_OTG>;
155724ba675SRob Herring		clock-names = "otg";
156724ba675SRob Herring		dr_mode = "otg";
157724ba675SRob Herring		phys = <&usb2phy_otg>;
158724ba675SRob Herring		phy-names = "usb2-phy";
159724ba675SRob Herring		status = "disabled";
160724ba675SRob Herring	};
161724ba675SRob Herring
162724ba675SRob Herring	usb_host_ehci: usb@101c0000 {
163724ba675SRob Herring		compatible = "generic-ehci";
164724ba675SRob Herring		reg = <0x101c0000 0x20000>;
165724ba675SRob Herring		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
166724ba675SRob Herring		phys = <&usb2phy_host>;
167724ba675SRob Herring		phy-names = "usb";
168724ba675SRob Herring		status = "disabled";
169724ba675SRob Herring	};
170724ba675SRob Herring
171724ba675SRob Herring	usb_host_ohci: usb@101e0000 {
172724ba675SRob Herring		compatible = "generic-ohci";
173724ba675SRob Herring		reg = <0x101e0000 0x20000>;
174724ba675SRob Herring		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
175724ba675SRob Herring		phys = <&usb2phy_host>;
176724ba675SRob Herring		phy-names = "usb";
177724ba675SRob Herring		status = "disabled";
178724ba675SRob Herring	};
179724ba675SRob Herring
180724ba675SRob Herring	sdmmc: mmc@10214000 {
181724ba675SRob Herring		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
182724ba675SRob Herring		reg = <0x10214000 0x4000>;
183724ba675SRob Herring		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
184724ba675SRob Herring		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
185724ba675SRob Herring			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
186724ba675SRob Herring		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
187724ba675SRob Herring		dmas = <&pdma 10>;
188724ba675SRob Herring		dma-names = "rx-tx";
189724ba675SRob Herring		fifo-depth = <256>;
190724ba675SRob Herring		max-frequency = <150000000>;
191724ba675SRob Herring		resets = <&cru SRST_SDMMC>;
192724ba675SRob Herring		reset-names = "reset";
193724ba675SRob Herring		status = "disabled";
194724ba675SRob Herring	};
195724ba675SRob Herring
196724ba675SRob Herring	sdio: mmc@10218000 {
197724ba675SRob Herring		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
198724ba675SRob Herring		reg = <0x10218000 0x4000>;
199724ba675SRob Herring		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
200724ba675SRob Herring		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
201724ba675SRob Herring			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
202724ba675SRob Herring		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
203724ba675SRob Herring		dmas = <&pdma 11>;
204724ba675SRob Herring		dma-names = "rx-tx";
205724ba675SRob Herring		fifo-depth = <256>;
206724ba675SRob Herring		max-frequency = <150000000>;
207724ba675SRob Herring		resets = <&cru SRST_SDIO>;
208724ba675SRob Herring		reset-names = "reset";
209724ba675SRob Herring		status = "disabled";
210724ba675SRob Herring	};
211724ba675SRob Herring
212724ba675SRob Herring	emmc: mmc@1021c000 {
213724ba675SRob Herring		compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
214724ba675SRob Herring		reg = <0x1021c000 0x4000>;
215724ba675SRob Herring		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
216724ba675SRob Herring		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
217724ba675SRob Herring			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
218724ba675SRob Herring		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
219724ba675SRob Herring		dmas = <&pdma 12>;
220724ba675SRob Herring		dma-names = "rx-tx";
221724ba675SRob Herring		fifo-depth = <256>;
222724ba675SRob Herring		max-frequency = <150000000>;
223724ba675SRob Herring		resets = <&cru SRST_EMMC>;
224724ba675SRob Herring		reset-names = "reset";
225724ba675SRob Herring		status = "disabled";
226724ba675SRob Herring	};
227724ba675SRob Herring
228724ba675SRob Herring	nfc: nand-controller@10500000 {
229724ba675SRob Herring		compatible = "rockchip,rk3128-nfc", "rockchip,rk2928-nfc";
230724ba675SRob Herring		reg = <0x10500000 0x4000>;
231724ba675SRob Herring		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
232724ba675SRob Herring		clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
233724ba675SRob Herring		clock-names = "ahb", "nfc";
234724ba675SRob Herring		pinctrl-names = "default";
235724ba675SRob Herring		pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0
236724ba675SRob Herring			     &flash_dqs &flash_rdn &flash_rdy &flash_wrn>;
237724ba675SRob Herring		status = "disabled";
238724ba675SRob Herring	};
239724ba675SRob Herring
240724ba675SRob Herring	cru: clock-controller@20000000 {
241724ba675SRob Herring		compatible = "rockchip,rk3128-cru";
242724ba675SRob Herring		reg = <0x20000000 0x1000>;
243724ba675SRob Herring		clocks = <&xin24m>;
244724ba675SRob Herring		clock-names = "xin24m";
245724ba675SRob Herring		rockchip,grf = <&grf>;
246724ba675SRob Herring		#clock-cells = <1>;
247724ba675SRob Herring		#reset-cells = <1>;
248724ba675SRob Herring		assigned-clocks = <&cru PLL_GPLL>;
249724ba675SRob Herring		assigned-clock-rates = <594000000>;
250724ba675SRob Herring	};
251724ba675SRob Herring
252724ba675SRob Herring	grf: syscon@20008000 {
253724ba675SRob Herring		compatible = "rockchip,rk3128-grf", "syscon", "simple-mfd";
254724ba675SRob Herring		reg = <0x20008000 0x1000>;
255724ba675SRob Herring		#address-cells = <1>;
256724ba675SRob Herring		#size-cells = <1>;
257724ba675SRob Herring
258724ba675SRob Herring		usb2phy: usb2phy@17c {
259724ba675SRob Herring			compatible = "rockchip,rk3128-usb2phy";
260724ba675SRob Herring			reg = <0x017c 0x0c>;
261724ba675SRob Herring			clocks = <&cru SCLK_OTGPHY0>;
262724ba675SRob Herring			clock-names = "phyclk";
263724ba675SRob Herring			clock-output-names = "usb480m_phy";
264724ba675SRob Herring			#clock-cells = <0>;
265724ba675SRob Herring			status = "disabled";
266724ba675SRob Herring
267724ba675SRob Herring			usb2phy_host: host-port {
268724ba675SRob Herring				interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
269724ba675SRob Herring				interrupt-names = "linestate";
270724ba675SRob Herring				#phy-cells = <0>;
271724ba675SRob Herring				status = "disabled";
272724ba675SRob Herring			};
273724ba675SRob Herring
274724ba675SRob Herring			usb2phy_otg: otg-port {
275724ba675SRob Herring				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
276724ba675SRob Herring					     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
277724ba675SRob Herring					     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
278724ba675SRob Herring				interrupt-names = "otg-bvalid", "otg-id",
279724ba675SRob Herring						  "linestate";
280724ba675SRob Herring				#phy-cells = <0>;
281724ba675SRob Herring				status = "disabled";
282724ba675SRob Herring			};
283724ba675SRob Herring		};
284724ba675SRob Herring	};
285724ba675SRob Herring
286724ba675SRob Herring	timer0: timer@20044000 {
287724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
288724ba675SRob Herring		reg = <0x20044000 0x20>;
289724ba675SRob Herring		interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
2902c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
291724ba675SRob Herring		clock-names = "pclk", "timer";
292724ba675SRob Herring	};
293724ba675SRob Herring
294724ba675SRob Herring	timer1: timer@20044020 {
295724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
296724ba675SRob Herring		reg = <0x20044020 0x20>;
297724ba675SRob Herring		interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
2982c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER1>;
299724ba675SRob Herring		clock-names = "pclk", "timer";
300724ba675SRob Herring	};
301724ba675SRob Herring
302724ba675SRob Herring	timer2: timer@20044040 {
303724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
304724ba675SRob Herring		reg = <0x20044040 0x20>;
305724ba675SRob Herring		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
3062c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER2>;
307724ba675SRob Herring		clock-names = "pclk", "timer";
308724ba675SRob Herring	};
309724ba675SRob Herring
310724ba675SRob Herring	timer3: timer@20044060 {
311724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
312724ba675SRob Herring		reg = <0x20044060 0x20>;
313724ba675SRob Herring		interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
3142c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER3>;
315724ba675SRob Herring		clock-names = "pclk", "timer";
316724ba675SRob Herring	};
317724ba675SRob Herring
318724ba675SRob Herring	timer4: timer@20044080 {
319724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
320724ba675SRob Herring		reg = <0x20044080 0x20>;
321724ba675SRob Herring		interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
3222c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>;
323724ba675SRob Herring		clock-names = "pclk", "timer";
324724ba675SRob Herring	};
325724ba675SRob Herring
326724ba675SRob Herring	timer5: timer@200440a0 {
327724ba675SRob Herring		compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
328724ba675SRob Herring		reg = <0x200440a0 0x20>;
329724ba675SRob Herring		interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
3302c68d26fSAlex Bee		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER5>;
331724ba675SRob Herring		clock-names = "pclk", "timer";
332724ba675SRob Herring	};
333724ba675SRob Herring
334724ba675SRob Herring	watchdog: watchdog@2004c000 {
335724ba675SRob Herring		compatible = "rockchip,rk3128-wdt", "snps,dw-wdt";
336724ba675SRob Herring		reg = <0x2004c000 0x100>;
337724ba675SRob Herring		interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
338724ba675SRob Herring		clocks = <&cru PCLK_WDT>;
339724ba675SRob Herring		status = "disabled";
340724ba675SRob Herring	};
341724ba675SRob Herring
342724ba675SRob Herring	pwm0: pwm@20050000 {
343724ba675SRob Herring		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
344724ba675SRob Herring		reg = <0x20050000 0x10>;
345724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
346724ba675SRob Herring		pinctrl-names = "default";
347724ba675SRob Herring		pinctrl-0 = <&pwm0_pin>;
348724ba675SRob Herring		#pwm-cells = <3>;
349724ba675SRob Herring		status = "disabled";
350724ba675SRob Herring	};
351724ba675SRob Herring
352724ba675SRob Herring	pwm1: pwm@20050010 {
353724ba675SRob Herring		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
354724ba675SRob Herring		reg = <0x20050010 0x10>;
355724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
356724ba675SRob Herring		pinctrl-names = "default";
357724ba675SRob Herring		pinctrl-0 = <&pwm1_pin>;
358724ba675SRob Herring		#pwm-cells = <3>;
359724ba675SRob Herring		status = "disabled";
360724ba675SRob Herring	};
361724ba675SRob Herring
362724ba675SRob Herring	pwm2: pwm@20050020 {
363724ba675SRob Herring		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
364724ba675SRob Herring		reg = <0x20050020 0x10>;
365724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
366724ba675SRob Herring		pinctrl-names = "default";
367724ba675SRob Herring		pinctrl-0 = <&pwm2_pin>;
368724ba675SRob Herring		#pwm-cells = <3>;
369724ba675SRob Herring		status = "disabled";
370724ba675SRob Herring	};
371724ba675SRob Herring
372724ba675SRob Herring	pwm3: pwm@20050030 {
373724ba675SRob Herring		compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
374724ba675SRob Herring		reg = <0x20050030 0x10>;
375724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
376724ba675SRob Herring		pinctrl-names = "default";
377724ba675SRob Herring		pinctrl-0 = <&pwm3_pin>;
378724ba675SRob Herring		#pwm-cells = <3>;
379724ba675SRob Herring		status = "disabled";
380724ba675SRob Herring	};
381724ba675SRob Herring
382724ba675SRob Herring	i2c1: i2c@20056000 {
383724ba675SRob Herring		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
384724ba675SRob Herring		reg = <0x20056000 0x1000>;
385724ba675SRob Herring		interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
386724ba675SRob Herring		clock-names = "i2c";
387724ba675SRob Herring		clocks = <&cru PCLK_I2C1>;
388724ba675SRob Herring		pinctrl-names = "default";
389724ba675SRob Herring		pinctrl-0 = <&i2c1_xfer>;
390724ba675SRob Herring		#address-cells = <1>;
391724ba675SRob Herring		#size-cells = <0>;
392724ba675SRob Herring		status = "disabled";
393724ba675SRob Herring	};
394724ba675SRob Herring
395724ba675SRob Herring	i2c2: i2c@2005a000 {
396724ba675SRob Herring		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
397724ba675SRob Herring		reg = <0x2005a000 0x1000>;
398724ba675SRob Herring		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
399724ba675SRob Herring		clock-names = "i2c";
400724ba675SRob Herring		clocks = <&cru PCLK_I2C2>;
401724ba675SRob Herring		pinctrl-names = "default";
402724ba675SRob Herring		pinctrl-0 = <&i2c2_xfer>;
403724ba675SRob Herring		#address-cells = <1>;
404724ba675SRob Herring		#size-cells = <0>;
405724ba675SRob Herring		status = "disabled";
406724ba675SRob Herring	};
407724ba675SRob Herring
408724ba675SRob Herring	i2c3: i2c@2005e000 {
409724ba675SRob Herring		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
410724ba675SRob Herring		reg = <0x2005e000 0x1000>;
411724ba675SRob Herring		interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
412724ba675SRob Herring		clock-names = "i2c";
413724ba675SRob Herring		clocks = <&cru PCLK_I2C3>;
414724ba675SRob Herring		pinctrl-names = "default";
415724ba675SRob Herring		pinctrl-0 = <&i2c3_xfer>;
416724ba675SRob Herring		#address-cells = <1>;
417724ba675SRob Herring		#size-cells = <0>;
418724ba675SRob Herring		status = "disabled";
419724ba675SRob Herring	};
420724ba675SRob Herring
421724ba675SRob Herring	uart0: serial@20060000 {
422724ba675SRob Herring		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
423724ba675SRob Herring		reg = <0x20060000 0x100>;
424724ba675SRob Herring		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
425724ba675SRob Herring		clock-frequency = <24000000>;
426724ba675SRob Herring		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
427724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
428724ba675SRob Herring		dmas = <&pdma 2>, <&pdma 3>;
429724ba675SRob Herring		dma-names = "tx", "rx";
430724ba675SRob Herring		pinctrl-names = "default";
431724ba675SRob Herring		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
432724ba675SRob Herring		reg-io-width = <4>;
433724ba675SRob Herring		reg-shift = <2>;
434724ba675SRob Herring		status = "disabled";
435724ba675SRob Herring	};
436724ba675SRob Herring
437724ba675SRob Herring	uart1: serial@20064000 {
438724ba675SRob Herring		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
439724ba675SRob Herring		reg = <0x20064000 0x100>;
440724ba675SRob Herring		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
441724ba675SRob Herring		clock-frequency = <24000000>;
442724ba675SRob Herring		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
443724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
444724ba675SRob Herring		dmas = <&pdma 4>, <&pdma 5>;
445724ba675SRob Herring		dma-names = "tx", "rx";
446724ba675SRob Herring		pinctrl-names = "default";
447724ba675SRob Herring		pinctrl-0 = <&uart1_xfer>;
448724ba675SRob Herring		reg-io-width = <4>;
449724ba675SRob Herring		reg-shift = <2>;
450724ba675SRob Herring		status = "disabled";
451724ba675SRob Herring	};
452724ba675SRob Herring
453724ba675SRob Herring	uart2: serial@20068000 {
454724ba675SRob Herring		compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
455724ba675SRob Herring		reg = <0x20068000 0x100>;
456724ba675SRob Herring		interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
457724ba675SRob Herring		clock-frequency = <24000000>;
458724ba675SRob Herring		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
459724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
460724ba675SRob Herring		dmas = <&pdma 6>, <&pdma 7>;
461724ba675SRob Herring		dma-names = "tx", "rx";
462724ba675SRob Herring		pinctrl-names = "default";
463724ba675SRob Herring		pinctrl-0 = <&uart2_xfer>;
464724ba675SRob Herring		reg-io-width = <4>;
465724ba675SRob Herring		reg-shift = <2>;
466724ba675SRob Herring		status = "disabled";
467724ba675SRob Herring	};
468724ba675SRob Herring
469724ba675SRob Herring	saradc: saradc@2006c000 {
470724ba675SRob Herring		compatible = "rockchip,saradc";
471724ba675SRob Herring		reg = <0x2006c000 0x100>;
472724ba675SRob Herring		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
473724ba675SRob Herring		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
474724ba675SRob Herring		clock-names = "saradc", "apb_pclk";
475724ba675SRob Herring		resets = <&cru SRST_SARADC>;
476724ba675SRob Herring		reset-names = "saradc-apb";
477724ba675SRob Herring		#io-channel-cells = <1>;
478724ba675SRob Herring		status = "disabled";
479724ba675SRob Herring	};
480724ba675SRob Herring
481724ba675SRob Herring	i2c0: i2c@20072000 {
482724ba675SRob Herring		compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
4832e9cbc41SAlex Bee		reg = <0x20072000 0x1000>;
484724ba675SRob Herring		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
485724ba675SRob Herring		clock-names = "i2c";
486724ba675SRob Herring		clocks = <&cru PCLK_I2C0>;
487724ba675SRob Herring		pinctrl-names = "default";
488724ba675SRob Herring		pinctrl-0 = <&i2c0_xfer>;
489724ba675SRob Herring		#address-cells = <1>;
490724ba675SRob Herring		#size-cells = <0>;
491724ba675SRob Herring		status = "disabled";
492724ba675SRob Herring	};
493724ba675SRob Herring
494724ba675SRob Herring	spi0: spi@20074000 {
495724ba675SRob Herring		compatible = "rockchip,rk3128-spi", "rockchip,rk3066-spi";
496724ba675SRob Herring		reg = <0x20074000 0x1000>;
497724ba675SRob Herring		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
498724ba675SRob Herring		clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
499724ba675SRob Herring		clock-names = "spiclk", "apb_pclk";
500724ba675SRob Herring		dmas = <&pdma 8>, <&pdma 9>;
501724ba675SRob Herring		dma-names = "tx", "rx";
502724ba675SRob Herring		pinctrl-names = "default";
503724ba675SRob Herring		pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>;
504724ba675SRob Herring		#address-cells = <1>;
505724ba675SRob Herring		#size-cells = <0>;
506724ba675SRob Herring		status = "disabled";
507724ba675SRob Herring	};
508724ba675SRob Herring
509724ba675SRob Herring	pdma: dma-controller@20078000 {
510724ba675SRob Herring		compatible = "arm,pl330", "arm,primecell";
511724ba675SRob Herring		reg = <0x20078000 0x4000>;
512724ba675SRob Herring		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
513724ba675SRob Herring			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
514724ba675SRob Herring		arm,pl330-broken-no-flushp;
515b0b4e978SAlex Bee		arm,pl330-periph-burst;
516724ba675SRob Herring		clocks = <&cru ACLK_DMAC>;
517724ba675SRob Herring		clock-names = "apb_pclk";
518724ba675SRob Herring		#dma-cells = <1>;
519724ba675SRob Herring	};
520724ba675SRob Herring
521724ba675SRob Herring	pinctrl: pinctrl {
522724ba675SRob Herring		compatible = "rockchip,rk3128-pinctrl";
523724ba675SRob Herring		rockchip,grf = <&grf>;
524724ba675SRob Herring		#address-cells = <1>;
525724ba675SRob Herring		#size-cells = <1>;
526724ba675SRob Herring		ranges;
527724ba675SRob Herring
528724ba675SRob Herring		gpio0: gpio@2007c000 {
529724ba675SRob Herring			compatible = "rockchip,gpio-bank";
530724ba675SRob Herring			reg = <0x2007c000 0x100>;
531724ba675SRob Herring			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
532724ba675SRob Herring			clocks = <&cru PCLK_GPIO0>;
533724ba675SRob Herring			gpio-controller;
534724ba675SRob Herring			#gpio-cells = <2>;
535724ba675SRob Herring			interrupt-controller;
536724ba675SRob Herring			#interrupt-cells = <2>;
537724ba675SRob Herring		};
538724ba675SRob Herring
539724ba675SRob Herring		gpio1: gpio@20080000 {
540724ba675SRob Herring			compatible = "rockchip,gpio-bank";
541724ba675SRob Herring			reg = <0x20080000 0x100>;
542724ba675SRob Herring			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
543724ba675SRob Herring			clocks = <&cru PCLK_GPIO1>;
544724ba675SRob Herring			gpio-controller;
545724ba675SRob Herring			#gpio-cells = <2>;
546724ba675SRob Herring			interrupt-controller;
547724ba675SRob Herring			#interrupt-cells = <2>;
548724ba675SRob Herring		};
549724ba675SRob Herring
550724ba675SRob Herring		gpio2: gpio@20084000 {
551724ba675SRob Herring			compatible = "rockchip,gpio-bank";
552724ba675SRob Herring			reg = <0x20084000 0x100>;
553724ba675SRob Herring			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
554724ba675SRob Herring			clocks = <&cru PCLK_GPIO2>;
555724ba675SRob Herring			gpio-controller;
556724ba675SRob Herring			#gpio-cells = <2>;
557724ba675SRob Herring			interrupt-controller;
558724ba675SRob Herring			#interrupt-cells = <2>;
559724ba675SRob Herring		};
560724ba675SRob Herring
561724ba675SRob Herring		gpio3: gpio@20088000 {
562724ba675SRob Herring			compatible = "rockchip,gpio-bank";
563724ba675SRob Herring			reg = <0x20088000 0x100>;
564724ba675SRob Herring			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
565724ba675SRob Herring			clocks = <&cru PCLK_GPIO3>;
566724ba675SRob Herring			gpio-controller;
567724ba675SRob Herring			#gpio-cells = <2>;
568724ba675SRob Herring			interrupt-controller;
569724ba675SRob Herring			#interrupt-cells = <2>;
570724ba675SRob Herring		};
571724ba675SRob Herring
572724ba675SRob Herring		pcfg_pull_default: pcfg-pull-default {
573724ba675SRob Herring			bias-pull-pin-default;
574724ba675SRob Herring		};
575724ba675SRob Herring
576724ba675SRob Herring		pcfg_pull_none: pcfg-pull-none {
577724ba675SRob Herring			bias-disable;
578724ba675SRob Herring		};
579724ba675SRob Herring
580724ba675SRob Herring		emmc {
581724ba675SRob Herring			emmc_clk: emmc-clk {
582724ba675SRob Herring				rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>;
583724ba675SRob Herring			};
584724ba675SRob Herring
585724ba675SRob Herring			emmc_cmd: emmc-cmd {
586724ba675SRob Herring				rockchip,pins = <1 RK_PC6 2 &pcfg_pull_default>;
587724ba675SRob Herring			};
588724ba675SRob Herring
589724ba675SRob Herring			emmc_cmd1: emmc-cmd1 {
590724ba675SRob Herring				rockchip,pins = <2 RK_PA4 2 &pcfg_pull_default>;
591724ba675SRob Herring			};
592724ba675SRob Herring
593724ba675SRob Herring			emmc_pwr: emmc-pwr {
594724ba675SRob Herring				rockchip,pins = <2 RK_PA5 2 &pcfg_pull_default>;
595724ba675SRob Herring			};
596724ba675SRob Herring
597724ba675SRob Herring			emmc_bus1: emmc-bus1 {
598724ba675SRob Herring				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>;
599724ba675SRob Herring			};
600724ba675SRob Herring
601724ba675SRob Herring			emmc_bus4: emmc-bus4 {
602724ba675SRob Herring				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>,
603724ba675SRob Herring						<1 RK_PD1 2 &pcfg_pull_default>,
604724ba675SRob Herring						<1 RK_PD2 2 &pcfg_pull_default>,
605724ba675SRob Herring						<1 RK_PD3 2 &pcfg_pull_default>;
606724ba675SRob Herring			};
607724ba675SRob Herring
608724ba675SRob Herring			emmc_bus8: emmc-bus8 {
609724ba675SRob Herring				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>,
610724ba675SRob Herring						<1 RK_PD1 2 &pcfg_pull_default>,
611724ba675SRob Herring						<1 RK_PD2 2 &pcfg_pull_default>,
612724ba675SRob Herring						<1 RK_PD3 2 &pcfg_pull_default>,
613724ba675SRob Herring						<1 RK_PD4 2 &pcfg_pull_default>,
614724ba675SRob Herring						<1 RK_PD5 2 &pcfg_pull_default>,
615724ba675SRob Herring						<1 RK_PD6 2 &pcfg_pull_default>,
616724ba675SRob Herring						<1 RK_PD7 2 &pcfg_pull_default>;
617724ba675SRob Herring			};
618724ba675SRob Herring		};
619724ba675SRob Herring
620724ba675SRob Herring		gmac {
621724ba675SRob Herring			rgmii_pins: rgmii-pins {
622724ba675SRob Herring				rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>,
623724ba675SRob Herring						<2 RK_PB1 3 &pcfg_pull_default>,
624724ba675SRob Herring						<2 RK_PB3 3 &pcfg_pull_default>,
625724ba675SRob Herring						<2 RK_PB4 3 &pcfg_pull_default>,
626724ba675SRob Herring						<2 RK_PB5 3 &pcfg_pull_default>,
627724ba675SRob Herring						<2 RK_PB6 3 &pcfg_pull_default>,
628724ba675SRob Herring						<2 RK_PC0 3 &pcfg_pull_default>,
629724ba675SRob Herring						<2 RK_PC1 3 &pcfg_pull_default>,
630724ba675SRob Herring						<2 RK_PC2 3 &pcfg_pull_default>,
631724ba675SRob Herring						<2 RK_PC3 3 &pcfg_pull_default>,
632724ba675SRob Herring						<2 RK_PD1 3 &pcfg_pull_default>,
633724ba675SRob Herring						<2 RK_PC4 4 &pcfg_pull_default>,
634724ba675SRob Herring						<2 RK_PC5 4 &pcfg_pull_default>,
635724ba675SRob Herring						<2 RK_PC6 4 &pcfg_pull_default>,
636724ba675SRob Herring						<2 RK_PC7 4 &pcfg_pull_default>;
637724ba675SRob Herring			};
638724ba675SRob Herring
639724ba675SRob Herring			rmii_pins: rmii-pins {
640724ba675SRob Herring				rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>,
641724ba675SRob Herring						<2 RK_PB4 3 &pcfg_pull_default>,
642724ba675SRob Herring						<2 RK_PB5 3 &pcfg_pull_default>,
643724ba675SRob Herring						<2 RK_PB6 3 &pcfg_pull_default>,
644724ba675SRob Herring						<2 RK_PB7 3 &pcfg_pull_default>,
645724ba675SRob Herring						<2 RK_PC0 3 &pcfg_pull_default>,
646724ba675SRob Herring						<2 RK_PC1 3 &pcfg_pull_default>,
647724ba675SRob Herring						<2 RK_PC2 3 &pcfg_pull_default>,
648724ba675SRob Herring						<2 RK_PC3 3 &pcfg_pull_default>,
649724ba675SRob Herring						<2 RK_PD1 3 &pcfg_pull_default>;
650724ba675SRob Herring			};
651724ba675SRob Herring		};
652724ba675SRob Herring
653724ba675SRob Herring		hdmi {
654724ba675SRob Herring			hdmii2c_xfer: hdmii2c-xfer {
655724ba675SRob Herring				rockchip,pins = <0 RK_PA6 2 &pcfg_pull_none>,
656724ba675SRob Herring						<0 RK_PA7 2 &pcfg_pull_none>;
657724ba675SRob Herring			};
658724ba675SRob Herring
659724ba675SRob Herring			hdmi_hpd: hdmi-hpd {
660724ba675SRob Herring				rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>;
661724ba675SRob Herring			};
662724ba675SRob Herring
663724ba675SRob Herring			hdmi_cec: hdmi-cec {
664724ba675SRob Herring				rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>;
665724ba675SRob Herring			};
666724ba675SRob Herring		};
667724ba675SRob Herring
668724ba675SRob Herring		i2c0 {
669724ba675SRob Herring			i2c0_xfer: i2c0-xfer {
670724ba675SRob Herring				rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>,
671724ba675SRob Herring						<0 RK_PA1 1 &pcfg_pull_none>;
672724ba675SRob Herring			};
673724ba675SRob Herring		};
674724ba675SRob Herring
675724ba675SRob Herring		i2c1 {
676724ba675SRob Herring			i2c1_xfer: i2c1-xfer {
677724ba675SRob Herring				rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>,
678724ba675SRob Herring						<0 RK_PA3 1 &pcfg_pull_none>;
679724ba675SRob Herring			};
680724ba675SRob Herring		};
681724ba675SRob Herring
682724ba675SRob Herring		i2c2 {
683724ba675SRob Herring			i2c2_xfer: i2c2-xfer {
684724ba675SRob Herring				rockchip,pins = <2 RK_PC4 3 &pcfg_pull_none>,
685724ba675SRob Herring						<2 RK_PC5 3 &pcfg_pull_none>;
686724ba675SRob Herring			};
687724ba675SRob Herring		};
688724ba675SRob Herring
689724ba675SRob Herring		i2c3 {
690724ba675SRob Herring			i2c3_xfer: i2c3-xfer {
691724ba675SRob Herring				rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>,
692724ba675SRob Herring						<0 RK_PA7 1 &pcfg_pull_none>;
693724ba675SRob Herring			};
694724ba675SRob Herring		};
695724ba675SRob Herring
696724ba675SRob Herring		i2s {
697724ba675SRob Herring			i2s_bus: i2s-bus {
698724ba675SRob Herring				rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>,
699724ba675SRob Herring						<0 RK_PB1 1 &pcfg_pull_none>,
700724ba675SRob Herring						<0 RK_PB3 1 &pcfg_pull_none>,
701724ba675SRob Herring						<0 RK_PB4 1 &pcfg_pull_none>,
702724ba675SRob Herring						<0 RK_PB5 1 &pcfg_pull_none>,
703724ba675SRob Herring						<0 RK_PB6 1 &pcfg_pull_none>;
704724ba675SRob Herring			};
705724ba675SRob Herring
706724ba675SRob Herring			i2s1_bus: i2s1-bus {
707724ba675SRob Herring				rockchip,pins = <1 RK_PA0 1 &pcfg_pull_none>,
708724ba675SRob Herring						<1 RK_PA1 1 &pcfg_pull_none>,
709724ba675SRob Herring						<1 RK_PA2 1 &pcfg_pull_none>,
710724ba675SRob Herring						<1 RK_PA3 1 &pcfg_pull_none>,
711724ba675SRob Herring						<1 RK_PA4 1 &pcfg_pull_none>,
712724ba675SRob Herring						<1 RK_PA5 1 &pcfg_pull_none>;
713724ba675SRob Herring			};
714724ba675SRob Herring		};
715724ba675SRob Herring
716724ba675SRob Herring		lcdc {
717724ba675SRob Herring			lcdc_dclk: lcdc-dclk {
718724ba675SRob Herring				rockchip,pins = <2 RK_PB0 1 &pcfg_pull_none>;
719724ba675SRob Herring			};
720724ba675SRob Herring
721724ba675SRob Herring			lcdc_den: lcdc-den {
722724ba675SRob Herring				rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none>;
723724ba675SRob Herring			};
724724ba675SRob Herring
725724ba675SRob Herring			lcdc_hsync: lcdc-hsync {
726724ba675SRob Herring				rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>;
727724ba675SRob Herring			};
728724ba675SRob Herring
729724ba675SRob Herring			lcdc_vsync: lcdc-vsync {
730724ba675SRob Herring				rockchip,pins = <2 RK_PB2 1 &pcfg_pull_none>;
731724ba675SRob Herring			};
732724ba675SRob Herring
733724ba675SRob Herring			lcdc_rgb24: lcdc-rgb24 {
734724ba675SRob Herring				rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>,
735724ba675SRob Herring						<2 RK_PB5 1 &pcfg_pull_none>,
736724ba675SRob Herring						<2 RK_PB6 1 &pcfg_pull_none>,
737724ba675SRob Herring						<2 RK_PB7 1 &pcfg_pull_none>,
738724ba675SRob Herring						<2 RK_PC0 1 &pcfg_pull_none>,
739724ba675SRob Herring						<2 RK_PC1 1 &pcfg_pull_none>,
740724ba675SRob Herring						<2 RK_PC2 1 &pcfg_pull_none>,
741724ba675SRob Herring						<2 RK_PC3 1 &pcfg_pull_none>,
742724ba675SRob Herring						<2 RK_PC4 1 &pcfg_pull_none>,
743724ba675SRob Herring						<2 RK_PC5 1 &pcfg_pull_none>,
744724ba675SRob Herring						<2 RK_PC6 1 &pcfg_pull_none>,
745724ba675SRob Herring						<2 RK_PC7 1 &pcfg_pull_none>,
746724ba675SRob Herring						<2 RK_PD0 1 &pcfg_pull_none>,
747724ba675SRob Herring						<2 RK_PD1 1 &pcfg_pull_none>;
748724ba675SRob Herring			};
749724ba675SRob Herring		};
750724ba675SRob Herring
751724ba675SRob Herring		nfc {
752724ba675SRob Herring			flash_ale: flash-ale {
753724ba675SRob Herring				rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>;
754724ba675SRob Herring			};
755724ba675SRob Herring
756724ba675SRob Herring			flash_cle: flash-cle {
757724ba675SRob Herring				rockchip,pins = <2 RK_PA1 1 &pcfg_pull_none>;
758724ba675SRob Herring			};
759724ba675SRob Herring
760724ba675SRob Herring			flash_wrn: flash-wrn {
761724ba675SRob Herring				rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>;
762724ba675SRob Herring			};
763724ba675SRob Herring
764724ba675SRob Herring			flash_rdn: flash-rdn {
765724ba675SRob Herring				rockchip,pins = <2 RK_PA3 1 &pcfg_pull_none>;
766724ba675SRob Herring			};
767724ba675SRob Herring
768724ba675SRob Herring			flash_rdy: flash-rdy {
769724ba675SRob Herring				rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>;
770724ba675SRob Herring			};
771724ba675SRob Herring
772724ba675SRob Herring			flash_cs0: flash-cs0 {
773724ba675SRob Herring				rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>;
774724ba675SRob Herring			};
775724ba675SRob Herring
776724ba675SRob Herring			flash_dqs: flash-dqs {
777724ba675SRob Herring				rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>;
778724ba675SRob Herring			};
779724ba675SRob Herring
780724ba675SRob Herring			flash_bus8: flash-bus8 {
781724ba675SRob Herring				rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>,
782724ba675SRob Herring						<1 RK_PD1 1 &pcfg_pull_none>,
783724ba675SRob Herring						<1 RK_PD2 1 &pcfg_pull_none>,
784724ba675SRob Herring						<1 RK_PD3 1 &pcfg_pull_none>,
785724ba675SRob Herring						<1 RK_PD4 1 &pcfg_pull_none>,
786724ba675SRob Herring						<1 RK_PD5 1 &pcfg_pull_none>,
787724ba675SRob Herring						<1 RK_PD6 1 &pcfg_pull_none>,
788724ba675SRob Herring						<1 RK_PD7 1 &pcfg_pull_none>;
789724ba675SRob Herring			};
790724ba675SRob Herring		};
791724ba675SRob Herring
792724ba675SRob Herring		pwm0 {
793724ba675SRob Herring			pwm0_pin: pwm0-pin {
794724ba675SRob Herring				rockchip,pins = <0 RK_PD2 1 &pcfg_pull_none>;
795724ba675SRob Herring			};
796724ba675SRob Herring		};
797724ba675SRob Herring
798724ba675SRob Herring		pwm1 {
799724ba675SRob Herring			pwm1_pin: pwm1-pin {
800724ba675SRob Herring				rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
801724ba675SRob Herring			};
802724ba675SRob Herring		};
803724ba675SRob Herring
804724ba675SRob Herring		pwm2 {
805724ba675SRob Herring			pwm2_pin: pwm2-pin {
806724ba675SRob Herring				rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>;
807724ba675SRob Herring			};
808724ba675SRob Herring		};
809724ba675SRob Herring
810724ba675SRob Herring		pwm3 {
811724ba675SRob Herring			pwm3_pin: pwm3-pin {
812724ba675SRob Herring				rockchip,pins = <3 RK_PD2 1 &pcfg_pull_none>;
813724ba675SRob Herring			};
814724ba675SRob Herring		};
815724ba675SRob Herring
816724ba675SRob Herring		sdio {
817724ba675SRob Herring			sdio_clk: sdio-clk {
818724ba675SRob Herring				rockchip,pins = <1 RK_PA0 2 &pcfg_pull_none>;
819724ba675SRob Herring			};
820724ba675SRob Herring
821724ba675SRob Herring			sdio_cmd: sdio-cmd {
822724ba675SRob Herring				rockchip,pins = <0 RK_PA3 2 &pcfg_pull_default>;
823724ba675SRob Herring			};
824724ba675SRob Herring
825724ba675SRob Herring			sdio_pwren: sdio-pwren {
826724ba675SRob Herring				rockchip,pins = <0 RK_PD6 1 &pcfg_pull_default>;
827724ba675SRob Herring			};
828724ba675SRob Herring
829724ba675SRob Herring			sdio_bus4: sdio-bus4 {
830724ba675SRob Herring				rockchip,pins = <1 RK_PA1 2 &pcfg_pull_default>,
831724ba675SRob Herring						<1 RK_PA2 2 &pcfg_pull_default>,
832724ba675SRob Herring						<1 RK_PA4 2 &pcfg_pull_default>,
833724ba675SRob Herring						<1 RK_PA5 2 &pcfg_pull_default>;
834724ba675SRob Herring			};
835724ba675SRob Herring		};
836724ba675SRob Herring
837724ba675SRob Herring		sdmmc {
838724ba675SRob Herring			sdmmc_clk: sdmmc-clk {
839724ba675SRob Herring				rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>;
840724ba675SRob Herring			};
841724ba675SRob Herring
842724ba675SRob Herring			sdmmc_cmd: sdmmc-cmd {
843724ba675SRob Herring				rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>;
844724ba675SRob Herring			};
845724ba675SRob Herring
846*cdc86eeeSAlex Bee			sdmmc_det: sdmmc-det {
847*cdc86eeeSAlex Bee				rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>;
848*cdc86eeeSAlex Bee			};
849*cdc86eeeSAlex Bee
850724ba675SRob Herring			sdmmc_wp: sdmmc-wp {
851724ba675SRob Herring				rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>;
852724ba675SRob Herring			};
853724ba675SRob Herring
854724ba675SRob Herring			sdmmc_pwren: sdmmc-pwren {
855724ba675SRob Herring				rockchip,pins = <1 RK_PB6 1 &pcfg_pull_default>;
856724ba675SRob Herring			};
857724ba675SRob Herring
858724ba675SRob Herring			sdmmc_bus4: sdmmc-bus4 {
859724ba675SRob Herring				rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>,
860724ba675SRob Herring						<1 RK_PC3 1 &pcfg_pull_default>,
861724ba675SRob Herring						<1 RK_PC4 1 &pcfg_pull_default>,
862724ba675SRob Herring						<1 RK_PC5 1 &pcfg_pull_default>;
863724ba675SRob Herring			};
864724ba675SRob Herring		};
865724ba675SRob Herring
866724ba675SRob Herring		spdif {
867724ba675SRob Herring			spdif_tx: spdif-tx {
868724ba675SRob Herring				rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>;
869724ba675SRob Herring			};
870724ba675SRob Herring		};
871724ba675SRob Herring
872724ba675SRob Herring		spi0 {
873724ba675SRob Herring			spi0_clk: spi0-clk {
874724ba675SRob Herring				rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>;
875724ba675SRob Herring			};
876724ba675SRob Herring
877724ba675SRob Herring			spi0_cs0: spi0-cs0 {
878724ba675SRob Herring				rockchip,pins = <1 RK_PB3 1 &pcfg_pull_default>;
879724ba675SRob Herring			};
880724ba675SRob Herring
881724ba675SRob Herring			spi0_tx: spi0-tx {
882724ba675SRob Herring				rockchip,pins = <1 RK_PB1 1 &pcfg_pull_default>;
883724ba675SRob Herring			};
884724ba675SRob Herring
885724ba675SRob Herring			spi0_rx: spi0-rx {
886724ba675SRob Herring				rockchip,pins = <1 RK_PB2 1 &pcfg_pull_default>;
887724ba675SRob Herring			};
888724ba675SRob Herring
889724ba675SRob Herring			spi0_cs1: spi0-cs1 {
890724ba675SRob Herring				rockchip,pins = <1 RK_PB4 1 &pcfg_pull_default>;
891724ba675SRob Herring			};
892724ba675SRob Herring
893724ba675SRob Herring			spi1_clk: spi1-clk {
894724ba675SRob Herring				rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>;
895724ba675SRob Herring			};
896724ba675SRob Herring
897724ba675SRob Herring			spi1_cs0: spi1-cs0 {
898724ba675SRob Herring				rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>;
899724ba675SRob Herring			};
900724ba675SRob Herring
901724ba675SRob Herring			spi1_tx: spi1-tx {
902724ba675SRob Herring				rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>;
903724ba675SRob Herring			};
904724ba675SRob Herring
905724ba675SRob Herring			spi1_rx: spi1-rx {
906724ba675SRob Herring				rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>;
907724ba675SRob Herring			};
908724ba675SRob Herring
909724ba675SRob Herring			spi1_cs1: spi1-cs1 {
910724ba675SRob Herring				rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>;
911724ba675SRob Herring			};
912724ba675SRob Herring
913724ba675SRob Herring			spi2_clk: spi2-clk {
914724ba675SRob Herring				rockchip,pins = <0 RK_PB1 2 &pcfg_pull_default>;
915724ba675SRob Herring			};
916724ba675SRob Herring
917724ba675SRob Herring			spi2_cs0: spi2-cs0 {
918724ba675SRob Herring				rockchip,pins = <0 RK_PB6 2 &pcfg_pull_default>;
919724ba675SRob Herring			};
920724ba675SRob Herring
921724ba675SRob Herring			spi2_tx: spi2-tx {
922724ba675SRob Herring				rockchip,pins = <0 RK_PB3 2 &pcfg_pull_default>;
923724ba675SRob Herring			};
924724ba675SRob Herring
925724ba675SRob Herring			spi2_rx: spi2-rx {
926724ba675SRob Herring				rockchip,pins = <0 RK_PB5 2 &pcfg_pull_default>;
927724ba675SRob Herring			};
928724ba675SRob Herring		};
929724ba675SRob Herring
930724ba675SRob Herring		uart0 {
931724ba675SRob Herring			uart0_xfer: uart0-xfer {
932724ba675SRob Herring				rockchip,pins = <2 RK_PD2 2 &pcfg_pull_default>,
933724ba675SRob Herring						<2 RK_PD3 2 &pcfg_pull_none>;
934724ba675SRob Herring			};
935724ba675SRob Herring
936724ba675SRob Herring			uart0_cts: uart0-cts {
937724ba675SRob Herring				rockchip,pins = <2 RK_PD5 2 &pcfg_pull_none>;
938724ba675SRob Herring			};
939724ba675SRob Herring
940724ba675SRob Herring			uart0_rts: uart0-rts {
941724ba675SRob Herring				rockchip,pins = <0 RK_PC1 2 &pcfg_pull_none>;
942724ba675SRob Herring			};
943724ba675SRob Herring		};
944724ba675SRob Herring
945724ba675SRob Herring		uart1 {
946724ba675SRob Herring			uart1_xfer: uart1-xfer {
947724ba675SRob Herring				rockchip,pins = <1 RK_PB1 2 &pcfg_pull_default>,
948724ba675SRob Herring						<1 RK_PB2 2 &pcfg_pull_default>;
949724ba675SRob Herring			};
950724ba675SRob Herring
951724ba675SRob Herring			uart1_cts: uart1-cts {
952724ba675SRob Herring				rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>;
953724ba675SRob Herring			};
954724ba675SRob Herring
955724ba675SRob Herring			uart1_rts: uart1-rts {
956724ba675SRob Herring				rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>;
957724ba675SRob Herring			};
958724ba675SRob Herring		};
959724ba675SRob Herring
960724ba675SRob Herring		uart2 {
961724ba675SRob Herring			uart2_xfer: uart2-xfer {
962724ba675SRob Herring				rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>,
963724ba675SRob Herring						<1 RK_PC3 2 &pcfg_pull_none>;
964724ba675SRob Herring			};
965724ba675SRob Herring
966724ba675SRob Herring			uart2_cts: uart2-cts {
967724ba675SRob Herring				rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>;
968724ba675SRob Herring			};
969724ba675SRob Herring
970724ba675SRob Herring			uart2_rts: uart2-rts {
971724ba675SRob Herring				rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>;
972724ba675SRob Herring			};
973724ba675SRob Herring		};
974724ba675SRob Herring	};
975724ba675SRob Herring};
976