xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rk3288-tinker.dtsi (revision c34e9ab9a612ee8b18273398ef75c207b01f516d)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring#include "rk3288.dtsi"
7724ba675SRob Herring#include <dt-bindings/input/input.h>
8724ba675SRob Herring#include <dt-bindings/clock/rockchip,rk808.h>
9724ba675SRob Herring
10724ba675SRob Herring/ {
11724ba675SRob Herring	chosen {
12724ba675SRob Herring		stdout-path = "serial2:115200n8";
13724ba675SRob Herring	};
14724ba675SRob Herring
15724ba675SRob Herring	memory {
16724ba675SRob Herring		reg = <0x0 0x0 0x0 0x80000000>;
17724ba675SRob Herring		device_type = "memory";
18724ba675SRob Herring	};
19724ba675SRob Herring
20724ba675SRob Herring	ext_gmac: external-gmac-clock {
21724ba675SRob Herring		compatible = "fixed-clock";
22724ba675SRob Herring		#clock-cells = <0>;
23724ba675SRob Herring		clock-frequency = <125000000>;
24724ba675SRob Herring		clock-output-names = "ext_gmac";
25724ba675SRob Herring	};
26724ba675SRob Herring
27724ba675SRob Herring	gpio-keys {
28724ba675SRob Herring		compatible = "gpio-keys";
29724ba675SRob Herring		autorepeat;
30724ba675SRob Herring
31724ba675SRob Herring		pinctrl-names = "default";
32724ba675SRob Herring		pinctrl-0 = <&pwrbtn>;
33724ba675SRob Herring
34724ba675SRob Herring		button {
35724ba675SRob Herring			gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
36724ba675SRob Herring			linux,code = <KEY_POWER>;
37724ba675SRob Herring			label = "GPIO Key Power";
38724ba675SRob Herring			linux,input-type = <1>;
39724ba675SRob Herring			wakeup-source;
40724ba675SRob Herring			debounce-interval = <100>;
41724ba675SRob Herring		};
42724ba675SRob Herring	};
43724ba675SRob Herring
44724ba675SRob Herring	gpio-leds {
45724ba675SRob Herring		compatible = "gpio-leds";
46724ba675SRob Herring
47724ba675SRob Herring		act_led: led-0 {
48724ba675SRob Herring			gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
49724ba675SRob Herring			linux,default-trigger = "mmc0";
50724ba675SRob Herring		};
51724ba675SRob Herring
52724ba675SRob Herring		heartbeat_led: led-1 {
53724ba675SRob Herring			gpios = <&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>;
54724ba675SRob Herring			linux,default-trigger = "heartbeat";
55724ba675SRob Herring		};
56724ba675SRob Herring
57724ba675SRob Herring		pwr_led: led-2 {
58724ba675SRob Herring			gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
59724ba675SRob Herring			linux,default-trigger = "default-on";
60724ba675SRob Herring		};
61724ba675SRob Herring	};
62724ba675SRob Herring
63724ba675SRob Herring	sdio_pwrseq: sdio-pwrseq {
64724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
65724ba675SRob Herring		clocks = <&rk808 RK808_CLKOUT1>;
66724ba675SRob Herring		clock-names = "ext_clock";
67724ba675SRob Herring		pinctrl-names = "default";
68724ba675SRob Herring		pinctrl-0 = <&wifi_enable>;
69724ba675SRob Herring		reset-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_LOW>,
70724ba675SRob Herring			<&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
71724ba675SRob Herring	};
72724ba675SRob Herring
73724ba675SRob Herring	sound {
74724ba675SRob Herring		compatible = "simple-audio-card";
75724ba675SRob Herring		simple-audio-card,format = "i2s";
76724ba675SRob Herring		simple-audio-card,name = "rockchip,tinker-codec";
77724ba675SRob Herring		simple-audio-card,mclk-fs = <512>;
78724ba675SRob Herring
79724ba675SRob Herring		simple-audio-card,codec {
80724ba675SRob Herring			sound-dai = <&hdmi>;
81724ba675SRob Herring		};
82724ba675SRob Herring
83724ba675SRob Herring		simple-audio-card,cpu {
84724ba675SRob Herring			sound-dai = <&i2s>;
85724ba675SRob Herring		};
86724ba675SRob Herring	};
87724ba675SRob Herring
88*2c3944d9SJohan Jonker	vcc_sys: regulator-vsys {
89724ba675SRob Herring		compatible = "regulator-fixed";
90724ba675SRob Herring		regulator-name = "vcc_sys";
91724ba675SRob Herring		regulator-min-microvolt = <5000000>;
92724ba675SRob Herring		regulator-max-microvolt = <5000000>;
93724ba675SRob Herring		regulator-always-on;
94724ba675SRob Herring		regulator-boot-on;
95724ba675SRob Herring	};
96724ba675SRob Herring
97*2c3944d9SJohan Jonker	vcc_sd: regulator-sdmmc {
98724ba675SRob Herring		compatible = "regulator-fixed";
99724ba675SRob Herring		gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
100724ba675SRob Herring		pinctrl-names = "default";
101724ba675SRob Herring		pinctrl-0 = <&sdmmc_pwr>;
102724ba675SRob Herring		regulator-name = "vcc_sd";
103724ba675SRob Herring		regulator-min-microvolt = <3300000>;
104724ba675SRob Herring		regulator-max-microvolt = <3300000>;
105724ba675SRob Herring		startup-delay-us = <100000>;
106724ba675SRob Herring		vin-supply = <&vcc_io>;
107724ba675SRob Herring	};
108724ba675SRob Herring};
109724ba675SRob Herring
110724ba675SRob Herring&cpu0 {
111724ba675SRob Herring	cpu0-supply = <&vdd_cpu>;
112724ba675SRob Herring};
113724ba675SRob Herring
114724ba675SRob Herring&cpu_opp_table {
115724ba675SRob Herring	opp-1704000000 {
116724ba675SRob Herring		opp-hz = /bits/ 64 <1704000000>;
117724ba675SRob Herring		opp-microvolt = <1350000>;
118724ba675SRob Herring	};
119724ba675SRob Herring	opp-1800000000 {
120724ba675SRob Herring		opp-hz = /bits/ 64 <1800000000>;
121724ba675SRob Herring		opp-microvolt = <1400000>;
122724ba675SRob Herring	};
123724ba675SRob Herring};
124724ba675SRob Herring
125724ba675SRob Herring&gmac {
126724ba675SRob Herring	assigned-clocks = <&cru SCLK_MAC>;
127724ba675SRob Herring	assigned-clock-parents = <&ext_gmac>;
128724ba675SRob Herring	clock_in_out = "input";
129724ba675SRob Herring	phy-mode = "rgmii";
130724ba675SRob Herring	phy-supply = <&vcc33_lan>;
131724ba675SRob Herring	pinctrl-names = "default";
132724ba675SRob Herring	pinctrl-0 = <&rgmii_pins>;
133724ba675SRob Herring	snps,reset-gpio = <&gpio4 7 0>;
134724ba675SRob Herring	snps,reset-active-low;
135724ba675SRob Herring	snps,reset-delays-us = <0 10000 1000000>;
136724ba675SRob Herring	tx_delay = <0x30>;
137724ba675SRob Herring	rx_delay = <0x10>;
138724ba675SRob Herring	status = "okay";
139724ba675SRob Herring};
140724ba675SRob Herring
141724ba675SRob Herring&gpu {
142724ba675SRob Herring	mali-supply = <&vdd_gpu>;
143724ba675SRob Herring	status = "okay";
144724ba675SRob Herring};
145724ba675SRob Herring
146724ba675SRob Herring&hdmi {
147724ba675SRob Herring	ddc-i2c-bus = <&i2c5>;
148724ba675SRob Herring	status = "okay";
149724ba675SRob Herring};
150724ba675SRob Herring
151724ba675SRob Herring&i2c0 {
152724ba675SRob Herring	clock-frequency = <400000>;
153724ba675SRob Herring	status = "okay";
154724ba675SRob Herring
155724ba675SRob Herring	rk808: pmic@1b {
156724ba675SRob Herring		compatible = "rockchip,rk808";
157724ba675SRob Herring		reg = <0x1b>;
158724ba675SRob Herring		interrupt-parent = <&gpio0>;
159724ba675SRob Herring		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
160724ba675SRob Herring		#clock-cells = <1>;
161724ba675SRob Herring		clock-output-names = "xin32k", "rk808-clkout2";
162724ba675SRob Herring		dvs-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>,
163724ba675SRob Herring				<&gpio0 12 GPIO_ACTIVE_HIGH>;
164724ba675SRob Herring		pinctrl-names = "default";
165724ba675SRob Herring		pinctrl-0 = <&pmic_int &global_pwroff &dvs_1 &dvs_2>;
166724ba675SRob Herring		rockchip,system-power-controller;
167724ba675SRob Herring		wakeup-source;
168724ba675SRob Herring
169724ba675SRob Herring		vcc1-supply = <&vcc_sys>;
170724ba675SRob Herring		vcc2-supply = <&vcc_sys>;
171724ba675SRob Herring		vcc3-supply = <&vcc_sys>;
172724ba675SRob Herring		vcc4-supply = <&vcc_sys>;
173724ba675SRob Herring		vcc6-supply = <&vcc_sys>;
174724ba675SRob Herring		vcc7-supply = <&vcc_sys>;
175724ba675SRob Herring		vcc8-supply = <&vcc_io>;
176724ba675SRob Herring		vcc9-supply = <&vcc_io>;
177724ba675SRob Herring		vcc10-supply = <&vcc_io>;
178724ba675SRob Herring		vcc11-supply = <&vcc_sys>;
179724ba675SRob Herring		vcc12-supply = <&vcc_io>;
180724ba675SRob Herring		vddio-supply = <&vcc_io>;
181724ba675SRob Herring
182724ba675SRob Herring		regulators {
183724ba675SRob Herring			vdd_cpu: DCDC_REG1 {
184724ba675SRob Herring				regulator-always-on;
185724ba675SRob Herring				regulator-boot-on;
186724ba675SRob Herring				regulator-min-microvolt = <750000>;
187724ba675SRob Herring				regulator-max-microvolt = <1400000>;
188724ba675SRob Herring				regulator-name = "vdd_arm";
189724ba675SRob Herring				regulator-ramp-delay = <6000>;
190724ba675SRob Herring				regulator-state-mem {
191724ba675SRob Herring					regulator-off-in-suspend;
192724ba675SRob Herring				};
193724ba675SRob Herring			};
194724ba675SRob Herring
195724ba675SRob Herring			vdd_gpu: DCDC_REG2 {
196724ba675SRob Herring				regulator-always-on;
197724ba675SRob Herring				regulator-boot-on;
198724ba675SRob Herring				regulator-min-microvolt = <850000>;
199724ba675SRob Herring				regulator-max-microvolt = <1250000>;
200724ba675SRob Herring				regulator-name = "vdd_gpu";
201724ba675SRob Herring				regulator-ramp-delay = <6000>;
202724ba675SRob Herring				regulator-state-mem {
203724ba675SRob Herring					regulator-on-in-suspend;
204724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
205724ba675SRob Herring				};
206724ba675SRob Herring			};
207724ba675SRob Herring
208724ba675SRob Herring			vcc_ddr: DCDC_REG3 {
209724ba675SRob Herring				regulator-always-on;
210724ba675SRob Herring				regulator-boot-on;
211724ba675SRob Herring				regulator-name = "vcc_ddr";
212724ba675SRob Herring				regulator-state-mem {
213724ba675SRob Herring					regulator-on-in-suspend;
214724ba675SRob Herring				};
215724ba675SRob Herring			};
216724ba675SRob Herring
217724ba675SRob Herring			vcc_io: DCDC_REG4 {
218724ba675SRob Herring				regulator-always-on;
219724ba675SRob Herring				regulator-boot-on;
220724ba675SRob Herring				regulator-min-microvolt = <3300000>;
221724ba675SRob Herring				regulator-max-microvolt = <3300000>;
222724ba675SRob Herring				regulator-name = "vcc_io";
223724ba675SRob Herring				regulator-state-mem {
224724ba675SRob Herring					regulator-on-in-suspend;
225724ba675SRob Herring					regulator-suspend-microvolt = <3300000>;
226724ba675SRob Herring				};
227724ba675SRob Herring			};
228724ba675SRob Herring
229724ba675SRob Herring			vcc18_ldo1: LDO_REG1 {
230724ba675SRob Herring				regulator-always-on;
231724ba675SRob Herring				regulator-boot-on;
232724ba675SRob Herring				regulator-min-microvolt = <1800000>;
233724ba675SRob Herring				regulator-max-microvolt = <1800000>;
234724ba675SRob Herring				regulator-name = "vcc18_ldo1";
235724ba675SRob Herring				regulator-state-mem {
236724ba675SRob Herring					regulator-on-in-suspend;
237724ba675SRob Herring					regulator-suspend-microvolt = <1800000>;
238724ba675SRob Herring				};
239724ba675SRob Herring			};
240724ba675SRob Herring
241724ba675SRob Herring			vcc33_mipi: LDO_REG2 {
242724ba675SRob Herring				regulator-always-on;
243724ba675SRob Herring				regulator-boot-on;
244724ba675SRob Herring				regulator-min-microvolt = <3300000>;
245724ba675SRob Herring				regulator-max-microvolt = <3300000>;
246724ba675SRob Herring				regulator-name = "vcc33_mipi";
247724ba675SRob Herring				regulator-state-mem {
248724ba675SRob Herring					regulator-off-in-suspend;
249724ba675SRob Herring				};
250724ba675SRob Herring			};
251724ba675SRob Herring
252724ba675SRob Herring			vdd_10: LDO_REG3 {
253724ba675SRob Herring				regulator-always-on;
254724ba675SRob Herring				regulator-boot-on;
255724ba675SRob Herring				regulator-min-microvolt = <1000000>;
256724ba675SRob Herring				regulator-max-microvolt = <1000000>;
257724ba675SRob Herring				regulator-name = "vdd_10";
258724ba675SRob Herring				regulator-state-mem {
259724ba675SRob Herring					regulator-on-in-suspend;
260724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
261724ba675SRob Herring				};
262724ba675SRob Herring			};
263724ba675SRob Herring
264724ba675SRob Herring			vcc18_codec: LDO_REG4 {
265724ba675SRob Herring				regulator-always-on;
266724ba675SRob Herring				regulator-boot-on;
267724ba675SRob Herring				regulator-min-microvolt = <1800000>;
268724ba675SRob Herring				regulator-max-microvolt = <1800000>;
269724ba675SRob Herring				regulator-name = "vcc18_codec";
270724ba675SRob Herring				regulator-state-mem {
271724ba675SRob Herring					regulator-on-in-suspend;
272724ba675SRob Herring					regulator-suspend-microvolt = <1800000>;
273724ba675SRob Herring				};
274724ba675SRob Herring			};
275724ba675SRob Herring
276724ba675SRob Herring			vccio_sd: LDO_REG5 {
277724ba675SRob Herring				regulator-always-on;
278724ba675SRob Herring				regulator-boot-on;
279724ba675SRob Herring				regulator-min-microvolt = <1800000>;
280724ba675SRob Herring				regulator-max-microvolt = <3300000>;
281724ba675SRob Herring				regulator-name = "vccio_sd";
282724ba675SRob Herring				regulator-state-mem {
283724ba675SRob Herring					regulator-on-in-suspend;
284724ba675SRob Herring					regulator-suspend-microvolt = <3300000>;
285724ba675SRob Herring				};
286724ba675SRob Herring			};
287724ba675SRob Herring
288724ba675SRob Herring			vdd10_lcd: LDO_REG6 {
289724ba675SRob Herring				regulator-always-on;
290724ba675SRob Herring				regulator-boot-on;
291724ba675SRob Herring				regulator-min-microvolt = <1000000>;
292724ba675SRob Herring				regulator-max-microvolt = <1000000>;
293724ba675SRob Herring				regulator-name = "vdd10_lcd";
294724ba675SRob Herring				regulator-state-mem {
295724ba675SRob Herring					regulator-on-in-suspend;
296724ba675SRob Herring					regulator-suspend-microvolt = <1000000>;
297724ba675SRob Herring				};
298724ba675SRob Herring			};
299724ba675SRob Herring
300724ba675SRob Herring			vcc_18: LDO_REG7 {
301724ba675SRob Herring				regulator-always-on;
302724ba675SRob Herring				regulator-boot-on;
303724ba675SRob Herring				regulator-min-microvolt = <1800000>;
304724ba675SRob Herring				regulator-max-microvolt = <1800000>;
305724ba675SRob Herring				regulator-name = "vcc_18";
306724ba675SRob Herring				regulator-state-mem {
307724ba675SRob Herring					regulator-on-in-suspend;
308724ba675SRob Herring					regulator-suspend-microvolt = <1800000>;
309724ba675SRob Herring				};
310724ba675SRob Herring			};
311724ba675SRob Herring
312724ba675SRob Herring			vcc18_lcd: LDO_REG8 {
313724ba675SRob Herring				regulator-always-on;
314724ba675SRob Herring				regulator-boot-on;
315724ba675SRob Herring				regulator-min-microvolt = <1800000>;
316724ba675SRob Herring				regulator-max-microvolt = <1800000>;
317724ba675SRob Herring				regulator-name = "vcc18_lcd";
318724ba675SRob Herring				regulator-state-mem {
319724ba675SRob Herring					regulator-on-in-suspend;
320724ba675SRob Herring					regulator-suspend-microvolt = <1800000>;
321724ba675SRob Herring				};
322724ba675SRob Herring			};
323724ba675SRob Herring
324724ba675SRob Herring			vcc33_sd: SWITCH_REG1 {
325724ba675SRob Herring				regulator-always-on;
326724ba675SRob Herring				regulator-boot-on;
327724ba675SRob Herring				regulator-name = "vcc33_sd";
328724ba675SRob Herring				regulator-state-mem {
329724ba675SRob Herring					regulator-on-in-suspend;
330724ba675SRob Herring				};
331724ba675SRob Herring			};
332724ba675SRob Herring
333724ba675SRob Herring			vcc33_lan: SWITCH_REG2 {
334724ba675SRob Herring				regulator-always-on;
335724ba675SRob Herring				regulator-boot-on;
336724ba675SRob Herring				regulator-name = "vcc33_lan";
337724ba675SRob Herring				regulator-state-mem {
338724ba675SRob Herring					regulator-on-in-suspend;
339724ba675SRob Herring				};
340724ba675SRob Herring			};
341724ba675SRob Herring		};
342724ba675SRob Herring	};
343724ba675SRob Herring};
344724ba675SRob Herring
345724ba675SRob Herring&i2c2 {
346724ba675SRob Herring	status = "okay";
347724ba675SRob Herring};
348724ba675SRob Herring
349724ba675SRob Herring&i2c5 {
350724ba675SRob Herring	status = "okay";
351724ba675SRob Herring};
352724ba675SRob Herring
353724ba675SRob Herring&i2s {
354724ba675SRob Herring	#sound-dai-cells = <0>;
355724ba675SRob Herring	status = "okay";
356724ba675SRob Herring};
357724ba675SRob Herring
358724ba675SRob Herring&io_domains {
359724ba675SRob Herring	status = "okay";
360724ba675SRob Herring
361724ba675SRob Herring	sdcard-supply = <&vccio_sd>;
362724ba675SRob Herring	wifi-supply = <&vcc_18>;
363724ba675SRob Herring};
364724ba675SRob Herring
365724ba675SRob Herring&pinctrl {
366724ba675SRob Herring	pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
367724ba675SRob Herring		drive-strength = <8>;
368724ba675SRob Herring	};
369724ba675SRob Herring
370724ba675SRob Herring	pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
371724ba675SRob Herring		bias-pull-up;
372724ba675SRob Herring		drive-strength = <8>;
373724ba675SRob Herring	};
374724ba675SRob Herring
375724ba675SRob Herring	backlight {
376724ba675SRob Herring		bl_en: bl-en {
377724ba675SRob Herring			rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
378724ba675SRob Herring		};
379724ba675SRob Herring	};
380724ba675SRob Herring
381724ba675SRob Herring	buttons {
382724ba675SRob Herring		pwrbtn: pwrbtn {
383724ba675SRob Herring			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
384724ba675SRob Herring		};
385724ba675SRob Herring	};
386724ba675SRob Herring
387724ba675SRob Herring	eth_phy {
388724ba675SRob Herring		eth_phy_pwr: eth-phy-pwr {
389724ba675SRob Herring			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
390724ba675SRob Herring		};
391724ba675SRob Herring	};
392724ba675SRob Herring
393724ba675SRob Herring	pmic {
394724ba675SRob Herring		pmic_int: pmic-int {
395724ba675SRob Herring			rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
396724ba675SRob Herring		};
397724ba675SRob Herring
398724ba675SRob Herring		dvs_1: dvs-1 {
399724ba675SRob Herring			rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_down>;
400724ba675SRob Herring		};
401724ba675SRob Herring
402724ba675SRob Herring		dvs_2: dvs-2 {
403724ba675SRob Herring			rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
404724ba675SRob Herring		};
405724ba675SRob Herring	};
406724ba675SRob Herring
407724ba675SRob Herring	sdmmc {
408724ba675SRob Herring		sdmmc_bus4: sdmmc-bus4 {
409724ba675SRob Herring			rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>,
410724ba675SRob Herring					<6 RK_PC1 1 &pcfg_pull_up_drv_8ma>,
411724ba675SRob Herring					<6 RK_PC2 1 &pcfg_pull_up_drv_8ma>,
412724ba675SRob Herring					<6 RK_PC3 1 &pcfg_pull_up_drv_8ma>;
413724ba675SRob Herring		};
414724ba675SRob Herring
415724ba675SRob Herring		sdmmc_clk: sdmmc-clk {
416724ba675SRob Herring			rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>;
417724ba675SRob Herring		};
418724ba675SRob Herring
419724ba675SRob Herring		sdmmc_cmd: sdmmc-cmd {
420724ba675SRob Herring			rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>;
421724ba675SRob Herring		};
422724ba675SRob Herring
423724ba675SRob Herring		sdmmc_pwr: sdmmc-pwr {
424724ba675SRob Herring			rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
425724ba675SRob Herring		};
426724ba675SRob Herring	};
427724ba675SRob Herring
428724ba675SRob Herring	usb {
429724ba675SRob Herring		host_vbus_drv: host-vbus-drv {
430724ba675SRob Herring			rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
431724ba675SRob Herring		};
432724ba675SRob Herring
433724ba675SRob Herring		pwr_3g: pwr-3g {
434724ba675SRob Herring			rockchip,pins = <7 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
435724ba675SRob Herring		};
436724ba675SRob Herring	};
437724ba675SRob Herring
438724ba675SRob Herring	sdio {
439724ba675SRob Herring		wifi_enable: wifi-enable {
440724ba675SRob Herring			rockchip,pins = <4 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>,
441724ba675SRob Herring					<4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
442724ba675SRob Herring		};
443724ba675SRob Herring	};
444724ba675SRob Herring};
445724ba675SRob Herring
446724ba675SRob Herring&pwm0 {
447724ba675SRob Herring	status = "okay";
448724ba675SRob Herring};
449724ba675SRob Herring
450724ba675SRob Herring&saradc {
451724ba675SRob Herring	vref-supply = <&vcc18_ldo1>;
452724ba675SRob Herring	status = "okay";
453724ba675SRob Herring};
454724ba675SRob Herring
455724ba675SRob Herring&sdmmc {
456724ba675SRob Herring	bus-width = <4>;
457724ba675SRob Herring	cap-mmc-highspeed;
458724ba675SRob Herring	cap-sd-highspeed;
459724ba675SRob Herring	broken-cd;
460724ba675SRob Herring	disable-wp;			/* wp not hooked up */
461724ba675SRob Herring	pinctrl-names = "default";
462724ba675SRob Herring	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
463724ba675SRob Herring	status = "okay";
464724ba675SRob Herring	vmmc-supply = <&vcc33_sd>;
465724ba675SRob Herring	vqmmc-supply = <&vccio_sd>;
466724ba675SRob Herring};
467724ba675SRob Herring
468724ba675SRob Herring&sdio0 {
469724ba675SRob Herring	bus-width = <4>;
470724ba675SRob Herring	cap-sd-highspeed;
471724ba675SRob Herring	cap-sdio-irq;
472724ba675SRob Herring	keep-power-in-suspend;
473724ba675SRob Herring	max-frequency = <50000000>;
474724ba675SRob Herring	mmc-pwrseq = <&sdio_pwrseq>;
475724ba675SRob Herring	non-removable;
476724ba675SRob Herring	pinctrl-names = "default";
477724ba675SRob Herring	pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>, <&sdio0_int>;
478724ba675SRob Herring	sd-uhs-sdr12;
479724ba675SRob Herring	sd-uhs-sdr25;
480724ba675SRob Herring	sd-uhs-sdr50;
481724ba675SRob Herring	vmmc-supply = <&vcc_io>;
482724ba675SRob Herring	vqmmc-supply = <&vcc_18>;
483724ba675SRob Herring	status = "okay";
484724ba675SRob Herring};
485724ba675SRob Herring
486724ba675SRob Herring&tsadc {
487724ba675SRob Herring	rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
488724ba675SRob Herring	rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
489724ba675SRob Herring	status = "okay";
490724ba675SRob Herring};
491724ba675SRob Herring
492724ba675SRob Herring&uart0 {
493724ba675SRob Herring	status = "okay";
494724ba675SRob Herring};
495724ba675SRob Herring
496724ba675SRob Herring&uart1 {
497724ba675SRob Herring	status = "okay";
498724ba675SRob Herring};
499724ba675SRob Herring
500724ba675SRob Herring&uart2 {
501724ba675SRob Herring	status = "okay";
502724ba675SRob Herring};
503724ba675SRob Herring
504724ba675SRob Herring&uart3 {
505724ba675SRob Herring	status = "okay";
506724ba675SRob Herring};
507724ba675SRob Herring
508724ba675SRob Herring&uart4 {
509724ba675SRob Herring	status = "okay";
510724ba675SRob Herring};
511724ba675SRob Herring
512724ba675SRob Herring&usbphy {
513724ba675SRob Herring	status = "okay";
514724ba675SRob Herring};
515724ba675SRob Herring
516724ba675SRob Herring&usb_host0_ehci {
517724ba675SRob Herring	status = "okay";
518724ba675SRob Herring};
519724ba675SRob Herring
520724ba675SRob Herring&usb_host1 {
521724ba675SRob Herring	status = "okay";
522724ba675SRob Herring};
523724ba675SRob Herring
524724ba675SRob Herring&usb_otg {
525724ba675SRob Herring	status = "okay";
526724ba675SRob Herring};
527724ba675SRob Herring
528724ba675SRob Herring&vopb {
529724ba675SRob Herring	status = "okay";
530724ba675SRob Herring};
531724ba675SRob Herring
532724ba675SRob Herring&vopb_mmu {
533724ba675SRob Herring	status = "okay";
534724ba675SRob Herring};
535724ba675SRob Herring
536724ba675SRob Herring&vopl {
537724ba675SRob Herring	status = "okay";
538724ba675SRob Herring};
539724ba675SRob Herring
540724ba675SRob Herring&vopl_mmu {
541724ba675SRob Herring	status = "okay";
542724ba675SRob Herring};
543724ba675SRob Herring
544724ba675SRob Herring&wdt {
545724ba675SRob Herring	status = "okay";
546724ba675SRob Herring};
547