lede/target/linux/rockchip/patches-5.10/204-rockchip-rk3328-DoorNet1-Add-dts-wifi-enable.patch
hejiawencc c2309f3515
rockchip: fix DoorNet1 dts and drop unneeded files (#7906)
* rockchip: drop unneeded files

* rockchip: fix DoorNet1 dts missing wifi enable pin
2021-09-23 00:46:24 +08:00

26 lines
593 B
Diff

--- a/arch/arm64/boot/dts/rockchip/rk3328-doornet1.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-doornet1.dts
@@ -75,6 +75,11 @@
gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_HIGH>;
label = "doornet1:green:wan";
};
+
+ wifi_enable: wifi_enable {
+ gpios = <&gpio2 RK_PC5 GPIO_ACTIVE_HIGH>;
+ label = "wifi-enable";
+ };
};
vcc_io_sdio: sdmmcio-regulator {
@@ -326,6 +331,10 @@
wan_led_pin: wan-led-pin {
rockchip,pins = <2 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
};
+
+ wifi_pin: wifi_pin{
+ rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
};
pmic {