xref: /linux/arch/arm64/boot/dts/rockchip/rk3368.dtsi (revision 651ab78190e2e4817eb6c21bbc5b4119c2fb34f7)
14ee99cebSKlaus Goger// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2b790c2caSHeiko Stübner/*
3b790c2caSHeiko Stübner * Copyright (c) 2015 Heiko Stuebner <heiko@sntech.de>
4b790c2caSHeiko Stübner */
5b790c2caSHeiko Stübner
6b790c2caSHeiko Stübner#include <dt-bindings/clock/rk3368-cru.h>
7b790c2caSHeiko Stübner#include <dt-bindings/gpio/gpio.h>
8b790c2caSHeiko Stübner#include <dt-bindings/interrupt-controller/irq.h>
9b790c2caSHeiko Stübner#include <dt-bindings/interrupt-controller/arm-gic.h>
10b790c2caSHeiko Stübner#include <dt-bindings/pinctrl/rockchip.h>
11b394e70cSHeiko Stuebner#include <dt-bindings/power/rk3368-power.h>
122e9e2863SAndy Yan#include <dt-bindings/soc/rockchip,boot-mode.h>
13f990238fSCaesar Wang#include <dt-bindings/thermal/thermal.h>
14b790c2caSHeiko Stübner
15b790c2caSHeiko Stübner/ {
16b790c2caSHeiko Stübner	compatible = "rockchip,rk3368";
17b790c2caSHeiko Stübner	interrupt-parent = <&gic>;
18b790c2caSHeiko Stübner	#address-cells = <2>;
19b790c2caSHeiko Stübner	#size-cells = <2>;
20b790c2caSHeiko Stübner
21b790c2caSHeiko Stübner	aliases {
2299851344SJohan Jonker		gpio0 = &gpio0;
2399851344SJohan Jonker		gpio1 = &gpio1;
2499851344SJohan Jonker		gpio2 = &gpio2;
2599851344SJohan Jonker		gpio3 = &gpio3;
26b790c2caSHeiko Stübner		i2c0 = &i2c0;
27b790c2caSHeiko Stübner		i2c1 = &i2c1;
28b790c2caSHeiko Stübner		i2c2 = &i2c2;
29b790c2caSHeiko Stübner		i2c3 = &i2c3;
30b790c2caSHeiko Stübner		i2c4 = &i2c4;
31b790c2caSHeiko Stübner		i2c5 = &i2c5;
32b790c2caSHeiko Stübner		serial0 = &uart0;
33b790c2caSHeiko Stübner		serial1 = &uart1;
34b790c2caSHeiko Stübner		serial2 = &uart2;
35b790c2caSHeiko Stübner		serial3 = &uart3;
36b790c2caSHeiko Stübner		serial4 = &uart4;
37b790c2caSHeiko Stübner		spi0 = &spi0;
38b790c2caSHeiko Stübner		spi1 = &spi1;
39b790c2caSHeiko Stübner		spi2 = &spi2;
40b790c2caSHeiko Stübner	};
41b790c2caSHeiko Stübner
42b790c2caSHeiko Stübner	cpus {
43b790c2caSHeiko Stübner		#address-cells = <0x2>;
44b790c2caSHeiko Stübner		#size-cells = <0x0>;
45b790c2caSHeiko Stübner
46b790c2caSHeiko Stübner		cpu-map {
47b790c2caSHeiko Stübner			cluster0 {
48b790c2caSHeiko Stübner				core0 {
49b790c2caSHeiko Stübner					cpu = <&cpu_b0>;
50b790c2caSHeiko Stübner				};
51b790c2caSHeiko Stübner				core1 {
52b790c2caSHeiko Stübner					cpu = <&cpu_b1>;
53b790c2caSHeiko Stübner				};
54b790c2caSHeiko Stübner				core2 {
55b790c2caSHeiko Stübner					cpu = <&cpu_b2>;
56b790c2caSHeiko Stübner				};
57b790c2caSHeiko Stübner				core3 {
58b790c2caSHeiko Stübner					cpu = <&cpu_b3>;
59b790c2caSHeiko Stübner				};
60b790c2caSHeiko Stübner			};
61b790c2caSHeiko Stübner
62b790c2caSHeiko Stübner			cluster1 {
63b790c2caSHeiko Stübner				core0 {
64b790c2caSHeiko Stübner					cpu = <&cpu_l0>;
65b790c2caSHeiko Stübner				};
66b790c2caSHeiko Stübner				core1 {
67b790c2caSHeiko Stübner					cpu = <&cpu_l1>;
68b790c2caSHeiko Stübner				};
69b790c2caSHeiko Stübner				core2 {
70b790c2caSHeiko Stübner					cpu = <&cpu_l2>;
71b790c2caSHeiko Stübner				};
72b790c2caSHeiko Stübner				core3 {
73b790c2caSHeiko Stübner					cpu = <&cpu_l3>;
74b790c2caSHeiko Stübner				};
75b790c2caSHeiko Stübner			};
76b790c2caSHeiko Stübner		};
77b790c2caSHeiko Stübner
78b790c2caSHeiko Stübner		cpu_l0: cpu@0 {
79b790c2caSHeiko Stübner			device_type = "cpu";
8031af04cdSRob Herring			compatible = "arm,cortex-a53";
81b790c2caSHeiko Stübner			reg = <0x0 0x0>;
82b790c2caSHeiko Stübner			enable-method = "psci";
83f990238fSCaesar Wang			#cooling-cells = <2>; /* min followed by max */
84b790c2caSHeiko Stübner		};
85b790c2caSHeiko Stübner
86b790c2caSHeiko Stübner		cpu_l1: cpu@1 {
87b790c2caSHeiko Stübner			device_type = "cpu";
8831af04cdSRob Herring			compatible = "arm,cortex-a53";
89b790c2caSHeiko Stübner			reg = <0x0 0x1>;
90b790c2caSHeiko Stübner			enable-method = "psci";
91cc9b0918SViresh Kumar			#cooling-cells = <2>; /* min followed by max */
92b790c2caSHeiko Stübner		};
93b790c2caSHeiko Stübner
94b790c2caSHeiko Stübner		cpu_l2: cpu@2 {
95b790c2caSHeiko Stübner			device_type = "cpu";
9631af04cdSRob Herring			compatible = "arm,cortex-a53";
97b790c2caSHeiko Stübner			reg = <0x0 0x2>;
98b790c2caSHeiko Stübner			enable-method = "psci";
99cc9b0918SViresh Kumar			#cooling-cells = <2>; /* min followed by max */
100b790c2caSHeiko Stübner		};
101b790c2caSHeiko Stübner
102b790c2caSHeiko Stübner		cpu_l3: cpu@3 {
103b790c2caSHeiko Stübner			device_type = "cpu";
10431af04cdSRob Herring			compatible = "arm,cortex-a53";
105b790c2caSHeiko Stübner			reg = <0x0 0x3>;
106b790c2caSHeiko Stübner			enable-method = "psci";
107cc9b0918SViresh Kumar			#cooling-cells = <2>; /* min followed by max */
108b790c2caSHeiko Stübner		};
109b790c2caSHeiko Stübner
110b790c2caSHeiko Stübner		cpu_b0: cpu@100 {
111b790c2caSHeiko Stübner			device_type = "cpu";
11231af04cdSRob Herring			compatible = "arm,cortex-a53";
113b790c2caSHeiko Stübner			reg = <0x0 0x100>;
114b790c2caSHeiko Stübner			enable-method = "psci";
115f990238fSCaesar Wang			#cooling-cells = <2>; /* min followed by max */
116b790c2caSHeiko Stübner		};
117b790c2caSHeiko Stübner
118b790c2caSHeiko Stübner		cpu_b1: cpu@101 {
119b790c2caSHeiko Stübner			device_type = "cpu";
12031af04cdSRob Herring			compatible = "arm,cortex-a53";
121b790c2caSHeiko Stübner			reg = <0x0 0x101>;
122b790c2caSHeiko Stübner			enable-method = "psci";
123cc9b0918SViresh Kumar			#cooling-cells = <2>; /* min followed by max */
124b790c2caSHeiko Stübner		};
125b790c2caSHeiko Stübner
126b790c2caSHeiko Stübner		cpu_b2: cpu@102 {
127b790c2caSHeiko Stübner			device_type = "cpu";
12831af04cdSRob Herring			compatible = "arm,cortex-a53";
129b790c2caSHeiko Stübner			reg = <0x0 0x102>;
130b790c2caSHeiko Stübner			enable-method = "psci";
131cc9b0918SViresh Kumar			#cooling-cells = <2>; /* min followed by max */
132b790c2caSHeiko Stübner		};
133b790c2caSHeiko Stübner
134b790c2caSHeiko Stübner		cpu_b3: cpu@103 {
135b790c2caSHeiko Stübner			device_type = "cpu";
13631af04cdSRob Herring			compatible = "arm,cortex-a53";
137b790c2caSHeiko Stübner			reg = <0x0 0x103>;
138b790c2caSHeiko Stübner			enable-method = "psci";
139cc9b0918SViresh Kumar			#cooling-cells = <2>; /* min followed by max */
140b790c2caSHeiko Stübner		};
141b790c2caSHeiko Stübner	};
142b790c2caSHeiko Stübner
143b790c2caSHeiko Stübner	arm-pmu {
1448b40a469SRob Herring		compatible = "arm,cortex-a53-pmu";
145b790c2caSHeiko Stübner		interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
146b790c2caSHeiko Stübner			     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
147b790c2caSHeiko Stübner			     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
148b790c2caSHeiko Stübner			     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
149b790c2caSHeiko Stübner			     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
150b790c2caSHeiko Stübner			     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
151b790c2caSHeiko Stübner			     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
152b790c2caSHeiko Stübner			     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
153b790c2caSHeiko Stübner		interrupt-affinity = <&cpu_l0>, <&cpu_l1>, <&cpu_l2>,
154b790c2caSHeiko Stübner				     <&cpu_l3>, <&cpu_b0>, <&cpu_b1>,
155b790c2caSHeiko Stübner				     <&cpu_b2>, <&cpu_b3>;
156b790c2caSHeiko Stübner	};
157b790c2caSHeiko Stübner
158b790c2caSHeiko Stübner	psci {
159b790c2caSHeiko Stübner		compatible = "arm,psci-0.2";
160b790c2caSHeiko Stübner		method = "smc";
161b790c2caSHeiko Stübner	};
162b790c2caSHeiko Stübner
163b790c2caSHeiko Stübner	timer {
164b790c2caSHeiko Stübner		compatible = "arm,armv8-timer";
165b790c2caSHeiko Stübner		interrupts = <GIC_PPI 13
166b790c2caSHeiko Stübner			(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
167b790c2caSHeiko Stübner			     <GIC_PPI 14
168b790c2caSHeiko Stübner			(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
169b790c2caSHeiko Stübner			     <GIC_PPI 11
170b790c2caSHeiko Stübner			(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
171b790c2caSHeiko Stübner			     <GIC_PPI 10
172b790c2caSHeiko Stübner			(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
173b790c2caSHeiko Stübner	};
174b790c2caSHeiko Stübner
175b790c2caSHeiko Stübner	xin24m: oscillator {
176b790c2caSHeiko Stübner		compatible = "fixed-clock";
177b790c2caSHeiko Stübner		clock-frequency = <24000000>;
178b790c2caSHeiko Stübner		clock-output-names = "xin24m";
179b790c2caSHeiko Stübner		#clock-cells = <0>;
180b790c2caSHeiko Stübner	};
181b790c2caSHeiko Stübner
1823ef7c255SJohan Jonker	sdmmc: mmc@ff0c0000 {
183b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
184b790c2caSHeiko Stübner		reg = <0x0 0xff0c0000 0x0 0x4000>;
185c4959069SJaehoon Chung		max-frequency = <150000000>;
18690191625SShawn Lin		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
18790191625SShawn Lin			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
18890191625SShawn Lin		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
189b790c2caSHeiko Stübner		fifo-depth = <0x100>;
190b790c2caSHeiko Stübner		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
191d0302e06SHeiko Stuebner		resets = <&cru SRST_MMC0>;
192d0302e06SHeiko Stuebner		reset-names = "reset";
193b790c2caSHeiko Stübner		status = "disabled";
194b790c2caSHeiko Stübner	};
195b790c2caSHeiko Stübner
1963ef7c255SJohan Jonker	sdio0: mmc@ff0d0000 {
197b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
198b790c2caSHeiko Stübner		reg = <0x0 0xff0d0000 0x0 0x4000>;
199c4959069SJaehoon Chung		max-frequency = <150000000>;
200b790c2caSHeiko Stübner		clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>,
201b790c2caSHeiko Stübner			 <&cru SCLK_SDIO0_DRV>, <&cru SCLK_SDIO0_SAMPLE>;
202ca9eee95SRobin Murphy		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
203b790c2caSHeiko Stübner		fifo-depth = <0x100>;
204b790c2caSHeiko Stübner		interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
205d0302e06SHeiko Stuebner		resets = <&cru SRST_SDIO0>;
206d0302e06SHeiko Stuebner		reset-names = "reset";
207b790c2caSHeiko Stübner		status = "disabled";
208b790c2caSHeiko Stübner	};
209b790c2caSHeiko Stübner
2103ef7c255SJohan Jonker	emmc: mmc@ff0f0000 {
211b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
212b790c2caSHeiko Stübner		reg = <0x0 0xff0f0000 0x0 0x4000>;
213c4959069SJaehoon Chung		max-frequency = <150000000>;
21490191625SShawn Lin		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
21590191625SShawn Lin			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
21690191625SShawn Lin		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
217b790c2caSHeiko Stübner		fifo-depth = <0x100>;
218b790c2caSHeiko Stübner		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
219d0302e06SHeiko Stuebner		resets = <&cru SRST_EMMC>;
220d0302e06SHeiko Stuebner		reset-names = "reset";
221b790c2caSHeiko Stübner		status = "disabled";
222b790c2caSHeiko Stübner	};
223b790c2caSHeiko Stübner
224b790c2caSHeiko Stübner	saradc: saradc@ff100000 {
225b790c2caSHeiko Stübner		compatible = "rockchip,saradc";
226b790c2caSHeiko Stübner		reg = <0x0 0xff100000 0x0 0x100>;
227b790c2caSHeiko Stübner		interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
228b790c2caSHeiko Stübner		#io-channel-cells = <1>;
229b790c2caSHeiko Stübner		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
230b790c2caSHeiko Stübner		clock-names = "saradc", "apb_pclk";
23178ec79bfSCaesar Wang		resets = <&cru SRST_SARADC>;
23278ec79bfSCaesar Wang		reset-names = "saradc-apb";
233b790c2caSHeiko Stübner		status = "disabled";
234b790c2caSHeiko Stübner	};
235b790c2caSHeiko Stübner
236b790c2caSHeiko Stübner	spi0: spi@ff110000 {
237b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
238b790c2caSHeiko Stübner		reg = <0x0 0xff110000 0x0 0x1000>;
239b790c2caSHeiko Stübner		clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
240b790c2caSHeiko Stübner		clock-names = "spiclk", "apb_pclk";
241b790c2caSHeiko Stübner		interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
242b790c2caSHeiko Stübner		pinctrl-names = "default";
243b790c2caSHeiko Stübner		pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
244b790c2caSHeiko Stübner		#address-cells = <1>;
245b790c2caSHeiko Stübner		#size-cells = <0>;
246b790c2caSHeiko Stübner		status = "disabled";
247b790c2caSHeiko Stübner	};
248b790c2caSHeiko Stübner
249b790c2caSHeiko Stübner	spi1: spi@ff120000 {
250b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
251b790c2caSHeiko Stübner		reg = <0x0 0xff120000 0x0 0x1000>;
252b790c2caSHeiko Stübner		clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
253b790c2caSHeiko Stübner		clock-names = "spiclk", "apb_pclk";
254b790c2caSHeiko Stübner		interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
255b790c2caSHeiko Stübner		pinctrl-names = "default";
256b790c2caSHeiko Stübner		pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
257b790c2caSHeiko Stübner		#address-cells = <1>;
258b790c2caSHeiko Stübner		#size-cells = <0>;
259b790c2caSHeiko Stübner		status = "disabled";
260b790c2caSHeiko Stübner	};
261b790c2caSHeiko Stübner
262b790c2caSHeiko Stübner	spi2: spi@ff130000 {
263b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
264b790c2caSHeiko Stübner		reg = <0x0 0xff130000 0x0 0x1000>;
265b790c2caSHeiko Stübner		clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
266b790c2caSHeiko Stübner		clock-names = "spiclk", "apb_pclk";
267b790c2caSHeiko Stübner		interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
268b790c2caSHeiko Stübner		pinctrl-names = "default";
269b790c2caSHeiko Stübner		pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
270b790c2caSHeiko Stübner		#address-cells = <1>;
271b790c2caSHeiko Stübner		#size-cells = <0>;
272b790c2caSHeiko Stübner		status = "disabled";
273b790c2caSHeiko Stübner	};
274b790c2caSHeiko Stübner
2752c60dc43SAndy Yan	i2c2: i2c@ff140000 {
276b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
277b790c2caSHeiko Stübner		reg = <0x0 0xff140000 0x0 0x1000>;
278b790c2caSHeiko Stübner		interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
279b790c2caSHeiko Stübner		#address-cells = <1>;
280b790c2caSHeiko Stübner		#size-cells = <0>;
281b790c2caSHeiko Stübner		clock-names = "i2c";
2822c60dc43SAndy Yan		clocks = <&cru PCLK_I2C2>;
283b790c2caSHeiko Stübner		pinctrl-names = "default";
2842c60dc43SAndy Yan		pinctrl-0 = <&i2c2_xfer>;
285b790c2caSHeiko Stübner		status = "disabled";
286b790c2caSHeiko Stübner	};
287b790c2caSHeiko Stübner
288b790c2caSHeiko Stübner	i2c3: i2c@ff150000 {
289b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
290b790c2caSHeiko Stübner		reg = <0x0 0xff150000 0x0 0x1000>;
291b790c2caSHeiko Stübner		interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
292b790c2caSHeiko Stübner		#address-cells = <1>;
293b790c2caSHeiko Stübner		#size-cells = <0>;
294b790c2caSHeiko Stübner		clock-names = "i2c";
295b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C3>;
296b790c2caSHeiko Stübner		pinctrl-names = "default";
297b790c2caSHeiko Stübner		pinctrl-0 = <&i2c3_xfer>;
298b790c2caSHeiko Stübner		status = "disabled";
299b790c2caSHeiko Stübner	};
300b790c2caSHeiko Stübner
301b790c2caSHeiko Stübner	i2c4: i2c@ff160000 {
302b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
303b790c2caSHeiko Stübner		reg = <0x0 0xff160000 0x0 0x1000>;
304b790c2caSHeiko Stübner		interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
305b790c2caSHeiko Stübner		#address-cells = <1>;
306b790c2caSHeiko Stübner		#size-cells = <0>;
307b790c2caSHeiko Stübner		clock-names = "i2c";
308b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C4>;
309b790c2caSHeiko Stübner		pinctrl-names = "default";
310b790c2caSHeiko Stübner		pinctrl-0 = <&i2c4_xfer>;
311b790c2caSHeiko Stübner		status = "disabled";
312b790c2caSHeiko Stübner	};
313b790c2caSHeiko Stübner
314b790c2caSHeiko Stübner	i2c5: i2c@ff170000 {
315b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
316b790c2caSHeiko Stübner		reg = <0x0 0xff170000 0x0 0x1000>;
317b790c2caSHeiko Stübner		interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
318b790c2caSHeiko Stübner		#address-cells = <1>;
319b790c2caSHeiko Stübner		#size-cells = <0>;
320b790c2caSHeiko Stübner		clock-names = "i2c";
321b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C5>;
322b790c2caSHeiko Stübner		pinctrl-names = "default";
323b790c2caSHeiko Stübner		pinctrl-0 = <&i2c5_xfer>;
324b790c2caSHeiko Stübner		status = "disabled";
325b790c2caSHeiko Stübner	};
326b790c2caSHeiko Stübner
327b790c2caSHeiko Stübner	uart0: serial@ff180000 {
328b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
329b790c2caSHeiko Stübner		reg = <0x0 0xff180000 0x0 0x100>;
330b790c2caSHeiko Stübner		clock-frequency = <24000000>;
331b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
332b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
333b790c2caSHeiko Stübner		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
334b790c2caSHeiko Stübner		reg-shift = <2>;
335b790c2caSHeiko Stübner		reg-io-width = <4>;
336b790c2caSHeiko Stübner		status = "disabled";
337b790c2caSHeiko Stübner	};
338b790c2caSHeiko Stübner
339b790c2caSHeiko Stübner	uart1: serial@ff190000 {
340b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
341b790c2caSHeiko Stübner		reg = <0x0 0xff190000 0x0 0x100>;
342b790c2caSHeiko Stübner		clock-frequency = <24000000>;
343b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
344b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
345b790c2caSHeiko Stübner		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
346b790c2caSHeiko Stübner		reg-shift = <2>;
347b790c2caSHeiko Stübner		reg-io-width = <4>;
348b790c2caSHeiko Stübner		status = "disabled";
349b790c2caSHeiko Stübner	};
350b790c2caSHeiko Stübner
351b790c2caSHeiko Stübner	uart3: serial@ff1b0000 {
352b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
353b790c2caSHeiko Stübner		reg = <0x0 0xff1b0000 0x0 0x100>;
354b790c2caSHeiko Stübner		clock-frequency = <24000000>;
355b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
356b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
357b790c2caSHeiko Stübner		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
358b790c2caSHeiko Stübner		reg-shift = <2>;
359b790c2caSHeiko Stübner		reg-io-width = <4>;
360b790c2caSHeiko Stübner		status = "disabled";
361b790c2caSHeiko Stübner	};
362b790c2caSHeiko Stübner
363b790c2caSHeiko Stübner	uart4: serial@ff1c0000 {
364b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
365b790c2caSHeiko Stübner		reg = <0x0 0xff1c0000 0x0 0x100>;
366b790c2caSHeiko Stübner		clock-frequency = <24000000>;
367b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
368b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
369b790c2caSHeiko Stübner		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
370b790c2caSHeiko Stübner		reg-shift = <2>;
371b790c2caSHeiko Stübner		reg-io-width = <4>;
372b790c2caSHeiko Stübner		status = "disabled";
373b790c2caSHeiko Stübner	};
374b790c2caSHeiko Stübner
3759e824449SRobin Murphy	dmac_peri: dma-controller@ff250000 {
3769e824449SRobin Murphy		compatible = "arm,pl330", "arm,primecell";
3779e824449SRobin Murphy		reg = <0x0 0xff250000 0x0 0x4000>;
3789e824449SRobin Murphy		interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
3799e824449SRobin Murphy			     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
3809e824449SRobin Murphy		#dma-cells = <1>;
3819e824449SRobin Murphy		arm,pl330-broken-no-flushp;
3829e824449SRobin Murphy		arm,pl330-periph-burst;
3839e824449SRobin Murphy		clocks = <&cru ACLK_DMAC_PERI>;
3849e824449SRobin Murphy		clock-names = "apb_pclk";
3859e824449SRobin Murphy	};
3869e824449SRobin Murphy
387f990238fSCaesar Wang	thermal-zones {
3887c96a5cfSJohan Jonker		cpu_thermal: cpu-thermal {
3896ddf93e0SCaesar Wang			polling-delay-passive = <100>; /* milliseconds */
3906ddf93e0SCaesar Wang			polling-delay = <5000>; /* milliseconds */
3916ddf93e0SCaesar Wang
3926ddf93e0SCaesar Wang			thermal-sensors = <&tsadc 0>;
3936ddf93e0SCaesar Wang
3946ddf93e0SCaesar Wang			trips {
3956ddf93e0SCaesar Wang				cpu_alert0: cpu_alert0 {
3966ddf93e0SCaesar Wang					temperature = <75000>; /* millicelsius */
3976ddf93e0SCaesar Wang					hysteresis = <2000>; /* millicelsius */
3986ddf93e0SCaesar Wang					type = "passive";
3996ddf93e0SCaesar Wang				};
4006ddf93e0SCaesar Wang				cpu_alert1: cpu_alert1 {
4016ddf93e0SCaesar Wang					temperature = <80000>; /* millicelsius */
4026ddf93e0SCaesar Wang					hysteresis = <2000>; /* millicelsius */
4036ddf93e0SCaesar Wang					type = "passive";
4046ddf93e0SCaesar Wang				};
4056ddf93e0SCaesar Wang				cpu_crit: cpu_crit {
4066ddf93e0SCaesar Wang					temperature = <95000>; /* millicelsius */
4076ddf93e0SCaesar Wang					hysteresis = <2000>; /* millicelsius */
4086ddf93e0SCaesar Wang					type = "critical";
4096ddf93e0SCaesar Wang				};
4106ddf93e0SCaesar Wang			};
4116ddf93e0SCaesar Wang
4126ddf93e0SCaesar Wang			cooling-maps {
4136ddf93e0SCaesar Wang				map0 {
4146ddf93e0SCaesar Wang					trip = <&cpu_alert0>;
4156ddf93e0SCaesar Wang					cooling-device =
416cdd46460SViresh Kumar					<&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
417cdd46460SViresh Kumar					<&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
418cdd46460SViresh Kumar					<&cpu_b2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
419cdd46460SViresh Kumar					<&cpu_b3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4206ddf93e0SCaesar Wang				};
4216ddf93e0SCaesar Wang				map1 {
4226ddf93e0SCaesar Wang					trip = <&cpu_alert1>;
4236ddf93e0SCaesar Wang					cooling-device =
424cdd46460SViresh Kumar					<&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
425cdd46460SViresh Kumar					<&cpu_l1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
426cdd46460SViresh Kumar					<&cpu_l2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
427cdd46460SViresh Kumar					<&cpu_l3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4286ddf93e0SCaesar Wang				};
4296ddf93e0SCaesar Wang			};
4306ddf93e0SCaesar Wang		};
4316ddf93e0SCaesar Wang
4327c96a5cfSJohan Jonker		gpu_thermal: gpu-thermal {
4336ddf93e0SCaesar Wang			polling-delay-passive = <100>; /* milliseconds */
4346ddf93e0SCaesar Wang			polling-delay = <5000>; /* milliseconds */
4356ddf93e0SCaesar Wang
4366ddf93e0SCaesar Wang			thermal-sensors = <&tsadc 1>;
4376ddf93e0SCaesar Wang
4386ddf93e0SCaesar Wang			trips {
4396ddf93e0SCaesar Wang				gpu_alert0: gpu_alert0 {
4406ddf93e0SCaesar Wang					temperature = <80000>; /* millicelsius */
4416ddf93e0SCaesar Wang					hysteresis = <2000>; /* millicelsius */
4426ddf93e0SCaesar Wang					type = "passive";
4436ddf93e0SCaesar Wang				};
4446ddf93e0SCaesar Wang				gpu_crit: gpu_crit {
4456ddf93e0SCaesar Wang					temperature = <115000>; /* millicelsius */
4466ddf93e0SCaesar Wang					hysteresis = <2000>; /* millicelsius */
4476ddf93e0SCaesar Wang					type = "critical";
4486ddf93e0SCaesar Wang				};
4496ddf93e0SCaesar Wang			};
4506ddf93e0SCaesar Wang
4516ddf93e0SCaesar Wang			cooling-maps {
4526ddf93e0SCaesar Wang				map0 {
4536ddf93e0SCaesar Wang					trip = <&gpu_alert0>;
4546ddf93e0SCaesar Wang					cooling-device =
455cdd46460SViresh Kumar					<&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
456cdd46460SViresh Kumar					<&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
457cdd46460SViresh Kumar					<&cpu_b2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
458cdd46460SViresh Kumar					<&cpu_b3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4596ddf93e0SCaesar Wang				};
4606ddf93e0SCaesar Wang			};
4616ddf93e0SCaesar Wang		};
462f990238fSCaesar Wang	};
463f990238fSCaesar Wang
464f990238fSCaesar Wang	tsadc: tsadc@ff280000 {
465f990238fSCaesar Wang		compatible = "rockchip,rk3368-tsadc";
466f990238fSCaesar Wang		reg = <0x0 0xff280000 0x0 0x100>;
467f990238fSCaesar Wang		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
468f990238fSCaesar Wang		clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
469f990238fSCaesar Wang		clock-names = "tsadc", "apb_pclk";
470f990238fSCaesar Wang		resets = <&cru SRST_TSADC>;
471f990238fSCaesar Wang		reset-names = "tsadc-apb";
472f990238fSCaesar Wang		pinctrl-names = "init", "default", "sleep";
4732bc65fefSJohan Jonker		pinctrl-0 = <&otp_pin>;
474f990238fSCaesar Wang		pinctrl-1 = <&otp_out>;
4752bc65fefSJohan Jonker		pinctrl-2 = <&otp_pin>;
476f990238fSCaesar Wang		#thermal-sensor-cells = <1>;
477f990238fSCaesar Wang		rockchip,hw-tshut-temp = <95000>;
478f990238fSCaesar Wang		status = "disabled";
479f990238fSCaesar Wang	};
480f990238fSCaesar Wang
481b790c2caSHeiko Stübner	gmac: ethernet@ff290000 {
482b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-gmac";
483b790c2caSHeiko Stübner		reg = <0x0 0xff290000 0x0 0x10000>;
484b790c2caSHeiko Stübner		interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
485b790c2caSHeiko Stübner		interrupt-names = "macirq";
486b790c2caSHeiko Stübner		rockchip,grf = <&grf>;
487b790c2caSHeiko Stübner		clocks = <&cru SCLK_MAC>,
488b790c2caSHeiko Stübner			<&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
489b790c2caSHeiko Stübner			<&cru SCLK_MACREF>, <&cru SCLK_MACREF_OUT>,
490b790c2caSHeiko Stübner			<&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
491b790c2caSHeiko Stübner		clock-names = "stmmaceth",
492b790c2caSHeiko Stübner			"mac_clk_rx", "mac_clk_tx",
493b790c2caSHeiko Stübner			"clk_mac_ref", "clk_mac_refout",
494b790c2caSHeiko Stübner			"aclk_mac", "pclk_mac";
495b790c2caSHeiko Stübner		status = "disabled";
496b790c2caSHeiko Stübner	};
497b790c2caSHeiko Stübner
498b790c2caSHeiko Stübner	usb_host0_ehci: usb@ff500000 {
499b790c2caSHeiko Stübner		compatible = "generic-ehci";
500b790c2caSHeiko Stübner		reg = <0x0 0xff500000 0x0 0x100>;
501b790c2caSHeiko Stübner		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
502b790c2caSHeiko Stübner		clocks = <&cru HCLK_HOST0>;
503b790c2caSHeiko Stübner		status = "disabled";
504b790c2caSHeiko Stübner	};
505b790c2caSHeiko Stübner
506b790c2caSHeiko Stübner	usb_otg: usb@ff580000 {
507b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-usb", "rockchip,rk3066-usb",
508b790c2caSHeiko Stübner				"snps,dwc2";
509b790c2caSHeiko Stübner		reg = <0x0 0xff580000 0x0 0x40000>;
510b790c2caSHeiko Stübner		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
511b790c2caSHeiko Stübner		clocks = <&cru HCLK_OTG0>;
512b790c2caSHeiko Stübner		clock-names = "otg";
513b790c2caSHeiko Stübner		dr_mode = "otg";
514b790c2caSHeiko Stübner		g-np-tx-fifo-size = <16>;
515b790c2caSHeiko Stübner		g-rx-fifo-size = <275>;
516b790c2caSHeiko Stübner		g-tx-fifo-size = <256 128 128 64 64 32>;
517b790c2caSHeiko Stübner		status = "disabled";
518b790c2caSHeiko Stübner	};
519b790c2caSHeiko Stübner
5209e824449SRobin Murphy	dmac_bus: dma-controller@ff600000 {
5219e824449SRobin Murphy		compatible = "arm,pl330", "arm,primecell";
5229e824449SRobin Murphy		reg = <0x0 0xff600000 0x0 0x4000>;
5239e824449SRobin Murphy		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
5249e824449SRobin Murphy			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
5259e824449SRobin Murphy		#dma-cells = <1>;
5269e824449SRobin Murphy		arm,pl330-broken-no-flushp;
5279e824449SRobin Murphy		arm,pl330-periph-burst;
5289e824449SRobin Murphy		clocks = <&cru ACLK_DMAC_BUS>;
5299e824449SRobin Murphy		clock-names = "apb_pclk";
5309e824449SRobin Murphy	};
5319e824449SRobin Murphy
532b790c2caSHeiko Stübner	i2c0: i2c@ff650000 {
533b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
534b790c2caSHeiko Stübner		reg = <0x0 0xff650000 0x0 0x1000>;
535b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C0>;
536b790c2caSHeiko Stübner		clock-names = "i2c";
537b790c2caSHeiko Stübner		interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
538b790c2caSHeiko Stübner		pinctrl-names = "default";
539b790c2caSHeiko Stübner		pinctrl-0 = <&i2c0_xfer>;
540b790c2caSHeiko Stübner		#address-cells = <1>;
541b790c2caSHeiko Stübner		#size-cells = <0>;
542b790c2caSHeiko Stübner		status = "disabled";
543b790c2caSHeiko Stübner	};
544b790c2caSHeiko Stübner
5452c60dc43SAndy Yan	i2c1: i2c@ff660000 {
546b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
547b790c2caSHeiko Stübner		reg = <0x0 0xff660000 0x0 0x1000>;
548b790c2caSHeiko Stübner		interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
549b790c2caSHeiko Stübner		#address-cells = <1>;
550b790c2caSHeiko Stübner		#size-cells = <0>;
551b790c2caSHeiko Stübner		clock-names = "i2c";
5522c60dc43SAndy Yan		clocks = <&cru PCLK_I2C1>;
553b790c2caSHeiko Stübner		pinctrl-names = "default";
5542c60dc43SAndy Yan		pinctrl-0 = <&i2c1_xfer>;
555b790c2caSHeiko Stübner		status = "disabled";
556b790c2caSHeiko Stübner	};
557b790c2caSHeiko Stübner
558fa54322aSCaesar Wang	pwm0: pwm@ff680000 {
559fa54322aSCaesar Wang		compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
560fa54322aSCaesar Wang		reg = <0x0 0xff680000 0x0 0x10>;
561fa54322aSCaesar Wang		#pwm-cells = <3>;
562fa54322aSCaesar Wang		pinctrl-names = "default";
563fa54322aSCaesar Wang		pinctrl-0 = <&pwm0_pin>;
564fa54322aSCaesar Wang		clocks = <&cru PCLK_PWM1>;
565fa54322aSCaesar Wang		status = "disabled";
566fa54322aSCaesar Wang	};
567fa54322aSCaesar Wang
568fa54322aSCaesar Wang	pwm1: pwm@ff680010 {
569fa54322aSCaesar Wang		compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
570fa54322aSCaesar Wang		reg = <0x0 0xff680010 0x0 0x10>;
571fa54322aSCaesar Wang		#pwm-cells = <3>;
572fa54322aSCaesar Wang		pinctrl-names = "default";
573fa54322aSCaesar Wang		pinctrl-0 = <&pwm1_pin>;
574fa54322aSCaesar Wang		clocks = <&cru PCLK_PWM1>;
575fa54322aSCaesar Wang		status = "disabled";
576fa54322aSCaesar Wang	};
577fa54322aSCaesar Wang
578fa54322aSCaesar Wang	pwm2: pwm@ff680020 {
579fa54322aSCaesar Wang		compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
580fa54322aSCaesar Wang		reg = <0x0 0xff680020 0x0 0x10>;
581fa54322aSCaesar Wang		#pwm-cells = <3>;
582fa54322aSCaesar Wang		clocks = <&cru PCLK_PWM1>;
583fa54322aSCaesar Wang		status = "disabled";
584fa54322aSCaesar Wang	};
585fa54322aSCaesar Wang
586fa54322aSCaesar Wang	pwm3: pwm@ff680030 {
587fa54322aSCaesar Wang		compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
588fa54322aSCaesar Wang		reg = <0x0 0xff680030 0x0 0x10>;
589fa54322aSCaesar Wang		#pwm-cells = <3>;
590fa54322aSCaesar Wang		pinctrl-names = "default";
591fa54322aSCaesar Wang		pinctrl-0 = <&pwm3_pin>;
592fa54322aSCaesar Wang		clocks = <&cru PCLK_PWM1>;
593fa54322aSCaesar Wang		status = "disabled";
594fa54322aSCaesar Wang	};
595fa54322aSCaesar Wang
596b790c2caSHeiko Stübner	uart2: serial@ff690000 {
597b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
598b790c2caSHeiko Stübner		reg = <0x0 0xff690000 0x0 0x100>;
599b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
600b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
601b790c2caSHeiko Stübner		interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
602b790c2caSHeiko Stübner		pinctrl-names = "default";
603b790c2caSHeiko Stübner		pinctrl-0 = <&uart2_xfer>;
604b790c2caSHeiko Stübner		reg-shift = <2>;
605b790c2caSHeiko Stübner		reg-io-width = <4>;
606b790c2caSHeiko Stübner		status = "disabled";
607b790c2caSHeiko Stübner	};
608b790c2caSHeiko Stübner
6096e7f9f5aSCaesar Wang	mbox: mbox@ff6b0000 {
6106e7f9f5aSCaesar Wang		compatible = "rockchip,rk3368-mailbox";
6116e7f9f5aSCaesar Wang		reg = <0x0 0xff6b0000 0x0 0x1000>;
6126e7f9f5aSCaesar Wang		interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
6136e7f9f5aSCaesar Wang			     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
6146e7f9f5aSCaesar Wang			     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
6156e7f9f5aSCaesar Wang			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
6166e7f9f5aSCaesar Wang		clocks = <&cru PCLK_MAILBOX>;
6176e7f9f5aSCaesar Wang		clock-names = "pclk_mailbox";
6186e7f9f5aSCaesar Wang		#mbox-cells = <1>;
619ec9b506fSJianqun Xu		status = "disabled";
6206e7f9f5aSCaesar Wang	};
6216e7f9f5aSCaesar Wang
622b394e70cSHeiko Stuebner	pmu: power-management@ff730000 {
623b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-pmu", "syscon", "simple-mfd";
624b394e70cSHeiko Stuebner		reg = <0x0 0xff730000 0x0 0x1000>;
625b394e70cSHeiko Stuebner
626b394e70cSHeiko Stuebner		power: power-controller {
627b394e70cSHeiko Stuebner			compatible = "rockchip,rk3368-power-controller";
628b394e70cSHeiko Stuebner			#power-domain-cells = <1>;
629b394e70cSHeiko Stuebner			#address-cells = <1>;
630b394e70cSHeiko Stuebner			#size-cells = <0>;
631b394e70cSHeiko Stuebner
632b394e70cSHeiko Stuebner			/*
633b394e70cSHeiko Stuebner			 * Note: Although SCLK_* are the working clocks
634b394e70cSHeiko Stuebner			 * of device without including on the NOC, needed for
635b394e70cSHeiko Stuebner			 * synchronous reset.
636b394e70cSHeiko Stuebner			 *
637b394e70cSHeiko Stuebner			 * The clocks on the which NOC:
638b394e70cSHeiko Stuebner			 * ACLK_IEP/ACLK_VIP/ACLK_VOP0 are on ACLK_VIO0_NIU.
639b394e70cSHeiko Stuebner			 * ACLK_ISP/ACLK_VOP1 are on ACLK_VIO1_NIU.
640b394e70cSHeiko Stuebner			 * ACLK_RGA is on ACLK_RGA_NIU.
641b394e70cSHeiko Stuebner			 * The others (HCLK_*,PLCK_*) are on HCLK_VIO_NIU.
642b394e70cSHeiko Stuebner			 *
643b394e70cSHeiko Stuebner			 * Which clock are device clocks:
644b394e70cSHeiko Stuebner			 *	clocks		devices
645b394e70cSHeiko Stuebner			 *	*_IEP		IEP:Image Enhancement Processor
646b394e70cSHeiko Stuebner			 *	*_ISP		ISP:Image Signal Processing
647b394e70cSHeiko Stuebner			 *	*_VIP		VIP:Video Input Processor
648b394e70cSHeiko Stuebner			 *	*_VOP*		VOP:Visual Output Processor
649b394e70cSHeiko Stuebner			 *	*_RGA		RGA
650b394e70cSHeiko Stuebner			 *	*_EDP*		EDP
651b394e70cSHeiko Stuebner			 *	*_DPHY*		LVDS
652b394e70cSHeiko Stuebner			 *	*_HDMI		HDMI
653b394e70cSHeiko Stuebner			 *	*_MIPI_*	MIPI
654b394e70cSHeiko Stuebner			 */
655b394e70cSHeiko Stuebner			power-domain@RK3368_PD_VIO {
656b394e70cSHeiko Stuebner				reg = <RK3368_PD_VIO>;
657b394e70cSHeiko Stuebner				clocks = <&cru ACLK_IEP>,
658b394e70cSHeiko Stuebner					 <&cru ACLK_ISP>,
659b394e70cSHeiko Stuebner					 <&cru ACLK_VIP>,
660b394e70cSHeiko Stuebner					 <&cru ACLK_RGA>,
661b394e70cSHeiko Stuebner					 <&cru ACLK_VOP>,
662b394e70cSHeiko Stuebner					 <&cru ACLK_VOP_IEP>,
663b394e70cSHeiko Stuebner					 <&cru DCLK_VOP>,
664b394e70cSHeiko Stuebner					 <&cru HCLK_IEP>,
665b394e70cSHeiko Stuebner					 <&cru HCLK_ISP>,
666b394e70cSHeiko Stuebner					 <&cru HCLK_RGA>,
667b394e70cSHeiko Stuebner					 <&cru HCLK_VIP>,
668b394e70cSHeiko Stuebner					 <&cru HCLK_VOP>,
669b394e70cSHeiko Stuebner					 <&cru HCLK_VIO_HDCPMMU>,
670b394e70cSHeiko Stuebner					 <&cru PCLK_EDP_CTRL>,
671b394e70cSHeiko Stuebner					 <&cru PCLK_HDMI_CTRL>,
672b394e70cSHeiko Stuebner					 <&cru PCLK_HDCP>,
673b394e70cSHeiko Stuebner					 <&cru PCLK_ISP>,
674b394e70cSHeiko Stuebner					 <&cru PCLK_VIP>,
675b394e70cSHeiko Stuebner					 <&cru PCLK_DPHYRX>,
676b394e70cSHeiko Stuebner					 <&cru PCLK_DPHYTX0>,
677b394e70cSHeiko Stuebner					 <&cru PCLK_MIPI_CSI>,
678b394e70cSHeiko Stuebner					 <&cru PCLK_MIPI_DSI0>,
679b394e70cSHeiko Stuebner					 <&cru SCLK_VOP0_PWM>,
680b394e70cSHeiko Stuebner					 <&cru SCLK_EDP_24M>,
681b394e70cSHeiko Stuebner					 <&cru SCLK_EDP>,
682b394e70cSHeiko Stuebner					 <&cru SCLK_HDCP>,
683b394e70cSHeiko Stuebner					 <&cru SCLK_ISP>,
684b394e70cSHeiko Stuebner					 <&cru SCLK_RGA>,
685b394e70cSHeiko Stuebner					 <&cru SCLK_HDMI_CEC>,
686b394e70cSHeiko Stuebner					 <&cru SCLK_HDMI_HDCP>;
687b394e70cSHeiko Stuebner				pm_qos = <&qos_iep>,
688b394e70cSHeiko Stuebner					 <&qos_isp_r0>,
689b394e70cSHeiko Stuebner					 <&qos_isp_r1>,
690b394e70cSHeiko Stuebner					 <&qos_isp_w0>,
691b394e70cSHeiko Stuebner					 <&qos_isp_w1>,
692b394e70cSHeiko Stuebner					 <&qos_vip>,
693b394e70cSHeiko Stuebner					 <&qos_vop>,
694b394e70cSHeiko Stuebner					 <&qos_rga_r>,
695b394e70cSHeiko Stuebner					 <&qos_rga_w>;
696b394e70cSHeiko Stuebner				#power-domain-cells = <0>;
697b394e70cSHeiko Stuebner			};
698b394e70cSHeiko Stuebner
699b394e70cSHeiko Stuebner			/*
700b394e70cSHeiko Stuebner			 * Note: ACLK_VCODEC/HCLK_VCODEC are VCODEC
701b394e70cSHeiko Stuebner			 * (video endecoder & decoder) clocks that on the
702b394e70cSHeiko Stuebner			 * ACLK_VCODEC_NIU and HCLK_VCODEC_NIU (NOC).
703b394e70cSHeiko Stuebner			 */
704b394e70cSHeiko Stuebner			power-domain@RK3368_PD_VIDEO {
705b394e70cSHeiko Stuebner				reg = <RK3368_PD_VIDEO>;
706b394e70cSHeiko Stuebner				clocks = <&cru ACLK_VIDEO>,
707b394e70cSHeiko Stuebner					 <&cru HCLK_VIDEO>,
708b394e70cSHeiko Stuebner					 <&cru SCLK_HEVC_CABAC>,
709b394e70cSHeiko Stuebner					 <&cru SCLK_HEVC_CORE>;
710b394e70cSHeiko Stuebner				pm_qos = <&qos_hevc_r>,
711b394e70cSHeiko Stuebner					 <&qos_vpu_r>,
712b394e70cSHeiko Stuebner					 <&qos_vpu_w>;
713b394e70cSHeiko Stuebner				#power-domain-cells = <0>;
714b394e70cSHeiko Stuebner			};
715b394e70cSHeiko Stuebner
716b394e70cSHeiko Stuebner			/*
717b394e70cSHeiko Stuebner			 * Note: ACLK_GPU is the GPU clock,
718b394e70cSHeiko Stuebner			 * and on the ACLK_GPU_NIU (NOC).
719b394e70cSHeiko Stuebner			 */
720b394e70cSHeiko Stuebner			power-domain@RK3368_PD_GPU_1 {
721b394e70cSHeiko Stuebner				reg = <RK3368_PD_GPU_1>;
722b394e70cSHeiko Stuebner				clocks = <&cru ACLK_GPU_CFG>,
723b394e70cSHeiko Stuebner					 <&cru ACLK_GPU_MEM>,
724b394e70cSHeiko Stuebner					 <&cru SCLK_GPU_CORE>;
725b394e70cSHeiko Stuebner				pm_qos = <&qos_gpu>;
726b394e70cSHeiko Stuebner				#power-domain-cells = <0>;
727b394e70cSHeiko Stuebner			};
728b394e70cSHeiko Stuebner		};
729b394e70cSHeiko Stuebner	};
730b394e70cSHeiko Stuebner
731b790c2caSHeiko Stübner	pmugrf: syscon@ff738000 {
7324cca3d94SHeiko Stuebner		compatible = "rockchip,rk3368-pmugrf", "syscon", "simple-mfd";
733b790c2caSHeiko Stübner		reg = <0x0 0xff738000 0x0 0x1000>;
734d1ab05abSHeiko Stuebner
735d1ab05abSHeiko Stuebner		pmu_io_domains: io-domains {
736d1ab05abSHeiko Stuebner			compatible = "rockchip,rk3368-pmu-io-voltage-domain";
737d1ab05abSHeiko Stuebner			status = "disabled";
738d1ab05abSHeiko Stuebner		};
7392e9e2863SAndy Yan
7402e9e2863SAndy Yan		reboot-mode {
7412e9e2863SAndy Yan			compatible = "syscon-reboot-mode";
7422e9e2863SAndy Yan			offset = <0x200>;
7432e9e2863SAndy Yan			mode-normal = <BOOT_NORMAL>;
7442e9e2863SAndy Yan			mode-recovery = <BOOT_RECOVERY>;
7452e9e2863SAndy Yan			mode-bootloader = <BOOT_FASTBOOT>;
7462e9e2863SAndy Yan			mode-loader = <BOOT_BL_DOWNLOAD>;
7472e9e2863SAndy Yan		};
748b790c2caSHeiko Stübner	};
749b790c2caSHeiko Stübner
750b790c2caSHeiko Stübner	cru: clock-controller@ff760000 {
751b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-cru";
752b790c2caSHeiko Stübner		reg = <0x0 0xff760000 0x0 0x1000>;
7533d65818cSJohan Jonker		clocks = <&xin24m>;
7543d65818cSJohan Jonker		clock-names = "xin24m";
755b790c2caSHeiko Stübner		rockchip,grf = <&grf>;
756b790c2caSHeiko Stübner		#clock-cells = <1>;
757b790c2caSHeiko Stübner		#reset-cells = <1>;
758b790c2caSHeiko Stübner	};
759b790c2caSHeiko Stübner
760b790c2caSHeiko Stübner	grf: syscon@ff770000 {
7614cca3d94SHeiko Stuebner		compatible = "rockchip,rk3368-grf", "syscon", "simple-mfd";
762b790c2caSHeiko Stübner		reg = <0x0 0xff770000 0x0 0x1000>;
763d1ab05abSHeiko Stuebner
764d1ab05abSHeiko Stuebner		io_domains: io-domains {
765d1ab05abSHeiko Stuebner			compatible = "rockchip,rk3368-io-voltage-domain";
766d1ab05abSHeiko Stuebner			status = "disabled";
767d1ab05abSHeiko Stuebner		};
768b790c2caSHeiko Stübner	};
769b790c2caSHeiko Stübner
770b790c2caSHeiko Stübner	wdt: watchdog@ff800000 {
771b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-wdt", "snps,dw-wdt";
772b790c2caSHeiko Stübner		reg = <0x0 0xff800000 0x0 0x100>;
773b790c2caSHeiko Stübner		clocks = <&cru PCLK_WDT>;
774b790c2caSHeiko Stübner		interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
775b790c2caSHeiko Stübner		status = "disabled";
776b790c2caSHeiko Stübner	};
777b790c2caSHeiko Stübner
77846f86be0SHeiko Stuebner	timer0: timer@ff810000 {
779b8084e5bSCaesar Wang		compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer";
780b8084e5bSCaesar Wang		reg = <0x0 0xff810000 0x0 0x20>;
781b8084e5bSCaesar Wang		interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
782642593eeSEzequiel Garcia		clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>;
783642593eeSEzequiel Garcia		clock-names = "pclk", "timer";
784b8084e5bSCaesar Wang	};
785b8084e5bSCaesar Wang
7860328d68eSSugar Zhang	spdif: spdif@ff880000 {
7870328d68eSSugar Zhang		compatible = "rockchip,rk3368-spdif";
7880328d68eSSugar Zhang		reg = <0x0 0xff880000 0x0 0x1000>;
7890328d68eSSugar Zhang		interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
7900328d68eSSugar Zhang		clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>;
7910328d68eSSugar Zhang		clock-names = "mclk", "hclk";
7920328d68eSSugar Zhang		dmas = <&dmac_bus 3>;
7930328d68eSSugar Zhang		dma-names = "tx";
7940328d68eSSugar Zhang		pinctrl-names = "default";
7950328d68eSSugar Zhang		pinctrl-0 = <&spdif_tx>;
796*8d7ec44aSAlex Bee		#sound-dai-cells = <0>;
7970328d68eSSugar Zhang		status = "disabled";
7980328d68eSSugar Zhang	};
7990328d68eSSugar Zhang
800f7d89dfeSJianqun Xu	i2s_2ch: i2s-2ch@ff890000 {
801f7d89dfeSJianqun Xu		compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
802f7d89dfeSJianqun Xu		reg = <0x0 0xff890000 0x0 0x1000>;
803f7d89dfeSJianqun Xu		interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
804f7d89dfeSJianqun Xu		clock-names = "i2s_clk", "i2s_hclk";
805f7d89dfeSJianqun Xu		clocks = <&cru SCLK_I2S_2CH>, <&cru HCLK_I2S_2CH>;
806f7d89dfeSJianqun Xu		dmas = <&dmac_bus 6>, <&dmac_bus 7>;
807f7d89dfeSJianqun Xu		dma-names = "tx", "rx";
808*8d7ec44aSAlex Bee		#sound-dai-cells = <0>;
809f7d89dfeSJianqun Xu		status = "disabled";
810f7d89dfeSJianqun Xu	};
811f7d89dfeSJianqun Xu
812f7d89dfeSJianqun Xu	i2s_8ch: i2s-8ch@ff898000 {
813f7d89dfeSJianqun Xu		compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
814f7d89dfeSJianqun Xu		reg = <0x0 0xff898000 0x0 0x1000>;
815f7d89dfeSJianqun Xu		interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
816f7d89dfeSJianqun Xu		clock-names = "i2s_clk", "i2s_hclk";
817f7d89dfeSJianqun Xu		clocks = <&cru SCLK_I2S_8CH>, <&cru HCLK_I2S_8CH>;
818f7d89dfeSJianqun Xu		dmas = <&dmac_bus 0>, <&dmac_bus 1>;
819f7d89dfeSJianqun Xu		dma-names = "tx", "rx";
820f7d89dfeSJianqun Xu		pinctrl-names = "default";
821f7d89dfeSJianqun Xu		pinctrl-0 = <&i2s_8ch_bus>;
822*8d7ec44aSAlex Bee		#sound-dai-cells = <0>;
823f7d89dfeSJianqun Xu		status = "disabled";
824f7d89dfeSJianqun Xu	};
825f7d89dfeSJianqun Xu
826cede4c79SSimon Xue	iep_mmu: iommu@ff900800 {
827cede4c79SSimon Xue		compatible = "rockchip,iommu";
828cede4c79SSimon Xue		reg = <0x0 0xff900800 0x0 0x100>;
829b521102dSArnd Bergmann		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
830df3bcde7SJeffy Chen		clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>;
831df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
832b394e70cSHeiko Stuebner		power-domains = <&power RK3368_PD_VIO>;
833cede4c79SSimon Xue		#iommu-cells = <0>;
834cede4c79SSimon Xue		status = "disabled";
835cede4c79SSimon Xue	};
836cede4c79SSimon Xue
837cede4c79SSimon Xue	isp_mmu: iommu@ff914000 {
838cede4c79SSimon Xue		compatible = "rockchip,iommu";
839cede4c79SSimon Xue		reg = <0x0 0xff914000 0x0 0x100>,
840cede4c79SSimon Xue		      <0x0 0xff915000 0x0 0x100>;
841cede4c79SSimon Xue		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
842df3bcde7SJeffy Chen		clocks = <&cru ACLK_ISP>, <&cru HCLK_ISP>;
843df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
844cede4c79SSimon Xue		#iommu-cells = <0>;
845b394e70cSHeiko Stuebner		power-domains = <&power RK3368_PD_VIO>;
846cede4c79SSimon Xue		rockchip,disable-mmu-reset;
847cede4c79SSimon Xue		status = "disabled";
848cede4c79SSimon Xue	};
849cede4c79SSimon Xue
850cede4c79SSimon Xue	vop_mmu: iommu@ff930300 {
851cede4c79SSimon Xue		compatible = "rockchip,iommu";
852cede4c79SSimon Xue		reg = <0x0 0xff930300 0x0 0x100>;
853cede4c79SSimon Xue		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
854df3bcde7SJeffy Chen		clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
855df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
856b394e70cSHeiko Stuebner		power-domains = <&power RK3368_PD_VIO>;
857cede4c79SSimon Xue		#iommu-cells = <0>;
858cede4c79SSimon Xue		status = "disabled";
859cede4c79SSimon Xue	};
860cede4c79SSimon Xue
861cede4c79SSimon Xue	hevc_mmu: iommu@ff9a0440 {
862cede4c79SSimon Xue		compatible = "rockchip,iommu";
863cede4c79SSimon Xue		reg = <0x0 0xff9a0440 0x0 0x40>,
864cede4c79SSimon Xue		      <0x0 0xff9a0480 0x0 0x40>;
865cede4c79SSimon Xue		interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
866df3bcde7SJeffy Chen		clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>;
867df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
868cede4c79SSimon Xue		#iommu-cells = <0>;
869cede4c79SSimon Xue		status = "disabled";
870cede4c79SSimon Xue	};
871cede4c79SSimon Xue
872cede4c79SSimon Xue	vpu_mmu: iommu@ff9a0800 {
873cede4c79SSimon Xue		compatible = "rockchip,iommu";
874cede4c79SSimon Xue		reg = <0x0 0xff9a0800 0x0 0x100>;
875cede4c79SSimon Xue		interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
876cede4c79SSimon Xue			     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
877df3bcde7SJeffy Chen		clocks = <&cru ACLK_VIDEO>, <&cru HCLK_VIDEO>;
878df3bcde7SJeffy Chen		clock-names = "aclk", "iface";
879cede4c79SSimon Xue		#iommu-cells = <0>;
880cede4c79SSimon Xue		status = "disabled";
881cede4c79SSimon Xue	};
882cede4c79SSimon Xue
883b394e70cSHeiko Stuebner	qos_iep: qos@ffad0000 {
884b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
885b394e70cSHeiko Stuebner		reg = <0x0 0xffad0000 0x0 0x20>;
886b394e70cSHeiko Stuebner	};
887b394e70cSHeiko Stuebner
888b394e70cSHeiko Stuebner	qos_isp_r0: qos@ffad0080 {
889b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
890b394e70cSHeiko Stuebner		reg = <0x0 0xffad0080 0x0 0x20>;
891b394e70cSHeiko Stuebner	};
892b394e70cSHeiko Stuebner
893b394e70cSHeiko Stuebner	qos_isp_r1: qos@ffad0100 {
894b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
895b394e70cSHeiko Stuebner		reg = <0x0 0xffad0100 0x0 0x20>;
896b394e70cSHeiko Stuebner	};
897b394e70cSHeiko Stuebner
898b394e70cSHeiko Stuebner	qos_isp_w0: qos@ffad0180 {
899b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
900b394e70cSHeiko Stuebner		reg = <0x0 0xffad0180 0x0 0x20>;
901b394e70cSHeiko Stuebner	};
902b394e70cSHeiko Stuebner
903b394e70cSHeiko Stuebner	qos_isp_w1: qos@ffad0200 {
904b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
905b394e70cSHeiko Stuebner		reg = <0x0 0xffad0200 0x0 0x20>;
906b394e70cSHeiko Stuebner	};
907b394e70cSHeiko Stuebner
908b394e70cSHeiko Stuebner	qos_vip: qos@ffad0280 {
909b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
910b394e70cSHeiko Stuebner		reg = <0x0 0xffad0280 0x0 0x20>;
911b394e70cSHeiko Stuebner	};
912b394e70cSHeiko Stuebner
913b394e70cSHeiko Stuebner	qos_vop: qos@ffad0300 {
914b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
915b394e70cSHeiko Stuebner		reg = <0x0 0xffad0300 0x0 0x20>;
916b394e70cSHeiko Stuebner	};
917b394e70cSHeiko Stuebner
918b394e70cSHeiko Stuebner	qos_rga_r: qos@ffad0380 {
919b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
920b394e70cSHeiko Stuebner		reg = <0x0 0xffad0380 0x0 0x20>;
921b394e70cSHeiko Stuebner	};
922b394e70cSHeiko Stuebner
923b394e70cSHeiko Stuebner	qos_rga_w: qos@ffad0400 {
924b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
925b394e70cSHeiko Stuebner		reg = <0x0 0xffad0400 0x0 0x20>;
926b394e70cSHeiko Stuebner	};
927b394e70cSHeiko Stuebner
928b394e70cSHeiko Stuebner	qos_hevc_r: qos@ffae0000 {
929b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
930b394e70cSHeiko Stuebner		reg = <0x0 0xffae0000 0x0 0x20>;
931b394e70cSHeiko Stuebner	};
932b394e70cSHeiko Stuebner
933b394e70cSHeiko Stuebner	qos_vpu_r: qos@ffae0100 {
934b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
935b394e70cSHeiko Stuebner		reg = <0x0 0xffae0100 0x0 0x20>;
936b394e70cSHeiko Stuebner	};
937b394e70cSHeiko Stuebner
938b394e70cSHeiko Stuebner	qos_vpu_w: qos@ffae0180 {
939b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
940b394e70cSHeiko Stuebner		reg = <0x0 0xffae0180 0x0 0x20>;
941b394e70cSHeiko Stuebner	};
942b394e70cSHeiko Stuebner
943b394e70cSHeiko Stuebner	qos_gpu: qos@ffaf0000 {
944b394e70cSHeiko Stuebner		compatible = "rockchip,rk3368-qos", "syscon";
945b394e70cSHeiko Stuebner		reg = <0x0 0xffaf0000 0x0 0x20>;
946b394e70cSHeiko Stuebner	};
947b394e70cSHeiko Stuebner
9486f8c5393SRomain Perier	efuse256: efuse@ffb00000 {
9496f8c5393SRomain Perier		compatible = "rockchip,rk3368-efuse";
9506f8c5393SRomain Perier		reg = <0x0 0xffb00000 0x0 0x20>;
9516f8c5393SRomain Perier		#address-cells = <1>;
9526f8c5393SRomain Perier		#size-cells = <1>;
9536f8c5393SRomain Perier		clocks = <&cru PCLK_EFUSE256>;
9546f8c5393SRomain Perier		clock-names = "pclk_efuse";
9556f8c5393SRomain Perier
9566f8c5393SRomain Perier		cpu_leakage: cpu-leakage@17 {
9576f8c5393SRomain Perier			reg = <0x17 0x1>;
9586f8c5393SRomain Perier		};
9596f8c5393SRomain Perier		temp_adjust: temp-adjust@1f {
9606f8c5393SRomain Perier			reg = <0x1f 0x1>;
9616f8c5393SRomain Perier		};
9626f8c5393SRomain Perier	};
9636f8c5393SRomain Perier
964b790c2caSHeiko Stübner	gic: interrupt-controller@ffb71000 {
965b790c2caSHeiko Stübner		compatible = "arm,gic-400";
966b790c2caSHeiko Stübner		interrupt-controller;
967b790c2caSHeiko Stübner		#interrupt-cells = <3>;
968b790c2caSHeiko Stübner		#address-cells = <0>;
969b790c2caSHeiko Stübner
970b790c2caSHeiko Stübner		reg = <0x0 0xffb71000 0x0 0x1000>,
971ad1cfdf5SCaesar Wang		      <0x0 0xffb72000 0x0 0x2000>,
972b790c2caSHeiko Stübner		      <0x0 0xffb74000 0x0 0x2000>,
973b790c2caSHeiko Stübner		      <0x0 0xffb76000 0x0 0x2000>;
974b790c2caSHeiko Stübner		interrupts = <GIC_PPI 9
975b790c2caSHeiko Stübner		      (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
976b790c2caSHeiko Stübner	};
977b790c2caSHeiko Stübner
978b790c2caSHeiko Stübner	pinctrl: pinctrl {
979b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-pinctrl";
980b790c2caSHeiko Stübner		rockchip,grf = <&grf>;
981b790c2caSHeiko Stübner		rockchip,pmu = <&pmugrf>;
982b790c2caSHeiko Stübner		#address-cells = <0x2>;
983b790c2caSHeiko Stübner		#size-cells = <0x2>;
984b790c2caSHeiko Stübner		ranges;
985b790c2caSHeiko Stübner
986ec3028e7SJohan Jonker		gpio0: gpio@ff750000 {
987b790c2caSHeiko Stübner			compatible = "rockchip,gpio-bank";
988b790c2caSHeiko Stübner			reg = <0x0 0xff750000 0x0 0x100>;
989b790c2caSHeiko Stübner			clocks = <&cru PCLK_GPIO0>;
990b790c2caSHeiko Stübner			interrupts = <GIC_SPI 0x51 IRQ_TYPE_LEVEL_HIGH>;
991b790c2caSHeiko Stübner
992b790c2caSHeiko Stübner			gpio-controller;
993b790c2caSHeiko Stübner			#gpio-cells = <0x2>;
994b790c2caSHeiko Stübner
995b790c2caSHeiko Stübner			interrupt-controller;
996b790c2caSHeiko Stübner			#interrupt-cells = <0x2>;
997b790c2caSHeiko Stübner		};
998b790c2caSHeiko Stübner
999ec3028e7SJohan Jonker		gpio1: gpio@ff780000 {
1000b790c2caSHeiko Stübner			compatible = "rockchip,gpio-bank";
1001b790c2caSHeiko Stübner			reg = <0x0 0xff780000 0x0 0x100>;
1002b790c2caSHeiko Stübner			clocks = <&cru PCLK_GPIO1>;
1003b790c2caSHeiko Stübner			interrupts = <GIC_SPI 0x52 IRQ_TYPE_LEVEL_HIGH>;
1004b790c2caSHeiko Stübner
1005b790c2caSHeiko Stübner			gpio-controller;
1006b790c2caSHeiko Stübner			#gpio-cells = <0x2>;
1007b790c2caSHeiko Stübner
1008b790c2caSHeiko Stübner			interrupt-controller;
1009b790c2caSHeiko Stübner			#interrupt-cells = <0x2>;
1010b790c2caSHeiko Stübner		};
1011b790c2caSHeiko Stübner
1012ec3028e7SJohan Jonker		gpio2: gpio@ff790000 {
1013b790c2caSHeiko Stübner			compatible = "rockchip,gpio-bank";
1014b790c2caSHeiko Stübner			reg = <0x0 0xff790000 0x0 0x100>;
1015b790c2caSHeiko Stübner			clocks = <&cru PCLK_GPIO2>;
1016b790c2caSHeiko Stübner			interrupts = <GIC_SPI 0x53 IRQ_TYPE_LEVEL_HIGH>;
1017b790c2caSHeiko Stübner
1018b790c2caSHeiko Stübner			gpio-controller;
1019b790c2caSHeiko Stübner			#gpio-cells = <0x2>;
1020b790c2caSHeiko Stübner
1021b790c2caSHeiko Stübner			interrupt-controller;
1022b790c2caSHeiko Stübner			#interrupt-cells = <0x2>;
1023b790c2caSHeiko Stübner		};
1024b790c2caSHeiko Stübner
1025ec3028e7SJohan Jonker		gpio3: gpio@ff7a0000 {
1026b790c2caSHeiko Stübner			compatible = "rockchip,gpio-bank";
1027b790c2caSHeiko Stübner			reg = <0x0 0xff7a0000 0x0 0x100>;
1028b790c2caSHeiko Stübner			clocks = <&cru PCLK_GPIO3>;
1029b790c2caSHeiko Stübner			interrupts = <GIC_SPI 0x54 IRQ_TYPE_LEVEL_HIGH>;
1030b790c2caSHeiko Stübner
1031b790c2caSHeiko Stübner			gpio-controller;
1032b790c2caSHeiko Stübner			#gpio-cells = <0x2>;
1033b790c2caSHeiko Stübner
1034b790c2caSHeiko Stübner			interrupt-controller;
1035b790c2caSHeiko Stübner			#interrupt-cells = <0x2>;
1036b790c2caSHeiko Stübner		};
1037b790c2caSHeiko Stübner
1038b790c2caSHeiko Stübner		pcfg_pull_up: pcfg-pull-up {
1039b790c2caSHeiko Stübner			bias-pull-up;
1040b790c2caSHeiko Stübner		};
1041b790c2caSHeiko Stübner
1042b790c2caSHeiko Stübner		pcfg_pull_down: pcfg-pull-down {
1043b790c2caSHeiko Stübner			bias-pull-down;
1044b790c2caSHeiko Stübner		};
1045b790c2caSHeiko Stübner
1046b790c2caSHeiko Stübner		pcfg_pull_none: pcfg-pull-none {
1047b790c2caSHeiko Stübner			bias-disable;
1048b790c2caSHeiko Stübner		};
1049b790c2caSHeiko Stübner
1050b790c2caSHeiko Stübner		pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1051b790c2caSHeiko Stübner			bias-disable;
1052b790c2caSHeiko Stübner			drive-strength = <12>;
1053b790c2caSHeiko Stübner		};
1054b790c2caSHeiko Stübner
1055b790c2caSHeiko Stübner		emmc {
1056b790c2caSHeiko Stübner			emmc_clk: emmc-clk {
1057d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>;
1058b790c2caSHeiko Stübner			};
1059b790c2caSHeiko Stübner
1060b790c2caSHeiko Stübner			emmc_cmd: emmc-cmd {
1061d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up>;
1062b790c2caSHeiko Stübner			};
1063b790c2caSHeiko Stübner
1064b790c2caSHeiko Stübner			emmc_pwr: emmc-pwr {
1065d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PD3 2 &pcfg_pull_up>;
1066b790c2caSHeiko Stübner			};
1067b790c2caSHeiko Stübner
1068b790c2caSHeiko Stübner			emmc_bus1: emmc-bus1 {
1069d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>;
1070b790c2caSHeiko Stübner			};
1071b790c2caSHeiko Stübner
1072b790c2caSHeiko Stübner			emmc_bus4: emmc-bus4 {
1073d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
1074d64420e8SHeiko Stuebner						<1 RK_PC3 2 &pcfg_pull_up>,
1075d64420e8SHeiko Stuebner						<1 RK_PC4 2 &pcfg_pull_up>,
1076d64420e8SHeiko Stuebner						<1 RK_PC5 2 &pcfg_pull_up>;
1077b790c2caSHeiko Stübner			};
1078b790c2caSHeiko Stübner
1079b790c2caSHeiko Stübner			emmc_bus8: emmc-bus8 {
1080d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
1081d64420e8SHeiko Stuebner						<1 RK_PC3 2 &pcfg_pull_up>,
1082d64420e8SHeiko Stuebner						<1 RK_PC4 2 &pcfg_pull_up>,
1083d64420e8SHeiko Stuebner						<1 RK_PC5 2 &pcfg_pull_up>,
1084d64420e8SHeiko Stuebner						<1 RK_PC6 2 &pcfg_pull_up>,
1085d64420e8SHeiko Stuebner						<1 RK_PC7 2 &pcfg_pull_up>,
1086d64420e8SHeiko Stuebner						<1 RK_PD0 2 &pcfg_pull_up>,
1087d64420e8SHeiko Stuebner						<1 RK_PD1 2 &pcfg_pull_up>;
1088b790c2caSHeiko Stübner			};
1089b790c2caSHeiko Stübner		};
1090b790c2caSHeiko Stübner
1091b790c2caSHeiko Stübner		gmac {
1092b790c2caSHeiko Stübner			rgmii_pins: rgmii-pins {
1093d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PC6 1 &pcfg_pull_none>,
1094d64420e8SHeiko Stuebner						<3 RK_PD0 1 &pcfg_pull_none>,
1095d64420e8SHeiko Stuebner						<3 RK_PC3 1 &pcfg_pull_none>,
1096d64420e8SHeiko Stuebner						<3 RK_PB0 1 &pcfg_pull_none_12ma>,
1097d64420e8SHeiko Stuebner						<3 RK_PB1 1 &pcfg_pull_none_12ma>,
1098d64420e8SHeiko Stuebner						<3 RK_PB2 1 &pcfg_pull_none_12ma>,
1099d64420e8SHeiko Stuebner						<3 RK_PB6 1 &pcfg_pull_none_12ma>,
1100d64420e8SHeiko Stuebner						<3 RK_PD4 1 &pcfg_pull_none_12ma>,
1101d64420e8SHeiko Stuebner						<3 RK_PB5 1 &pcfg_pull_none_12ma>,
1102d64420e8SHeiko Stuebner						<3 RK_PB7 1 &pcfg_pull_none>,
1103d64420e8SHeiko Stuebner						<3 RK_PC0 1 &pcfg_pull_none>,
1104d64420e8SHeiko Stuebner						<3 RK_PC1 1 &pcfg_pull_none>,
1105d64420e8SHeiko Stuebner						<3 RK_PC2 1 &pcfg_pull_none>,
1106d64420e8SHeiko Stuebner						<3 RK_PD1 1 &pcfg_pull_none>,
1107d64420e8SHeiko Stuebner						<3 RK_PC4 1 &pcfg_pull_none>;
1108b790c2caSHeiko Stübner			};
1109b790c2caSHeiko Stübner
1110b790c2caSHeiko Stübner			rmii_pins: rmii-pins {
1111d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PC6 1 &pcfg_pull_none>,
1112d64420e8SHeiko Stuebner						<3 RK_PD0 1 &pcfg_pull_none>,
1113d64420e8SHeiko Stuebner						<3 RK_PC3 1 &pcfg_pull_none>,
1114d64420e8SHeiko Stuebner						<3 RK_PB0 1 &pcfg_pull_none_12ma>,
1115d64420e8SHeiko Stuebner						<3 RK_PB1 1 &pcfg_pull_none_12ma>,
1116d64420e8SHeiko Stuebner						<3 RK_PB5 1 &pcfg_pull_none_12ma>,
1117d64420e8SHeiko Stuebner						<3 RK_PB7 1 &pcfg_pull_none>,
1118d64420e8SHeiko Stuebner						<3 RK_PC0 1 &pcfg_pull_none>,
1119d64420e8SHeiko Stuebner						<3 RK_PC4 1 &pcfg_pull_none>,
1120d64420e8SHeiko Stuebner						<3 RK_PC5 1 &pcfg_pull_none>;
1121b790c2caSHeiko Stübner			};
1122b790c2caSHeiko Stübner		};
1123b790c2caSHeiko Stübner
1124b790c2caSHeiko Stübner		i2c0 {
1125b790c2caSHeiko Stübner			i2c0_xfer: i2c0-xfer {
1126d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>,
1127d64420e8SHeiko Stuebner						<0 RK_PA7 1 &pcfg_pull_none>;
1128b790c2caSHeiko Stübner			};
1129b790c2caSHeiko Stübner		};
1130b790c2caSHeiko Stübner
1131b790c2caSHeiko Stübner		i2c1 {
1132b790c2caSHeiko Stübner			i2c1_xfer: i2c1-xfer {
1133d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PC5 1 &pcfg_pull_none>,
1134d64420e8SHeiko Stuebner						<2 RK_PC6 1 &pcfg_pull_none>;
1135b790c2caSHeiko Stübner			};
1136b790c2caSHeiko Stübner		};
1137b790c2caSHeiko Stübner
1138b790c2caSHeiko Stübner		i2c2 {
1139b790c2caSHeiko Stübner			i2c2_xfer: i2c2-xfer {
1140d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PB1 2 &pcfg_pull_none>,
1141d64420e8SHeiko Stuebner						<3 RK_PD7 2 &pcfg_pull_none>;
1142b790c2caSHeiko Stübner			};
1143b790c2caSHeiko Stübner		};
1144b790c2caSHeiko Stübner
1145b790c2caSHeiko Stübner		i2c3 {
1146b790c2caSHeiko Stübner			i2c3_xfer: i2c3-xfer {
1147d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>,
1148d64420e8SHeiko Stuebner						<1 RK_PC1 1 &pcfg_pull_none>;
1149b790c2caSHeiko Stübner			};
1150b790c2caSHeiko Stübner		};
1151b790c2caSHeiko Stübner
1152b790c2caSHeiko Stübner		i2c4 {
1153b790c2caSHeiko Stübner			i2c4_xfer: i2c4-xfer {
1154d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PD0 2 &pcfg_pull_none>,
1155d64420e8SHeiko Stuebner						<3 RK_PD1 2 &pcfg_pull_none>;
1156b790c2caSHeiko Stübner			};
1157b790c2caSHeiko Stübner		};
1158b790c2caSHeiko Stübner
1159b790c2caSHeiko Stübner		i2c5 {
1160b790c2caSHeiko Stübner			i2c5_xfer: i2c5-xfer {
1161d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PD2 2 &pcfg_pull_none>,
1162d64420e8SHeiko Stuebner						<3 RK_PD3 2 &pcfg_pull_none>;
1163b790c2caSHeiko Stübner			};
1164b790c2caSHeiko Stübner		};
1165b790c2caSHeiko Stübner
1166f7d89dfeSJianqun Xu		i2s {
1167f7d89dfeSJianqun Xu			i2s_8ch_bus: i2s-8ch-bus {
1168d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>,
1169d64420e8SHeiko Stuebner						<2 RK_PB5 1 &pcfg_pull_none>,
1170d64420e8SHeiko Stuebner						<2 RK_PB6 1 &pcfg_pull_none>,
1171d64420e8SHeiko Stuebner						<2 RK_PB7 1 &pcfg_pull_none>,
1172d64420e8SHeiko Stuebner						<2 RK_PC0 1 &pcfg_pull_none>,
1173d64420e8SHeiko Stuebner						<2 RK_PC1 1 &pcfg_pull_none>,
1174d64420e8SHeiko Stuebner						<2 RK_PC2 1 &pcfg_pull_none>,
1175d64420e8SHeiko Stuebner						<2 RK_PC3 1 &pcfg_pull_none>,
1176d64420e8SHeiko Stuebner						<2 RK_PC4 1 &pcfg_pull_none>;
1177f7d89dfeSJianqun Xu			};
1178f7d89dfeSJianqun Xu		};
1179f7d89dfeSJianqun Xu
1180fa54322aSCaesar Wang		pwm0 {
1181fa54322aSCaesar Wang			pwm0_pin: pwm0-pin {
1182d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PB0 2 &pcfg_pull_none>;
1183fa54322aSCaesar Wang			};
1184fa54322aSCaesar Wang		};
1185fa54322aSCaesar Wang
1186fa54322aSCaesar Wang		pwm1 {
1187fa54322aSCaesar Wang			pwm1_pin: pwm1-pin {
1188d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PB0 2 &pcfg_pull_none>;
1189fa54322aSCaesar Wang			};
1190fa54322aSCaesar Wang		};
1191fa54322aSCaesar Wang
1192fa54322aSCaesar Wang		pwm3 {
1193fa54322aSCaesar Wang			pwm3_pin: pwm3-pin {
1194d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PD5 3 &pcfg_pull_none>;
1195fa54322aSCaesar Wang			};
1196fa54322aSCaesar Wang		};
1197fa54322aSCaesar Wang
1198b790c2caSHeiko Stübner		sdio0 {
1199b790c2caSHeiko Stübner			sdio0_bus1: sdio0-bus1 {
1200d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PD4 1 &pcfg_pull_up>;
1201b790c2caSHeiko Stübner			};
1202b790c2caSHeiko Stübner
1203b790c2caSHeiko Stübner			sdio0_bus4: sdio0-bus4 {
1204d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PD4 1 &pcfg_pull_up>,
1205d64420e8SHeiko Stuebner						<2 RK_PD5 1 &pcfg_pull_up>,
1206d64420e8SHeiko Stuebner						<2 RK_PD6 1 &pcfg_pull_up>,
1207d64420e8SHeiko Stuebner						<2 RK_PD7 1 &pcfg_pull_up>;
1208b790c2caSHeiko Stübner			};
1209b790c2caSHeiko Stübner
1210b790c2caSHeiko Stübner			sdio0_cmd: sdio0-cmd {
1211d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PA0 1 &pcfg_pull_up>;
1212b790c2caSHeiko Stübner			};
1213b790c2caSHeiko Stübner
1214b790c2caSHeiko Stübner			sdio0_clk: sdio0-clk {
1215d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PA1 1 &pcfg_pull_none>;
1216b790c2caSHeiko Stübner			};
1217b790c2caSHeiko Stübner
1218b790c2caSHeiko Stübner			sdio0_cd: sdio0-cd {
1219d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PA2 1 &pcfg_pull_up>;
1220b790c2caSHeiko Stübner			};
1221b790c2caSHeiko Stübner
1222b790c2caSHeiko Stübner			sdio0_wp: sdio0-wp {
1223d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PA3 1 &pcfg_pull_up>;
1224b790c2caSHeiko Stübner			};
1225b790c2caSHeiko Stübner
1226b790c2caSHeiko Stübner			sdio0_pwr: sdio0-pwr {
1227d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PA4 1 &pcfg_pull_up>;
1228b790c2caSHeiko Stübner			};
1229b790c2caSHeiko Stübner
1230b790c2caSHeiko Stübner			sdio0_bkpwr: sdio0-bkpwr {
1231d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PA5 1 &pcfg_pull_up>;
1232b790c2caSHeiko Stübner			};
1233b790c2caSHeiko Stübner
1234b790c2caSHeiko Stübner			sdio0_int: sdio0-int {
1235d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PA6 1 &pcfg_pull_up>;
1236b790c2caSHeiko Stübner			};
1237b790c2caSHeiko Stübner		};
1238b790c2caSHeiko Stübner
1239b790c2caSHeiko Stübner		sdmmc {
1240b790c2caSHeiko Stübner			sdmmc_clk: sdmmc-clk {
1241d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>;
1242b790c2caSHeiko Stübner			};
1243b790c2caSHeiko Stübner
1244b790c2caSHeiko Stübner			sdmmc_cmd: sdmmc-cmd {
1245d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up>;
1246b790c2caSHeiko Stübner			};
1247b790c2caSHeiko Stübner
12488fc5abd4SMatthias Brugger			sdmmc_cd: sdmmc-cd {
1249d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up>;
1250b790c2caSHeiko Stübner			};
1251b790c2caSHeiko Stübner
1252b790c2caSHeiko Stübner			sdmmc_bus1: sdmmc-bus1 {
1253d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up>;
1254b790c2caSHeiko Stübner			};
1255b790c2caSHeiko Stübner
1256b790c2caSHeiko Stübner			sdmmc_bus4: sdmmc-bus4 {
1257d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up>,
1258d64420e8SHeiko Stuebner						<2 RK_PA6 1 &pcfg_pull_up>,
1259d64420e8SHeiko Stuebner						<2 RK_PA7 1 &pcfg_pull_up>,
1260d64420e8SHeiko Stuebner						<2 RK_PB0 1 &pcfg_pull_up>;
1261b790c2caSHeiko Stübner			};
1262b790c2caSHeiko Stübner		};
1263b790c2caSHeiko Stübner
12640328d68eSSugar Zhang		spdif {
12650328d68eSSugar Zhang			spdif_tx: spdif-tx {
1266d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PC7 1 &pcfg_pull_none>;
12670328d68eSSugar Zhang			};
12680328d68eSSugar Zhang		};
12690328d68eSSugar Zhang
1270b790c2caSHeiko Stübner		spi0 {
1271b790c2caSHeiko Stübner			spi0_clk: spi0-clk {
1272d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PD5 2 &pcfg_pull_up>;
1273b790c2caSHeiko Stübner			};
1274b790c2caSHeiko Stübner			spi0_cs0: spi0-cs0 {
1275d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PD0 3 &pcfg_pull_up>;
1276b790c2caSHeiko Stübner			};
1277b790c2caSHeiko Stübner			spi0_cs1: spi0-cs1 {
1278d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PD1 3 &pcfg_pull_up>;
1279b790c2caSHeiko Stübner			};
1280b790c2caSHeiko Stübner			spi0_tx: spi0-tx {
1281d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PC7 3 &pcfg_pull_up>;
1282b790c2caSHeiko Stübner			};
1283b790c2caSHeiko Stübner			spi0_rx: spi0-rx {
1284d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PC6 3 &pcfg_pull_up>;
1285b790c2caSHeiko Stübner			};
1286b790c2caSHeiko Stübner		};
1287b790c2caSHeiko Stübner
1288b790c2caSHeiko Stübner		spi1 {
1289b790c2caSHeiko Stübner			spi1_clk: spi1-clk {
1290d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PB6 2 &pcfg_pull_up>;
1291b790c2caSHeiko Stübner			};
1292b790c2caSHeiko Stübner			spi1_cs0: spi1-cs0 {
1293d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PB7 2 &pcfg_pull_up>;
1294b790c2caSHeiko Stübner			};
1295b790c2caSHeiko Stübner			spi1_cs1: spi1-cs1 {
1296d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PD4 2 &pcfg_pull_up>;
1297b790c2caSHeiko Stübner			};
1298b790c2caSHeiko Stübner			spi1_rx: spi1-rx {
1299d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PC0 2 &pcfg_pull_up>;
1300b790c2caSHeiko Stübner			};
1301b790c2caSHeiko Stübner			spi1_tx: spi1-tx {
1302d64420e8SHeiko Stuebner				rockchip,pins = <1 RK_PC1 2 &pcfg_pull_up>;
1303b790c2caSHeiko Stübner			};
1304b790c2caSHeiko Stübner		};
1305b790c2caSHeiko Stübner
1306b790c2caSHeiko Stübner		spi2 {
1307b790c2caSHeiko Stübner			spi2_clk: spi2-clk {
1308d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PB4 2 &pcfg_pull_up>;
1309b790c2caSHeiko Stübner			};
1310b790c2caSHeiko Stübner			spi2_cs0: spi2-cs0 {
1311d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PB5 2 &pcfg_pull_up>;
1312b790c2caSHeiko Stübner			};
1313b790c2caSHeiko Stübner			spi2_rx: spi2-rx {
1314d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PB2 2 &pcfg_pull_up>;
1315b790c2caSHeiko Stübner			};
1316b790c2caSHeiko Stübner			spi2_tx: spi2-tx {
1317d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PB3 2 &pcfg_pull_up>;
1318b790c2caSHeiko Stübner			};
1319b790c2caSHeiko Stübner		};
1320b790c2caSHeiko Stübner
1321f990238fSCaesar Wang		tsadc {
13222bc65fefSJohan Jonker			otp_pin: otp-pin {
1323d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
1324f990238fSCaesar Wang			};
1325f990238fSCaesar Wang
1326f990238fSCaesar Wang			otp_out: otp-out {
1327d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PA3 1 &pcfg_pull_none>;
1328f990238fSCaesar Wang			};
1329f990238fSCaesar Wang		};
1330f990238fSCaesar Wang
1331b790c2caSHeiko Stübner		uart0 {
1332b790c2caSHeiko Stübner			uart0_xfer: uart0-xfer {
1333d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PD0 1 &pcfg_pull_up>,
1334d64420e8SHeiko Stuebner						<2 RK_PD1 1 &pcfg_pull_none>;
1335b790c2caSHeiko Stübner			};
1336b790c2caSHeiko Stübner
1337b790c2caSHeiko Stübner			uart0_cts: uart0-cts {
1338d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PD2 1 &pcfg_pull_none>;
1339b790c2caSHeiko Stübner			};
1340b790c2caSHeiko Stübner
1341b790c2caSHeiko Stübner			uart0_rts: uart0-rts {
1342d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PD3 1 &pcfg_pull_none>;
1343b790c2caSHeiko Stübner			};
1344b790c2caSHeiko Stübner		};
1345b790c2caSHeiko Stübner
1346b790c2caSHeiko Stübner		uart1 {
1347b790c2caSHeiko Stübner			uart1_xfer: uart1-xfer {
1348d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PC4 3 &pcfg_pull_up>,
1349d64420e8SHeiko Stuebner						<0 RK_PC5 3 &pcfg_pull_none>;
1350b790c2caSHeiko Stübner			};
1351b790c2caSHeiko Stübner
1352b790c2caSHeiko Stübner			uart1_cts: uart1-cts {
1353d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PC6 3 &pcfg_pull_none>;
1354b790c2caSHeiko Stübner			};
1355b790c2caSHeiko Stübner
1356b790c2caSHeiko Stübner			uart1_rts: uart1-rts {
1357d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PC7 3 &pcfg_pull_none>;
1358b790c2caSHeiko Stübner			};
1359b790c2caSHeiko Stübner		};
1360b790c2caSHeiko Stübner
1361b790c2caSHeiko Stübner		uart2 {
1362b790c2caSHeiko Stübner			uart2_xfer: uart2-xfer {
1363d64420e8SHeiko Stuebner				rockchip,pins = <2 RK_PA6 2 &pcfg_pull_up>,
1364d64420e8SHeiko Stuebner						<2 RK_PA5 2 &pcfg_pull_none>;
1365b790c2caSHeiko Stübner			};
1366b790c2caSHeiko Stübner			/* no rts / cts for uart2 */
1367b790c2caSHeiko Stübner		};
1368b790c2caSHeiko Stübner
1369b790c2caSHeiko Stübner		uart3 {
1370b790c2caSHeiko Stübner			uart3_xfer: uart3-xfer {
1371d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PD5 2 &pcfg_pull_up>,
1372d64420e8SHeiko Stuebner						<3 RK_PD6 3 &pcfg_pull_none>;
1373b790c2caSHeiko Stübner			};
1374b790c2caSHeiko Stübner
1375b790c2caSHeiko Stübner			uart3_cts: uart3-cts {
1376d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>;
1377b790c2caSHeiko Stübner			};
1378b790c2caSHeiko Stübner
1379b790c2caSHeiko Stübner			uart3_rts: uart3-rts {
1380d64420e8SHeiko Stuebner				rockchip,pins = <3 RK_PC1 2 &pcfg_pull_none>;
1381b790c2caSHeiko Stübner			};
1382b790c2caSHeiko Stübner		};
1383b790c2caSHeiko Stübner
1384b790c2caSHeiko Stübner		uart4 {
1385b790c2caSHeiko Stübner			uart4_xfer: uart4-xfer {
1386d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PD3 3 &pcfg_pull_up>,
1387d64420e8SHeiko Stuebner						<0 RK_PD2 3 &pcfg_pull_none>;
1388b790c2caSHeiko Stübner			};
1389b790c2caSHeiko Stübner
1390b790c2caSHeiko Stübner			uart4_cts: uart4-cts {
1391d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PD0 3 &pcfg_pull_none>;
1392b790c2caSHeiko Stübner			};
1393b790c2caSHeiko Stübner
1394b790c2caSHeiko Stübner			uart4_rts: uart4-rts {
1395d64420e8SHeiko Stuebner				rockchip,pins = <0 RK_PD1 3 &pcfg_pull_none>;
1396b790c2caSHeiko Stübner			};
1397b790c2caSHeiko Stübner		};
1398b790c2caSHeiko Stübner	};
1399b790c2caSHeiko Stübner};
1400