summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSW Multimedia <sw.multimedia@starfivetech.com>2021-09-03 16:07:29 +0300
committerTekkaman Ninja <tekkamanninja@163.com>2021-12-29 17:41:12 +0300
commit89e8a7ecc7f5d1c4a06d61335508932a6b7a8590 (patch)
tree1945286b08014a0e766169434c1674f7103ece71
parent9fdf61f37e0fc8c5a7fb81a98049323557ab6977 (diff)
downloadu-boot-89e8a7ecc7f5d1c4a06d61335508932a6b7a8590.tar.xz
starfive: add i2c dev info in dts for audio
-rw-r--r--arch/riscv/dts/jh7100-beaglev-starlight.dts36
1 files changed, 30 insertions, 6 deletions
diff --git a/arch/riscv/dts/jh7100-beaglev-starlight.dts b/arch/riscv/dts/jh7100-beaglev-starlight.dts
index 6fce98ce3a..c9920ef6e0 100644
--- a/arch/riscv/dts/jh7100-beaglev-starlight.dts
+++ b/arch/riscv/dts/jh7100-beaglev-starlight.dts
@@ -90,8 +90,8 @@
i2c-sda-hold-time-ns = <300>;
i2c-sda-falling-time-ns = <500>;
i2c-scl-falling-time-ns = <500>;
- scl-gpio = <&gpio 62 0>;
- sda-gpio = <&gpio 61 0>;
+ scl-gpio = <&gpio 62 GPIO_ACTIVE_HIGH>;
+ sda-gpio = <&gpio 61 GPIO_ACTIVE_HIGH>;
status = "okay";
imx219@10 {
@@ -121,9 +121,27 @@
i2c-sda-hold-time-ns = <300>;
i2c-sda-falling-time-ns = <100>;
i2c-scl-falling-time-ns = <100>;
- scl-gpio = <&gpio 47 0>;
- sda-gpio = <&gpio 48 0>;
+ scl-gpio = <&gpio 47 GPIO_ACTIVE_HIGH>;
+ sda-gpio = <&gpio 48 GPIO_ACTIVE_HIGH>;
status = "okay";
+
+ ac108_a: ac108@3b {
+ compatible = "x-power,ac108_0";
+ reg = <0x3b>;
+ #sound-dai-cells = <0>;
+ data-protocol = <0>;
+ };
+ wm8960: codec@1a {
+ compatible = "wlf,wm8960";
+ reg = <0x1a>;
+ #sound-dai-cells = <0>;
+ wlf,shared-lrclk;
+ };
+ seeed_plane_i2c@45 {
+ compatible = "seeed_panel";
+ reg = <0x45>;
+ };
+
};
&i2c2 {
@@ -131,13 +149,19 @@
i2c-sda-hold-time-ns = <300>;
i2c-sda-falling-time-ns = <500>;
i2c-scl-falling-time-ns = <500>;
- scl-gpio = <&gpio 60 0>;
- sda-gpio = <&gpio 59 0>;
+ scl-gpio = <&gpio 60 GPIO_ACTIVE_HIGH>;
+ sda-gpio = <&gpio 59 GPIO_ACTIVE_HIGH>;
status = "okay";
seeed_plane_i2c@45 {
compatible = "seeed_panel";
reg = <0x45>;
+
+ port {
+ panel_dsi_port: endpoint {
+ remote-endpoint = <&dsi_out_port>;
+ };
+ };
};
};