duos: add wifi power control GPIO

This commit is contained in:
carbon
2024-01-20 18:36:05 +08:00
parent 543e96f2aa
commit f91cf43311
7 changed files with 62 additions and 11 deletions

View File

@ -35,6 +35,12 @@
max-frequency = <187500000>;
};
&wifi_pin {
compatible = "cvitek,wifi-pin";
poweron-gpio = <&porta 15 GPIO_ACTIVE_HIGH>;
wakeup-gpio = <&porte 7 GPIO_ACTIVE_HIGH>;
};
&uart4 {
status = "okay";
};

View File

@ -428,6 +428,7 @@ CONFIG_ION_CARVEOUT_HEAP=y
CONFIG_ION_CMA_HEAP=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_CV1835_SYSDMA_REMAP=y
CONFIG_CVI_WIFI_PIN=y
CONFIG_PWM=y
CONFIG_SIFIVE_PLIC=y
CONFIG_ANDROID=y

View File

@ -35,6 +35,12 @@
max-frequency = <187500000>;
};
&wifi_pin {
compatible = "cvitek,wifi-pin";
poweron-gpio = <&porta 15 GPIO_ACTIVE_HIGH>;
wakeup-gpio = <&porte 7 GPIO_ACTIVE_HIGH>;
};
&uart4 {
status = "okay";
};

View File

@ -428,6 +428,7 @@ CONFIG_ION_CARVEOUT_HEAP=y
CONFIG_ION_CMA_HEAP=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_CV1835_SYSDMA_REMAP=y
CONFIG_CVI_WIFI_PIN=y
CONFIG_PWM=y
CONFIG_SIFIVE_PLIC=y
CONFIG_ANDROID=y

View File

@ -653,7 +653,7 @@
cvi,card_name = "cv182x_internal_PDM";
};
wifi_pin {
wifi_pin: wifi_pin {
compatible = "cvitek,wifi-pin";
poweron-gpio = <&porta 18 GPIO_ACTIVE_HIGH>;
wakeup-gpio = <&porte 7 GPIO_ACTIVE_HIGH>;