xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rk3036.dtsi (revision 04c521c3bec1fa0ccb97a1fbf74f0faeda3f4a53)
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 {
20*04c521c3SJohan Jonker		gpio0 = &gpio0;
21*04c521c3SJohan Jonker		gpio1 = &gpio1;
22*04c521c3SJohan 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		rockchip,default-sample-phase = <158>;
289724ba675SRob Herring		disable-wp;
290724ba675SRob Herring		dmas = <&pdma 12>;
291724ba675SRob Herring		dma-names = "rx-tx";
292724ba675SRob Herring		fifo-depth = <0x100>;
293724ba675SRob Herring		mmc-ddr-1_8v;
294724ba675SRob Herring		non-removable;
295724ba675SRob Herring		pinctrl-names = "default";
296724ba675SRob Herring		pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
297724ba675SRob Herring		resets = <&cru SRST_EMMC>;
298724ba675SRob Herring		reset-names = "reset";
299724ba675SRob Herring		status = "disabled";
300724ba675SRob Herring	};
301724ba675SRob Herring
302724ba675SRob Herring	i2s: i2s@10220000 {
303724ba675SRob Herring		compatible = "rockchip,rk3036-i2s", "rockchip,rk3066-i2s";
304724ba675SRob Herring		reg = <0x10220000 0x4000>;
305724ba675SRob Herring		interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
306724ba675SRob Herring		clock-names = "i2s_clk", "i2s_hclk";
307724ba675SRob Herring		clocks = <&cru SCLK_I2S>, <&cru HCLK_I2S>;
308724ba675SRob Herring		dmas = <&pdma 0>, <&pdma 1>;
309724ba675SRob Herring		dma-names = "tx", "rx";
310724ba675SRob Herring		pinctrl-names = "default";
311724ba675SRob Herring		pinctrl-0 = <&i2s_bus>;
312724ba675SRob Herring		#sound-dai-cells = <0>;
313724ba675SRob Herring		status = "disabled";
314724ba675SRob Herring	};
315724ba675SRob Herring
316724ba675SRob Herring	nfc: nand-controller@10500000 {
317724ba675SRob Herring		compatible = "rockchip,rk3036-nfc",
318724ba675SRob Herring			     "rockchip,rk2928-nfc";
319724ba675SRob Herring		reg = <0x10500000 0x4000>;
320724ba675SRob Herring		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
321724ba675SRob Herring		clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
322724ba675SRob Herring		clock-names = "ahb", "nfc";
323724ba675SRob Herring		assigned-clocks = <&cru SCLK_NANDC>;
324724ba675SRob Herring		assigned-clock-rates = <150000000>;
325724ba675SRob Herring		pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
326724ba675SRob Herring			     &flash_rdn &flash_rdy &flash_wrn>;
327724ba675SRob Herring		pinctrl-names = "default";
328724ba675SRob Herring		status = "disabled";
329724ba675SRob Herring	};
330724ba675SRob Herring
331724ba675SRob Herring	cru: clock-controller@20000000 {
332724ba675SRob Herring		compatible = "rockchip,rk3036-cru";
333724ba675SRob Herring		reg = <0x20000000 0x1000>;
334724ba675SRob Herring		clocks = <&xin24m>;
335724ba675SRob Herring		clock-names = "xin24m";
336724ba675SRob Herring		rockchip,grf = <&grf>;
337724ba675SRob Herring		#clock-cells = <1>;
338724ba675SRob Herring		#reset-cells = <1>;
339724ba675SRob Herring		assigned-clocks = <&cru PLL_GPLL>;
340724ba675SRob Herring		assigned-clock-rates = <594000000>;
341724ba675SRob Herring	};
342724ba675SRob Herring
343724ba675SRob Herring	grf: syscon@20008000 {
344724ba675SRob Herring		compatible = "rockchip,rk3036-grf", "syscon", "simple-mfd";
345724ba675SRob Herring		reg = <0x20008000 0x1000>;
346724ba675SRob Herring
347724ba675SRob Herring		power: power-controller {
348724ba675SRob Herring			compatible = "rockchip,rk3036-power-controller";
349724ba675SRob Herring			#power-domain-cells = <1>;
350724ba675SRob Herring			#address-cells = <1>;
351724ba675SRob Herring			#size-cells = <0>;
352724ba675SRob Herring
353724ba675SRob Herring			power-domain@RK3036_PD_VIO {
354724ba675SRob Herring				reg = <RK3036_PD_VIO>;
355724ba675SRob Herring				clocks = <&cru ACLK_LCDC>,
356724ba675SRob Herring					 <&cru HCLK_LCDC>,
357724ba675SRob Herring					 <&cru SCLK_LCDC>;
358724ba675SRob Herring				pm_qos = <&qos_vio>;
359724ba675SRob Herring				#power-domain-cells = <0>;
360724ba675SRob Herring			};
361724ba675SRob Herring
362724ba675SRob Herring			power-domain@RK3036_PD_VPU {
363724ba675SRob Herring				reg = <RK3036_PD_VPU>;
364724ba675SRob Herring				clocks = <&cru ACLK_VCODEC>,
365724ba675SRob Herring					 <&cru HCLK_VCODEC>;
366724ba675SRob Herring				pm_qos = <&qos_vpu>;
367724ba675SRob Herring				#power-domain-cells = <0>;
368724ba675SRob Herring			};
369724ba675SRob Herring
370724ba675SRob Herring			power-domain@RK3036_PD_GPU {
371724ba675SRob Herring				reg = <RK3036_PD_GPU>;
372724ba675SRob Herring				clocks = <&cru SCLK_GPU>;
373724ba675SRob Herring				pm_qos = <&qos_gpu>;
374724ba675SRob Herring				#power-domain-cells = <0>;
375724ba675SRob Herring			};
376724ba675SRob Herring		};
377724ba675SRob Herring
378724ba675SRob Herring		reboot-mode {
379724ba675SRob Herring			compatible = "syscon-reboot-mode";
380724ba675SRob Herring			offset = <0x1d8>;
381724ba675SRob Herring			mode-normal = <BOOT_NORMAL>;
382724ba675SRob Herring			mode-recovery = <BOOT_RECOVERY>;
383724ba675SRob Herring			mode-bootloader = <BOOT_FASTBOOT>;
384724ba675SRob Herring			mode-loader = <BOOT_BL_DOWNLOAD>;
385724ba675SRob Herring		};
386724ba675SRob Herring	};
387724ba675SRob Herring
388724ba675SRob Herring	acodec: acodec-ana@20030000 {
389724ba675SRob Herring		compatible = "rk3036-codec";
390724ba675SRob Herring		reg = <0x20030000 0x4000>;
391724ba675SRob Herring		rockchip,grf = <&grf>;
392724ba675SRob Herring		clock-names = "acodec_pclk";
393724ba675SRob Herring		clocks = <&cru PCLK_ACODEC>;
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		rockchip,grf = <&grf>;
404724ba675SRob Herring		pinctrl-names = "default";
405724ba675SRob Herring		pinctrl-0 = <&hdmi_ctl>;
406724ba675SRob Herring		status = "disabled";
407724ba675SRob Herring
408724ba675SRob Herring		hdmi_in: port {
409724ba675SRob Herring			#address-cells = <1>;
410724ba675SRob Herring			#size-cells = <0>;
411724ba675SRob Herring			hdmi_in_vop: endpoint@0 {
412724ba675SRob Herring				reg = <0>;
413724ba675SRob Herring				remote-endpoint = <&vop_out_hdmi>;
414724ba675SRob Herring			};
415724ba675SRob Herring		};
416724ba675SRob Herring	};
417724ba675SRob Herring
418724ba675SRob Herring	timer: timer@20044000 {
419724ba675SRob Herring		compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer";
420724ba675SRob Herring		reg = <0x20044000 0x20>;
421724ba675SRob Herring		interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
422724ba675SRob Herring		clocks = <&cru PCLK_TIMER>, <&xin24m>;
423724ba675SRob Herring		clock-names = "pclk", "timer";
424724ba675SRob Herring	};
425724ba675SRob Herring
426724ba675SRob Herring	pwm0: pwm@20050000 {
427724ba675SRob Herring		compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
428724ba675SRob Herring		reg = <0x20050000 0x10>;
429724ba675SRob Herring		#pwm-cells = <3>;
430724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
431724ba675SRob Herring		pinctrl-names = "default";
432724ba675SRob Herring		pinctrl-0 = <&pwm0_pin>;
433724ba675SRob Herring		status = "disabled";
434724ba675SRob Herring	};
435724ba675SRob Herring
436724ba675SRob Herring	pwm1: pwm@20050010 {
437724ba675SRob Herring		compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
438724ba675SRob Herring		reg = <0x20050010 0x10>;
439724ba675SRob Herring		#pwm-cells = <3>;
440724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
441724ba675SRob Herring		pinctrl-names = "default";
442724ba675SRob Herring		pinctrl-0 = <&pwm1_pin>;
443724ba675SRob Herring		status = "disabled";
444724ba675SRob Herring	};
445724ba675SRob Herring
446724ba675SRob Herring	pwm2: pwm@20050020 {
447724ba675SRob Herring		compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
448724ba675SRob Herring		reg = <0x20050020 0x10>;
449724ba675SRob Herring		#pwm-cells = <3>;
450724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
451724ba675SRob Herring		pinctrl-names = "default";
452724ba675SRob Herring		pinctrl-0 = <&pwm2_pin>;
453724ba675SRob Herring		status = "disabled";
454724ba675SRob Herring	};
455724ba675SRob Herring
456724ba675SRob Herring	pwm3: pwm@20050030 {
457724ba675SRob Herring		compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm";
458724ba675SRob Herring		reg = <0x20050030 0x10>;
459724ba675SRob Herring		#pwm-cells = <2>;
460724ba675SRob Herring		clocks = <&cru PCLK_PWM>;
461724ba675SRob Herring		pinctrl-names = "default";
462724ba675SRob Herring		pinctrl-0 = <&pwm3_pin>;
463724ba675SRob Herring		status = "disabled";
464724ba675SRob Herring	};
465724ba675SRob Herring
466724ba675SRob Herring	i2c1: i2c@20056000 {
467724ba675SRob Herring		compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c";
468724ba675SRob Herring		reg = <0x20056000 0x1000>;
469724ba675SRob Herring		interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
470724ba675SRob Herring		#address-cells = <1>;
471724ba675SRob Herring		#size-cells = <0>;
472724ba675SRob Herring		clock-names = "i2c";
473724ba675SRob Herring		clocks = <&cru PCLK_I2C1>;
474724ba675SRob Herring		pinctrl-names = "default";
475724ba675SRob Herring		pinctrl-0 = <&i2c1_xfer>;
476724ba675SRob Herring		status = "disabled";
477724ba675SRob Herring	};
478724ba675SRob Herring
479724ba675SRob Herring	i2c2: i2c@2005a000 {
480724ba675SRob Herring		compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c";
481724ba675SRob Herring		reg = <0x2005a000 0x1000>;
482724ba675SRob Herring		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
483724ba675SRob Herring		#address-cells = <1>;
484724ba675SRob Herring		#size-cells = <0>;
485724ba675SRob Herring		clock-names = "i2c";
486724ba675SRob Herring		clocks = <&cru PCLK_I2C2>;
487724ba675SRob Herring		pinctrl-names = "default";
488724ba675SRob Herring		pinctrl-0 = <&i2c2_xfer>;
489724ba675SRob Herring		status = "disabled";
490724ba675SRob Herring	};
491724ba675SRob Herring
492724ba675SRob Herring	uart0: serial@20060000 {
493724ba675SRob Herring		compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart";
494724ba675SRob Herring		reg = <0x20060000 0x100>;
495724ba675SRob Herring		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
496724ba675SRob Herring		reg-shift = <2>;
497724ba675SRob Herring		reg-io-width = <4>;
498724ba675SRob Herring		clock-frequency = <24000000>;
499724ba675SRob Herring		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
500724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
501724ba675SRob Herring		pinctrl-names = "default";
502724ba675SRob Herring		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
503724ba675SRob Herring		status = "disabled";
504724ba675SRob Herring	};
505724ba675SRob Herring
506724ba675SRob Herring	uart1: serial@20064000 {
507724ba675SRob Herring		compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart";
508724ba675SRob Herring		reg = <0x20064000 0x100>;
509724ba675SRob Herring		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
510724ba675SRob Herring		reg-shift = <2>;
511724ba675SRob Herring		reg-io-width = <4>;
512724ba675SRob Herring		clock-frequency = <24000000>;
513724ba675SRob Herring		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
514724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
515724ba675SRob Herring		pinctrl-names = "default";
516724ba675SRob Herring		pinctrl-0 = <&uart1_xfer>;
517724ba675SRob Herring		status = "disabled";
518724ba675SRob Herring	};
519724ba675SRob Herring
520724ba675SRob Herring	uart2: serial@20068000 {
521724ba675SRob Herring		compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart";
522724ba675SRob Herring		reg = <0x20068000 0x100>;
523724ba675SRob Herring		interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
524724ba675SRob Herring		reg-shift = <2>;
525724ba675SRob Herring		reg-io-width = <4>;
526724ba675SRob Herring		clock-frequency = <24000000>;
527724ba675SRob Herring		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
528724ba675SRob Herring		clock-names = "baudclk", "apb_pclk";
529724ba675SRob Herring		pinctrl-names = "default";
530724ba675SRob Herring		pinctrl-0 = <&uart2_xfer>;
531724ba675SRob Herring		status = "disabled";
532724ba675SRob Herring	};
533724ba675SRob Herring
534724ba675SRob Herring	i2c0: i2c@20072000 {
535724ba675SRob Herring		compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c";
536724ba675SRob Herring		reg = <0x20072000 0x1000>;
537724ba675SRob Herring		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
538724ba675SRob Herring		#address-cells = <1>;
539724ba675SRob Herring		#size-cells = <0>;
540724ba675SRob Herring		clock-names = "i2c";
541724ba675SRob Herring		clocks = <&cru PCLK_I2C0>;
542724ba675SRob Herring		pinctrl-names = "default";
543724ba675SRob Herring		pinctrl-0 = <&i2c0_xfer>;
544724ba675SRob Herring		status = "disabled";
545724ba675SRob Herring	};
546724ba675SRob Herring
547724ba675SRob Herring	spi: spi@20074000 {
548724ba675SRob Herring		compatible = "rockchip,rockchip-spi";
549724ba675SRob Herring		reg = <0x20074000 0x1000>;
550724ba675SRob Herring		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
551724ba675SRob Herring		clocks = <&cru PCLK_SPI>, <&cru SCLK_SPI>;
552724ba675SRob Herring		clock-names = "apb-pclk","spi_pclk";
553724ba675SRob Herring		dmas = <&pdma 8>, <&pdma 9>;
554724ba675SRob Herring		dma-names = "tx", "rx";
555724ba675SRob Herring		pinctrl-names = "default";
556724ba675SRob Herring		pinctrl-0 = <&spi_txd &spi_rxd &spi_clk &spi_cs0>;
557724ba675SRob Herring		#address-cells = <1>;
558724ba675SRob Herring		#size-cells = <0>;
559724ba675SRob Herring		status = "disabled";
560724ba675SRob Herring	};
561724ba675SRob Herring
562724ba675SRob Herring	pdma: dma-controller@20078000 {
563724ba675SRob Herring		compatible = "arm,pl330", "arm,primecell";
564724ba675SRob Herring		reg = <0x20078000 0x4000>;
565724ba675SRob Herring		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
566724ba675SRob Herring			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
567724ba675SRob Herring		#dma-cells = <1>;
568724ba675SRob Herring		arm,pl330-broken-no-flushp;
569724ba675SRob Herring		arm,pl330-periph-burst;
570724ba675SRob Herring		clocks = <&cru ACLK_DMAC2>;
571724ba675SRob Herring		clock-names = "apb_pclk";
572724ba675SRob Herring	};
573724ba675SRob Herring
574724ba675SRob Herring	pinctrl: pinctrl {
575724ba675SRob Herring		compatible = "rockchip,rk3036-pinctrl";
576724ba675SRob Herring		rockchip,grf = <&grf>;
577724ba675SRob Herring		#address-cells = <1>;
578724ba675SRob Herring		#size-cells = <1>;
579724ba675SRob Herring		ranges;
580724ba675SRob Herring
581724ba675SRob Herring		gpio0: gpio@2007c000 {
582724ba675SRob Herring			compatible = "rockchip,gpio-bank";
583724ba675SRob Herring			reg = <0x2007c000 0x100>;
584724ba675SRob Herring			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
585724ba675SRob Herring			clocks = <&cru PCLK_GPIO0>;
586724ba675SRob Herring
587724ba675SRob Herring			gpio-controller;
588724ba675SRob Herring			#gpio-cells = <2>;
589724ba675SRob Herring
590724ba675SRob Herring			interrupt-controller;
591724ba675SRob Herring			#interrupt-cells = <2>;
592724ba675SRob Herring		};
593724ba675SRob Herring
594724ba675SRob Herring		gpio1: gpio@20080000 {
595724ba675SRob Herring			compatible = "rockchip,gpio-bank";
596724ba675SRob Herring			reg = <0x20080000 0x100>;
597724ba675SRob Herring			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
598724ba675SRob Herring			clocks = <&cru PCLK_GPIO1>;
599724ba675SRob Herring
600724ba675SRob Herring			gpio-controller;
601724ba675SRob Herring			#gpio-cells = <2>;
602724ba675SRob Herring
603724ba675SRob Herring			interrupt-controller;
604724ba675SRob Herring			#interrupt-cells = <2>;
605724ba675SRob Herring		};
606724ba675SRob Herring
607724ba675SRob Herring		gpio2: gpio@20084000 {
608724ba675SRob Herring			compatible = "rockchip,gpio-bank";
609724ba675SRob Herring			reg = <0x20084000 0x100>;
610724ba675SRob Herring			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
611724ba675SRob Herring			clocks = <&cru PCLK_GPIO2>;
612724ba675SRob Herring
613724ba675SRob Herring			gpio-controller;
614724ba675SRob Herring			#gpio-cells = <2>;
615724ba675SRob Herring
616724ba675SRob Herring			interrupt-controller;
617724ba675SRob Herring			#interrupt-cells = <2>;
618724ba675SRob Herring		};
619724ba675SRob Herring
620724ba675SRob Herring		pcfg_pull_default: pcfg-pull-default {
621724ba675SRob Herring			bias-pull-pin-default;
622724ba675SRob Herring		};
623724ba675SRob Herring
624724ba675SRob Herring		pcfg_pull_none: pcfg-pull-none {
625724ba675SRob Herring			bias-disable;
626724ba675SRob Herring		};
627724ba675SRob Herring
628724ba675SRob Herring		pwm0 {
629724ba675SRob Herring			pwm0_pin: pwm0-pin {
630724ba675SRob Herring				rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
631724ba675SRob Herring			};
632724ba675SRob Herring		};
633724ba675SRob Herring
634724ba675SRob Herring		pwm1 {
635724ba675SRob Herring			pwm1_pin: pwm1-pin {
636724ba675SRob Herring				rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>;
637724ba675SRob Herring			};
638724ba675SRob Herring		};
639724ba675SRob Herring
640724ba675SRob Herring		pwm2 {
641724ba675SRob Herring			pwm2_pin: pwm2-pin {
642724ba675SRob Herring				rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>;
643724ba675SRob Herring			};
644724ba675SRob Herring		};
645724ba675SRob Herring
646724ba675SRob Herring		pwm3 {
647724ba675SRob Herring			pwm3_pin: pwm3-pin {
648724ba675SRob Herring				rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>;
649724ba675SRob Herring			};
650724ba675SRob Herring		};
651724ba675SRob Herring
652724ba675SRob Herring		sdmmc {
653724ba675SRob Herring			sdmmc_clk: sdmmc-clk {
654724ba675SRob Herring				rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>;
655724ba675SRob Herring			};
656724ba675SRob Herring
657724ba675SRob Herring			sdmmc_cmd: sdmmc-cmd {
658724ba675SRob Herring				rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>;
659724ba675SRob Herring			};
660724ba675SRob Herring
661724ba675SRob Herring			sdmmc_cd: sdmmc-cd {
662724ba675SRob Herring				rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>;
663724ba675SRob Herring			};
664724ba675SRob Herring
665724ba675SRob Herring			sdmmc_bus1: sdmmc-bus1 {
666724ba675SRob Herring				rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>;
667724ba675SRob Herring			};
668724ba675SRob Herring
669724ba675SRob Herring			sdmmc_bus4: sdmmc-bus4 {
670724ba675SRob Herring				rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>,
671724ba675SRob Herring						<1 RK_PC3 1 &pcfg_pull_default>,
672724ba675SRob Herring						<1 RK_PC4 1 &pcfg_pull_default>,
673724ba675SRob Herring						<1 RK_PC5 1 &pcfg_pull_default>;
674724ba675SRob Herring			};
675724ba675SRob Herring		};
676724ba675SRob Herring
677724ba675SRob Herring		sdio {
678724ba675SRob Herring			sdio_bus1: sdio-bus1 {
679724ba675SRob Herring				rockchip,pins = <0 RK_PB3 1 &pcfg_pull_default>;
680724ba675SRob Herring			};
681724ba675SRob Herring
682724ba675SRob Herring			sdio_bus4: sdio-bus4 {
683724ba675SRob Herring				rockchip,pins = <0 RK_PB3 1 &pcfg_pull_default>,
684724ba675SRob Herring						<0 RK_PB4 1 &pcfg_pull_default>,
685724ba675SRob Herring						<0 RK_PB5 1 &pcfg_pull_default>,
686724ba675SRob Herring						<0 RK_PB6 1 &pcfg_pull_default>;
687724ba675SRob Herring			};
688724ba675SRob Herring
689724ba675SRob Herring			sdio_cmd: sdio-cmd {
690724ba675SRob Herring				rockchip,pins = <0 RK_PB0 1 &pcfg_pull_default>;
691724ba675SRob Herring			};
692724ba675SRob Herring
693724ba675SRob Herring			sdio_clk: sdio-clk {
694724ba675SRob Herring				rockchip,pins = <0 RK_PB1 1 &pcfg_pull_none>;
695724ba675SRob Herring			};
696724ba675SRob Herring		};
697724ba675SRob Herring
698724ba675SRob Herring		emmc {
699724ba675SRob Herring			/*
700724ba675SRob Herring			 * We run eMMC at max speed; bump up drive strength.
701724ba675SRob Herring			 * We also have external pulls, so disable the internal ones.
702724ba675SRob Herring			 */
703724ba675SRob Herring			emmc_clk: emmc-clk {
704724ba675SRob Herring				rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>;
705724ba675SRob Herring			};
706724ba675SRob Herring
707724ba675SRob Herring			emmc_cmd: emmc-cmd {
708724ba675SRob Herring				rockchip,pins = <2 RK_PA1 2 &pcfg_pull_default>;
709724ba675SRob Herring			};
710724ba675SRob Herring
711724ba675SRob Herring			emmc_bus8: emmc-bus8 {
712724ba675SRob Herring				rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>,
713724ba675SRob Herring						<1 RK_PD1 2 &pcfg_pull_default>,
714724ba675SRob Herring						<1 RK_PD2 2 &pcfg_pull_default>,
715724ba675SRob Herring						<1 RK_PD3 2 &pcfg_pull_default>,
716724ba675SRob Herring						<1 RK_PD4 2 &pcfg_pull_default>,
717724ba675SRob Herring						<1 RK_PD5 2 &pcfg_pull_default>,
718724ba675SRob Herring						<1 RK_PD6 2 &pcfg_pull_default>,
719724ba675SRob Herring						<1 RK_PD7 2 &pcfg_pull_default>;
720724ba675SRob Herring			};
721724ba675SRob Herring		};
722724ba675SRob Herring
723724ba675SRob Herring		nfc {
724724ba675SRob Herring			flash_ale: flash-ale {
725724ba675SRob Herring				rockchip,pins = <2 RK_PA0 1 &pcfg_pull_default>;
726724ba675SRob Herring			};
727724ba675SRob Herring
728724ba675SRob Herring			flash_bus8: flash-bus8 {
729724ba675SRob Herring				rockchip,pins = <1 RK_PD0 1 &pcfg_pull_default>,
730724ba675SRob Herring						<1 RK_PD1 1 &pcfg_pull_default>,
731724ba675SRob Herring						<1 RK_PD2 1 &pcfg_pull_default>,
732724ba675SRob Herring						<1 RK_PD3 1 &pcfg_pull_default>,
733724ba675SRob Herring						<1 RK_PD4 1 &pcfg_pull_default>,
734724ba675SRob Herring						<1 RK_PD5 1 &pcfg_pull_default>,
735724ba675SRob Herring						<1 RK_PD6 1 &pcfg_pull_default>,
736724ba675SRob Herring						<1 RK_PD7 1 &pcfg_pull_default>;
737724ba675SRob Herring			};
738724ba675SRob Herring
739724ba675SRob Herring			flash_cle: flash-cle {
740724ba675SRob Herring				rockchip,pins = <2 RK_PA1 1 &pcfg_pull_default>;
741724ba675SRob Herring			};
742724ba675SRob Herring
743724ba675SRob Herring			flash_csn0: flash-csn0 {
744724ba675SRob Herring				rockchip,pins = <2 RK_PA6 1 &pcfg_pull_default>;
745724ba675SRob Herring			};
746724ba675SRob Herring
747724ba675SRob Herring			flash_rdn: flash-rdn {
748724ba675SRob Herring				rockchip,pins = <2 RK_PA3 1 &pcfg_pull_default>;
749724ba675SRob Herring			};
750724ba675SRob Herring
751724ba675SRob Herring			flash_rdy: flash-rdy {
752724ba675SRob Herring				rockchip,pins = <2 RK_PA4 1 &pcfg_pull_default>;
753724ba675SRob Herring			};
754724ba675SRob Herring
755724ba675SRob Herring			flash_wrn: flash-wrn {
756724ba675SRob Herring				rockchip,pins = <2 RK_PA2 1 &pcfg_pull_default>;
757724ba675SRob Herring			};
758724ba675SRob Herring		};
759724ba675SRob Herring
760724ba675SRob Herring		emac {
761724ba675SRob Herring			emac_xfer: emac-xfer {
762724ba675SRob Herring				rockchip,pins = <2 RK_PB2 1 &pcfg_pull_default>, /* crs_dvalid */
763724ba675SRob Herring						<2 RK_PB5 1 &pcfg_pull_default>, /* tx_en */
764724ba675SRob Herring						<2 RK_PB6 1 &pcfg_pull_default>, /* mac_clk */
765724ba675SRob Herring						<2 RK_PB7 1 &pcfg_pull_default>, /* rx_err */
766724ba675SRob Herring						<2 RK_PC0 1 &pcfg_pull_default>, /* rxd1 */
767724ba675SRob Herring						<2 RK_PC1 1 &pcfg_pull_default>, /* rxd0 */
768724ba675SRob Herring						<2 RK_PC2 1 &pcfg_pull_default>, /* txd1 */
769724ba675SRob Herring						<2 RK_PC3 1 &pcfg_pull_default>; /* txd0 */
770724ba675SRob Herring			};
771724ba675SRob Herring
772724ba675SRob Herring			emac_mdio: emac-mdio {
773724ba675SRob Herring				rockchip,pins = <2 RK_PB4 1 &pcfg_pull_default>, /* mac_md */
774724ba675SRob Herring						<2 RK_PD1 1 &pcfg_pull_default>; /* mac_mdclk */
775724ba675SRob Herring			};
776724ba675SRob Herring		};
777724ba675SRob Herring
778724ba675SRob Herring		i2c0 {
779724ba675SRob Herring			i2c0_xfer: i2c0-xfer {
780724ba675SRob Herring				rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>,
781724ba675SRob Herring						<0 RK_PA1 1 &pcfg_pull_none>;
782724ba675SRob Herring			};
783724ba675SRob Herring		};
784724ba675SRob Herring
785724ba675SRob Herring		i2c1 {
786724ba675SRob Herring			i2c1_xfer: i2c1-xfer {
787724ba675SRob Herring				rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>,
788724ba675SRob Herring						<0 RK_PA3 1 &pcfg_pull_none>;
789724ba675SRob Herring			};
790724ba675SRob Herring		};
791724ba675SRob Herring
792724ba675SRob Herring		i2c2 {
793724ba675SRob Herring			i2c2_xfer: i2c2-xfer {
794724ba675SRob Herring				rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>,
795724ba675SRob Herring						<2 RK_PC5 1 &pcfg_pull_none>;
796724ba675SRob Herring			};
797724ba675SRob Herring		};
798724ba675SRob Herring
799724ba675SRob Herring		i2s {
800724ba675SRob Herring			i2s_bus: i2s-bus {
801724ba675SRob Herring				rockchip,pins = <1 RK_PA0 1 &pcfg_pull_default>,
802724ba675SRob Herring						<1 RK_PA1 1 &pcfg_pull_default>,
803724ba675SRob Herring						<1 RK_PA2 1 &pcfg_pull_default>,
804724ba675SRob Herring						<1 RK_PA3 1 &pcfg_pull_default>,
805724ba675SRob Herring						<1 RK_PA4 1 &pcfg_pull_default>,
806724ba675SRob Herring						<1 RK_PA5 1 &pcfg_pull_default>;
807724ba675SRob Herring			};
808724ba675SRob Herring		};
809724ba675SRob Herring
810724ba675SRob Herring		hdmi {
811724ba675SRob Herring			hdmi_ctl: hdmi-ctl {
812724ba675SRob Herring				rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>,
813724ba675SRob Herring						<1 RK_PB1 1 &pcfg_pull_none>,
814724ba675SRob Herring						<1 RK_PB2 1 &pcfg_pull_none>,
815724ba675SRob Herring						<1 RK_PB3 1 &pcfg_pull_none>;
816724ba675SRob Herring			};
817724ba675SRob Herring		};
818724ba675SRob Herring
819724ba675SRob Herring		uart0 {
820724ba675SRob Herring			uart0_xfer: uart0-xfer {
821724ba675SRob Herring				rockchip,pins = <0 RK_PC0 1 &pcfg_pull_default>,
822724ba675SRob Herring						<0 RK_PC1 1 &pcfg_pull_none>;
823724ba675SRob Herring			};
824724ba675SRob Herring
825724ba675SRob Herring			uart0_cts: uart0-cts {
826724ba675SRob Herring				rockchip,pins = <0 RK_PC2 1 &pcfg_pull_default>;
827724ba675SRob Herring			};
828724ba675SRob Herring
829724ba675SRob Herring			uart0_rts: uart0-rts {
830724ba675SRob Herring				rockchip,pins = <0 RK_PC3 1 &pcfg_pull_none>;
831724ba675SRob Herring			};
832724ba675SRob Herring		};
833724ba675SRob Herring
834724ba675SRob Herring		uart1 {
835724ba675SRob Herring			uart1_xfer: uart1-xfer {
836724ba675SRob Herring				rockchip,pins = <2 RK_PC6 1 &pcfg_pull_default>,
837724ba675SRob Herring						<2 RK_PC7 1 &pcfg_pull_none>;
838724ba675SRob Herring			};
839724ba675SRob Herring			/* no rts / cts for uart1 */
840724ba675SRob Herring		};
841724ba675SRob Herring
842724ba675SRob Herring		uart2 {
843724ba675SRob Herring			uart2_xfer: uart2-xfer {
844724ba675SRob Herring				rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>,
845724ba675SRob Herring						<1 RK_PC3 2 &pcfg_pull_none>;
846724ba675SRob Herring			};
847724ba675SRob Herring			/* no rts / cts for uart2 */
848724ba675SRob Herring		};
849724ba675SRob Herring
850724ba675SRob Herring		spi-pins {
851724ba675SRob Herring			spi_txd:spi-txd {
852724ba675SRob Herring				rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>;
853724ba675SRob Herring			};
854724ba675SRob Herring
855724ba675SRob Herring			spi_rxd:spi-rxd {
856724ba675SRob Herring				rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>;
857724ba675SRob Herring			};
858724ba675SRob Herring
859724ba675SRob Herring			spi_clk:spi-clk {
860724ba675SRob Herring				rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>;
861724ba675SRob Herring			};
862724ba675SRob Herring
863724ba675SRob Herring			spi_cs0:spi-cs0 {
864724ba675SRob Herring				rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>;
865724ba675SRob Herring
866724ba675SRob Herring			};
867724ba675SRob Herring
868724ba675SRob Herring			spi_cs1:spi-cs1 {
869724ba675SRob Herring				rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>;
870724ba675SRob Herring
871724ba675SRob Herring			};
872724ba675SRob Herring		};
873724ba675SRob Herring	};
874724ba675SRob Herring};
875