forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
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
....@@ -549,7 +549,8 @@
549549
550550 &sdmmc1 {
551551 max-frequency = <150000000>;
552
- supports-sdio;
552
+ no-sd;
553
+ no-mmc;
553554 bus-width = <4>;
554555 disable-wp;
555556 cap-sd-highspeed;
....@@ -592,8 +593,12 @@
592593 pinctrl-names = "default";
593594 pinctrl-0 = <&wifi_host_wake_irq>;
594595 WIFI,host_wake_irq = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
596
+ WIFI,poweren_gpio = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;
595597 };
596598
599
+&work_led {
600
+ gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
601
+};
597602
598603 &wireless_bluetooth {
599604 compatible = "bluetooth-platdata";