Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  2
  3#include <dt-bindings/input/input.h>
  4#include <dt-bindings/pwm/pwm.h>
  5#include "rk3288.dtsi"
  6
  7/ {
  8	memory@0 {
  9		device_type = "memory";
 10		reg = <0x0 0x0 0x0 0x80000000>;
 11	};
 12
 13	adc-keys {
 14		compatible = "adc-keys";
 15		io-channels = <&saradc 1>;
 16		io-channel-names = "buttons";
 17		keyup-threshold-microvolt = <1800000>;
 18
 19		button-up {
 20			label = "Volume Up";
 21			linux,code = <KEY_VOLUMEUP>;
 22			press-threshold-microvolt = <100000>;
 23		};
 24
 25		button-down {
 26			label = "Volume Down";
 27			linux,code = <KEY_VOLUMEDOWN>;
 28			press-threshold-microvolt = <300000>;
 29		};
 30
 31		button-menu {
 32			label = "Menu";
 33			linux,code = <KEY_MENU>;
 34			press-threshold-microvolt = <640000>;
 35		};
 36
 37		button-esc {
 38			label = "Esc";
 39			linux,code = <KEY_ESC>;
 40			press-threshold-microvolt = <1000000>;
 41		};
 42
 43		button-home  {
 44			label = "Home";
 45			linux,code = <KEY_HOME>;
 46			press-threshold-microvolt = <1300000>;
 47		};
 48	};
 49
 50	backlight: backlight {
 51		compatible = "pwm-backlight";
 52		brightness-levels = <
 53			  0   1   2   3   4   5   6   7
 54			  8   9  10  11  12  13  14  15
 55			 16  17  18  19  20  21  22  23
 56			 24  25  26  27  28  29  30  31
 57			 32  33  34  35  36  37  38  39
 58			 40  41  42  43  44  45  46  47
 59			 48  49  50  51  52  53  54  55
 60			 56  57  58  59  60  61  62  63
 61			 64  65  66  67  68  69  70  71
 62			 72  73  74  75  76  77  78  79
 63			 80  81  82  83  84  85  86  87
 64			 88  89  90  91  92  93  94  95
 65			 96  97  98  99 100 101 102 103
 66			104 105 106 107 108 109 110 111
 67			112 113 114 115 116 117 118 119
 68			120 121 122 123 124 125 126 127
 69			128 129 130 131 132 133 134 135
 70			136 137 138 139 140 141 142 143
 71			144 145 146 147 148 149 150 151
 72			152 153 154 155 156 157 158 159
 73			160 161 162 163 164 165 166 167
 74			168 169 170 171 172 173 174 175
 75			176 177 178 179 180 181 182 183
 76			184 185 186 187 188 189 190 191
 77			192 193 194 195 196 197 198 199
 78			200 201 202 203 204 205 206 207
 79			208 209 210 211 212 213 214 215
 80			216 217 218 219 220 221 222 223
 81			224 225 226 227 228 229 230 231
 82			232 233 234 235 236 237 238 239
 83			240 241 242 243 244 245 246 247
 84			248 249 250 251 252 253 254 255>;
 85		default-brightness-level = <128>;
 86		enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
 87		pinctrl-names = "default";
 88		pinctrl-0 = <&bl_en>;
 89		pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
 90	};
 91
 92	ext_gmac: external-gmac-clock {
 93		compatible = "fixed-clock";
 94		clock-frequency = <125000000>;
 95		clock-output-names = "ext_gmac";
 96		#clock-cells = <0>;
 97	};
 98
 99	panel: panel {
100		compatible = "lg,lp079qx1-sp0v";
101		backlight = <&backlight>;
102		enable-gpios = <&gpio7 RK_PA4 GPIO_ACTIVE_HIGH>;
103		pinctrl-0 = <&lcd_cs>;
104
105		ports {
106			panel_in: port {
107				panel_in_edp: endpoint {
108					remote-endpoint = <&edp_out_panel>;
109				};
110			};
111		};
112	};
113
114	gpio-keys {
115		compatible = "gpio-keys";
116		autorepeat;
117
118		pinctrl-names = "default";
119		pinctrl-0 = <&pwrbtn>;
120
121		key-power {
122			gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
123			linux,code = <KEY_POWER>;
124			label = "GPIO Key Power";
125			linux,input-type = <1>;
126			wakeup-source;
127			debounce-interval = <100>;
128		};
129	};
130
131	/* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
132	vcc_host: vcc-host-regulator {
133		compatible = "regulator-fixed";
134		enable-active-high;
135		gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
136		pinctrl-names = "default";
137		pinctrl-0 = <&host_vbus_drv>;
138		regulator-name = "vcc_host";
139		regulator-always-on;
140		regulator-boot-on;
141	};
142
143	vcc_phy: vcc-phy-regulator {
144		compatible = "regulator-fixed";
145		enable-active-high;
146		gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
147		pinctrl-names = "default";
148		pinctrl-0 = <&eth_phy_pwr>;
149		regulator-name = "vcc_phy";
150		regulator-min-microvolt = <3300000>;
151		regulator-max-microvolt = <3300000>;
152		regulator-always-on;
153		regulator-boot-on;
154	};
155
156	vcc_sys: vsys-regulator {
157		compatible = "regulator-fixed";
158		regulator-name = "vcc_sys";
159		regulator-min-microvolt = <5000000>;
160		regulator-max-microvolt = <5000000>;
161		regulator-always-on;
162		regulator-boot-on;
163	};
164
165	/*
166	 * NOTE: vcc_sd isn't hooked up on v1.0 boards where power comes from
167	 * vcc_io directly.  Those boards won't be able to power cycle SD cards
168	 * but it shouldn't hurt to toggle this pin there anyway.
169	 */
170	vcc_sd: sdmmc-regulator {
171		compatible = "regulator-fixed";
172		gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
173		pinctrl-names = "default";
174		pinctrl-0 = <&sdmmc_pwr>;
175		regulator-name = "vcc_sd";
176		regulator-min-microvolt = <3300000>;
177		regulator-max-microvolt = <3300000>;
178		startup-delay-us = <100000>;
179		vin-supply = <&vcc_io>;
180	};
181};
182
183&cpu0 {
184	cpu0-supply = <&vdd_cpu>;
185};
186
187&edp {
188	force-hpd;
189	status = "okay";
190
191	ports {
192		edp_out: port@1 {
193			reg = <1>;
194			#address-cells = <1>;
195			#size-cells = <0>;
196
197			edp_out_panel: endpoint@0 {
198				reg = <0>;
199				remote-endpoint = <&panel_in_edp>;
200			};
201		};
202	};
203};
204
205&edp_phy {
206	status = "okay";
207};
208
209&emmc {
210	bus-width = <8>;
211	cap-mmc-highspeed;
212	disable-wp;
213	non-removable;
 
214	pinctrl-names = "default";
215	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
216	status = "okay";
217};
218
219&saradc {
220	vref-supply = <&vcc_18>;
221	status = "okay";
222};
223
224&sdmmc {
225	bus-width = <4>;
226	cap-mmc-highspeed;
227	cap-sd-highspeed;
228	card-detect-delay = <200>;
229	disable-wp;			/* wp not hooked up */
 
230	pinctrl-names = "default";
231	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
232	status = "okay";
233	vmmc-supply = <&vcc_sd>;
234	vqmmc-supply = <&vccio_sd>;
235};
236
237&gmac {
238	phy-supply = <&vcc_phy>;
239	phy-mode = "rgmii";
240	clock_in_out = "input";
241	snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
242	snps,reset-active-low;
243	snps,reset-delays-us = <0 10000 1000000>;
244	assigned-clocks = <&cru SCLK_MAC>;
245	assigned-clock-parents = <&ext_gmac>;
246	pinctrl-names = "default";
247	pinctrl-0 = <&rgmii_pins>;
248	tx_delay = <0x30>;
249	rx_delay = <0x10>;
250	status = "okay";
251};
252
253&gpu {
254	mali-supply = <&vdd_gpu>;
255	status = "okay";
256};
257
258&hdmi {
259	ddc-i2c-bus = <&i2c5>;
260	status = "okay";
261};
262
263&i2c0 {
264	status = "okay";
265};
266
267&i2c5 {
268	status = "okay";
269};
270
271&wdt {
272	status = "okay";
273};
274
275&pwm0 {
276	status = "okay";
277};
278
279&uart0 {
280	status = "okay";
281};
282
283&uart1 {
284	status = "okay";
285};
286
287&uart2 {
288	status = "okay";
289};
290
291&uart3 {
292	status = "okay";
293};
294
295&uart4 {
296	status = "okay";
297};
298
299&tsadc {
300	rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
301	rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
302	status = "okay";
303};
304
305&pinctrl {
306	pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
307		drive-strength = <8>;
308	};
309
310	pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
311		bias-pull-up;
312		drive-strength = <8>;
313	};
314
315	backlight {
316		bl_en: bl-en {
317			rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
318		};
319	};
320
321	buttons {
322		pwrbtn: pwrbtn {
323			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
324		};
325	};
326
327	lcd {
328		lcd_cs: lcd-cs {
329			rockchip,pins = <7 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
330		};
331	};
332
333	pmic {
334		pmic_int: pmic-int {
335			rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
336		};
337	};
338
339	sdmmc {
340		/*
341		 * Default drive strength isn't enough to achieve even
342		 * high-speed mode on EVB board so bump up to 8ma.
343		 */
344		sdmmc_bus4: sdmmc-bus4 {
345			rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>,
346					<6 RK_PC1 1 &pcfg_pull_up_drv_8ma>,
347					<6 RK_PC2 1 &pcfg_pull_up_drv_8ma>,
348					<6 RK_PC3 1 &pcfg_pull_up_drv_8ma>;
349		};
350
351		sdmmc_clk: sdmmc-clk {
352			rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>;
353		};
354
355		sdmmc_cmd: sdmmc-cmd {
356			rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>;
357		};
358
359		sdmmc_pwr: sdmmc-pwr {
360			rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
361		};
362	};
363
364	usb {
365		host_vbus_drv: host-vbus-drv {
366			rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
367		};
368	};
369
370	eth_phy {
371		eth_phy_pwr: eth-phy-pwr {
372			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
373		};
374	};
375};
376
377&usbphy {
378	status = "okay";
379};
380
381&usb_host0_ehci {
382	status = "okay";
383};
384
385&usb_host1 {
386	status = "okay";
387};
388
389&vopb {
390	status = "okay";
391};
392
393&vopb_mmu {
394	status = "okay";
395};
396
397&vopl {
398	status = "okay";
399};
400
401&vopl_mmu {
402	status = "okay";
403};
v4.10.11
  1/*
  2 * This file is dual-licensed: you can use it either under the terms
  3 * of the GPL or the X11 license, at your option. Note that this dual
  4 * licensing only applies to this file, and not this project as a
  5 * whole.
  6 *
  7 *  a) This file is free software; you can redistribute it and/or
  8 *     modify it under the terms of the GNU General Public License as
  9 *     published by the Free Software Foundation; either version 2 of the
 10 *     License, or (at your option) any later version.
 11 *
 12 *     This file is distributed in the hope that it will be useful,
 13 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 14 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15 *     GNU General Public License for more details.
 16 *
 17 * Or, alternatively,
 18 *
 19 *  b) Permission is hereby granted, free of charge, to any person
 20 *     obtaining a copy of this software and associated documentation
 21 *     files (the "Software"), to deal in the Software without
 22 *     restriction, including without limitation the rights to use,
 23 *     copy, modify, merge, publish, distribute, sublicense, and/or
 24 *     sell copies of the Software, and to permit persons to whom the
 25 *     Software is furnished to do so, subject to the following
 26 *     conditions:
 27 *
 28 *     The above copyright notice and this permission notice shall be
 29 *     included in all copies or substantial portions of the Software.
 30 *
 31 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 32 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 33 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 34 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 35 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 36 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 37 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 38 *     OTHER DEALINGS IN THE SOFTWARE.
 39 */
 40
 41#include <dt-bindings/input/input.h>
 42#include <dt-bindings/pwm/pwm.h>
 43#include "rk3288.dtsi"
 44
 45/ {
 46	memory@0 {
 47		device_type = "memory";
 48		reg = <0x0 0x80000000>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 49	};
 50
 51	backlight: backlight {
 52		compatible = "pwm-backlight";
 53		brightness-levels = <
 54			  0   1   2   3   4   5   6   7
 55			  8   9  10  11  12  13  14  15
 56			 16  17  18  19  20  21  22  23
 57			 24  25  26  27  28  29  30  31
 58			 32  33  34  35  36  37  38  39
 59			 40  41  42  43  44  45  46  47
 60			 48  49  50  51  52  53  54  55
 61			 56  57  58  59  60  61  62  63
 62			 64  65  66  67  68  69  70  71
 63			 72  73  74  75  76  77  78  79
 64			 80  81  82  83  84  85  86  87
 65			 88  89  90  91  92  93  94  95
 66			 96  97  98  99 100 101 102 103
 67			104 105 106 107 108 109 110 111
 68			112 113 114 115 116 117 118 119
 69			120 121 122 123 124 125 126 127
 70			128 129 130 131 132 133 134 135
 71			136 137 138 139 140 141 142 143
 72			144 145 146 147 148 149 150 151
 73			152 153 154 155 156 157 158 159
 74			160 161 162 163 164 165 166 167
 75			168 169 170 171 172 173 174 175
 76			176 177 178 179 180 181 182 183
 77			184 185 186 187 188 189 190 191
 78			192 193 194 195 196 197 198 199
 79			200 201 202 203 204 205 206 207
 80			208 209 210 211 212 213 214 215
 81			216 217 218 219 220 221 222 223
 82			224 225 226 227 228 229 230 231
 83			232 233 234 235 236 237 238 239
 84			240 241 242 243 244 245 246 247
 85			248 249 250 251 252 253 254 255>;
 86		default-brightness-level = <128>;
 87		enable-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
 88		pinctrl-names = "default";
 89		pinctrl-0 = <&bl_en>;
 90		pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
 91	};
 92
 93	ext_gmac: external-gmac-clock {
 94		compatible = "fixed-clock";
 95		clock-frequency = <125000000>;
 96		clock-output-names = "ext_gmac";
 97		#clock-cells = <0>;
 98	};
 99
100	panel: panel {
101		compatible ="lg,lp079qx1-sp0v", "simple-panel";
102		backlight = <&backlight>;
103		enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
104		pinctrl-0 = <&lcd_cs>;
105
106		ports {
107			panel_in: port {
108				panel_in_edp: endpoint {
109					remote-endpoint = <&edp_out_panel>;
110				};
111			};
112		};
113	};
114
115	gpio-keys {
116		compatible = "gpio-keys";
117		autorepeat;
118
119		pinctrl-names = "default";
120		pinctrl-0 = <&pwrbtn>;
121
122		power {
123			gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
124			linux,code = <KEY_POWER>;
125			label = "GPIO Key Power";
126			linux,input-type = <1>;
127			wakeup-source;
128			debounce-interval = <100>;
129		};
130	};
131
132	/* This turns on USB vbus for both host0 (ehci) and host1 (dwc2) */
133	vcc_host: vcc-host-regulator {
134		compatible = "regulator-fixed";
135		enable-active-high;
136		gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
137		pinctrl-names = "default";
138		pinctrl-0 = <&host_vbus_drv>;
139		regulator-name = "vcc_host";
140		regulator-always-on;
141		regulator-boot-on;
142	};
143
144	vcc_phy: vcc-phy-regulator {
145		compatible = "regulator-fixed";
146		enable-active-high;
147		gpio = <&gpio0 6 GPIO_ACTIVE_HIGH>;
148		pinctrl-names = "default";
149		pinctrl-0 = <&eth_phy_pwr>;
150		regulator-name = "vcc_phy";
151		regulator-min-microvolt = <3300000>;
152		regulator-max-microvolt = <3300000>;
153		regulator-always-on;
154		regulator-boot-on;
155	};
156
157	vcc_sys: vsys-regulator {
158		compatible = "regulator-fixed";
159		regulator-name = "vcc_sys";
160		regulator-min-microvolt = <5000000>;
161		regulator-max-microvolt = <5000000>;
162		regulator-always-on;
163		regulator-boot-on;
164	};
165
166	/*
167	 * NOTE: vcc_sd isn't hooked up on v1.0 boards where power comes from
168	 * vcc_io directly.  Those boards won't be able to power cycle SD cards
169	 * but it shouldn't hurt to toggle this pin there anyway.
170	 */
171	vcc_sd: sdmmc-regulator {
172		compatible = "regulator-fixed";
173		gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
174		pinctrl-names = "default";
175		pinctrl-0 = <&sdmmc_pwr>;
176		regulator-name = "vcc_sd";
177		regulator-min-microvolt = <3300000>;
178		regulator-max-microvolt = <3300000>;
179		startup-delay-us = <100000>;
180		vin-supply = <&vcc_io>;
181	};
182};
183
184&cpu0 {
185	cpu0-supply = <&vdd_cpu>;
186};
187
188&edp {
189	force-hpd;
190	status = "okay";
191
192	ports {
193		edp_out: port@1 {
194			reg = <1>;
195			#address-cells = <1>;
196			#size-cells = <0>;
197
198			edp_out_panel: endpoint {
199				reg = <0>;
200				remote-endpoint = <&panel_in_edp>;
201			};
202		};
203	};
204};
205
206&edp_phy {
207	status = "okay";
208};
209
210&emmc {
211	bus-width = <8>;
212	cap-mmc-highspeed;
213	disable-wp;
214	non-removable;
215	num-slots = <1>;
216	pinctrl-names = "default";
217	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
218	status = "okay";
219};
220
 
 
 
 
 
