Skip to content

Commit 1cdc0aa

Browse files
jwrdegoedemripard
authored andcommitted
ARM: dts: sun8i-q8-common: Add support for USB wifi controllers
Some of the sun8i q8 boards have an usb wifi controller, on other variants this will result in an used usb root-hub, but the best way to deal with wifi on this boards is to simply let the kernel auto-detect usb or sdio wifi controllers. This has been tested on an a23 based q8 tablet with a RTL8188ETV wifi controller. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
1 parent 659757c commit 1cdc0aa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/arm/boot/dts/sun8i-q8-common.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
};
6464
};
6565

66+
&ehci0 {
67+
status = "okay";
68+
};
69+
6670
&mmc0 {
6771
pinctrl-names = "default";
6872
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8>;
@@ -171,6 +175,12 @@
171175
regulator-name = "vcc-dram";
172176
};
173177

178+
&reg_dldo1 {
179+
regulator-min-microvolt = <3300000>;
180+
regulator-max-microvolt = <3300000>;
181+
regulator-name = "vcc-wifi";
182+
};
183+
174184
&reg_drivevbus {
175185
regulator-name = "usb0-vbus";
176186
status = "okay";
@@ -205,5 +215,6 @@
205215
usb0_id_det-gpio = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* PH8 */
206216
usb0_vbus_power-supply = <&usb_power_supply>;
207217
usb0_vbus-supply = <&reg_drivevbus>;
218+
usb1_vbus-supply = <&reg_dldo1>;
208219
status = "okay";
209220
};

0 commit comments

Comments
 (0)