xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rk3288-veyron-fievel.dts (revision c34e9ab9a612ee8b18273398ef75c207b01f516d)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2724ba675SRob Herring/*
3724ba675SRob Herring * Google Veyron Fievel Rev 0+ board device tree source
4724ba675SRob Herring *
5724ba675SRob Herring * Copyright 2016 Google, Inc
6724ba675SRob Herring */
7724ba675SRob Herring
8724ba675SRob Herring/dts-v1/;
9724ba675SRob Herring#include "rk3288-veyron.dtsi"
10724ba675SRob Herring#include "rk3288-veyron-analog-audio.dtsi"
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	model = "Google Fievel";
14724ba675SRob Herring	compatible = "google,veyron-fievel-rev8", "google,veyron-fievel-rev7",
15724ba675SRob Herring		     "google,veyron-fievel-rev6", "google,veyron-fievel-rev5",
16724ba675SRob Herring		     "google,veyron-fievel-rev4", "google,veyron-fievel-rev3",
17724ba675SRob Herring		     "google,veyron-fievel-rev2", "google,veyron-fievel-rev1",
18724ba675SRob Herring		     "google,veyron-fievel-rev0", "google,veyron-fievel",
19724ba675SRob Herring		     "google,veyron", "rockchip,rk3288";
20724ba675SRob Herring
21*2c3944d9SJohan Jonker	vccsys: regulator-vccsys {
22724ba675SRob Herring		compatible = "regulator-fixed";
23724ba675SRob Herring		regulator-name = "vccsys";
24724ba675SRob Herring		regulator-boot-on;
25724ba675SRob Herring		regulator-always-on;
26724ba675SRob Herring	};
27724ba675SRob Herring
28724ba675SRob Herring	/*
29724ba675SRob Herring	 * vcc33_pmuio and vcc33_io is sourced directly from vcc33_sys,
30724ba675SRob Herring	 * enabled by vcc_18
31724ba675SRob Herring	 */
32*2c3944d9SJohan Jonker	vcc33_io: regulator-vcc33-io {
33724ba675SRob Herring		compatible = "regulator-fixed";
34724ba675SRob Herring		regulator-always-on;
35724ba675SRob Herring		regulator-boot-on;
36724ba675SRob Herring		regulator-name = "vcc33_io";
37724ba675SRob Herring	};
38724ba675SRob Herring
39*2c3944d9SJohan Jonker	vcc5_host1: regulator-vcc5-host1 {
40724ba675SRob Herring		compatible = "regulator-fixed";
41724ba675SRob Herring		enable-active-high;
42724ba675SRob Herring		gpio = <&gpio5 RK_PC2 GPIO_ACTIVE_HIGH>;
43724ba675SRob Herring		pinctrl-names = "default";
44724ba675SRob Herring		pinctrl-0 = <&hub_usb1_pwr_en>;
45724ba675SRob Herring		regulator-name = "vcc5_host1";
46724ba675SRob Herring		regulator-always-on;
47724ba675SRob Herring		regulator-boot-on;
48724ba675SRob Herring	};
49724ba675SRob Herring
50*2c3944d9SJohan Jonker	vcc5_host2: regulator-vcc5-host2 {
51724ba675SRob Herring		compatible = "regulator-fixed";
52724ba675SRob Herring		enable-active-high;
53724ba675SRob Herring		gpio = <&gpio5 RK_PB6 GPIO_ACTIVE_HIGH>;
54724ba675SRob Herring		pinctrl-names = "default";
55724ba675SRob Herring		pinctrl-0 = <&hub_usb2_pwr_en>;
56724ba675SRob Herring		regulator-name = "vcc5_host2";
57724ba675SRob Herring		regulator-always-on;
58724ba675SRob Herring		regulator-boot-on;
59724ba675SRob Herring	};
60724ba675SRob Herring
61*2c3944d9SJohan Jonker	vcc5v_otg: regulator-vcc5v-otg {
62724ba675SRob Herring		compatible = "regulator-fixed";
63724ba675SRob Herring		enable-active-high;
64724ba675SRob Herring		gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
65724ba675SRob Herring		pinctrl-names = "default";
66724ba675SRob Herring		pinctrl-0 = <&usb_otg_pwr_en>;
67724ba675SRob Herring		regulator-name = "vcc5_otg";
68724ba675SRob Herring		regulator-always-on;
69724ba675SRob Herring		regulator-boot-on;
70724ba675SRob Herring	};
71724ba675SRob Herring
72724ba675SRob Herring	ext_gmac: external-gmac-clock {
73724ba675SRob Herring		compatible = "fixed-clock";
74724ba675SRob Herring		#clock-cells = <0>;
75724ba675SRob Herring		clock-frequency = <125000000>;
76724ba675SRob Herring		clock-output-names = "ext_gmac";
77724ba675SRob Herring	};
78724ba675SRob Herring};
79724ba675SRob Herring
80724ba675SRob Herring&gmac {
81724ba675SRob Herring	status = "okay";
82724ba675SRob Herring
83724ba675SRob Herring	assigned-clocks = <&cru SCLK_MAC>;
84724ba675SRob Herring	assigned-clock-parents = <&ext_gmac>;
85724ba675SRob Herring	clock_in_out = "input";
86724ba675SRob Herring	phy-handle = <&ethphy>;
87724ba675SRob Herring	phy-mode = "rgmii";
88724ba675SRob Herring	phy-supply = <&vcc33_lan>;
89724ba675SRob Herring	pinctrl-names = "default";
90724ba675SRob Herring	pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
91724ba675SRob Herring	rx_delay = <0x10>;
92724ba675SRob Herring	tx_delay = <0x30>;
93724ba675SRob Herring
94724ba675SRob Herring	/*
95724ba675SRob Herring	 * Reset for the RTL8211 PHY which requires a 10-ms reset pulse (low)
96724ba675SRob Herring	 * with a 30ms settling time.
97724ba675SRob Herring	 */
98724ba675SRob Herring	snps,reset-gpio = <&gpio4 RK_PB0 0>;
99724ba675SRob Herring	snps,reset-active-low;
100724ba675SRob Herring	snps,reset-delays-us = <0 10000 30000>;
101724ba675SRob Herring	wakeup-source;
102724ba675SRob Herring
103724ba675SRob Herring	mdio0 {
104724ba675SRob Herring		compatible = "snps,dwmac-mdio";
105724ba675SRob Herring		#address-cells = <1>;
106724ba675SRob Herring		#size-cells = <0>;
107724ba675SRob Herring
108724ba675SRob Herring		ethphy: ethernet-phy@1 {
109724ba675SRob Herring			reg = <1>;
110724ba675SRob Herring		};
111724ba675SRob Herring	};
112724ba675SRob Herring};
113724ba675SRob Herring
114724ba675SRob Herring&rk808 {
115724ba675SRob Herring	dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
116724ba675SRob Herring		    <&gpio7 RK_PB7 GPIO_ACTIVE_HIGH>;
117724ba675SRob Herring	pinctrl-names = "default";
118724ba675SRob Herring	pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
119724ba675SRob Herring
120724ba675SRob Herring	vcc6-supply = <&vcc33_sys>;
121724ba675SRob Herring	vcc10-supply = <&vcc33_sys>;
122724ba675SRob Herring	vcc11-supply = <&vcc_5v>;
123724ba675SRob Herring	vcc12-supply = <&vcc33_sys>;
124724ba675SRob Herring
125724ba675SRob Herring	regulators {
126724ba675SRob Herring		/delete-node/ LDO_REG1;
127724ba675SRob Herring
128724ba675SRob Herring		/*
129724ba675SRob Herring		 * According to the schematic, vcc18_lcdt is for
130724ba675SRob Herring		 * HDMI_AVDD_1V8
131724ba675SRob Herring		 */
132724ba675SRob Herring		vcc18_lcdt: LDO_REG2 {
133724ba675SRob Herring			regulator-always-on;
134724ba675SRob Herring			regulator-boot-on;
135724ba675SRob Herring			regulator-min-microvolt = <1800000>;
136724ba675SRob Herring			regulator-max-microvolt = <1800000>;
137724ba675SRob Herring			regulator-name = "vdd18_lcdt";
138724ba675SRob Herring			regulator-state-mem {
139724ba675SRob Herring				regulator-off-in-suspend;
140724ba675SRob Herring			};
141724ba675SRob Herring		};
142724ba675SRob Herring
143724ba675SRob Herring		/*
144724ba675SRob Herring		 * This is not a pwren anymore, but the real power supply,
145724ba675SRob Herring		 * vdd10_lcd for HDMI_AVDD_1V0
146724ba675SRob Herring		 */
147724ba675SRob Herring		vdd10_lcd: LDO_REG7 {
148724ba675SRob Herring			regulator-always-on;
149724ba675SRob Herring			regulator-boot-on;
150724ba675SRob Herring			regulator-min-microvolt = <1000000>;
151724ba675SRob Herring			regulator-max-microvolt = <1000000>;
152724ba675SRob Herring			regulator-name = "vdd10_lcd";
153724ba675SRob Herring			regulator-state-mem {
154724ba675SRob Herring				regulator-off-in-suspend;
155724ba675SRob Herring			};
156724ba675SRob Herring		};
157724ba675SRob Herring
158724ba675SRob Herring		/* for usb camera */
159724ba675SRob Herring		vcc33_ccd: LDO_REG8 {
160724ba675SRob Herring			regulator-always-on;
161724ba675SRob Herring			regulator-boot-on;
162724ba675SRob Herring			regulator-min-microvolt = <3300000>;
163724ba675SRob Herring			regulator-max-microvolt = <3300000>;
164724ba675SRob Herring			regulator-name = "vcc33_ccd";
165724ba675SRob Herring			regulator-state-mem {
166724ba675SRob Herring				regulator-off-in-suspend;
167724ba675SRob Herring			};
168724ba675SRob Herring		};
169724ba675SRob Herring
170724ba675SRob Herring		vcc33_lan: SWITCH_REG2 {
171724ba675SRob Herring			regulator-name = "vcc33_lan";
172724ba675SRob Herring		};
173724ba675SRob Herring	};
174724ba675SRob Herring};
175724ba675SRob Herring
176724ba675SRob Herring&sdio0 {
177724ba675SRob Herring	#address-cells = <1>;
178724ba675SRob Herring	#size-cells = <0>;
179724ba675SRob Herring
180724ba675SRob Herring	btmrvl: btmrvl@2 {
181724ba675SRob Herring		compatible = "marvell,sd8897-bt";
182724ba675SRob Herring		reg = <2>;
183724ba675SRob Herring		interrupt-parent = <&gpio4>;
184724ba675SRob Herring		interrupts = <RK_PD7 IRQ_TYPE_LEVEL_LOW>;
185724ba675SRob Herring		marvell,wakeup-pin = /bits/ 16 <13>;
186724ba675SRob Herring		pinctrl-names = "default";
187724ba675SRob Herring		pinctrl-0 = <&bt_host_wake_l>;
188724ba675SRob Herring	};
189724ba675SRob Herring};
190724ba675SRob Herring
191724ba675SRob Herring&vcc50_hdmi {
192724ba675SRob Herring	enable-active-high;
193724ba675SRob Herring	gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
194724ba675SRob Herring	pinctrl-names = "default";
195724ba675SRob Herring	pinctrl-0 = <&vcc50_hdmi_en>;
196724ba675SRob Herring};
197724ba675SRob Herring
198724ba675SRob Herring&vcc_5v {
199724ba675SRob Herring	enable-active-high;
200724ba675SRob Herring	gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
201724ba675SRob Herring	pinctrl-names = "default";
202724ba675SRob Herring	pinctrl-0 = <&drv_5v>;
203724ba675SRob Herring};
204724ba675SRob Herring
205724ba675SRob Herring&gpio0 {
206724ba675SRob Herring	gpio-line-names = "PMIC_SLEEP_AP",
207724ba675SRob Herring			  "DDRIO_PWROFF",
208724ba675SRob Herring			  "DDRIO_RETEN",
209724ba675SRob Herring			  "TS3A227E_INT_L",
210724ba675SRob Herring			  "PMIC_INT_L",
211724ba675SRob Herring			  "PWR_KEY_L",
212724ba675SRob Herring			  "HUB_USB1_nFALUT",
213724ba675SRob Herring			  "PHY_PMEB",
214724ba675SRob Herring
215724ba675SRob Herring			  "PHY_INT",
216724ba675SRob Herring			  /*
217724ba675SRob Herring			   * RECOVERY_SW_L is Chrome OS ABI.  Schematics call
218724ba675SRob Herring			   * it REC_MODE_L.
219724ba675SRob Herring			   */
220724ba675SRob Herring			  "RECOVERY_SW_L",
221724ba675SRob Herring			  "OTP_OUT",
222724ba675SRob Herring			  "",
223724ba675SRob Herring			  "USB_OTG_POWER_EN",
224724ba675SRob Herring			  "AP_WARM_RESET_H",
225724ba675SRob Herring			  "USB_OTG_nFALUT",
226724ba675SRob Herring			  "I2C0_SDA_PMIC",
227724ba675SRob Herring
228724ba675SRob Herring			  "I2C0_SCL_PMIC",
229724ba675SRob Herring			  "DEVMODE_L",
230724ba675SRob Herring			  "USB_INT";
231724ba675SRob Herring};
232724ba675SRob Herring
233724ba675SRob Herring&gpio2 {
234724ba675SRob Herring	gpio-line-names = "CONFIG0",
235724ba675SRob Herring			  "CONFIG1",
236724ba675SRob Herring			  "CONFIG2",
237724ba675SRob Herring			  "",
238724ba675SRob Herring			  "",
239724ba675SRob Herring			  "",
240724ba675SRob Herring			  "",
241724ba675SRob Herring			  "CONFIG3",
242724ba675SRob Herring
243724ba675SRob Herring			  "",
244724ba675SRob Herring			  "EMMC_RST_L",
245724ba675SRob Herring			  "",
246724ba675SRob Herring			  "",
247724ba675SRob Herring			  "BL_PWR_EN",
248724ba675SRob Herring			  "",
249724ba675SRob Herring			  "TOUCH_INT",
250724ba675SRob Herring			  "TOUCH_RST",
251724ba675SRob Herring
252724ba675SRob Herring			  "I2C3_SCL_TP",
253724ba675SRob Herring			  "I2C3_SDA_TP";
254724ba675SRob Herring};
255724ba675SRob Herring
256724ba675SRob Herring&gpio3 {
257724ba675SRob Herring	gpio-line-names = "FLASH0_D0",
258724ba675SRob Herring			  "FLASH0_D1",
259724ba675SRob Herring			  "FLASH0_D2",
260724ba675SRob Herring			  "FLASH0_D3",
261724ba675SRob Herring			  "FLASH0_D4",
262724ba675SRob Herring			  "FLASH0_D5",
263724ba675SRob Herring			  "FLASH0_D6",
264724ba675SRob Herring			  "FLASH0_D7",
265724ba675SRob Herring
266724ba675SRob Herring			  "VCC5V_GOOD_H",
267724ba675SRob Herring			  "",
268724ba675SRob Herring			  "",
269724ba675SRob Herring			  "",
270724ba675SRob Herring			  "",
271724ba675SRob Herring			  "",
272724ba675SRob Herring			  "",
273724ba675SRob Herring			  "",
274724ba675SRob Herring
275724ba675SRob Herring			  "FLASH0_CS2/EMMC_CMD",
276724ba675SRob Herring			  "",
277724ba675SRob Herring			  "FLASH0_DQS/EMMC_CLKO",
278724ba675SRob Herring			  "",
279724ba675SRob Herring			  "",
280724ba675SRob Herring			  "",
281724ba675SRob Herring			  "",
282724ba675SRob Herring			  "",
283724ba675SRob Herring
284724ba675SRob Herring			  "PHY_TXD2",
285724ba675SRob Herring			  "PHY_TXD3",
286724ba675SRob Herring			  "MAC_RXD2",
287724ba675SRob Herring			  "MAC_RXD3",
288724ba675SRob Herring			  "PHY_TXD0",
289724ba675SRob Herring			  "PHY_TXD1",
290724ba675SRob Herring			  "MAC_RXD0",
291724ba675SRob Herring			  "MAC_RXD1";
292724ba675SRob Herring};
293724ba675SRob Herring
294724ba675SRob Herring&gpio4 {
295724ba675SRob Herring	gpio-line-names = "MAC_MDC",
296724ba675SRob Herring			  "MAC_RXDV",
297724ba675SRob Herring			  "MAC_RXER",
298724ba675SRob Herring			  "MAC_CLK",
299724ba675SRob Herring			  "PHY_TXEN",
300724ba675SRob Herring			  "MAC_MDIO",
301724ba675SRob Herring			  "MAC_RXCLK",
302724ba675SRob Herring			  "",
303724ba675SRob Herring
304724ba675SRob Herring			  "PHY_RST",
305724ba675SRob Herring			  "PHY_TXCLK",
306724ba675SRob Herring			  "",
307724ba675SRob Herring			  "",
308724ba675SRob Herring			  "",
309724ba675SRob Herring			  "",
310724ba675SRob Herring			  "",
311724ba675SRob Herring			  "",
312724ba675SRob Herring
313724ba675SRob Herring			  "UART0_RXD",
314724ba675SRob Herring			  "UART0_TXD",
315724ba675SRob Herring			  "UART0_CTS_L",
316724ba675SRob Herring			  "UART0_RTS_L",
317724ba675SRob Herring			  "SDIO0_D0",
318724ba675SRob Herring			  "SDIO0_D1",
319724ba675SRob Herring			  "SDIO0_D2",
320724ba675SRob Herring			  "SDIO0_D3",
321724ba675SRob Herring
322724ba675SRob Herring			  "SDIO0_CMD",
323724ba675SRob Herring			  "SDIO0_CLK",
324724ba675SRob Herring			  "BT_DEV_WAKE",
325724ba675SRob Herring			  "",
326724ba675SRob Herring			  "WIFI_ENABLE_H",
327724ba675SRob Herring			  "BT_ENABLE_L",
328724ba675SRob Herring			  "WIFI_HOST_WAKE",
329724ba675SRob Herring			  "BT_HOST_WAKE";
330724ba675SRob Herring};
331724ba675SRob Herring
332724ba675SRob Herring&gpio5 {
333724ba675SRob Herring	gpio-line-names = "",
334724ba675SRob Herring			  "",
335724ba675SRob Herring			  "",
336724ba675SRob Herring			  "",
337724ba675SRob Herring			  "",
338724ba675SRob Herring			  "",
339724ba675SRob Herring			  "",
340724ba675SRob Herring			  "",
341724ba675SRob Herring
342724ba675SRob Herring			  "",
343724ba675SRob Herring			  "",
344724ba675SRob Herring			  "",
345724ba675SRob Herring			  "",
346724ba675SRob Herring			  "USB_OTG_CTL1",
347724ba675SRob Herring			  "HUB_USB2_CTL1",
348724ba675SRob Herring			  "HUB_USB2_PWR_EN",
349724ba675SRob Herring			  "HUB_USB_ILIM_SEL",
350724ba675SRob Herring
351724ba675SRob Herring			  "USB_OTG_STATUS_L",
352724ba675SRob Herring			  "HUB_USB1_CTL1",
353724ba675SRob Herring			  "HUB_USB1_PWR_EN",
354724ba675SRob Herring			  "VCC50_HDMI_EN";
355724ba675SRob Herring};
356724ba675SRob Herring
357724ba675SRob Herring&gpio6 {
358724ba675SRob Herring	gpio-line-names = "I2S0_SCLK",
359724ba675SRob Herring			  "I2S0_LRCK_RX",
360724ba675SRob Herring			  "I2S0_LRCK_TX",
361724ba675SRob Herring			  "I2S0_SDI",
362724ba675SRob Herring			  "I2S0_SDO0",
363724ba675SRob Herring			  "HP_DET_H",
364724ba675SRob Herring			  "",
365724ba675SRob Herring			  "INT_CODEC",
366724ba675SRob Herring
367724ba675SRob Herring			  "I2S0_CLK",
368724ba675SRob Herring			  "I2C2_SDA",
369724ba675SRob Herring			  "I2C2_SCL",
370724ba675SRob Herring			  "MICDET",
371724ba675SRob Herring			  "",
372724ba675SRob Herring			  "",
373724ba675SRob Herring			  "",
374724ba675SRob Herring			  "",
375724ba675SRob Herring
376724ba675SRob Herring			  "HUB_USB2_nFALUT",
377724ba675SRob Herring			  "USB_OTG_ILIM_SEL";
378724ba675SRob Herring};
379724ba675SRob Herring
380724ba675SRob Herring&gpio7 {
381724ba675SRob Herring	gpio-line-names = "LCD_BL_PWM",
382724ba675SRob Herring			  "PWM_LOG",
383724ba675SRob Herring			  "BL_EN",
384724ba675SRob Herring			  "PWR_LED1",
385724ba675SRob Herring			  "TPM_INT_H",
386724ba675SRob Herring			  "SPK_ON",
387724ba675SRob Herring			  /*
388724ba675SRob Herring			   * AP_FLASH_WP_L is Chrome OS ABI.  Schematics call
389724ba675SRob Herring			   * it FW_WP_AP.
390724ba675SRob Herring			   */
391724ba675SRob Herring			  "AP_FLASH_WP_L",
392724ba675SRob Herring			  "",
393724ba675SRob Herring
394724ba675SRob Herring			  "CPU_NMI",
395724ba675SRob Herring			  "DVSOK",
396724ba675SRob Herring			  "",
397724ba675SRob Herring			  "EDP_HPD",
398724ba675SRob Herring			  "DVS1",
399724ba675SRob Herring			  "",
400724ba675SRob Herring			  "LCD_EN",
401724ba675SRob Herring			  "DVS2",
402724ba675SRob Herring
403724ba675SRob Herring			  "HDMI_CEC",
404724ba675SRob Herring			  "I2C4_SDA",
405724ba675SRob Herring			  "I2C4_SCL",
406724ba675SRob Herring			  "I2C5_SDA_HDMI",
407724ba675SRob Herring			  "I2C5_SCL_HDMI",
408724ba675SRob Herring			  "5V_DRV",
409724ba675SRob Herring			  "UART2_RXD",
410724ba675SRob Herring			  "UART2_TXD";
411724ba675SRob Herring};
412724ba675SRob Herring
413724ba675SRob Herring&gpio8 {
414724ba675SRob Herring	gpio-line-names = "RAM_ID0",
415724ba675SRob Herring			  "RAM_ID1",
416724ba675SRob Herring			  "RAM_ID2",
417724ba675SRob Herring			  "RAM_ID3",
418724ba675SRob Herring			  "I2C1_SDA_TPM",
419724ba675SRob Herring			  "I2C1_SCL_TPM",
420724ba675SRob Herring			  "SPI2_CLK",
421724ba675SRob Herring			  "SPI2_CS0",
422724ba675SRob Herring
423724ba675SRob Herring			  "SPI2_RXD",
424724ba675SRob Herring			  "SPI2_TXD";
425724ba675SRob Herring};
426724ba675SRob Herring
427724ba675SRob Herring&pinctrl {
428724ba675SRob Herring	pinctrl-names = "default", "sleep";
429724ba675SRob Herring	pinctrl-0 = <
430724ba675SRob Herring		/* Common for sleep and wake, but no owners */
431724ba675SRob Herring		&ddr0_retention
432724ba675SRob Herring		&ddrio_pwroff
433724ba675SRob Herring		&global_pwroff
434724ba675SRob Herring
435724ba675SRob Herring		/* For usb bc1.2 */
436724ba675SRob Herring		&usb_otg_ilim_sel
437724ba675SRob Herring		&usb_usb_ilim_sel
438724ba675SRob Herring
439724ba675SRob Herring		/* Wake only */
440724ba675SRob Herring		&bt_dev_wake_awake
441724ba675SRob Herring		&pwr_led1_on
442724ba675SRob Herring	>;
443724ba675SRob Herring
444724ba675SRob Herring	pinctrl-1 = <
445724ba675SRob Herring		/* Common for sleep and wake, but no owners */
446724ba675SRob Herring		&ddr0_retention
447724ba675SRob Herring		&ddrio_pwroff
448724ba675SRob Herring		&global_pwroff
449724ba675SRob Herring
450724ba675SRob Herring		/* For usb bc1.2 */
451724ba675SRob Herring		&usb_otg_ilim_sel
452724ba675SRob Herring		&usb_usb_ilim_sel
453724ba675SRob Herring
454724ba675SRob Herring		/* Sleep only */
455724ba675SRob Herring		&bt_dev_wake_sleep
456724ba675SRob Herring		&pwr_led1_blink
457724ba675SRob Herring	>;
458724ba675SRob Herring
459724ba675SRob Herring	buck-5v {
460724ba675SRob Herring		drv_5v: drv-5v {
461724ba675SRob Herring			rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
462724ba675SRob Herring		};
463724ba675SRob Herring	};
464724ba675SRob Herring
465724ba675SRob Herring	gmac {
466724ba675SRob Herring		phy_rst: phy-rst {
467724ba675SRob Herring			rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>;
468724ba675SRob Herring		};
469724ba675SRob Herring
470724ba675SRob Herring		phy_pmeb: phy-pmeb {
471724ba675SRob Herring			rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
472724ba675SRob Herring		};
473724ba675SRob Herring
474724ba675SRob Herring		phy_int: phy-int {
475724ba675SRob Herring			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
476724ba675SRob Herring		};
477724ba675SRob Herring	};
478724ba675SRob Herring
479724ba675SRob Herring	hdmi {
480724ba675SRob Herring		vcc50_hdmi_en: vcc50-hdmi-en {
481724ba675SRob Herring			rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
482724ba675SRob Herring		};
483724ba675SRob Herring	};
484724ba675SRob Herring
485724ba675SRob Herring	leds {
486724ba675SRob Herring		pwr_led1_on: pwr-led1-on {
487724ba675SRob Herring			rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_output_low>;
488724ba675SRob Herring		};
489724ba675SRob Herring
490724ba675SRob Herring		pwr_led1_blink: pwr-led1-blink {
491724ba675SRob Herring			rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_output_high>;
492724ba675SRob Herring		};
493724ba675SRob Herring	};
494724ba675SRob Herring
495724ba675SRob Herring	pmic {
496724ba675SRob Herring		dvs_1: dvs-1 {
497724ba675SRob Herring			rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
498724ba675SRob Herring		};
499724ba675SRob Herring
500724ba675SRob Herring		dvs_2: dvs-2 {
501724ba675SRob Herring			rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>;
502724ba675SRob Herring		};
503724ba675SRob Herring	};
504724ba675SRob Herring
505724ba675SRob Herring	usb-bc12 {
506724ba675SRob Herring		usb_otg_ilim_sel: usb-otg-ilim-sel {
507724ba675SRob Herring			rockchip,pins = <6 RK_PC1 RK_FUNC_GPIO &pcfg_output_low>;
508724ba675SRob Herring		};
509724ba675SRob Herring
510724ba675SRob Herring		usb_usb_ilim_sel: usb-usb-ilim-sel {
511724ba675SRob Herring			rockchip,pins = <5 RK_PB7 RK_FUNC_GPIO &pcfg_output_low>;
512724ba675SRob Herring		};
513724ba675SRob Herring	};
514724ba675SRob Herring
515724ba675SRob Herring	usb-host {
516724ba675SRob Herring		hub_usb1_pwr_en: hub_usb1_pwr_en {
517724ba675SRob Herring			rockchip,pins = <5 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
518724ba675SRob Herring		};
519724ba675SRob Herring
520724ba675SRob Herring		hub_usb2_pwr_en: hub_usb2_pwr_en {
521724ba675SRob Herring			rockchip,pins = <5 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
522724ba675SRob Herring		};
523724ba675SRob Herring
524724ba675SRob Herring		usb_otg_pwr_en: usb_otg_pwr_en {
525724ba675SRob Herring			rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
526724ba675SRob Herring		};
527724ba675SRob Herring	};
528724ba675SRob Herring};
529