xref: /linux/arch/arm64/boot/dts/rockchip/rk3368.dtsi (revision 6e7f9f5ad552327fcc1151e2dca141075f3e160a)
1b790c2caSHeiko Stübner/*
2b790c2caSHeiko Stübner * Copyright (c) 2015 Heiko Stuebner <heiko@sntech.de>
3b790c2caSHeiko Stübner *
4b790c2caSHeiko Stübner * This file is dual-licensed: you can use it either under the terms
5b790c2caSHeiko Stübner * of the GPL or the X11 license, at your option. Note that this dual
6b790c2caSHeiko Stübner * licensing only applies to this file, and not this project as a
7b790c2caSHeiko Stübner * whole.
8b790c2caSHeiko Stübner *
9b790c2caSHeiko Stübner *  a) This library is free software; you can redistribute it and/or
10b790c2caSHeiko Stübner *     modify it under the terms of the GNU General Public License as
11b790c2caSHeiko Stübner *     published by the Free Software Foundation; either version 2 of the
12b790c2caSHeiko Stübner *     License, or (at your option) any later version.
13b790c2caSHeiko Stübner *
14b790c2caSHeiko Stübner *     This library is distributed in the hope that it will be useful,
15b790c2caSHeiko Stübner *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16b790c2caSHeiko Stübner *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17b790c2caSHeiko Stübner *     GNU General Public License for more details.
18b790c2caSHeiko Stübner *
19b790c2caSHeiko Stübner * Or, alternatively,
20b790c2caSHeiko Stübner *
21b790c2caSHeiko Stübner *  b) Permission is hereby granted, free of charge, to any person
22b790c2caSHeiko Stübner *     obtaining a copy of this software and associated documentation
23b790c2caSHeiko Stübner *     files (the "Software"), to deal in the Software without
24b790c2caSHeiko Stübner *     restriction, including without limitation the rights to use,
25b790c2caSHeiko Stübner *     copy, modify, merge, publish, distribute, sublicense, and/or
26b790c2caSHeiko Stübner *     sell copies of the Software, and to permit persons to whom the
27b790c2caSHeiko Stübner *     Software is furnished to do so, subject to the following
28b790c2caSHeiko Stübner *     conditions:
29b790c2caSHeiko Stübner *
30b790c2caSHeiko Stübner *     The above copyright notice and this permission notice shall be
31b790c2caSHeiko Stübner *     included in all copies or substantial portions of the Software.
32b790c2caSHeiko Stübner *
33b790c2caSHeiko Stübner *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34b790c2caSHeiko Stübner *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35b790c2caSHeiko Stübner *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36b790c2caSHeiko Stübner *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37b790c2caSHeiko Stübner *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38b790c2caSHeiko Stübner *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39b790c2caSHeiko Stübner *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40b790c2caSHeiko Stübner *     OTHER DEALINGS IN THE SOFTWARE.
41b790c2caSHeiko Stübner */
42b790c2caSHeiko Stübner
43b790c2caSHeiko Stübner#include <dt-bindings/clock/rk3368-cru.h>
44b790c2caSHeiko Stübner#include <dt-bindings/gpio/gpio.h>
45b790c2caSHeiko Stübner#include <dt-bindings/interrupt-controller/irq.h>
46b790c2caSHeiko Stübner#include <dt-bindings/interrupt-controller/arm-gic.h>
47b790c2caSHeiko Stübner#include <dt-bindings/pinctrl/rockchip.h>
48f990238fSCaesar Wang#include <dt-bindings/thermal/thermal.h>
49b790c2caSHeiko Stübner
50b790c2caSHeiko Stübner/ {
51b790c2caSHeiko Stübner	compatible = "rockchip,rk3368";
52b790c2caSHeiko Stübner	interrupt-parent = <&gic>;
53b790c2caSHeiko Stübner	#address-cells = <2>;
54b790c2caSHeiko Stübner	#size-cells = <2>;
55b790c2caSHeiko Stübner
56b790c2caSHeiko Stübner	aliases {
57ff08868eSHeiko Stuebner		ethernet0 = &gmac;
58b790c2caSHeiko Stübner		i2c0 = &i2c0;
59b790c2caSHeiko Stübner		i2c1 = &i2c1;
60b790c2caSHeiko Stübner		i2c2 = &i2c2;
61b790c2caSHeiko Stübner		i2c3 = &i2c3;
62b790c2caSHeiko Stübner		i2c4 = &i2c4;
63b790c2caSHeiko Stübner		i2c5 = &i2c5;
64b790c2caSHeiko Stübner		serial0 = &uart0;
65b790c2caSHeiko Stübner		serial1 = &uart1;
66b790c2caSHeiko Stübner		serial2 = &uart2;
67b790c2caSHeiko Stübner		serial3 = &uart3;
68b790c2caSHeiko Stübner		serial4 = &uart4;
69b790c2caSHeiko Stübner		spi0 = &spi0;
70b790c2caSHeiko Stübner		spi1 = &spi1;
71b790c2caSHeiko Stübner		spi2 = &spi2;
72b790c2caSHeiko Stübner	};
73b790c2caSHeiko Stübner
74b790c2caSHeiko Stübner	cpus {
75b790c2caSHeiko Stübner		#address-cells = <0x2>;
76b790c2caSHeiko Stübner		#size-cells = <0x0>;
77b790c2caSHeiko Stübner
78b790c2caSHeiko Stübner		cpu-map {
79b790c2caSHeiko Stübner			cluster0 {
80b790c2caSHeiko Stübner				core0 {
81b790c2caSHeiko Stübner					cpu = <&cpu_b0>;
82b790c2caSHeiko Stübner				};
83b790c2caSHeiko Stübner				core1 {
84b790c2caSHeiko Stübner					cpu = <&cpu_b1>;
85b790c2caSHeiko Stübner				};
86b790c2caSHeiko Stübner				core2 {
87b790c2caSHeiko Stübner					cpu = <&cpu_b2>;
88b790c2caSHeiko Stübner				};
89b790c2caSHeiko Stübner				core3 {
90b790c2caSHeiko Stübner					cpu = <&cpu_b3>;
91b790c2caSHeiko Stübner				};
92b790c2caSHeiko Stübner			};
93b790c2caSHeiko Stübner
94b790c2caSHeiko Stübner			cluster1 {
95b790c2caSHeiko Stübner				core0 {
96b790c2caSHeiko Stübner					cpu = <&cpu_l0>;
97b790c2caSHeiko Stübner				};
98b790c2caSHeiko Stübner				core1 {
99b790c2caSHeiko Stübner					cpu = <&cpu_l1>;
100b790c2caSHeiko Stübner				};
101b790c2caSHeiko Stübner				core2 {
102b790c2caSHeiko Stübner					cpu = <&cpu_l2>;
103b790c2caSHeiko Stübner				};
104b790c2caSHeiko Stübner				core3 {
105b790c2caSHeiko Stübner					cpu = <&cpu_l3>;
106b790c2caSHeiko Stübner				};
107b790c2caSHeiko Stübner			};
108b790c2caSHeiko Stübner		};
109b790c2caSHeiko Stübner
110b790c2caSHeiko Stübner		idle-states {
111a13f18f5SLorenzo Pieralisi			entry-method = "psci";
112b790c2caSHeiko Stübner
113b790c2caSHeiko Stübner			cpu_sleep: cpu-sleep-0 {
114b790c2caSHeiko Stübner				compatible = "arm,idle-state";
115b790c2caSHeiko Stübner				arm,psci-suspend-param = <0x1010000>;
116b790c2caSHeiko Stübner				entry-latency-us = <0x3fffffff>;
117b790c2caSHeiko Stübner				exit-latency-us = <0x40000000>;
118b790c2caSHeiko Stübner				min-residency-us = <0xffffffff>;
119b790c2caSHeiko Stübner			};
120b790c2caSHeiko Stübner		};
121b790c2caSHeiko Stübner
122b790c2caSHeiko Stübner		cpu_l0: cpu@0 {
123b790c2caSHeiko Stübner			device_type = "cpu";
124b790c2caSHeiko Stübner			compatible = "arm,cortex-a53", "arm,armv8";
125b790c2caSHeiko Stübner			reg = <0x0 0x0>;
126b790c2caSHeiko Stübner			cpu-idle-states = <&cpu_sleep>;
127b790c2caSHeiko Stübner			enable-method = "psci";
128f990238fSCaesar Wang
129f990238fSCaesar Wang			#cooling-cells = <2>; /* min followed by max */
130b790c2caSHeiko Stübner		};
131b790c2caSHeiko Stübner
132b790c2caSHeiko Stübner		cpu_l1: cpu@1 {
133b790c2caSHeiko Stübner			device_type = "cpu";
134b790c2caSHeiko Stübner			compatible = "arm,cortex-a53", "arm,armv8";
135b790c2caSHeiko Stübner			reg = <0x0 0x1>;
136b790c2caSHeiko Stübner			cpu-idle-states = <&cpu_sleep>;
137b790c2caSHeiko Stübner			enable-method = "psci";
138b790c2caSHeiko Stübner		};
139b790c2caSHeiko Stübner
140b790c2caSHeiko Stübner		cpu_l2: cpu@2 {
141b790c2caSHeiko Stübner			device_type = "cpu";
142b790c2caSHeiko Stübner			compatible = "arm,cortex-a53", "arm,armv8";
143b790c2caSHeiko Stübner			reg = <0x0 0x2>;
144b790c2caSHeiko Stübner			cpu-idle-states = <&cpu_sleep>;
145b790c2caSHeiko Stübner			enable-method = "psci";
146b790c2caSHeiko Stübner		};
147b790c2caSHeiko Stübner
148b790c2caSHeiko Stübner		cpu_l3: cpu@3 {
149b790c2caSHeiko Stübner			device_type = "cpu";
150b790c2caSHeiko Stübner			compatible = "arm,cortex-a53", "arm,armv8";
151b790c2caSHeiko Stübner			reg = <0x0 0x3>;
152b790c2caSHeiko Stübner			cpu-idle-states = <&cpu_sleep>;
153b790c2caSHeiko Stübner			enable-method = "psci";
154b790c2caSHeiko Stübner		};
155b790c2caSHeiko Stübner
156b790c2caSHeiko Stübner		cpu_b0: cpu@100 {
157b790c2caSHeiko Stübner			device_type = "cpu";
158b790c2caSHeiko Stübner			compatible = "arm,cortex-a53", "arm,armv8";
159b790c2caSHeiko Stübner			reg = <0x0 0x100>;
160b790c2caSHeiko Stübner			cpu-idle-states = <&cpu_sleep>;
161b790c2caSHeiko Stübner			enable-method = "psci";
162f990238fSCaesar Wang
163f990238fSCaesar Wang			#cooling-cells = <2>; /* min followed by max */
164b790c2caSHeiko Stübner		};
165b790c2caSHeiko Stübner
166b790c2caSHeiko Stübner		cpu_b1: cpu@101 {
167b790c2caSHeiko Stübner			device_type = "cpu";
168b790c2caSHeiko Stübner			compatible = "arm,cortex-a53", "arm,armv8";
169b790c2caSHeiko Stübner			reg = <0x0 0x101>;
170b790c2caSHeiko Stübner			cpu-idle-states = <&cpu_sleep>;
171b790c2caSHeiko Stübner			enable-method = "psci";
172b790c2caSHeiko Stübner		};
173b790c2caSHeiko Stübner
174b790c2caSHeiko Stübner		cpu_b2: cpu@102 {
175b790c2caSHeiko Stübner			device_type = "cpu";
176b790c2caSHeiko Stübner			compatible = "arm,cortex-a53", "arm,armv8";
177b790c2caSHeiko Stübner			reg = <0x0 0x102>;
178b790c2caSHeiko Stübner			cpu-idle-states = <&cpu_sleep>;
179b790c2caSHeiko Stübner			enable-method = "psci";
180b790c2caSHeiko Stübner		};
181b790c2caSHeiko Stübner
182b790c2caSHeiko Stübner		cpu_b3: cpu@103 {
183b790c2caSHeiko Stübner			device_type = "cpu";
184b790c2caSHeiko Stübner			compatible = "arm,cortex-a53", "arm,armv8";
185b790c2caSHeiko Stübner			reg = <0x0 0x103>;
186b790c2caSHeiko Stübner			cpu-idle-states = <&cpu_sleep>;
187b790c2caSHeiko Stübner			enable-method = "psci";
188b790c2caSHeiko Stübner		};
189b790c2caSHeiko Stübner	};
190b790c2caSHeiko Stübner
191b790c2caSHeiko Stübner	arm-pmu {
192b790c2caSHeiko Stübner		compatible = "arm,armv8-pmuv3";
193b790c2caSHeiko Stübner		interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
194b790c2caSHeiko Stübner			     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
195b790c2caSHeiko Stübner			     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
196b790c2caSHeiko Stübner			     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
197b790c2caSHeiko Stübner			     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
198b790c2caSHeiko Stübner			     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
199b790c2caSHeiko Stübner			     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
200b790c2caSHeiko Stübner			     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
201b790c2caSHeiko Stübner		interrupt-affinity = <&cpu_l0>, <&cpu_l1>, <&cpu_l2>,
202b790c2caSHeiko Stübner				     <&cpu_l3>, <&cpu_b0>, <&cpu_b1>,
203b790c2caSHeiko Stübner				     <&cpu_b2>, <&cpu_b3>;
204b790c2caSHeiko Stübner	};
205b790c2caSHeiko Stübner
206b790c2caSHeiko Stübner	psci {
207b790c2caSHeiko Stübner		compatible = "arm,psci-0.2";
208b790c2caSHeiko Stübner		method = "smc";
209b790c2caSHeiko Stübner	};
210b790c2caSHeiko Stübner
211b790c2caSHeiko Stübner	timer {
212b790c2caSHeiko Stübner		compatible = "arm,armv8-timer";
213b790c2caSHeiko Stübner		interrupts = <GIC_PPI 13
214b790c2caSHeiko Stübner			(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
215b790c2caSHeiko Stübner			     <GIC_PPI 14
216b790c2caSHeiko Stübner			(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
217b790c2caSHeiko Stübner			     <GIC_PPI 11
218b790c2caSHeiko Stübner			(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>,
219b790c2caSHeiko Stübner			     <GIC_PPI 10
220b790c2caSHeiko Stübner			(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
221b790c2caSHeiko Stübner	};
222b790c2caSHeiko Stübner
223b790c2caSHeiko Stübner	xin24m: oscillator {
224b790c2caSHeiko Stübner		compatible = "fixed-clock";
225b790c2caSHeiko Stübner		clock-frequency = <24000000>;
226b790c2caSHeiko Stübner		clock-output-names = "xin24m";
227b790c2caSHeiko Stübner		#clock-cells = <0>;
228b790c2caSHeiko Stübner	};
229b790c2caSHeiko Stübner
230b790c2caSHeiko Stübner	sdmmc: dwmmc@ff0c0000 {
231b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
232b790c2caSHeiko Stübner		reg = <0x0 0xff0c0000 0x0 0x4000>;
233b790c2caSHeiko Stübner		clock-freq-min-max = <400000 150000000>;
23490191625SShawn Lin		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
23590191625SShawn Lin			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
23690191625SShawn Lin		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
237b790c2caSHeiko Stübner		fifo-depth = <0x100>;
238b790c2caSHeiko Stübner		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
239b790c2caSHeiko Stübner		status = "disabled";
240b790c2caSHeiko Stübner	};
241b790c2caSHeiko Stübner
242b790c2caSHeiko Stübner	sdio0: dwmmc@ff0d0000 {
243b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
244b790c2caSHeiko Stübner		reg = <0x0 0xff0d0000 0x0 0x4000>;
245b790c2caSHeiko Stübner		clock-freq-min-max = <400000 150000000>;
246b790c2caSHeiko Stübner		clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>,
247b790c2caSHeiko Stübner			 <&cru SCLK_SDIO0_DRV>, <&cru SCLK_SDIO0_SAMPLE>;
248b790c2caSHeiko Stübner		clock-names = "biu", "ciu", "ciu_drv", "ciu_sample";
249b790c2caSHeiko Stübner		fifo-depth = <0x100>;
250b790c2caSHeiko Stübner		interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
251b790c2caSHeiko Stübner		status = "disabled";
252b790c2caSHeiko Stübner	};
253b790c2caSHeiko Stübner
254b790c2caSHeiko Stübner	emmc: dwmmc@ff0f0000 {
255b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
256b790c2caSHeiko Stübner		reg = <0x0 0xff0f0000 0x0 0x4000>;
257b790c2caSHeiko Stübner		clock-freq-min-max = <400000 150000000>;
25890191625SShawn Lin		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
25990191625SShawn Lin			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
26090191625SShawn Lin		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
261b790c2caSHeiko Stübner		fifo-depth = <0x100>;
262b790c2caSHeiko Stübner		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
263b790c2caSHeiko Stübner		status = "disabled";
264b790c2caSHeiko Stübner	};
265b790c2caSHeiko Stübner
266b790c2caSHeiko Stübner	saradc: saradc@ff100000 {
267b790c2caSHeiko Stübner		compatible = "rockchip,saradc";
268b790c2caSHeiko Stübner		reg = <0x0 0xff100000 0x0 0x100>;
269b790c2caSHeiko Stübner		interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
270b790c2caSHeiko Stübner		#io-channel-cells = <1>;
271b790c2caSHeiko Stübner		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
272b790c2caSHeiko Stübner		clock-names = "saradc", "apb_pclk";
273b790c2caSHeiko Stübner		status = "disabled";
274b790c2caSHeiko Stübner	};
275b790c2caSHeiko Stübner
276b790c2caSHeiko Stübner	spi0: spi@ff110000 {
277b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
278b790c2caSHeiko Stübner		reg = <0x0 0xff110000 0x0 0x1000>;
279b790c2caSHeiko Stübner		clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
280b790c2caSHeiko Stübner		clock-names = "spiclk", "apb_pclk";
281b790c2caSHeiko Stübner		interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
282b790c2caSHeiko Stübner		pinctrl-names = "default";
283b790c2caSHeiko Stübner		pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
284b790c2caSHeiko Stübner		#address-cells = <1>;
285b790c2caSHeiko Stübner		#size-cells = <0>;
286b790c2caSHeiko Stübner		status = "disabled";
287b790c2caSHeiko Stübner	};
288b790c2caSHeiko Stübner
289b790c2caSHeiko Stübner	spi1: spi@ff120000 {
290b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
291b790c2caSHeiko Stübner		reg = <0x0 0xff120000 0x0 0x1000>;
292b790c2caSHeiko Stübner		clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
293b790c2caSHeiko Stübner		clock-names = "spiclk", "apb_pclk";
294b790c2caSHeiko Stübner		interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
295b790c2caSHeiko Stübner		pinctrl-names = "default";
296b790c2caSHeiko Stübner		pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
297b790c2caSHeiko Stübner		#address-cells = <1>;
298b790c2caSHeiko Stübner		#size-cells = <0>;
299b790c2caSHeiko Stübner		status = "disabled";
300b790c2caSHeiko Stübner	};
301b790c2caSHeiko Stübner
302b790c2caSHeiko Stübner	spi2: spi@ff130000 {
303b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
304b790c2caSHeiko Stübner		reg = <0x0 0xff130000 0x0 0x1000>;
305b790c2caSHeiko Stübner		clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
306b790c2caSHeiko Stübner		clock-names = "spiclk", "apb_pclk";
307b790c2caSHeiko Stübner		interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
308b790c2caSHeiko Stübner		pinctrl-names = "default";
309b790c2caSHeiko Stübner		pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
310b790c2caSHeiko Stübner		#address-cells = <1>;
311b790c2caSHeiko Stübner		#size-cells = <0>;
312b790c2caSHeiko Stübner		status = "disabled";
313b790c2caSHeiko Stübner	};
314b790c2caSHeiko Stübner
315b790c2caSHeiko Stübner	i2c1: i2c@ff140000 {
316b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
317b790c2caSHeiko Stübner		reg = <0x0 0xff140000 0x0 0x1000>;
318b790c2caSHeiko Stübner		interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
319b790c2caSHeiko Stübner		#address-cells = <1>;
320b790c2caSHeiko Stübner		#size-cells = <0>;
321b790c2caSHeiko Stübner		clock-names = "i2c";
322b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C1>;
323b790c2caSHeiko Stübner		pinctrl-names = "default";
324b790c2caSHeiko Stübner		pinctrl-0 = <&i2c1_xfer>;
325b790c2caSHeiko Stübner		status = "disabled";
326b790c2caSHeiko Stübner	};
327b790c2caSHeiko Stübner
328b790c2caSHeiko Stübner	i2c3: i2c@ff150000 {
329b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
330b790c2caSHeiko Stübner		reg = <0x0 0xff150000 0x0 0x1000>;
331b790c2caSHeiko Stübner		interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
332b790c2caSHeiko Stübner		#address-cells = <1>;
333b790c2caSHeiko Stübner		#size-cells = <0>;
334b790c2caSHeiko Stübner		clock-names = "i2c";
335b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C3>;
336b790c2caSHeiko Stübner		pinctrl-names = "default";
337b790c2caSHeiko Stübner		pinctrl-0 = <&i2c3_xfer>;
338b790c2caSHeiko Stübner		status = "disabled";
339b790c2caSHeiko Stübner	};
340b790c2caSHeiko Stübner
341b790c2caSHeiko Stübner	i2c4: i2c@ff160000 {
342b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
343b790c2caSHeiko Stübner		reg = <0x0 0xff160000 0x0 0x1000>;
344b790c2caSHeiko Stübner		interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
345b790c2caSHeiko Stübner		#address-cells = <1>;
346b790c2caSHeiko Stübner		#size-cells = <0>;
347b790c2caSHeiko Stübner		clock-names = "i2c";
348b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C4>;
349b790c2caSHeiko Stübner		pinctrl-names = "default";
350b790c2caSHeiko Stübner		pinctrl-0 = <&i2c4_xfer>;
351b790c2caSHeiko Stübner		status = "disabled";
352b790c2caSHeiko Stübner	};
353b790c2caSHeiko Stübner
354b790c2caSHeiko Stübner	i2c5: i2c@ff170000 {
355b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
356b790c2caSHeiko Stübner		reg = <0x0 0xff170000 0x0 0x1000>;
357b790c2caSHeiko Stübner		interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
358b790c2caSHeiko Stübner		#address-cells = <1>;
359b790c2caSHeiko Stübner		#size-cells = <0>;
360b790c2caSHeiko Stübner		clock-names = "i2c";
361b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C5>;
362b790c2caSHeiko Stübner		pinctrl-names = "default";
363b790c2caSHeiko Stübner		pinctrl-0 = <&i2c5_xfer>;
364b790c2caSHeiko Stübner		status = "disabled";
365b790c2caSHeiko Stübner	};
366b790c2caSHeiko Stübner
367b790c2caSHeiko Stübner	uart0: serial@ff180000 {
368b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
369b790c2caSHeiko Stübner		reg = <0x0 0xff180000 0x0 0x100>;
370b790c2caSHeiko Stübner		clock-frequency = <24000000>;
371b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
372b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
373b790c2caSHeiko Stübner		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
374b790c2caSHeiko Stübner		reg-shift = <2>;
375b790c2caSHeiko Stübner		reg-io-width = <4>;
376b790c2caSHeiko Stübner		status = "disabled";
377b790c2caSHeiko Stübner	};
378b790c2caSHeiko Stübner
379b790c2caSHeiko Stübner	uart1: serial@ff190000 {
380b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
381b790c2caSHeiko Stübner		reg = <0x0 0xff190000 0x0 0x100>;
382b790c2caSHeiko Stübner		clock-frequency = <24000000>;
383b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
384b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
385b790c2caSHeiko Stübner		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
386b790c2caSHeiko Stübner		reg-shift = <2>;
387b790c2caSHeiko Stübner		reg-io-width = <4>;
388b790c2caSHeiko Stübner		status = "disabled";
389b790c2caSHeiko Stübner	};
390b790c2caSHeiko Stübner
391b790c2caSHeiko Stübner	uart3: serial@ff1b0000 {
392b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
393b790c2caSHeiko Stübner		reg = <0x0 0xff1b0000 0x0 0x100>;
394b790c2caSHeiko Stübner		clock-frequency = <24000000>;
395b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
396b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
397b790c2caSHeiko Stübner		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
398b790c2caSHeiko Stübner		reg-shift = <2>;
399b790c2caSHeiko Stübner		reg-io-width = <4>;
400b790c2caSHeiko Stübner		status = "disabled";
401b790c2caSHeiko Stübner	};
402b790c2caSHeiko Stübner
403b790c2caSHeiko Stübner	uart4: serial@ff1c0000 {
404b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
405b790c2caSHeiko Stübner		reg = <0x0 0xff1c0000 0x0 0x100>;
406b790c2caSHeiko Stübner		clock-frequency = <24000000>;
407b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
408b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
409b790c2caSHeiko Stübner		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
410b790c2caSHeiko Stübner		reg-shift = <2>;
411b790c2caSHeiko Stübner		reg-io-width = <4>;
412b790c2caSHeiko Stübner		status = "disabled";
413b790c2caSHeiko Stübner	};
414b790c2caSHeiko Stübner
415f990238fSCaesar Wang	thermal-zones {
416f990238fSCaesar Wang		#include "rk3368-thermal.dtsi"
417f990238fSCaesar Wang	};
418f990238fSCaesar Wang
419f990238fSCaesar Wang	tsadc: tsadc@ff280000 {
420f990238fSCaesar Wang		compatible = "rockchip,rk3368-tsadc";
421f990238fSCaesar Wang		reg = <0x0 0xff280000 0x0 0x100>;
422f990238fSCaesar Wang		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
423f990238fSCaesar Wang		clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
424f990238fSCaesar Wang		clock-names = "tsadc", "apb_pclk";
425f990238fSCaesar Wang		resets = <&cru SRST_TSADC>;
426f990238fSCaesar Wang		reset-names = "tsadc-apb";
427f990238fSCaesar Wang		pinctrl-names = "init", "default", "sleep";
428f990238fSCaesar Wang		pinctrl-0 = <&otp_gpio>;
429f990238fSCaesar Wang		pinctrl-1 = <&otp_out>;
430f990238fSCaesar Wang		pinctrl-2 = <&otp_gpio>;
431f990238fSCaesar Wang		#thermal-sensor-cells = <1>;
432f990238fSCaesar Wang		rockchip,hw-tshut-temp = <95000>;
433f990238fSCaesar Wang		status = "disabled";
434f990238fSCaesar Wang	};
435f990238fSCaesar Wang
436b790c2caSHeiko Stübner	gmac: ethernet@ff290000 {
437b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-gmac";
438b790c2caSHeiko Stübner		reg = <0x0 0xff290000 0x0 0x10000>;
439b790c2caSHeiko Stübner		interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
440b790c2caSHeiko Stübner		interrupt-names = "macirq";
441b790c2caSHeiko Stübner		rockchip,grf = <&grf>;
442b790c2caSHeiko Stübner		clocks = <&cru SCLK_MAC>,
443b790c2caSHeiko Stübner			<&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
444b790c2caSHeiko Stübner			<&cru SCLK_MACREF>, <&cru SCLK_MACREF_OUT>,
445b790c2caSHeiko Stübner			<&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
446b790c2caSHeiko Stübner		clock-names = "stmmaceth",
447b790c2caSHeiko Stübner			"mac_clk_rx", "mac_clk_tx",
448b790c2caSHeiko Stübner			"clk_mac_ref", "clk_mac_refout",
449b790c2caSHeiko Stübner			"aclk_mac", "pclk_mac";
450b790c2caSHeiko Stübner		status = "disabled";
451b790c2caSHeiko Stübner	};
452b790c2caSHeiko Stübner
453b790c2caSHeiko Stübner	usb_host0_ehci: usb@ff500000 {
454b790c2caSHeiko Stübner		compatible = "generic-ehci";
455b790c2caSHeiko Stübner		reg = <0x0 0xff500000 0x0 0x100>;
456b790c2caSHeiko Stübner		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
457b790c2caSHeiko Stübner		clocks = <&cru HCLK_HOST0>;
458b790c2caSHeiko Stübner		clock-names = "usbhost";
459b790c2caSHeiko Stübner		status = "disabled";
460b790c2caSHeiko Stübner	};
461b790c2caSHeiko Stübner
462b790c2caSHeiko Stübner	usb_otg: usb@ff580000 {
463b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-usb", "rockchip,rk3066-usb",
464b790c2caSHeiko Stübner				"snps,dwc2";
465b790c2caSHeiko Stübner		reg = <0x0 0xff580000 0x0 0x40000>;
466b790c2caSHeiko Stübner		interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
467b790c2caSHeiko Stübner		clocks = <&cru HCLK_OTG0>;
468b790c2caSHeiko Stübner		clock-names = "otg";
469b790c2caSHeiko Stübner		dr_mode = "otg";
470b790c2caSHeiko Stübner		g-np-tx-fifo-size = <16>;
471b790c2caSHeiko Stübner		g-rx-fifo-size = <275>;
472b790c2caSHeiko Stübner		g-tx-fifo-size = <256 128 128 64 64 32>;
473b790c2caSHeiko Stübner		g-use-dma;
474b790c2caSHeiko Stübner		status = "disabled";
475b790c2caSHeiko Stübner	};
476b790c2caSHeiko Stübner
477b790c2caSHeiko Stübner	i2c0: i2c@ff650000 {
478b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
479b790c2caSHeiko Stübner		reg = <0x0 0xff650000 0x0 0x1000>;
480b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C0>;
481b790c2caSHeiko Stübner		clock-names = "i2c";
482b790c2caSHeiko Stübner		interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
483b790c2caSHeiko Stübner		pinctrl-names = "default";
484b790c2caSHeiko Stübner		pinctrl-0 = <&i2c0_xfer>;
485b790c2caSHeiko Stübner		#address-cells = <1>;
486b790c2caSHeiko Stübner		#size-cells = <0>;
487b790c2caSHeiko Stübner		status = "disabled";
488b790c2caSHeiko Stübner	};
489b790c2caSHeiko Stübner
490b790c2caSHeiko Stübner	i2c2: i2c@ff660000 {
491b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-i2c", "rockchip,rk3288-i2c";
492b790c2caSHeiko Stübner		reg = <0x0 0xff660000 0x0 0x1000>;
493b790c2caSHeiko Stübner		interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
494b790c2caSHeiko Stübner		#address-cells = <1>;
495b790c2caSHeiko Stübner		#size-cells = <0>;
496b790c2caSHeiko Stübner		clock-names = "i2c";
497b790c2caSHeiko Stübner		clocks = <&cru PCLK_I2C2>;
498b790c2caSHeiko Stübner		pinctrl-names = "default";
499b790c2caSHeiko Stübner		pinctrl-0 = <&i2c2_xfer>;
500b790c2caSHeiko Stübner		status = "disabled";
501b790c2caSHeiko Stübner	};
502b790c2caSHeiko Stübner
503fa54322aSCaesar Wang	pwm0: pwm@ff680000 {
504fa54322aSCaesar Wang		compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
505fa54322aSCaesar Wang		reg = <0x0 0xff680000 0x0 0x10>;
506fa54322aSCaesar Wang		#pwm-cells = <3>;
507fa54322aSCaesar Wang		pinctrl-names = "default";
508fa54322aSCaesar Wang		pinctrl-0 = <&pwm0_pin>;
509fa54322aSCaesar Wang		clocks = <&cru PCLK_PWM1>;
510fa54322aSCaesar Wang		clock-names = "pwm";
511fa54322aSCaesar Wang		status = "disabled";
512fa54322aSCaesar Wang	};
513fa54322aSCaesar Wang
514fa54322aSCaesar Wang	pwm1: pwm@ff680010 {
515fa54322aSCaesar Wang		compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
516fa54322aSCaesar Wang		reg = <0x0 0xff680010 0x0 0x10>;
517fa54322aSCaesar Wang		#pwm-cells = <3>;
518fa54322aSCaesar Wang		pinctrl-names = "default";
519fa54322aSCaesar Wang		pinctrl-0 = <&pwm1_pin>;
520fa54322aSCaesar Wang		clocks = <&cru PCLK_PWM1>;
521fa54322aSCaesar Wang		clock-names = "pwm";
522fa54322aSCaesar Wang		status = "disabled";
523fa54322aSCaesar Wang	};
524fa54322aSCaesar Wang
525fa54322aSCaesar Wang	pwm2: pwm@ff680020 {
526fa54322aSCaesar Wang		compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
527fa54322aSCaesar Wang		reg = <0x0 0xff680020 0x0 0x10>;
528fa54322aSCaesar Wang		#pwm-cells = <3>;
529fa54322aSCaesar Wang		clocks = <&cru PCLK_PWM1>;
530fa54322aSCaesar Wang		clock-names = "pwm";
531fa54322aSCaesar Wang		status = "disabled";
532fa54322aSCaesar Wang	};
533fa54322aSCaesar Wang
534fa54322aSCaesar Wang	pwm3: pwm@ff680030 {
535fa54322aSCaesar Wang		compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm";
536fa54322aSCaesar Wang		reg = <0x0 0xff680030 0x0 0x10>;
537fa54322aSCaesar Wang		#pwm-cells = <3>;
538fa54322aSCaesar Wang		pinctrl-names = "default";
539fa54322aSCaesar Wang		pinctrl-0 = <&pwm3_pin>;
540fa54322aSCaesar Wang		clocks = <&cru PCLK_PWM1>;
541fa54322aSCaesar Wang		clock-names = "pwm";
542fa54322aSCaesar Wang		status = "disabled";
543fa54322aSCaesar Wang	};
544fa54322aSCaesar Wang
545b790c2caSHeiko Stübner	uart2: serial@ff690000 {
546b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-uart", "snps,dw-apb-uart";
547b790c2caSHeiko Stübner		reg = <0x0 0xff690000 0x0 0x100>;
548b790c2caSHeiko Stübner		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
549b790c2caSHeiko Stübner		clock-names = "baudclk", "apb_pclk";
550b790c2caSHeiko Stübner		interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
551b790c2caSHeiko Stübner		pinctrl-names = "default";
552b790c2caSHeiko Stübner		pinctrl-0 = <&uart2_xfer>;
553b790c2caSHeiko Stübner		reg-shift = <2>;
554b790c2caSHeiko Stübner		reg-io-width = <4>;
555b790c2caSHeiko Stübner		status = "disabled";
556b790c2caSHeiko Stübner	};
557b790c2caSHeiko Stübner
558*6e7f9f5aSCaesar Wang	mbox: mbox@ff6b0000 {
559*6e7f9f5aSCaesar Wang		compatible = "rockchip,rk3368-mailbox";
560*6e7f9f5aSCaesar Wang		reg = <0x0 0xff6b0000 0x0 0x1000>;
561*6e7f9f5aSCaesar Wang		interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
562*6e7f9f5aSCaesar Wang			     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
563*6e7f9f5aSCaesar Wang			     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
564*6e7f9f5aSCaesar Wang			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
565*6e7f9f5aSCaesar Wang		clocks = <&cru PCLK_MAILBOX>;
566*6e7f9f5aSCaesar Wang		clock-names = "pclk_mailbox";
567*6e7f9f5aSCaesar Wang		#mbox-cells = <1>;
568*6e7f9f5aSCaesar Wang	};
569*6e7f9f5aSCaesar Wang
570b790c2caSHeiko Stübner	pmugrf: syscon@ff738000 {
571b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-pmugrf", "syscon";
572b790c2caSHeiko Stübner		reg = <0x0 0xff738000 0x0 0x1000>;
573b790c2caSHeiko Stübner	};
574b790c2caSHeiko Stübner
575b790c2caSHeiko Stübner	cru: clock-controller@ff760000 {
576b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-cru";
577b790c2caSHeiko Stübner		reg = <0x0 0xff760000 0x0 0x1000>;
578b790c2caSHeiko Stübner		rockchip,grf = <&grf>;
579b790c2caSHeiko Stübner		#clock-cells = <1>;
580b790c2caSHeiko Stübner		#reset-cells = <1>;
581b790c2caSHeiko Stübner	};
582b790c2caSHeiko Stübner
583b790c2caSHeiko Stübner	grf: syscon@ff770000 {
584b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-grf", "syscon";
585b790c2caSHeiko Stübner		reg = <0x0 0xff770000 0x0 0x1000>;
586b790c2caSHeiko Stübner	};
587b790c2caSHeiko Stübner
588b790c2caSHeiko Stübner	wdt: watchdog@ff800000 {
589b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-wdt", "snps,dw-wdt";
590b790c2caSHeiko Stübner		reg = <0x0 0xff800000 0x0 0x100>;
591b790c2caSHeiko Stübner		clocks = <&cru PCLK_WDT>;
592b790c2caSHeiko Stübner		interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
593b790c2caSHeiko Stübner		status = "disabled";
594b790c2caSHeiko Stübner	};
595b790c2caSHeiko Stübner
596b8084e5bSCaesar Wang	timer@ff810000 {
597b8084e5bSCaesar Wang		compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer";
598b8084e5bSCaesar Wang		reg = <0x0 0xff810000 0x0 0x20>;
599b8084e5bSCaesar Wang		interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
600b8084e5bSCaesar Wang	};
601b8084e5bSCaesar Wang
602b790c2caSHeiko Stübner	gic: interrupt-controller@ffb71000 {
603b790c2caSHeiko Stübner		compatible = "arm,gic-400";
604b790c2caSHeiko Stübner		interrupt-controller;
605b790c2caSHeiko Stübner		#interrupt-cells = <3>;
606b790c2caSHeiko Stübner		#address-cells = <0>;
607b790c2caSHeiko Stübner
608b790c2caSHeiko Stübner		reg = <0x0 0xffb71000 0x0 0x1000>,
609b790c2caSHeiko Stübner		      <0x0 0xffb72000 0x0 0x1000>,
610b790c2caSHeiko Stübner		      <0x0 0xffb74000 0x0 0x2000>,
611b790c2caSHeiko Stübner		      <0x0 0xffb76000 0x0 0x2000>;
612b790c2caSHeiko Stübner		interrupts = <GIC_PPI 9
613b790c2caSHeiko Stübner		      (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
614b790c2caSHeiko Stübner	};
615b790c2caSHeiko Stübner
616b790c2caSHeiko Stübner	pinctrl: pinctrl {
617b790c2caSHeiko Stübner		compatible = "rockchip,rk3368-pinctrl";
618b790c2caSHeiko Stübner		rockchip,grf = <&grf>;
619b790c2caSHeiko Stübner		rockchip,pmu = <&pmugrf>;
620b790c2caSHeiko Stübner		#address-cells = <0x2>;
621b790c2caSHeiko Stübner		#size-cells = <0x2>;
622b790c2caSHeiko Stübner		ranges;
623b790c2caSHeiko Stübner
624b790c2caSHeiko Stübner		gpio0: gpio0@ff750000 {
625b790c2caSHeiko Stübner			compatible = "rockchip,gpio-bank";
626b790c2caSHeiko Stübner			reg = <0x0 0xff750000 0x0 0x100>;
627b790c2caSHeiko Stübner			clocks = <&cru PCLK_GPIO0>;
628b790c2caSHeiko Stübner			interrupts = <GIC_SPI 0x51 IRQ_TYPE_LEVEL_HIGH>;
629b790c2caSHeiko Stübner
630b790c2caSHeiko Stübner			gpio-controller;
631b790c2caSHeiko Stübner			#gpio-cells = <0x2>;
632b790c2caSHeiko Stübner
633b790c2caSHeiko Stübner			interrupt-controller;
634b790c2caSHeiko Stübner			#interrupt-cells = <0x2>;
635b790c2caSHeiko Stübner		};
636b790c2caSHeiko Stübner
637b790c2caSHeiko Stübner		gpio1: gpio1@ff780000 {
638b790c2caSHeiko Stübner			compatible = "rockchip,gpio-bank";
639b790c2caSHeiko Stübner			reg = <0x0 0xff780000 0x0 0x100>;
640b790c2caSHeiko Stübner			clocks = <&cru PCLK_GPIO1>;
641b790c2caSHeiko Stübner			interrupts = <GIC_SPI 0x52 IRQ_TYPE_LEVEL_HIGH>;
642b790c2caSHeiko Stübner
643b790c2caSHeiko Stübner			gpio-controller;
644b790c2caSHeiko Stübner			#gpio-cells = <0x2>;
645b790c2caSHeiko Stübner
646b790c2caSHeiko Stübner			interrupt-controller;
647b790c2caSHeiko Stübner			#interrupt-cells = <0x2>;
648b790c2caSHeiko Stübner		};
649b790c2caSHeiko Stübner
650b790c2caSHeiko Stübner		gpio2: gpio2@ff790000 {
651b790c2caSHeiko Stübner			compatible = "rockchip,gpio-bank";
652b790c2caSHeiko Stübner			reg = <0x0 0xff790000 0x0 0x100>;
653b790c2caSHeiko Stübner			clocks = <&cru PCLK_GPIO2>;
654b790c2caSHeiko Stübner			interrupts = <GIC_SPI 0x53 IRQ_TYPE_LEVEL_HIGH>;
655b790c2caSHeiko Stübner
656b790c2caSHeiko Stübner			gpio-controller;
657b790c2caSHeiko Stübner			#gpio-cells = <0x2>;
658b790c2caSHeiko Stübner
659b790c2caSHeiko Stübner			interrupt-controller;
660b790c2caSHeiko Stübner			#interrupt-cells = <0x2>;
661b790c2caSHeiko Stübner		};
662b790c2caSHeiko Stübner
663b790c2caSHeiko Stübner		gpio3: gpio3@ff7a0000 {
664b790c2caSHeiko Stübner			compatible = "rockchip,gpio-bank";
665b790c2caSHeiko Stübner			reg = <0x0 0xff7a0000 0x0 0x100>;
666b790c2caSHeiko Stübner			clocks = <&cru PCLK_GPIO3>;
667b790c2caSHeiko Stübner			interrupts = <GIC_SPI 0x54 IRQ_TYPE_LEVEL_HIGH>;
668b790c2caSHeiko Stübner
669b790c2caSHeiko Stübner			gpio-controller;
670b790c2caSHeiko Stübner			#gpio-cells = <0x2>;
671b790c2caSHeiko Stübner
672b790c2caSHeiko Stübner			interrupt-controller;
673b790c2caSHeiko Stübner			#interrupt-cells = <0x2>;
674b790c2caSHeiko Stübner		};
675b790c2caSHeiko Stübner
676b790c2caSHeiko Stübner		pcfg_pull_up: pcfg-pull-up {
677b790c2caSHeiko Stübner			bias-pull-up;
678b790c2caSHeiko Stübner		};
679b790c2caSHeiko Stübner
680b790c2caSHeiko Stübner		pcfg_pull_down: pcfg-pull-down {
681b790c2caSHeiko Stübner			bias-pull-down;
682b790c2caSHeiko Stübner		};
683b790c2caSHeiko Stübner
684b790c2caSHeiko Stübner		pcfg_pull_none: pcfg-pull-none {
685b790c2caSHeiko Stübner			bias-disable;
686b790c2caSHeiko Stübner		};
687b790c2caSHeiko Stübner
688b790c2caSHeiko Stübner		pcfg_pull_none_12ma: pcfg-pull-none-12ma {
689b790c2caSHeiko Stübner			bias-disable;
690b790c2caSHeiko Stübner			drive-strength = <12>;
691b790c2caSHeiko Stübner		};
692b790c2caSHeiko Stübner
693b790c2caSHeiko Stübner		emmc {
694b790c2caSHeiko Stübner			emmc_clk: emmc-clk {
695b790c2caSHeiko Stübner				rockchip,pins = <2 4 RK_FUNC_2 &pcfg_pull_none>;
696b790c2caSHeiko Stübner			};
697b790c2caSHeiko Stübner
698b790c2caSHeiko Stübner			emmc_cmd: emmc-cmd {
699b790c2caSHeiko Stübner				rockchip,pins = <1 26 RK_FUNC_2 &pcfg_pull_up>;
700b790c2caSHeiko Stübner			};
701b790c2caSHeiko Stübner
702b790c2caSHeiko Stübner			emmc_pwr: emmc-pwr {
703b790c2caSHeiko Stübner				rockchip,pins = <1 27 RK_FUNC_2 &pcfg_pull_up>;
704b790c2caSHeiko Stübner			};
705b790c2caSHeiko Stübner
706b790c2caSHeiko Stübner			emmc_bus1: emmc-bus1 {
707b790c2caSHeiko Stübner				rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>;
708b790c2caSHeiko Stübner			};
709b790c2caSHeiko Stübner
710b790c2caSHeiko Stübner			emmc_bus4: emmc-bus4 {
711b790c2caSHeiko Stübner				rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>,
712b790c2caSHeiko Stübner						<1 19 RK_FUNC_2 &pcfg_pull_up>,
713b790c2caSHeiko Stübner						<1 20 RK_FUNC_2 &pcfg_pull_up>,
714b790c2caSHeiko Stübner						<1 21 RK_FUNC_2 &pcfg_pull_up>;
715b790c2caSHeiko Stübner			};
716b790c2caSHeiko Stübner
717b790c2caSHeiko Stübner			emmc_bus8: emmc-bus8 {
718b790c2caSHeiko Stübner				rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>,
719b790c2caSHeiko Stübner						<1 19 RK_FUNC_2 &pcfg_pull_up>,
720b790c2caSHeiko Stübner						<1 20 RK_FUNC_2 &pcfg_pull_up>,
721b790c2caSHeiko Stübner						<1 21 RK_FUNC_2 &pcfg_pull_up>,
722b790c2caSHeiko Stübner						<1 22 RK_FUNC_2 &pcfg_pull_up>,
723b790c2caSHeiko Stübner						<1 23 RK_FUNC_2 &pcfg_pull_up>,
724b790c2caSHeiko Stübner						<1 24 RK_FUNC_2 &pcfg_pull_up>,
725b790c2caSHeiko Stübner						<1 25 RK_FUNC_2 &pcfg_pull_up>;
726b790c2caSHeiko Stübner			};
727b790c2caSHeiko Stübner		};
728b790c2caSHeiko Stübner
729b790c2caSHeiko Stübner		gmac {
730b790c2caSHeiko Stübner			rgmii_pins: rgmii-pins {
731b790c2caSHeiko Stübner				rockchip,pins =	<3 22 RK_FUNC_1 &pcfg_pull_none>,
732b790c2caSHeiko Stübner						<3 24 RK_FUNC_1 &pcfg_pull_none>,
733b790c2caSHeiko Stübner						<3 19 RK_FUNC_1 &pcfg_pull_none>,
734b790c2caSHeiko Stübner						<3 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
735b790c2caSHeiko Stübner						<3 9 RK_FUNC_1 &pcfg_pull_none_12ma>,
736b790c2caSHeiko Stübner						<3 10 RK_FUNC_1 &pcfg_pull_none_12ma>,
737b790c2caSHeiko Stübner						<3 14 RK_FUNC_1 &pcfg_pull_none_12ma>,
738b790c2caSHeiko Stübner						<3 28 RK_FUNC_1 &pcfg_pull_none_12ma>,
739b790c2caSHeiko Stübner						<3 13 RK_FUNC_1 &pcfg_pull_none_12ma>,
740b790c2caSHeiko Stübner						<3 15 RK_FUNC_1 &pcfg_pull_none>,
741b790c2caSHeiko Stübner						<3 16 RK_FUNC_1 &pcfg_pull_none>,
742b790c2caSHeiko Stübner						<3 17 RK_FUNC_1 &pcfg_pull_none>,
743b790c2caSHeiko Stübner						<3 18 RK_FUNC_1 &pcfg_pull_none>,
744b790c2caSHeiko Stübner						<3 25 RK_FUNC_1 &pcfg_pull_none>,
745b790c2caSHeiko Stübner						<3 20 RK_FUNC_1 &pcfg_pull_none>;
746b790c2caSHeiko Stübner			};
747b790c2caSHeiko Stübner
748b790c2caSHeiko Stübner			rmii_pins: rmii-pins {
749b790c2caSHeiko Stübner				rockchip,pins =	<3 22 RK_FUNC_1 &pcfg_pull_none>,
750b790c2caSHeiko Stübner						<3 24 RK_FUNC_1 &pcfg_pull_none>,
751b790c2caSHeiko Stübner						<3 19 RK_FUNC_1 &pcfg_pull_none>,
752b790c2caSHeiko Stübner						<3 8 RK_FUNC_1 &pcfg_pull_none_12ma>,
753b790c2caSHeiko Stübner						<3 9 RK_FUNC_1 &pcfg_pull_none_12ma>,
754b790c2caSHeiko Stübner						<3 13 RK_FUNC_1 &pcfg_pull_none_12ma>,
755b790c2caSHeiko Stübner						<3 15 RK_FUNC_1 &pcfg_pull_none>,
756b790c2caSHeiko Stübner						<3 16 RK_FUNC_1 &pcfg_pull_none>,
757b790c2caSHeiko Stübner						<3 20 RK_FUNC_1 &pcfg_pull_none>,
758b790c2caSHeiko Stübner						<3 21 RK_FUNC_1 &pcfg_pull_none>;
759b790c2caSHeiko Stübner			};
760b790c2caSHeiko Stübner		};
761b790c2caSHeiko Stübner
762b790c2caSHeiko Stübner		i2c0 {
763b790c2caSHeiko Stübner			i2c0_xfer: i2c0-xfer {
764b790c2caSHeiko Stübner				rockchip,pins = <0 6 RK_FUNC_1 &pcfg_pull_none>,
765b790c2caSHeiko Stübner						<0 7 RK_FUNC_1 &pcfg_pull_none>;
766b790c2caSHeiko Stübner			};
767b790c2caSHeiko Stübner		};
768b790c2caSHeiko Stübner
769b790c2caSHeiko Stübner		i2c1 {
770b790c2caSHeiko Stübner			i2c1_xfer: i2c1-xfer {
771b790c2caSHeiko Stübner				rockchip,pins = <2 21 RK_FUNC_1 &pcfg_pull_none>,
772b790c2caSHeiko Stübner						<2 22 RK_FUNC_1 &pcfg_pull_none>;
773b790c2caSHeiko Stübner			};
774b790c2caSHeiko Stübner		};
775b790c2caSHeiko Stübner
776b790c2caSHeiko Stübner		i2c2 {
777b790c2caSHeiko Stübner			i2c2_xfer: i2c2-xfer {
778b790c2caSHeiko Stübner				rockchip,pins = <0 9 RK_FUNC_2 &pcfg_pull_none>,
779b790c2caSHeiko Stübner						<3 31 RK_FUNC_2 &pcfg_pull_none>;
780b790c2caSHeiko Stübner			};
781b790c2caSHeiko Stübner		};
782b790c2caSHeiko Stübner
783b790c2caSHeiko Stübner		i2c3 {
784b790c2caSHeiko Stübner			i2c3_xfer: i2c3-xfer {
785b790c2caSHeiko Stübner				rockchip,pins = <1 16 RK_FUNC_1 &pcfg_pull_none>,
786b790c2caSHeiko Stübner						<1 17 RK_FUNC_1 &pcfg_pull_none>;
787b790c2caSHeiko Stübner			};
788b790c2caSHeiko Stübner		};
789b790c2caSHeiko Stübner
790b790c2caSHeiko Stübner		i2c4 {
791b790c2caSHeiko Stübner			i2c4_xfer: i2c4-xfer {
792b790c2caSHeiko Stübner				rockchip,pins = <3 24 RK_FUNC_2 &pcfg_pull_none>,
793b790c2caSHeiko Stübner						<3 25 RK_FUNC_2 &pcfg_pull_none>;
794b790c2caSHeiko Stübner			};
795b790c2caSHeiko Stübner		};
796b790c2caSHeiko Stübner
797b790c2caSHeiko Stübner		i2c5 {
798b790c2caSHeiko Stübner			i2c5_xfer: i2c5-xfer {
799b790c2caSHeiko Stübner				rockchip,pins = <3 26 RK_FUNC_2 &pcfg_pull_none>,
800b790c2caSHeiko Stübner						<3 27 RK_FUNC_2 &pcfg_pull_none>;
801b790c2caSHeiko Stübner			};
802b790c2caSHeiko Stübner		};
803b790c2caSHeiko Stübner
804fa54322aSCaesar Wang		pwm0 {
805fa54322aSCaesar Wang			pwm0_pin: pwm0-pin {
806fa54322aSCaesar Wang				rockchip,pins = <3 8 RK_FUNC_2 &pcfg_pull_none>;
807fa54322aSCaesar Wang			};
808fa54322aSCaesar Wang		};
809fa54322aSCaesar Wang
810fa54322aSCaesar Wang		pwm1 {
811fa54322aSCaesar Wang			pwm1_pin: pwm1-pin {
812fa54322aSCaesar Wang				rockchip,pins = <0 8 RK_FUNC_2 &pcfg_pull_none>;
813fa54322aSCaesar Wang			};
814fa54322aSCaesar Wang		};
815fa54322aSCaesar Wang
816fa54322aSCaesar Wang		pwm3 {
817fa54322aSCaesar Wang			pwm3_pin: pwm3-pin {
818fa54322aSCaesar Wang				rockchip,pins = <3 29 RK_FUNC_3 &pcfg_pull_none>;
819fa54322aSCaesar Wang			};
820fa54322aSCaesar Wang		};
821fa54322aSCaesar Wang
822b790c2caSHeiko Stübner		sdio0 {
823b790c2caSHeiko Stübner			sdio0_bus1: sdio0-bus1 {
824b790c2caSHeiko Stübner				rockchip,pins = <2 28 RK_FUNC_1 &pcfg_pull_up>;
825b790c2caSHeiko Stübner			};
826b790c2caSHeiko Stübner
827b790c2caSHeiko Stübner			sdio0_bus4: sdio0-bus4 {
828b790c2caSHeiko Stübner				rockchip,pins = <2 28 RK_FUNC_1 &pcfg_pull_up>,
829b790c2caSHeiko Stübner						<2 29 RK_FUNC_1 &pcfg_pull_up>,
830b790c2caSHeiko Stübner						<2 30 RK_FUNC_1 &pcfg_pull_up>,
831b790c2caSHeiko Stübner						<2 31 RK_FUNC_1 &pcfg_pull_up>;
832b790c2caSHeiko Stübner			};
833b790c2caSHeiko Stübner
834b790c2caSHeiko Stübner			sdio0_cmd: sdio0-cmd {
835b790c2caSHeiko Stübner				rockchip,pins = <3 0 RK_FUNC_1 &pcfg_pull_up>;
836b790c2caSHeiko Stübner			};
837b790c2caSHeiko Stübner
838b790c2caSHeiko Stübner			sdio0_clk: sdio0-clk {
839b790c2caSHeiko Stübner				rockchip,pins = <3 1 RK_FUNC_1 &pcfg_pull_none>;
840b790c2caSHeiko Stübner			};
841b790c2caSHeiko Stübner
842b790c2caSHeiko Stübner			sdio0_cd: sdio0-cd {
843b790c2caSHeiko Stübner				rockchip,pins = <3 2 RK_FUNC_1 &pcfg_pull_up>;
844b790c2caSHeiko Stübner			};
845b790c2caSHeiko Stübner
846b790c2caSHeiko Stübner			sdio0_wp: sdio0-wp {
847b790c2caSHeiko Stübner				rockchip,pins = <3 3 RK_FUNC_1 &pcfg_pull_up>;
848b790c2caSHeiko Stübner			};
849b790c2caSHeiko Stübner
850b790c2caSHeiko Stübner			sdio0_pwr: sdio0-pwr {
851b790c2caSHeiko Stübner				rockchip,pins = <3 4 RK_FUNC_1 &pcfg_pull_up>;
852b790c2caSHeiko Stübner			};
853b790c2caSHeiko Stübner
854b790c2caSHeiko Stübner			sdio0_bkpwr: sdio0-bkpwr {
855b790c2caSHeiko Stübner				rockchip,pins = <3 5 RK_FUNC_1 &pcfg_pull_up>;
856b790c2caSHeiko Stübner			};
857b790c2caSHeiko Stübner
858b790c2caSHeiko Stübner			sdio0_int: sdio0-int {
859b790c2caSHeiko Stübner				rockchip,pins = <3 6 RK_FUNC_1 &pcfg_pull_up>;
860b790c2caSHeiko Stübner			};
861b790c2caSHeiko Stübner		};
862b790c2caSHeiko Stübner
863b790c2caSHeiko Stübner		sdmmc {
864b790c2caSHeiko Stübner			sdmmc_clk: sdmmc-clk {
865b790c2caSHeiko Stübner				rockchip,pins = <2 9 RK_FUNC_1 &pcfg_pull_none>;
866b790c2caSHeiko Stübner			};
867b790c2caSHeiko Stübner
868b790c2caSHeiko Stübner			sdmmc_cmd: sdmmc-cmd {
869b790c2caSHeiko Stübner				rockchip,pins = <2 10 RK_FUNC_1 &pcfg_pull_up>;
870b790c2caSHeiko Stübner			};
871b790c2caSHeiko Stübner
8728fc5abd4SMatthias Brugger			sdmmc_cd: sdmmc-cd {
873b790c2caSHeiko Stübner				rockchip,pins = <2 11 RK_FUNC_1 &pcfg_pull_up>;
874b790c2caSHeiko Stübner			};
875b790c2caSHeiko Stübner
876b790c2caSHeiko Stübner			sdmmc_bus1: sdmmc-bus1 {
877b790c2caSHeiko Stübner				rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up>;
878b790c2caSHeiko Stübner			};
879b790c2caSHeiko Stübner
880b790c2caSHeiko Stübner			sdmmc_bus4: sdmmc-bus4 {
881b790c2caSHeiko Stübner				rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up>,
882b790c2caSHeiko Stübner						<2 6 RK_FUNC_1 &pcfg_pull_up>,
883b790c2caSHeiko Stübner						<2 7 RK_FUNC_1 &pcfg_pull_up>,
884b790c2caSHeiko Stübner						<2 8 RK_FUNC_1 &pcfg_pull_up>;
885b790c2caSHeiko Stübner			};
886b790c2caSHeiko Stübner		};
887b790c2caSHeiko Stübner
888b790c2caSHeiko Stübner		spi0 {
889b790c2caSHeiko Stübner			spi0_clk: spi0-clk {
890b790c2caSHeiko Stübner				rockchip,pins = <1 29 RK_FUNC_2 &pcfg_pull_up>;
891b790c2caSHeiko Stübner			};
892b790c2caSHeiko Stübner			spi0_cs0: spi0-cs0 {
893b790c2caSHeiko Stübner				rockchip,pins = <1 24 RK_FUNC_3 &pcfg_pull_up>;
894b790c2caSHeiko Stübner			};
895b790c2caSHeiko Stübner			spi0_cs1: spi0-cs1 {
896b790c2caSHeiko Stübner				rockchip,pins = <1 25 RK_FUNC_3 &pcfg_pull_up>;
897b790c2caSHeiko Stübner			};
898b790c2caSHeiko Stübner			spi0_tx: spi0-tx {
899b790c2caSHeiko Stübner				rockchip,pins = <1 23 RK_FUNC_3 &pcfg_pull_up>;
900b790c2caSHeiko Stübner			};
901b790c2caSHeiko Stübner			spi0_rx: spi0-rx {
902b790c2caSHeiko Stübner				rockchip,pins = <1 22 RK_FUNC_3 &pcfg_pull_up>;
903b790c2caSHeiko Stübner			};
904b790c2caSHeiko Stübner		};
905b790c2caSHeiko Stübner
906b790c2caSHeiko Stübner		spi1 {
907b790c2caSHeiko Stübner			spi1_clk: spi1-clk {
908b790c2caSHeiko Stübner				rockchip,pins = <1 14 RK_FUNC_2 &pcfg_pull_up>;
909b790c2caSHeiko Stübner			};
910b790c2caSHeiko Stübner			spi1_cs0: spi1-cs0 {
911b790c2caSHeiko Stübner				rockchip,pins = <1 15 RK_FUNC_2 &pcfg_pull_up>;
912b790c2caSHeiko Stübner			};
913b790c2caSHeiko Stübner			spi1_cs1: spi1-cs1 {
914b790c2caSHeiko Stübner				rockchip,pins = <3 28 RK_FUNC_2 &pcfg_pull_up>;
915b790c2caSHeiko Stübner			};
916b790c2caSHeiko Stübner			spi1_rx: spi1-rx {
917b790c2caSHeiko Stübner				rockchip,pins = <1 16 RK_FUNC_2 &pcfg_pull_up>;
918b790c2caSHeiko Stübner			};
919b790c2caSHeiko Stübner			spi1_tx: spi1-tx {
920b790c2caSHeiko Stübner				rockchip,pins = <1 17 RK_FUNC_2 &pcfg_pull_up>;
921b790c2caSHeiko Stübner			};
922b790c2caSHeiko Stübner		};
923b790c2caSHeiko Stübner
924b790c2caSHeiko Stübner		spi2 {
925b790c2caSHeiko Stübner			spi2_clk: spi2-clk {
926b790c2caSHeiko Stübner				rockchip,pins = <0 12 RK_FUNC_2 &pcfg_pull_up>;
927b790c2caSHeiko Stübner			};
928b790c2caSHeiko Stübner			spi2_cs0: spi2-cs0 {
929b790c2caSHeiko Stübner				rockchip,pins = <0 13 RK_FUNC_2 &pcfg_pull_up>;
930b790c2caSHeiko Stübner			};
931b790c2caSHeiko Stübner			spi2_rx: spi2-rx {
932b790c2caSHeiko Stübner				rockchip,pins = <0 10 RK_FUNC_2 &pcfg_pull_up>;
933b790c2caSHeiko Stübner			};
934b790c2caSHeiko Stübner			spi2_tx: spi2-tx {
935b790c2caSHeiko Stübner				rockchip,pins = <0 11 RK_FUNC_2 &pcfg_pull_up>;
936b790c2caSHeiko Stübner			};
937b790c2caSHeiko Stübner		};
938b790c2caSHeiko Stübner
939f990238fSCaesar Wang		tsadc {
940f990238fSCaesar Wang			otp_gpio: otp-gpio {
94104317584SCaesar Wang				rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>;
942f990238fSCaesar Wang			};
943f990238fSCaesar Wang
944f990238fSCaesar Wang			otp_out: otp-out {
94504317584SCaesar Wang				rockchip,pins = <0 3 RK_FUNC_1 &pcfg_pull_none>;
946f990238fSCaesar Wang			};
947f990238fSCaesar Wang		};
948f990238fSCaesar Wang
949b790c2caSHeiko Stübner		uart0 {
950b790c2caSHeiko Stübner			uart0_xfer: uart0-xfer {
951b790c2caSHeiko Stübner				rockchip,pins = <2 24 RK_FUNC_1 &pcfg_pull_up>,
952b790c2caSHeiko Stübner						<2 25 RK_FUNC_1 &pcfg_pull_none>;
953b790c2caSHeiko Stübner			};
954b790c2caSHeiko Stübner
955b790c2caSHeiko Stübner			uart0_cts: uart0-cts {
956b790c2caSHeiko Stübner				rockchip,pins = <2 26 RK_FUNC_1 &pcfg_pull_none>;
957b790c2caSHeiko Stübner			};
958b790c2caSHeiko Stübner
959b790c2caSHeiko Stübner			uart0_rts: uart0-rts {
960b790c2caSHeiko Stübner				rockchip,pins = <2 27 RK_FUNC_1 &pcfg_pull_none>;
961b790c2caSHeiko Stübner			};
962b790c2caSHeiko Stübner		};
963b790c2caSHeiko Stübner
964b790c2caSHeiko Stübner		uart1 {
965b790c2caSHeiko Stübner			uart1_xfer: uart1-xfer {
966b790c2caSHeiko Stübner				rockchip,pins = <0 20 RK_FUNC_3 &pcfg_pull_up>,
967b790c2caSHeiko Stübner						<0 21 RK_FUNC_3 &pcfg_pull_none>;
968b790c2caSHeiko Stübner			};
969b790c2caSHeiko Stübner
970b790c2caSHeiko Stübner			uart1_cts: uart1-cts {
971b790c2caSHeiko Stübner				rockchip,pins = <0 22 RK_FUNC_3 &pcfg_pull_none>;
972b790c2caSHeiko Stübner			};
973b790c2caSHeiko Stübner
974b790c2caSHeiko Stübner			uart1_rts: uart1-rts {
975b790c2caSHeiko Stübner				rockchip,pins = <0 23 RK_FUNC_3 &pcfg_pull_none>;
976b790c2caSHeiko Stübner			};
977b790c2caSHeiko Stübner		};
978b790c2caSHeiko Stübner
979b790c2caSHeiko Stübner		uart2 {
980b790c2caSHeiko Stübner			uart2_xfer: uart2-xfer {
981b790c2caSHeiko Stübner				rockchip,pins = <2 6 RK_FUNC_2 &pcfg_pull_up>,
982b790c2caSHeiko Stübner						<2 5 RK_FUNC_2 &pcfg_pull_none>;
983b790c2caSHeiko Stübner			};
984b790c2caSHeiko Stübner			/* no rts / cts for uart2 */
985b790c2caSHeiko Stübner		};
986b790c2caSHeiko Stübner
987b790c2caSHeiko Stübner		uart3 {
988b790c2caSHeiko Stübner			uart3_xfer: uart3-xfer {
989b790c2caSHeiko Stübner				rockchip,pins = <3 29 RK_FUNC_2 &pcfg_pull_up>,
990b790c2caSHeiko Stübner						<3 30 RK_FUNC_3 &pcfg_pull_none>;
991b790c2caSHeiko Stübner			};
992b790c2caSHeiko Stübner
993b790c2caSHeiko Stübner			uart3_cts: uart3-cts {
994b790c2caSHeiko Stübner				rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_none>;
995b790c2caSHeiko Stübner			};
996b790c2caSHeiko Stübner
997b790c2caSHeiko Stübner			uart3_rts: uart3-rts {
998b790c2caSHeiko Stübner				rockchip,pins = <3 17 RK_FUNC_2 &pcfg_pull_none>;
999b790c2caSHeiko Stübner			};
1000b790c2caSHeiko Stübner		};
1001b790c2caSHeiko Stübner
1002b790c2caSHeiko Stübner		uart4 {
1003b790c2caSHeiko Stübner			uart4_xfer: uart4-xfer {
1004b790c2caSHeiko Stübner				rockchip,pins = <0 27 RK_FUNC_3 &pcfg_pull_up>,
1005b790c2caSHeiko Stübner						<0 26 RK_FUNC_3 &pcfg_pull_none>;
1006b790c2caSHeiko Stübner			};
1007b790c2caSHeiko Stübner
1008b790c2caSHeiko Stübner			uart4_cts: uart4-cts {
1009b790c2caSHeiko Stübner				rockchip,pins = <0 24 RK_FUNC_3 &pcfg_pull_none>;
1010b790c2caSHeiko Stübner			};
1011b790c2caSHeiko Stübner
1012b790c2caSHeiko Stübner			uart4_rts: uart4-rts {
1013b790c2caSHeiko Stübner				rockchip,pins = <0 25 RK_FUNC_3 &pcfg_pull_none>;
1014b790c2caSHeiko Stübner			};
1015b790c2caSHeiko Stübner		};
1016b790c2caSHeiko Stübner	};
1017b790c2caSHeiko Stübner};
1018