From 48d0bea232c7e73dde054af590cf830f8d5d4a73 Mon Sep 17 00:00:00 2001 From: Deepak Khatri Date: Sun, 4 Jun 2023 14:15:19 +0530 Subject: [PATCH] Fix DSI --- .../riscv/boot/dts/thead/light-beagle-ref.dts | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/arch/riscv/boot/dts/thead/light-beagle-ref.dts b/arch/riscv/boot/dts/thead/light-beagle-ref.dts index a04376b90..0dbec3240 100644 --- a/arch/riscv/boot/dts/thead/light-beagle-ref.dts +++ b/arch/riscv/boot/dts/thead/light-beagle-ref.dts @@ -2022,6 +2022,21 @@ status = "okay"; }; +&dpu_enc0 { + status = "okay"; + + ports { + /* output */ + port@1 { + reg = <1>; + + enc0_out: endpoint { + remote-endpoint = <&dsi0_in>; + }; + }; + }; +}; + &dpu_enc1 { ports { /delete-node/ port@0; @@ -2032,6 +2047,47 @@ status = "okay"; }; +&dsi0 { + status = "okay"; +}; + +&dhost_0 { + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dsi0_in: endpoint { + remote-endpoint = <&enc0_out>; + }; + }; + + port@1 { + reg = <1>; + + dsi0_out: endpoint { + remote-endpoint = <&panel0_in>; + }; + }; + }; + + panel0@0 { + compatible = "i2c_dsi,ili9881d"; + reg = <0>; + + mcu_auto_reset_enable = <0>; + tp_point_rotate = <0>; + + port { + panel0_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; +}; + &disp1_out { remote-endpoint = <&hdmi_tx_in>; };