For AM335x EVM[1], enable nodes required to enable the support for LCD
and PWM backlight.
This is required for the splash screen support.

[1] AM335x EVM - https://www.ti.com/tool/TMDXEVM3358

Signed-off-by: Sukrut Bellary <sbell...@baylibre.com>
---
 arch/arm/dts/am335x-evm.dts | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/am335x-evm.dts b/arch/arm/dts/am335x-evm.dts
index 6e799621678b..d4f93e75ced5 100644
--- a/arch/arm/dts/am335x-evm.dts
+++ b/arch/arm/dts/am335x-evm.dts
@@ -98,7 +98,7 @@
                };
        };
 
-       backlight {
+       backlight: backlight {
                compatible = "pwm-backlight";
                pwms = <&ecap0 0 50000 0>;
                brightness-levels = <0 51 53 56 62 75 101 152 255>;
@@ -110,6 +110,7 @@
                status = "okay";
                pinctrl-names = "default";
                pinctrl-0 = <&lcd_pins_s0>;
+               backlight = <&backlight>;
                panel-info {
                        ac-bias           = <255>;
                        ac-bias-intrpt    = <0>;
@@ -137,6 +138,12 @@
                                vsync-active = <1>;
                        };
                };
+               port {
+                       panel_0: endpoint@0 {
+                               remote-endpoint = <&lcdc_0>;
+                       };
+               };
+
        };
 
        sound {
@@ -478,6 +485,12 @@
 
 &lcdc {
        status = "okay";
+
+       port {
+               lcdc_0: endpoint@0 {
+                       remote-endpoint = <&panel_0>;
+               };
+       };
 };
 
 &elm {
-- 
2.34.1

Reply via email to