From: Hans de Goede Date: Wed, 15 Jun 2016 18:23:50 +0000 (+0200) Subject: ARM: dts: sun8i-q8-common: Add support for USB wifi controllers X-Git-Tag: v4.8-rc1~66^2~10^2~11 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1cdc0aa5aaf995a571550cbf8d57ae9e1454a141;p=karo-tx-linux.git 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 Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun8i-q8-common.dtsi b/arch/arm/boot/dts/sun8i-q8-common.dtsi index 991087f7f130..f3f4ce025cad 100644 --- a/arch/arm/boot/dts/sun8i-q8-common.dtsi +++ b/arch/arm/boot/dts/sun8i-q8-common.dtsi @@ -63,6 +63,10 @@ }; }; +&ehci0 { + status = "okay"; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8>; @@ -171,6 +175,12 @@ regulator-name = "vcc-dram"; }; +®_dldo1 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-wifi"; +}; + ®_drivevbus { regulator-name = "usb0-vbus"; status = "okay"; @@ -205,5 +215,6 @@ usb0_id_det-gpio = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* PH8 */ usb0_vbus_power-supply = <&usb_power_supply>; usb0_vbus-supply = <®_drivevbus>; + usb1_vbus-supply = <®_dldo1>; status = "okay"; };