diff options
author | SW Multimedia <sw.multimedia@starfivetech.com> | 2021-09-03 16:07:29 +0300 |
---|---|---|
committer | Tekkaman Ninja <tekkamanninja@163.com> | 2022-02-15 12:48:25 +0300 |
commit | 6ca4c6e60b85f4150eba0c981c380b2c03cc2bd2 (patch) | |
tree | 903ee5fd1446ffb780c4b41c4efdd121d983cf63 | |
parent | 036f72e637d7f3b62c1ac927e1d0b9773988533b (diff) | |
download | u-boot-6ca4c6e60b85f4150eba0c981c380b2c03cc2bd2.tar.xz |
starfive: add i2c dev info in dts for audio
-rw-r--r-- | arch/riscv/dts/jh7100-beaglev-starlight.dts | 36 |
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>; + }; + }; }; }; |