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>
32 lines
609 B
Plaintext
32 lines
609 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
&gmac {
|
|
clock_in_out = "output";
|
|
/delete-property/ assigned-clocks;
|
|
/delete-property/ assigned-clock-parents;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
|
|
};
|
|
|
|
&rk809_sound {
|
|
hp-det-gpio = <&gpio3 RK_PA4 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
|
|
&pinctrl {
|
|
headphone {
|
|
hp_det: hp-det {
|
|
rockchip,pins = <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&wireless_bluetooth {
|
|
BT,reset-gpios = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
|
|
BT,wake-gpios = <&gpio2 RK_PB0 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|