mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
wifi: support a1 wireless [1/1]
PD#SWPL-182831 Problem: a1 kernel 6.6 wireless not work Solution: modify a1 dts Verify: a1 Change-Id: Idcd49f2e66c7b8ccca971ff2a4d4b8ef79b65f56 Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
This commit is contained in:
committed by
Wanwei Jiang
parent
b8d1d0779c
commit
735eac89a1
@@ -804,12 +804,13 @@
|
||||
status = "okay";
|
||||
hostwake-gpios = <&gpio GPIOP_1 GPIO_ACTIVE_HIGH>;
|
||||
bt_en-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
reset-gpios = <&gpio GPIOX_16 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
&aml_wifi {
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
interrupt-gpios = <&gpio GPIOP_0 GPIO_ACTIVE_HIGH>;
|
||||
power_on-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
&pwm_cd {
|
||||
|
||||
@@ -946,22 +946,16 @@
|
||||
aml_bt: aml_bt {
|
||||
compatible = "amlogic, aml-bt";
|
||||
status = "disabled";
|
||||
reset-gpios = <&gpio GPIOX_16 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
aml_wifi: aml_wifi {
|
||||
compatible = "amlogic, aml-wifi";
|
||||
status = "disabled";
|
||||
irq_trigger_type = "IRQF_TRIGGER_LOW";
|
||||
power_on-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>;
|
||||
wifi_static_buf = <1>; //static buf level
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pwm_d_pins1>;
|
||||
pwm_config = <&wifi_pwm_conf>;
|
||||
//single_pwm;
|
||||
};
|
||||
|
||||
wifi_pwm_conf:wifi_pwm_conf{
|
||||
pwm_channel1_conf {
|
||||
pwms = <&pwm_cd MESON_PWM_1 30541 0>;
|
||||
duty-cycle = <15270>;
|
||||
|
||||
@@ -806,12 +806,13 @@
|
||||
status = "okay";
|
||||
hostwake-gpios = <&gpio GPIOP_1 GPIO_ACTIVE_HIGH>;
|
||||
bt_en-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
reset-gpios = <&gpio GPIOX_16 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
&aml_wifi {
|
||||
status = "okay";
|
||||
interrupt-gpios = <&gpio GPIOP_0 GPIO_ACTIVE_HIGH>;
|
||||
power_on-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
&pwm_cd {
|
||||
|
||||
@@ -949,11 +949,7 @@
|
||||
wifi_static_buf = <1>; //static buf level
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pwm_d_pins1>;
|
||||
pwm_config = <&wifi_pwm_conf>;
|
||||
//single_pwm;
|
||||
};
|
||||
|
||||
wifi_pwm_conf:wifi_pwm_conf{
|
||||
pwm_channel1_conf {
|
||||
pwms = <&pwm_cd MESON_PWM_1 30541 0>;
|
||||
duty-cycle = <15270>;
|
||||
|
||||
Reference in New Issue
Block a user