diff --git a/Documentation/devicetree/bindings/net/wireless/rockchip-wlan.txt b/Documentation/devicetree/bindings/net/wireless/rockchip-wlan.txt new file mode 100644 index 000000000000..fd1f32b318df --- /dev/null +++ b/Documentation/devicetree/bindings/net/wireless/rockchip-wlan.txt @@ -0,0 +1,16 @@ +* Rockchip wlan controller + +Required SoC Specific Properties: + +- compatible : "wlan-platdata" + +Example: + +wireless-wlan { { + compatible = "wlan-platdata"; + + wifi_chip_type = "rtl8723cs"; + sdio_vref = <1800>; + WIFI,host_wake_irq = <&gpio3 GPIO_C7 GPIO_ACTIVE_HIGH>; + WIFI,poweren_gpio = <&gpio3 GPIO_D3 GPIO_ACTIVE_HIGH>; +}; diff --git a/arch/arm/boot/dts/px3se-sdk.dts b/arch/arm/boot/dts/px3se-sdk.dts index 9f9eb652650b..cebf78401a89 100644 --- a/arch/arm/boot/dts/px3se-sdk.dts +++ b/arch/arm/boot/dts/px3se-sdk.dts @@ -81,6 +81,19 @@ rockchip,remote_wakeup; rockchip,usb_irq_wakeup; }; + + wireless-wlan { + compatible = "wlan-platdata"; + + wifi_chip_type = "rtl8723cs"; + sdio_vref = <1800>; /*1800mv or 3300mv*/ + /* WIFI_HOST_WAKE = GPIO3_C7 */ + WIFI,host_wake_irq = <&gpio3 GPIO_C7 GPIO_ACTIVE_HIGH>; + /* WIFI_REG_ON = GPIO3_D3 */ + WIFI,poweren_gpio = <&gpio3 GPIO_D3 GPIO_ACTIVE_HIGH>; + + status = "okay"; + }; }; &fb {