xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rk3036.dtsi (revision 2e1b3cc9d7f790145a80cb705b168f05dab65df2)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2724ba675SRob Herring
3724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
4724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
5724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
6724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h>
7724ba675SRob Herring#include <dt-bindings/clock/rk3036-cru.h>
8724ba675SRob Herring#include <dt-bindings/soc/rockchip,boot-mode.h>
9724ba675SRob Herring#include <dt-bindings/power/rk3036-power.h>
10724ba675SRob Herring
11724ba675SRob Herring/ {
12724ba675SRob Herring	#address-cells = <1>;
13724ba675SRob Herring	#size-cells = <1>;
14724ba675SRob Herring
15724ba675SRob Herring	compatible = "rockchip,rk3036";
16724ba675SRob Herring
17724ba675SRob Herring	interrupt-parent = <&gic>;
18724ba675SRob Herring
19724ba675SRob Herring	aliases {
2004c521c3SJohan Jonker		gpio0 = &gpio0;
2104c521c3SJohan Jonker		gpio1 = &gpio1;
2204c521c3SJohan Jonker		gpio2 = &gpio2;
23724ba675SRob Herring		i2c0 = &i2c0;
24724ba675SRob Herring		i2c1 = &i2c1;
25724ba675SRob Herring		i2c2 = &i2c2;
26724ba675SRob Herring		mshc0 = &emmc;
27724ba675SRob Herring		mshc1 = &sdmmc;
28724ba675SRob Herring		mshc2 = &sdio;
29724ba675SRob Herring		serial0 = &uart0;
30724ba675SRob Herring		serial1 = &uart1;
31724ba675SRob Herring		serial2 = &uart2;
32724ba675SRob Herring		spi = &spi;
33724ba675SRob Herring	};
34724ba675SRob Herring
35724ba675SRob Herring	cpus {
36724ba675SRob Herring		#address-cells = <1>;
37724ba675SRob Herring		#size-cells = <0>;
38724ba675SRob Herring		enable-method = "rockchip,rk3036-smp";
39724ba675SRob Herring
40724ba675SRob Herring		cpu0: cpu@f00 {
41724ba675SRob Herring			device_type = "cpu";
42724ba675SRob Herring			compatible = "arm,cortex-a7";
43724ba675SRob Herring			reg = <0xf00>;
44724ba675SRob Herring			resets = <&cru SRST_CORE0>;
45724ba675SRob Herring			operating-points = <
46724ba675SRob Herring				/* KHz    uV */
47724ba675SRob Herring				 816000 1000000
48724ba675SRob Herring			>;
49724ba675SRob Herring			clock-latency = <40000>;
50724ba675SRob Herring			clocks = <&cru ARMCLK>;
51724ba675SRob Herring		};
52724ba675SRob Herring
53724ba675SRob Herring		cpu1: cpu@f01 {
54724ba675SRob Herring			device_type = "cpu";
55724ba675SRob Herring			compatible = "arm,cortex-a7";
56724ba675SRob Herring			reg = <0xf01>;
57724ba675SRob Herring			resets = <&cru SRST_CORE1>;
58724ba675SRob Herring		};
59724ba675SRob Herring	};
60724ba675SRob Herring
61724ba675SRob Herring	arm-pmu {
62724ba675SRob Herring		compatible = "arm,cortex-a7-pmu";
63724ba675SRob Herring		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
64724ba675SRob Herring			     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
65724ba675SRob Herring		interrupt-affinity = <&cpu0>, <&cpu1>;
66724ba675SRob Herring	};
67724ba675SRob Herring
68724ba675SRob Herring	display-subsystem {
69724ba675SRob Herring		compatible = "rockchip,display-subsystem";
70724ba675SRob Herring		ports = <&vop_out>;
71724ba675SRob Herring	};
72724ba675SRob Herring
73724ba675SRob Herring	timer {
74724ba675SRob Herring		compatible = "arm,armv7-timer";
75724ba675SRob Herring		arm,cpu-registers-not-fw-configured;
76724ba675SRob Herring		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
77724ba675SRob Herring			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
78724ba675SRob Herring			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>,
79724ba675SRob Herring			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
80724ba675SRob Herring		clock-frequency = <24000000>;
81724ba675SRob Herring	};
82724ba675SRob Herring
83724ba675SRob Herring	xin24m: oscillator {
84724ba675SRob Herring		compatible = "fixed-clock";
85724ba675SRob Herring		clock-frequency = <24000000>;
86724ba675SRob Herring		clock-output-names = "xin24m";
87724ba675SRob Herring		#clock-cells = <0>;
88724ba675SRob Herring	};
89724ba675SRob Herring
90724ba675SRob Herring	bus_intmem: sram@10080000 {
91724ba675SRob Herring		compatible = "mmio-sram";
92724ba675SRob Herring		reg = <0x10080000 0x2000>;
93724ba675SRob Herring		#address-cells = <1>;
94724ba675SRob Herring		#size-cells = <1>;
95724ba675SRob Herring		ranges = <0 0x10080000 0x2000>;
96724ba675SRob Herring
97724ba675SRob Herring		smp-sram@0 {
98724ba675SRob Herring			compatible = "rockchip,rk3066-smp-sram";
99724ba675SRob Herring			reg = <0x00 0x10>;
100724ba675SRob Herring		};
101724ba675SRob Herring	};
102724ba675SRob Herring
103724ba675SRob Herring	gpu: gpu@10090000 {
104724ba675SRob Herring		compatible = "rockchip,rk3036-mali", "arm,mali-400";
105724ba675SRob Herring		reg = <0x10090000 0x10000>;
106724ba675SRob Herring		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
107724ba675SRob Herring			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
108724ba675SRob Herring			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
109724ba675SRob Herring			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
110724ba675SRob Herring		interrupt-names = "gp",
111724ba675SRob Herring				  "gpmmu",
112724ba675SRob Herring				  "pp0",
113724ba675SRob Herring				  "ppmmu0";
114724ba675SRob Herring		assigned-clocks = <&cru SCLK_GPU>;
115724ba675SRob Herring		assigned-clock-rates = <100000000>;
116724ba675SRob Herring		clocks = <&cru SCLK_GPU>, <&cru SCLK_GPU>;
117724ba675SRob Herring		clock-names = "bus", "core";
118724ba675SRob Herring		power-domains = <&power RK3036_PD_GPU>;
119724ba675SRob Herring		resets = <&cru SRST_GPU>;
120724ba675SRob Herring		status = "disabled";
121724ba675SRob Herring	};
122724ba675SRob Herring
123724ba675SRob Herring	vpu: video-codec@10108000 {
124724ba675SRob Herring		compatible = "rockchip,rk3036-vpu";
125724ba675SRob Herring		reg = <0x10108000 0x800>;
126724ba675SRob Herring		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
127724ba675SRob Herring		interrupt-names = "vdpu";
128724ba675SRob Herring		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
129724ba675SRob Herring		clock-names = "aclk", "hclk";
130724ba675SRob Herring		iommus = <&vpu_mmu>;
131724ba675SRob Herring		power-domains = <&power RK3036_PD_VPU>;
132724ba675SRob Herring	};
133724ba675SRob Herring
134724ba675SRob Herring	vpu_mmu: iommu@10108800 {
135724ba675SRob Herring		compatible = "rockchip,iommu";
136724ba675SRob Herring		reg = <0x10108800 0x100>;
137724ba675SRob Herring		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
138724ba675SRob Herring		clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
139724ba675SRob Herring		clock-names = "aclk", "iface";
140724ba675SRob Herring		power-domains = <&power RK3036_PD_VPU>;
141724ba675SRob Herring		#iommu-cells = <0>;
142724ba675SRob Herring	};
143724ba675SRob Herring
144724ba675SRob Herring	vop: vop@10118000 {
145724ba675SRob Herring		compatible = "rockchip,rk3036-vop";
146724ba675SRob Herring		reg = <0x10118000 0x19c>;
147724ba675SRob Herring		interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
148724ba675SRob Herring		clocks = <&cru ACLK_LCDC>, <&cru SCLK_LCDC>, <&cru HCLK_LCDC>;
149724ba675SRob Herring		clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
150724ba675SRob Herring		resets = <&cru SRST_LCDC1_A>, <&cru SRST_LCDC1_H>, <&cru SRST_LCDC1_D>;
151724ba675SRob Herring		reset-names = "axi", "ahb", "dclk";
152724ba675SRob Herring		iommus = <&vop_mmu>;
153724ba675SRob Herring		power-domains = <&power RK3036_PD_VIO>;
154724ba675SRob Herring		status = "disabled";
155724ba675SRob Herring
156724ba675SRob Herring		vop_out: port {
157724ba675SRob Herring			#address-cells = <1>;
158724ba675SRob Herring			#size-cells = <0>;
159724ba675SRob Herring			vop_out_hdmi: endpoint@0 {
160724ba675SRob Herring				reg = <0>;
161724ba675SRob Herring				remote-endpoint = <&hdmi_in_vop>;
162724ba675SRob Herring			};
163724ba675SRob Herring		};
164724ba675SRob Herring	};
165724ba675SRob Herring
166724ba675SRob Herring	vop_mmu: iommu@10118300 {
167724ba675SRob Herring		compatible = "rockchip,iommu";
168724ba675SRob Herring		reg = <0x10118300 0x100>;
169724ba675SRob Herring		interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
170724ba675SRob Herring		clocks = <&cru ACLK_LCDC>, <&cru HCLK_LCDC>;
171724ba675SRob Herring		clock-names = "aclk", "iface";
172724ba675SRob Herring		power-domains = <&power RK3036_PD_VIO>;
173724ba675SRob Herring		#iommu-cells = <0>;
174724ba675SRob Herring		status = "disabled";
175724ba675SRob Herring	};
176724ba675SRob Herring
177724ba675SRob Herring	qos_gpu: qos@1012d000 {
178724ba675SRob Herring		compatible = "rockchip,rk3036-qos", "syscon";
179724ba675SRob Herring		reg = <0x1012d000 0x20>;
180724ba675SRob Herring	};
181724ba675SRob Herring
182724ba675SRob Herring	qos_vpu: qos@1012e000 {
183724ba675SRob Herring		compatible = "rockchip,rk3036-qos", "syscon";
184724ba675SRob Herring		reg = <0x1012e000 0x20>;
185724ba675SRob Herring	};
186724ba675SRob Herring
187724ba675SRob Herring	qos_vio: qos@1012f000 {
188724ba675SRob Herring		compatible = "rockchip,rk3036-qos", "syscon";
189724ba675SRob Herring		reg = <0x1012f000 0x20>;
190724ba675SRob Herring	};
191724ba675SRob Herring
192724ba675SRob Herring	gic: interrupt-controller@10139000 {
193724ba675SRob Herring		compatible = "arm,gic-400";
194724ba675SRob Herring		interrupt-controller;
195724ba675SRob Herring		#interrupt-cells = <3>;
196724ba675SRob Herring		#address-cells = <0>;
197724ba675SRob Herring
198724ba675SRob Herring		reg = <0x10139000 0x1000>,
199724ba675SRob Herring		      <0x1013a000 0x2000>,
200724ba675SRob Herring		      <0x1013c000 0x2000>,
201724ba675SRob Herring		      <0x1013e000 0x2000>;
202724ba675SRob Herring		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
203724ba675SRob Herring	};
204724ba675SRob Herring
205724ba675SRob Herring	usb_otg: usb@10180000 {
206724ba675SRob Herring		compatible = "rockchip,rk3036-usb", "rockchip,rk3066-usb",
207724ba675SRob Herring				"snps,dwc2";
208724ba675SRob Herring		reg = <0x10180000 0x40000>;
209724ba675SRob Herring		interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
210724ba675SRob Herring		clocks = <&cru HCLK_OTG0>;
211724ba675SRob Herring		clock-names = "otg";
212724ba675SRob Herring		dr_mode = "otg";
213724ba675SRob Herring		g-np-tx-fifo-size = <16>;
214724ba675SRob Herring		g-rx-fifo-size = <275>;
215724ba675SRob Herring		g-tx-fifo-size = <256 128 128 64 64 32>;
216724ba675SRob Herring		status = "disabled";
217724ba675SRob Herring	};
218724ba675SRob Herring
219724ba675SRob Herring	usb_host: usb@101c0000 {
220724ba675SRob Herring		compatible = "rockchip,rk3036-usb", "rockchip,rk3066-usb",
221724ba675SRob Herring				"snps,dwc2";
222724ba675SRob Herring		reg = <0x101c0000 0x40000>;
223724ba675SRob Herring		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
224724ba675SRob Herring		clocks = <&cru HCLK_OTG1>;
225724ba675SRob Herring		clock-names = "otg";
226724ba675SRob Herring		dr_mode = "host";
227724ba675SRob Herring		status = "disabled";
228724ba675SRob Herring	};
229724ba675SRob Herring
230724ba675SRob Herring	emac: ethernet@10200000 {
231724ba675SRob Herring		compatible = "rockchip,rk3036-emac";
232724ba675SRob Herring		reg = <0x10200000 0x4000>;
233724ba675SRob Herring		interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
234724ba675SRob Herring		rockchip,grf = <&grf>;
235724ba675SRob Herring		clocks = <&cru HCLK_MAC>, <&cru SCLK_MACREF>, <&cru SCLK_MAC>;
236724ba675SRob Herring		clock-names = "hclk", "macref", "macclk";
237724ba675SRob Herring		/*
238724ba675SRob Herring		 * Fix the emac parent clock is DPLL instead of APLL.
239724ba675SRob Herring		 * since that will cause some unstable things if the cpufreq
240724ba675SRob Herring		 * is working. (e.g: the accurate 50MHz what mac_ref need)
241724ba675SRob Herring		 */
242724ba675SRob Herring		assigned-clocks = <&cru SCLK_MACPLL>;
243724ba675SRob Herring		assigned-clock-parents = <&cru PLL_DPLL>;
244724ba675SRob Herring		max-speed = <100>;
245724ba675SRob Herring		phy-mode = "rmii";
246724ba675SRob Herring		status = "disabled";
247724ba675SRob Herring	};
248724ba675SRob Herring
249724ba675SRob Herring	sdmmc: mmc@10214000 {
250724ba675SRob Herring		compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc";
251724ba675SRob Herring		reg = <0x10214000 0x4000>;
252724ba675SRob Herring		clock-frequency = <37500000>;
253724ba675SRob Herring		max-frequency = <37500000>;
254724ba675SRob Herring		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
255724ba675SRob Herring		clock-names = "biu", "ciu";
256724ba675SRob Herring		fifo-depth = <0x100>;
257724ba675SRob Herring		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
258724ba675SRob Herring		resets = <&cru SRST_MMC0>;
259724ba675SRob Herring		reset-names = "reset";
260724ba675SRob Herring		status = "disabled";
261724ba675SRob Herring	};
262724ba675SRob Herring
263724ba675SRob Herring	sdio: mmc@10218000 {
264724ba675SRob Herring		compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc";
265724ba675SRob Herring		reg = <0x10218000 0x4000>;
266724ba675SRob Herring		max-frequency = <37500000>;
267724ba675SRob Herring		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
268724ba675SRob Herring			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
269724ba675SRob Herring		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
270724ba675SRob Herring		fifo-depth = <0x100>;
271724ba675SRob Herring		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
272724ba675SRob Herring		resets = <&cru SRST_SDIO>;
273724ba675SRob Herring		reset-names = "reset";
274724ba675SRob Herring		status = "disabled";
275724ba675SRob Herring	};
276724ba675SRob Herring
277724ba675SRob Herring	emmc: mmc@1021c000 {
278724ba675SRob Herring		compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc";
279724ba675SRob Herring		reg = <0x1021c000 0x4000>;
280724ba675SRob Herring		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
281724ba675SRob Herring		bus-width = <8>;
282724ba675SRob Herring		cap-mmc-highspeed;
283724ba675SRob Herring		clock-frequency = <37500000>;
284724ba675SRob Herring		max-frequency = <37500000>;
285724ba675SRob Herring		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
286724ba675SRob Herring			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
287724ba675SRob Herring		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
288724ba675SRob Herring		disable-wp;
289724ba675SRob Herring		dmas = <&pdma 12>;
290724ba675SRob Herring		dma-names = "rx-tx";
291724ba675SRob Herring		fifo-depth = <0x100>;
292724ba675SRob Herring		mmc-ddr-1_8v;
293724ba675SRob Herring		non-removable;
294724ba675SRob Herring		pinctrl-names = "default";
295724ba675SRob Herring		pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
296724ba675SRob Herring		resets = <&cru SRST_EMMC>;
297724ba675SRob Herring		reset-names = "reset";
298724ba675SRob Herring		status = "disabled";
299724ba675SRob Herring	};
300724ba675SRob Herring
301724ba675SRob Herring	i2s: i2s@10220000 {
302724ba675SRob Herring		compatible = "rockchip,rk3036-i2s", "rockchip,rk3066-i2s";
303724ba675SRob Herring		reg = <0x10220000 0x4000>;
304724ba675SRob Herring		interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
305724ba675SRob Herring		clock-names = "i2s_clk", "i2s_hclk";
306724ba675SRob Herring		clocks = <&cru SCLK_I2S>, <&cru HCLK_I2S>;
307724ba675SRob Herring		dmas = <&pdma 0>, <&pdma 1>;
308724ba675SRob Herring		dma-names = "tx", "rx";
309724ba675SRob Herring		pinctrl-names = "default";
310724ba675SRob Herring		pinctrl-0 = <&i2s_bus>;
311724ba675SRob Herring		#sound-dai-cells = <0>;
312724ba675SRob Herring		status = "disabled";
313724ba675SRob Herring	};
314724ba675SRob Herring
315724ba675SRob Herring	nfc: nand-controller@10500000 {
316724ba675SRob Herring		compatible = "rockchip,rk3036-nfc",
317724ba675SRob Herring			     "rockchip,rk2928-nfc";
318724ba675SRob Herring		reg = <0x10500000 0x4000>;
319724ba675SRob Herring		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
320724ba675SRob Herring		clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
321724ba675SRob Herring		clock-names = "ahb", "nfc";
322724ba675SRob Herring		assigned-clocks = <&cru SCLK_NANDC>;
323724ba675SRob Herring		assigned-clock-rates = <150000000>;
324724ba675SRob Herring		pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
325724ba675SRob Herring			     &flash_rdn &flash_rdy &flash_wrn>;
326724ba675SRob Herring		pinctrl-names = "default";
327724ba675SRob Herring		status = "disabled";
328724ba675SRob Herring	};
329724ba675SRob Herring
330724ba675SRob Herring	cru: clock-controller@20000000 {
331724ba675SRob Herring		compatible = "rockchip,rk3036-cru";
332724ba675SRob Herring		reg = <0x20000000 0x1000>;
333724ba675SRob Herring		clocks = <&xin24m>;
334724ba675SRob Herring		clock-names = "xin24m";
335724ba675SRob Herring		rockchip,grf = <&grf>;
336724ba675SRob Herring		#clock-cells = <1>;
337724ba675SRob Herring		#reset-cells = <1>;
338724ba675SRob Herring		assigned-clocks = <&cru PLL_GPLL>;
339724ba675SRob Herring		assigned-clock-rates = <594000000>;
340724ba675SRob Herring	};
341724ba675SRob Herring
342724ba675SRob Herring	grf: syscon@20008000 {
343724ba675SRob Herring		compatible = "rockchip,rk3036-grf", "syscon", "simple-mfd";
344724ba675SRob Herring		reg = <0x20008000 0x1000>;
345724ba675SRob Herring
346724ba675SRob Herring		power: power-controller {
347724ba675SRob Herring			compatible = "rockchip,rk3036-power-controller";
348724ba675SRob Herring			#power-domain-cells = <1>;
349724ba675SRob Herring			#address-cells = <1>;
350724ba675SRob Herring			#size-cells = <0>;
351724ba675SRob Herring
352724ba675SRob Herring			power-domain@RK3036_PD_VIO {
353724ba675SRob Herring				reg = <RK3036_PD_VIO>;
354724ba675SRob Herring				clocks = <&cru ACLK_LCDC>,
355724ba675SRob Herring					 <&cru HCLK_LCDC>,
356724ba675SRob Herring					 <&cru SCLK_LCDC>;
357724ba675SRob Herring				pm_qos = <&qos_vio>;
358724ba675SRob Herring				#power-domain-cells = <0>;
359724ba675SRob Herring			};
360724ba675SRob Herring
361724ba675SRob Herring			power-domain@RK3036_PD_VPU {
362724ba675SRob Herring				reg = <RK3036_PD_VPU>;
363724ba675SRob Herring				clocks = <&cru ACLK_VCODEC>,
364724ba675SRob Herring					 <&cru HCLK_VCODEC>;
365724ba675SRob Herring				pm_qos = <&qos_vpu>;
366724ba675SRob Herring				#power-domain-cells = <0>;
367724ba675SRob Herring			};
368724ba675SRob Herring
369724ba675SRob Herring			power-domain@RK3036_PD_GPU {
370724ba675SRob Herring				reg = <RK3036_PD_GPU>;
371724ba675SRob Herring				clocks = <&cru SCLK_GPU>;
372724ba675SRob Herring				pm_qos = <&qos_gpu>;
373724ba675SRob Herring				#power-domain-cells = <0>;
374724ba675SRob Herring			};
375724ba675SRob Herring		};
376724ba675SRob Herring
377724ba675SRob Herring		reboot-mode {
378724ba675SRob Herring			compatible = "syscon-reboot-mode";
379724ba675SRob Herring			offset = <0x1d8>;
380724ba675SRob Herring			mode-normal = <BOOT_NORMAL>;
381724ba675SRob Herring			mode-recovery = <BOOT_RECOVERY>;
382724ba675SRob Herring			mode-bootloader = <BOOT_FASTBOOT>;
383724ba675SRob Herring			mode-loader = <BOOT_BL_DOWNLOAD>;
384724ba675SRob Herring		};
385724ba675SRob Herring	};
386724ba675SRob Herring
387c7206853SHeiko Stuebner	acodec: audio-codec@20030000 {
388c7206853SHeiko Stuebner		compatible = "rockchip,rk3036-codec";
389724ba675SRob Herring		reg = <0x20030000 0x4000>;
390724ba675SRob Herring		clock-names = "acodec_pclk";
391724ba675SRob Herring		clocks = <&cru PCLK_ACODEC>;
392c7206853SHeiko Stuebner		rockchip,grf = <&grf>;
393c7206853SHeiko Stuebner		#sound-dai-cells = <0>;
394724ba675SRob Herring		status = "disabled";
395724ba675SRob Herring	};
396724ba675SRob Herring
397724ba675SRob Herring	hdmi: hdmi@20034000 {
398724ba675SRob Herring		compatible = "rockchip,rk3036-inno-hdmi";
399724ba675SRob Herring		reg = <0x20034000 0x4000>;
400724ba675SRob Herring		interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
401724ba675SRob Herring		clocks = <&cru  PCLK_HDMI>;
402724ba675SRob Herring		clock-names = "pclk";
403724ba675SRob Herring		pinctrl-names = "default";
404724ba675SRob Herring		pinctrl-0 = <&hdmi_ctl>;
405d45db4fcSJohan Jonker		#sound-dai-cells = <0>;
406724ba675SRob Herring		status = "disabled";
407724ba675SRob Herring
40827ded76eSJohan Jonker		ports {
409724ba675SRob Herring			#address-cells = <1>;
410724ba675SRob Herring			#size-cells = <0>;
41127ded76eSJohan Jonker
41227ded76eSJohan Jonker			hdmi_in: port@0 {
413724ba675SRob Herring				reg = <0>;
41427ded76eSJohan Jonker
41527ded76eSJohan Jonker				hdmi_in_vop: endpoint {
416724ba675SRob Herring					remote-endpoint = <&vop_out_hdmi>;
417724ba675SRob Herring				};
418724ba675SRob Herring			};
41927ded76eSJohan Jonker
42027ded76eSJohan Jonker			hdmi_out: port@1 {
42127ded76eSJohan Jonker				reg = <1>;
42227ded76eSJohan Jonker			};
42327ded76eSJohan Jonker		};
424724ba675SRob Herring	};
425724ba675SRob Herring
426724ba675SRob Herring	timer: timer@20044000 {
427724ba675SRob Herring		compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer";
428724ba675SRob Herring		reg = <0x20044000 0x20>;
429724ba675SRob Herring		interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
430724ba675SRob Herring		clocks = <&cru PCLK_TIMER>, <&xin24m>;
431724ba675SRob Herring		clock-names = "pclk", "timer";
432724ba675SRob Herring	};
433724ba675SRob Herring
434724ba675SRob Herring	pwm0: pwm@20050000 {
435724ba675SRob Herring		compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
436724ba675SRob Herring		reg = <0x20050000 0x10>;
437724ba675SRob Herring		#pwm-cells = <3>;
438724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
439724ba675SRob Herring		pinctrl-names = "default";
440724ba675SRob Herring		pinctrl-0 = <&pwm0_pin>;
441724ba675SRob Herring		status = "disabled";
442724ba675SRob Herring	};
443724ba675SRob Herring
444724ba675SRob Herring	pwm1: pwm@20050010 {
445724ba675SRob Herring		compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
446724ba675SRob Herring		reg = <0x20050010 0x10>;
447724ba675SRob Herring		#pwm-cells = <3>;
448724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
449724ba675SRob Herring		pinctrl-names = "default";
450724ba675SRob Herring		pinctrl-0 = <&pwm1_pin>;
451724ba675SRob Herring		status = "disabled";
452724ba675SRob Herring	};
453724ba675SRob Herring
454724ba675SRob Herring	pwm2: pwm@20050020 {
455724ba675SRob Herring		compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
456724ba675SRob Herring		reg = <0x20050020 0x10>;
457724ba675SRob Herring		#pwm-cells = <3>;
458724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
459724ba675SRob Herring		pinctrl-names = "default";
460724ba675SRob Herring		pinctrl-0 = <&pwm2_pin>;
461724ba675SRob Herring		status = "disabled";
462724ba675SRob Herring	};
463724ba675SRob Herring
464724ba675SRob Herring	pwm3: pwm@20050030 {
465724ba675SRob Herring		compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
466724ba675SRob Herring		reg = <0x20050030 0x10>;
467724ba675SRob Herring		#pwm-cells = <2>;
468724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
469724ba675SRob Herring		pinctrl-names = "default";
470724ba675SRob Herring		pinctrl-0 = <&pwm3_pin>;
471724ba675SRob Herring		status = "disabled";
472724ba675SRob Herring	};
473724ba675SRob Herring
474724ba675SRob Herring	i2c1: i2c@20056000 {
475724ba675SRob Herring		compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c";
476724ba675SRob Herring		reg = <0x20056000 0x1000>;
477724ba675SRob Herring		interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
478724ba675SRob Herring		#address-cells = <1>;
479724ba675SRob Herring		#size-cells = <0>;
480724ba675SRob Herring		clock-names = "i2c";
481724ba675SRob Herring		clocks = <&cru PCLK_I2C1>;
482724ba675SRob Herring		pinctrl-names = "default";
483724ba675SRob Herring		pinctrl-0 = <&i2c1_xfer>;
484724ba675SRob Herring		status = "disabled";
485724ba675SRob Herring	};
486724ba675SRob Herring
487724ba675SRob Herring	i2c2: i2c@2005a000 {
488724ba675SRob Herring		compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c";
489724ba675SRob Herring		reg = <0x2005a000 0x1000>;
490724ba675SRob Herring		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
491724ba675SRob Herring		#address-cells = <1>;
492724ba675SRob Herring		#size-cells = <0>;
493724ba675SRob Herring		clock-names = "i2c";
494724ba675SRob Herring		clocks = <&cru PCLK_I2C2>;
495724ba675SRob Herring		pinctrl-names = "default";
496724ba675SRob Herring		pinctrl-0 = <&i2c2_xfer>;
497724ba675SRob Herring		status = "disabled";
498724ba675SRob Herring	};
499724ba675SRob Herring
500724ba675SRob Herring	uart0: serial@20060000 {
501724ba675SRob Herring		compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart";
502724ba675SRob Herring		reg = <0x20060000 0x100>;
503724ba675SRob Herring		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
504724ba675SRob Herring		reg-shift = <2>;
505724ba675SRob Herring		reg-io-width = <4>;
506724ba675SRob Herring		clock-frequency = <24000000>;
507724ba675SRob Herring		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
508724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
509724ba675SRob Herring		pinctrl-names = "default";
510724ba675SRob Herring		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
511724ba675SRob Herring		status = "disabled";
512724ba675SRob Herring	};
513724ba675SRob Herring
514724ba675SRob Herring	uart1: serial@20064000 {
515724ba675SRob Herring		compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart";
516724ba675SRob Herring		reg = <0x20064000 0x100>;
517724ba675SRob Herring		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
518724ba675SRob Herring		reg-shift = <2>;
519724ba675SRob Herring		reg-io-width = <4>;
520724ba675SRob Herring		clock-frequency = <24000000>;
521724ba675SRob Herring		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
522724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
523724ba675SRob Herring		pinctrl-names = "default";
524724ba675SRob Herring		pinctrl-0 = <&uart1_xfer>;
525724ba675SRob Herring		status = "disabled";
526724ba675SRob Herring	};
527724ba675SRob Herring
528724ba675SRob Herring	uart2: serial@20068000 {
529724ba675SRob Herring		compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart";
530724ba675SRob Herring		reg = <0x20068000 0x100>;
531724ba675SRob Herring		interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
532724ba675SRob Herring		reg-shift = <2>;
533724ba675SRob Herring		reg-io-width = <4>;
534724ba675SRob Herring		clock-frequency = <24000000>;
535724ba675SRob Herring		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
536724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
537724ba675SRob Herring		pinctrl-names = "default";
538724ba675SRob Herring		pinctrl-0 = <&uart2_xfer>;
539724ba675SRob Herring		status = "disabled";
540724ba675SRob Herring	};
541724ba675SRob Herring
542724ba675SRob Herring	i2c0: i2c@20072000 {
543724ba675SRob Herring		compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c";
544724ba675SRob Herring		reg = <0x20072000 0x1000>;
545724ba675SRob Herring		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
546724ba675SRob Herring		#address-cells = <1>;
547724ba675SRob Herring		#size-cells = <0>;
548724ba675SRob Herring		clock-names = "i2c";
549724ba675SRob Herring		clocks = <&cru PCLK_I2C0>;
550724ba675SRob Herring		pinctrl-names = "default";
551724ba675SRob Herring		pinctrl-0 = <&i2c0_xfer>;
552724ba675SRob Herring		status = "disabled";
553724ba675SRob Herring	};
554724ba675SRob Herring
555724ba675SRob Herring	spi: spi@20074000 {
556*8bade1adSHeiko Stuebner		compatible = "rockchip,rk3036-spi";
557724ba675SRob Herring		reg = <0x20074000 0x1000>;
558724ba675SRob Herring		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
559*8bade1adSHeiko Stuebner		clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>;
560*8bade1adSHeiko Stuebner		clock-names = "spiclk", "apb_pclk";
561724ba675SRob Herring		dmas = <&pdma 8>, <&pdma 9>;
562724ba675SRob Herring		dma-names = "tx", "rx";
563724ba675SRob Herring		pinctrl-names = "default";
564724ba675SRob Herring		pinctrl-0 = <&spi_txd &spi_rxd &spi_clk &spi_cs0>;
565724ba675SRob Herring		#address-cells = <1>;
566724ba675SRob Herring		#size-cells = <0>;
567724ba675SRob Herring		status = "disabled";
568724ba675SRob Herring	};
569724ba675SRob Herring
570724ba675SRob Herring	pdma: dma-controller@20078000 {
571724ba675SRob Herring		compatible = "arm,pl330", "arm,primecell";
572724ba675SRob Herring		reg = <0x20078000 0x4000>;
573724ba675SRob Herring		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
574724ba675SRob Herring			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
575724ba675SRob Herring		#dma-cells = <1>;
576724ba675SRob Herring		arm,pl330-broken-no-flushp;
577724ba675SRob Herring		arm,pl330-periph-burst;
578724ba675SRob Herring		clocks = <&cru ACLK_DMAC2>;
579724ba675SRob Herring		clock-names = "apb_pclk";
580724ba675SRob Herring	};
581724ba675SRob Herring
582724ba675SRob Herring	pinctrl: pinctrl {
583724ba675SRob Herring		compatible = "rockchip,rk3036-pinctrl";
584724ba675SRob Herring		rockchip,grf = <&grf>;
585724ba675SRob Herring		#address-cells = <1>;
586724ba675SRob Herring		#size-cells = <1>;
587724ba675SRob Herring		ranges;
588724ba675SRob Herring
589724ba675SRob Herring		gpio0: gpio@2007c000 {
590724ba675SRob Herring			compatible = "rockchip,gpio-bank";
591724ba675SRob Herring			reg = <0x2007c000 0x100>;
592724ba675SRob Herring			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
593724ba675SRob Herring			clocks = <&cru PCLK_GPIO0>;
594724ba675SRob Herring
595724ba675SRob Herring			gpio-controller;
596724ba675SRob Herring			#gpio-cells = <2>;
597724ba675SRob Herring
598724ba675SRob Herring			interrupt-controller;
599724ba675SRob Herring			#interrupt-cells = <2>;
600724ba675SRob Herring		};
601724ba675SRob Herring
602724ba675SRob Herring		gpio1: gpio@20080000 {
603724ba675SRob Herring			compatible = "rockchip,gpio-bank";
604724ba675SRob Herring			reg = <0x20080000 0x100>;
605724ba675SRob Herring			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
606724ba675SRob Herring			clocks = <&cru PCLK_GPIO1>;
607724ba675SRob Herring
608724ba675SRob Herring			gpio-controller;
609724ba675SRob Herring			#gpio-cells = <2>;
610724ba675SRob Herring
611724ba675SRob Herring			interrupt-controller;
612724ba675SRob Herring			#interrupt-cells = <2>;
613724ba675SRob Herring		};
614724ba675SRob Herring
615724ba675SRob Herring		gpio2: gpio@20084000 {
616724ba675SRob Herring			compatible = "rockchip,gpio-bank";
617724ba675SRob Herring			reg = <0x20084000 0x100>;
618724ba675SRob Herring			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
619724ba675SRob Herring			clocks = <&cru PCLK_GPIO2>;
620724ba675SRob Herring
621724ba675SRob Herring			gpio-controller;
622724ba675SRob Herring			#gpio-cells = <2>;
623724ba675SRob Herring
624724ba675SRob Herring			interrupt-controller;
625724ba675SRob Herring			#interrupt-cells = <2>;
626724ba675SRob Herring		};
627724ba675SRob Herring
628724ba675SRob Herring		pcfg_pull_default: pcfg-pull-default {
629724ba675SRob Herring			bias-pull-pin-default;
630724ba675SRob Herring		};
631724ba675SRob Herring
632724ba675SRob Herring		pcfg_pull_none: pcfg-pull-none {
633724ba675SRob Herring			bias-disable;
634724ba675SRob Herring		};
635724ba675SRob Herring
636724ba675SRob Herring		pwm0 {
637724ba675SRob Herring			pwm0_pin: pwm0-pin {
638724ba675SRob Herring				rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
639724ba675SRob Herring			};
640724ba675SRob Herring		};
641724ba675SRob Herring
642724ba675SRob Herring		pwm1 {
643724ba675SRob Herring			pwm1_pin: pwm1-pin {
644724ba675SRob Herring				rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>;
645724ba675SRob Herring			};
646724ba675SRob Herring		};
647724ba675SRob Herring
648724ba675SRob Herring		pwm2 {
649724ba675SRob Herring			pwm2_pin: pwm2-pin {
650724ba675SRob Herring				rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>;
651724ba675SRob Herring			};
652724ba675SRob Herring		};
653724ba675SRob Herring
654724ba675SRob Herring		pwm3 {
655724ba675SRob Herring			pwm3_pin: pwm3-pin {
656724ba675SRob Herring				rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
657724ba675SRob Herring			};
658724ba675SRob Herring		};
659724ba675SRob Herring
660724ba675SRob Herring		sdmmc {
661724ba675SRob Herring			sdmmc_clk: sdmmc-clk {
662724ba675SRob Herring				rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>;
663724ba675SRob Herring			};
664724ba675SRob Herring
665724ba675SRob Herring			sdmmc_cmd: sdmmc-cmd {
666724ba675SRob Herring				rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>;
667724ba675SRob Herring			};
668724ba675SRob Herring
669724ba675SRob Herring			sdmmc_cd: sdmmc-cd {
670724ba675SRob Herring				rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>;
671724ba675SRob Herring			};
672724ba675SRob Herring
673724ba675SRob Herring			sdmmc_bus1: sdmmc-bus1 {
674724ba675SRob Herring				rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>;
675724ba675SRob Herring			};
676724ba675SRob Herring
677724ba675SRob Herring			sdmmc_bus4: sdmmc-bus4 {
678724ba675SRob Herring				rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>,
679724ba675SRob Herring						<1 RK_PC3 1 &pcfg_pull_default>,
680724ba675SRob Herring						<1 RK_PC4 1 &pcfg_pull_default>,
681724ba675SRob Herring						<1 RK_PC5 1 &pcfg_pull_default>;
682724ba675SRob Herring			};
683724ba675SRob Herring		};
684724ba675SRob Herring
685724ba675SRob Herring		sdio {
686724ba675SRob Herring			sdio_bus1: sdio-bus1 {
687724ba675SRob Herring				rockchip,pins = <0 RK_PB3 1 &pcfg_pull_default>;
688724ba675SRob Herring			};
689724ba675SRob Herring
690724ba675SRob Herring			sdio_bus4: sdio-bus4 {
691724ba675SRob Herring				rockchip,pins = <0 RK_PB3 1 &pcfg_pull_default>,
692724ba675SRob Herring						<0 RK_PB4 1 &pcfg_pull_default>,
693724ba675SRob Herring						<0 RK_PB5 1 &pcfg_pull_default>,
694724ba675SRob Herring						<0 RK_PB6 1 &pcfg_pull_default>;
695724ba675SRob Herring			};
696724ba675SRob Herring
697724ba675SRob Herring			sdio_cmd: sdio-cmd {
698724ba675SRob Herring				rockchip,pins = <0 RK_PB0 1 &pcfg_pull_default>;
699724ba675SRob Herring			};
700724ba675SRob Herring
701724ba675SRob Herring			sdio_clk: sdio-clk {
702724ba675SRob Herring				rockchip,pins = <0 RK_PB1 1 &pcfg_pull_none>;
703724ba675SRob Herring			};
704724ba675SRob Herring		};
705724ba675SRob Herring
706724ba675SRob Herring		emmc {
707724ba675SRob Herring			/*
708724ba675SRob Herring			 * We run eMMC at max speed; bump up drive strength.
709724ba675SRob Herring			 * We also have external pulls, so disable the internal ones.
710724ba675SRob Herring			 */
711724ba675SRob Herring			emmc_clk: emmc-clk {
712724ba675SRob Herring				rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>;
713724ba675SRob Herring			};
714724ba675SRob Herring
715724ba675SRob Herring			emmc_cmd: emmc-cmd {
716724ba675SRob Herring				rockchip,pins = <2 RK_PA1 2 &pcfg_pull_default>;
717724ba675SRob Herring			};
718724ba675SRob Herring
719724ba675SRob Herring			emmc_bus8: emmc-bus8 {
720724ba675SRob Herring				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>,
721724ba675SRob Herring						<1 RK_PD1 2 &pcfg_pull_default>,
722724ba675SRob Herring						<1 RK_PD2 2 &pcfg_pull_default>,
723724ba675SRob Herring						<1 RK_PD3 2 &pcfg_pull_default>,
724724ba675SRob Herring						<1 RK_PD4 2 &pcfg_pull_default>,
725724ba675SRob Herring						<1 RK_PD5 2 &pcfg_pull_default>,
726724ba675SRob Herring						<1 RK_PD6 2 &pcfg_pull_default>,
727724ba675SRob Herring						<1 RK_PD7 2 &pcfg_pull_default>;
728724ba675SRob Herring			};
729724ba675SRob Herring		};
730724ba675SRob Herring
731724ba675SRob Herring		nfc {
732724ba675SRob Herring			flash_ale: flash-ale {
733724ba675SRob Herring				rockchip,pins = <2 RK_PA0 1 &pcfg_pull_default>;
734724ba675SRob Herring			};
735724ba675SRob Herring
736724ba675SRob Herring			flash_bus8: flash-bus8 {
737724ba675SRob Herring				rockchip,pins = <1 RK_PD0 1 &pcfg_pull_default>,
738724ba675SRob Herring						<1 RK_PD1 1 &pcfg_pull_default>,
739724ba675SRob Herring						<1 RK_PD2 1 &pcfg_pull_default>,
740724ba675SRob Herring						<1 RK_PD3 1 &pcfg_pull_default>,
741724ba675SRob Herring						<1 RK_PD4 1 &pcfg_pull_default>,
742724ba675SRob Herring						<1 RK_PD5 1 &pcfg_pull_default>,
743724ba675SRob Herring						<1 RK_PD6 1 &pcfg_pull_default>,
744724ba675SRob Herring						<1 RK_PD7 1 &pcfg_pull_default>;
745724ba675SRob Herring			};
746724ba675SRob Herring
747724ba675SRob Herring			flash_cle: flash-cle {
748724ba675SRob Herring				rockchip,pins = <2 RK_PA1 1 &pcfg_pull_default>;
749724ba675SRob Herring			};
750724ba675SRob Herring
751724ba675SRob Herring			flash_csn0: flash-csn0 {
752724ba675SRob Herring				rockchip,pins = <2 RK_PA6 1 &pcfg_pull_default>;
753724ba675SRob Herring			};
754724ba675SRob Herring
755724ba675SRob Herring			flash_rdn: flash-rdn {
756724ba675SRob Herring				rockchip,pins = <2 RK_PA3 1 &pcfg_pull_default>;
757724ba675SRob Herring			};
758724ba675SRob Herring
759724ba675SRob Herring			flash_rdy: flash-rdy {
760724ba675SRob Herring				rockchip,pins = <2 RK_PA4 1 &pcfg_pull_default>;
761724ba675SRob Herring			};
762724ba675SRob Herring
763724ba675SRob Herring			flash_wrn: flash-wrn {
764724ba675SRob Herring				rockchip,pins = <2 RK_PA2 1 &pcfg_pull_default>;
765724ba675SRob Herring			};
766724ba675SRob Herring		};
767724ba675SRob Herring
768724ba675SRob Herring		emac {
769724ba675SRob Herring			emac_xfer: emac-xfer {
770724ba675SRob Herring				rockchip,pins = <2 RK_PB2 1 &pcfg_pull_default>, /* crs_dvalid */
771724ba675SRob Herring						<2 RK_PB5 1 &pcfg_pull_default>, /* tx_en */
772724ba675SRob Herring						<2 RK_PB6 1 &pcfg_pull_default>, /* mac_clk */
773724ba675SRob Herring						<2 RK_PB7 1 &pcfg_pull_default>, /* rx_err */
774724ba675SRob Herring						<2 RK_PC0 1 &pcfg_pull_default>, /* rxd1 */
775724ba675SRob Herring						<2 RK_PC1 1 &pcfg_pull_default>, /* rxd0 */
776724ba675SRob Herring						<2 RK_PC2 1 &pcfg_pull_default>, /* txd1 */
777724ba675SRob Herring						<2 RK_PC3 1 &pcfg_pull_default>; /* txd0 */
778724ba675SRob Herring			};
779724ba675SRob Herring
780724ba675SRob Herring			emac_mdio: emac-mdio {
781724ba675SRob Herring				rockchip,pins = <2 RK_PB4 1 &pcfg_pull_default>, /* mac_md */
782724ba675SRob Herring						<2 RK_PD1 1 &pcfg_pull_default>; /* mac_mdclk */
783724ba675SRob Herring			};
784724ba675SRob Herring		};
785724ba675SRob Herring
786724ba675SRob Herring		i2c0 {
787724ba675SRob Herring			i2c0_xfer: i2c0-xfer {
788724ba675SRob Herring				rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>,
789724ba675SRob Herring						<0 RK_PA1 1 &pcfg_pull_none>;
790724ba675SRob Herring			};
791724ba675SRob Herring		};
792724ba675SRob Herring
793724ba675SRob Herring		i2c1 {
794724ba675SRob Herring			i2c1_xfer: i2c1-xfer {
795724ba675SRob Herring				rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>,
796724ba675SRob Herring						<0 RK_PA3 1 &pcfg_pull_none>;
797724ba675SRob Herring			};
798724ba675SRob Herring		};
799724ba675SRob Herring
800724ba675SRob Herring		i2c2 {
801724ba675SRob Herring			i2c2_xfer: i2c2-xfer {
802724ba675SRob Herring				rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>,
803724ba675SRob Herring						<2 RK_PC5 1 &pcfg_pull_none>;
804724ba675SRob Herring			};
805724ba675SRob Herring		};
806724ba675SRob Herring
807724ba675SRob Herring		i2s {
808724ba675SRob Herring			i2s_bus: i2s-bus {
809724ba675SRob Herring				rockchip,pins = <1 RK_PA0 1 &pcfg_pull_default>,
810724ba675SRob Herring						<1 RK_PA1 1 &pcfg_pull_default>,
811724ba675SRob Herring						<1 RK_PA2 1 &pcfg_pull_default>,
812724ba675SRob Herring						<1 RK_PA3 1 &pcfg_pull_default>,
813724ba675SRob Herring						<1 RK_PA4 1 &pcfg_pull_default>,
814724ba675SRob Herring						<1 RK_PA5 1 &pcfg_pull_default>;
815724ba675SRob Herring			};
816724ba675SRob Herring		};
817724ba675SRob Herring
818724ba675SRob Herring		hdmi {
819724ba675SRob Herring			hdmi_ctl: hdmi-ctl {
820724ba675SRob Herring				rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>,
821724ba675SRob Herring						<1 RK_PB1 1 &pcfg_pull_none>,
822724ba675SRob Herring						<1 RK_PB2 1 &pcfg_pull_none>,
823724ba675SRob Herring						<1 RK_PB3 1 &pcfg_pull_none>;
824724ba675SRob Herring			};
825724ba675SRob Herring		};
826724ba675SRob Herring
827724ba675SRob Herring		uart0 {
828724ba675SRob Herring			uart0_xfer: uart0-xfer {
829724ba675SRob Herring				rockchip,pins = <0 RK_PC0 1 &pcfg_pull_default>,
830724ba675SRob Herring						<0 RK_PC1 1 &pcfg_pull_none>;
831724ba675SRob Herring			};
832724ba675SRob Herring
833724ba675SRob Herring			uart0_cts: uart0-cts {
834724ba675SRob Herring				rockchip,pins = <0 RK_PC2 1 &pcfg_pull_default>;
835724ba675SRob Herring			};
836724ba675SRob Herring
837724ba675SRob Herring			uart0_rts: uart0-rts {
838724ba675SRob Herring				rockchip,pins = <0 RK_PC3 1 &pcfg_pull_none>;
839724ba675SRob Herring			};
840724ba675SRob Herring		};
841724ba675SRob Herring
842724ba675SRob Herring		uart1 {
843724ba675SRob Herring			uart1_xfer: uart1-xfer {
844724ba675SRob Herring				rockchip,pins = <2 RK_PC6 1 &pcfg_pull_default>,
845724ba675SRob Herring						<2 RK_PC7 1 &pcfg_pull_none>;
846724ba675SRob Herring			};
847724ba675SRob Herring			/* no rts / cts for uart1 */
848724ba675SRob Herring		};
849724ba675SRob Herring
850724ba675SRob Herring		uart2 {
851724ba675SRob Herring			uart2_xfer: uart2-xfer {
852724ba675SRob Herring				rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>,
853724ba675SRob Herring						<1 RK_PC3 2 &pcfg_pull_none>;
854724ba675SRob Herring			};
855724ba675SRob Herring			/* no rts / cts for uart2 */
856724ba675SRob Herring		};
857724ba675SRob Herring
858724ba675SRob Herring		spi-pins {
859724ba675SRob Herring			spi_txd:spi-txd {
860724ba675SRob Herring				rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>;
861724ba675SRob Herring			};
862724ba675SRob Herring
863724ba675SRob Herring			spi_rxd:spi-rxd {
864724ba675SRob Herring				rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>;
865724ba675SRob Herring			};
866724ba675SRob Herring
867724ba675SRob Herring			spi_clk:spi-clk {
868724ba675SRob Herring				rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>;
869724ba675SRob Herring			};
870724ba675SRob Herring
871724ba675SRob Herring			spi_cs0:spi-cs0 {
872724ba675SRob Herring				rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>;
873724ba675SRob Herring
874724ba675SRob Herring			};
875724ba675SRob Herring
876724ba675SRob Herring			spi_cs1:spi-cs1 {
877724ba675SRob Herring				rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>;
878724ba675SRob Herring
879724ba675SRob Herring			};
880724ba675SRob Herring		};
881724ba675SRob Herring	};
882724ba675SRob Herring};
883