diff options
author | Devarsh Thakkar <devarsht@ti.com> | 2024-01-24 20:33:49 +0530 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2024-03-21 14:26:33 +0000 |
commit | a7bfd185f6a9ea35fe848307e54e1448bc4f622b (patch) | |
tree | 42090bd7d2c6cee51a260b4f2f526696b0debbe6 | |
parent | a4fbd62cdcad85e8812727cef9a1017ac842f2a8 (diff) |
arm: dts: k3-am62p: Enable splash screen using OLDI panel
- Enable splash screen for AM62P using DSS0 instance and microtips
mf101hie OLDI panel.
- As DSS0 instance has same register space , video ports and video
planes as AM62x use the same compatible as AM62x.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
-rw-r--r-- | arch/arm/dts/k3-am62p-main.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/dts/k3-am62p5-sk.dts | 52 |
2 files changed, 55 insertions, 1 deletions
diff --git a/arch/arm/dts/k3-am62p-main.dtsi b/arch/arm/dts/k3-am62p-main.dtsi index 9281a3f2a5..90427985ee 100644 --- a/arch/arm/dts/k3-am62p-main.dtsi +++ b/arch/arm/dts/k3-am62p-main.dtsi @@ -42,6 +42,7 @@ main_conf: bus@100000 { compatible = "simple-bus"; + bootph-pre-ram; reg = <0x00 0x00100000 0x00 0x20000>; #address-cells = <1>; #size-cells = <1>; @@ -60,6 +61,7 @@ }; dss_oldi_io_ctrl: dss-oldi-io-ctrl@8600 { + bootph-pre-ram; compatible = "syscon"; reg = <0x8600 0x200>; }; @@ -1017,7 +1019,7 @@ }; dss0: dss@30200000 { - compatible = "ti,am62p51-dss"; + compatible = "ti,am625-dss"; reg = <0x00 0x30200000 0x00 0x1000>, /* common */ <0x00 0x30202000 0x00 0x1000>, /* vidl1 */ <0x00 0x30206000 0x00 0x1000>, /* vid */ diff --git a/arch/arm/dts/k3-am62p5-sk.dts b/arch/arm/dts/k3-am62p5-sk.dts index a7edaa299d..1843ea59d3 100644 --- a/arch/arm/dts/k3-am62p5-sk.dts +++ b/arch/arm/dts/k3-am62p5-sk.dts @@ -744,6 +744,41 @@ }; }; }; + + panel_lvds: panel-lvds { + bootph-pre-ram; + compatible = "simple-panel"; + status= "okay"; + width-mm = <217>; + height-mm = <136>; + data-mapping = "vesa-24"; + panel-timings { + bootph-pre-ram; + clock-frequency = <150274>; + hactive = <1920>; + vactive = <1200>; + hback-porch = <32>; + hfront-porch = <52>; + vback-porch = <24>; + vfront-porch = <8>; + hsync-len = <24>; + vsync-len = <3>; + de-active = <1>; + }; + port@0 { + dual-lvds-odd-pixels; + lcd_in0: endpoint { + remote-endpoint = <&oldi_out0>; + }; + }; + + port@1 { + dual-lvds-even-pixels; + lcd_in1: endpoint { + remote-endpoint = <&oldi_out1>; + }; + }; + }; }; &mailbox0_cluster0 { @@ -818,6 +853,7 @@ }; &dss0 { + bootph-pre-ram; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_dpi_pins_default>; @@ -825,12 +861,28 @@ &dss0_ports { /* DSS0-VP2: DPI/HDMI Output */ + /* VP1: LVDS Output (OLDI TX 0) */ + port@0 { + reg = <0>; + oldi_out0: endpoint { + remote-endpoint = <&lcd_in0>; + }; + }; + port@1 { reg = <1>; dss0_dpi1_out: endpoint { remote-endpoint = <&sii9022_in>; }; }; + + /* VP1: LVDS Output (OLDI TX 1) */ + port@2 { + reg = <2>; + oldi_out1: endpoint { + remote-endpoint = <&lcd_in1>; + }; + }; }; &ti_csi2rx0 { |