arm64: dts: rockchip: rfkill switch to use gpiod
sed -i \ -e 's/uart_rts_gpios/uart_rts-gpios/' \ -e 's/BT,power_gpio/BT,power-gpios/' \ -e 's/BT,reset_gpio/BT,reset-gpios/' \ -e 's/BT,wake_gpio/BT,wake-gpios/' \ -e 's/BT,wake_host_irq/BT,wake_host-gpios/' \ -e 's/WIFI,poweren_gpio/WIFI,poweren-gpios/' \ -e 's/WIFI,vbat_gpio/WIFI,vbat-gpios/' \ -e 's/WIFI,reset_gpio/WIFI,reset-gpios/' \ -e 's/WIFI,host_wake_irq/WIFI,host_wake-gpios/' \ (git ls-files arch/arm64/boot/dts/rockchip/) Change-Id: I8d5b76f4a666ecbeaacd5d3257521bcc4860e81c Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
wifi_chip_type = "ap6203";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wifi_host_wake_irq>;
|
||||
WIFI,host_wake_irq = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>;
|
||||
WIFI,host_wake-gpios = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -151,13 +151,13 @@
|
||||
compatible = "bluetooth-platdata";
|
||||
clocks = <&rk817 1>;
|
||||
clock-names = "ext_clock";
|
||||
uart_rts_gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
|
||||
uart_rts-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default", "rts_gpio";
|
||||
pinctrl-0 = <&uart1m0_rtsn>;
|
||||
pinctrl-1 = <&uart1_gpios>;
|
||||
BT,power_gpio = <&gpio1 RK_PD7 GPIO_ACTIVE_LOW>;
|
||||
//BT,wake_gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
|
||||
//BT,wake_host_irq = <&gpio1 RK_PD6 GPIO_ACTIVE_HIGH>;
|
||||
BT,power-gpios = <&gpio1 RK_PD7 GPIO_ACTIVE_LOW>;
|
||||
//BT,wake-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
|
||||
//BT,wake_host-gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user