From 08f87f769b595151be1afeff53e144f543faa614 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 06 Dec 2023 09:51:13 +0000 Subject: [PATCH] add dts config --- kernel/arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10.dtsi | 30 ++++++++++++++++-------------- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10.dtsi index 674d472..7b434c5 100644 --- a/kernel/arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10.dtsi @@ -16,13 +16,6 @@ model = "Rockchip RK3566 EVB2 LP4X V10 Board"; compatible = "rockchip,rk3566-evb2-lp4x-v10", "rockchip,rk3566"; - rk_headset: rk-headset { - compatible = "rockchip_headset"; - headset_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&hp_det>; - }; - vcc_camera: vcc-camera-regulator { compatible = "regulator-fixed"; gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; @@ -43,6 +36,13 @@ gpio = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>; startup-delay-us = <5000>; vin-supply = <&dc_12v>; + }; +}; + +&bt_sound { + status = "disabled"; + simple-audio-card,cpu { + sound-dai = <&i2s2_2ch>; }; }; @@ -369,6 +369,12 @@ }; }; +&i2s2_2ch { + pinctrl-0 = <&i2s2m0_sclktx &i2s2m0_lrcktx &i2s2m0_sdi &i2s2m0_sdo>; + rockchip,bclk-fs = <32>; + status = "disabled"; +}; + &mdio1 { rgmii_phy0: phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; @@ -439,12 +445,6 @@ rockchip,pins = /* camera power en */ <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - - headphone { - hp_det: hp-det { - rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_down>; }; }; @@ -549,7 +549,8 @@ &sdmmc1 { max-frequency = <150000000>; - supports-sdio; + no-sd; + no-mmc; bus-width = <4>; disable-wp; cap-sd-highspeed; @@ -592,6 +593,7 @@ pinctrl-names = "default"; pinctrl-0 = <&wifi_host_wake_irq>; WIFI,host_wake_irq = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>; + WIFI,poweren_gpio = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>; }; &work_led { -- Gitblit v1.6.2