221&sdmmc {
222	bus-width = <4>;
223	cap-mmc-highspeed;
224	cap-sd-highspeed;
225	card-detect-delay = <200>;
226	disable-wp;			/* wp not hooked up */
227	num-slots = <1>;
228	pinctrl-names = "default";
229	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
230	status = "okay";
231	vmmc-supply = <&vcc_sd>;
232	vqmmc-supply = <&vccio_sd>;
233};
234
235&gmac {
236	phy-supply = <&vcc_phy>;
237	phy-mode = "rgmii";
238	clock_in_out = "input";
239	snps,reset-gpio = <&gpio4 7 0>;
240	snps,reset-active-low;
241	snps,reset-delays-us = <0 10000 1000000>;
242	assigned-clocks = <&cru SCLK_MAC>;
243	assigned-clock-parents = <&ext_gmac>;
244	pinctrl-names = "default";
245	pinctrl-0 = <&rgmii_pins>;
246	tx_delay = <0x30>;
247	rx_delay = <0x10>;
248	status = "ok";
 
 
 
 
 
249};
250
251&hdmi {
252	ddc-i2c-bus = <&i2c5>;
253	status = "okay";
254};
255
256&i2c0 {
257	status = "okay";
258};
259
260&i2c5 {
261	status = "okay";
262};
263
264&wdt {
265	status = "okay";
266};
267
268&pwm0 {
269	status = "okay";
270};
271
272&uart0 {
273	status = "okay";
274};
275
276&uart1 {
277	status = "okay";
278};
279
280&uart2 {
281	status = "okay";
282};
283
284&uart3 {
285	status = "okay";
286};
287
288&uart4 {
289	status = "okay";
290};
291
292&tsadc {
293	rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
294	rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
295	status = "okay";
296};
297
298&pinctrl {
299	pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
300		drive-strength = <8>;
301	};
302
303	pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
304		bias-pull-up;
305		drive-strength = <8>;
306	};
307
308	backlight {
309		bl_en: bl-en {
310			rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_pull_none>;
311		};
312	};
313
314	buttons {
315		pwrbtn: pwrbtn {
316			rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
317		};
318	};
319
320	lcd {
321		lcd_cs: lcd-cs {
322			rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_none>;
323		};
324	};
325
326	pmic {
327		pmic_int: pmic-int {
328			rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>;
329		};
330	};
331
332	sdmmc {
333		/*
334		 * Default drive strength isn't enough to achieve even
335		 * high-speed mode on EVB board so bump up to 8ma.
336		 */
337		sdmmc_bus4: sdmmc-bus4 {
338			rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
339					<6 17 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
340					<6 18 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
341					<6 19 RK_FUNC_1 &pcfg_pull_up_drv_8ma>;
342		};
343
344		sdmmc_clk: sdmmc-clk {
345			rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_drv_8ma>;
346		};
347
348		sdmmc_cmd: sdmmc-cmd {
349			rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_8ma>;
350		};
351
352		sdmmc_pwr: sdmmc-pwr {
353			rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
354		};
355	};
356
357	usb {
358		host_vbus_drv: host-vbus-drv {
359			rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
360		};
361	};
362
363	eth_phy {
364		eth_phy_pwr: eth-phy-pwr {
365			rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_pull_none>;
366		};
367	};
368};
369
370&usbphy {
371	status = "okay";
372};
373
374&usb_host0_ehci {
375	status = "okay";
376};
377
378&usb_host1 {
379	status = "okay";
380};
381
382&vopb {
383	status = "okay";
384};
385
386&vopb_mmu {
387	status = "okay";
388};
389
390&vopl {
391	status = "okay";
392};
393
394&vopl_mmu {
395	status = "okay";
396};