forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-24 2b26ab132d1b33b91c84c6d732456200e8c5ee77
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";
....@@ -382,9 +388,6 @@
382388 * power-supply should switche to vcc3v3_lcd1_n
383389 * when mipi panel is connected to dsi1.
384390 */
385
-&gt1x {
386
- power-supply = <&vcc3v3_lcd0_n>;
387
-};
388391
389392 &mipi_csi2 {
390393 status = "okay";
....@@ -439,12 +442,6 @@
439442 rockchip,pins =
440443 /* camera power en */
441444 <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>;
448445 };
449446 };
450447