hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10.dtsi
....@@ -16,13 +16,6 @@
1616 model = "Rockchip RK3566 EVB2 LP4X V10 Board";
1717 compatible = "rockchip,rk3566-evb2-lp4x-v10", "rockchip,rk3566";
1818
19
- rk_headset: rk-headset {
20
- compatible = "rockchip_headset";
21
- headset_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
22
- pinctrl-names = "default";
23
- pinctrl-0 = <&hp_det>;
24
- };
25
-
2619 vcc_camera: vcc-camera-regulator {
2720 compatible = "regulator-fixed";
2821 gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
....@@ -43,6 +36,13 @@
4336 gpio = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
4437 startup-delay-us = <5000>;
4538 vin-supply = <&dc_12v>;
39
+ };
40
+};
41
+
42
+&bt_sound {
43
+ status = "disabled";
44
+ simple-audio-card,cpu {
45
+ sound-dai = <&i2s2_2ch>;
4646 };
4747 };
4848
....@@ -369,6 +369,12 @@
369369 };
370370 };
371371
372
+&i2s2_2ch {
373
+ pinctrl-0 = <&i2s2m0_sclktx &i2s2m0_lrcktx &i2s2m0_sdi &i2s2m0_sdo>;
374
+ rockchip,bclk-fs = <32>;
375
+ status = "disabled";
376
+};
377
+
372378 &mdio1 {
373379 rgmii_phy0: phy@0 {
374380 compatible = "ethernet-phy-ieee802.3-c22";
....@@ -439,12 +445,6 @@
439445 rockchip,pins =
440446 /* camera power en */
441447 <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
442
- };
443
- };
444
-
445
- headphone {
446
- hp_det: hp-det {
447
- rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_down>;
448448 };
449449 };
450450