ARM: dts: lpc32xx: phy3250: setup LCD controller to panel interface
authorVladimir Zapolskiy <vz@mleia.com>
Tue, 29 Jan 2019 19:20:44 +0000 (21:20 +0200)
committerVladimir Zapolskiy <vz@mleia.com>
Sun, 3 Feb 2019 19:37:07 +0000 (21:37 +0200)
The change adds description of Sharp LQ035Q7DB03 3.5" 320x240 TFT panel,
which is connected to Phytec phyCORE-LPC3250 board, ARM PrimeCell PL111
LCD controller on NXP LPC3250 SoC gets its configuration appropriately
to support graphics output to the panel.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/lpc3250-phy3250.dts

index d2dad2b..aff72f1 100644 (file)
                };
        };
 
+       panel: panel {
+               compatible = "sharp,lq035q7db03";
+               power-supply = <&reg_lcd>;
+
+               port {
+                       panel_input: endpoint {
+                               remote-endpoint = <&cldc_output>;
+                       };
+               };
+       };
+
        reg_backlight: regulator-backlight {
                compatible = "regulator-fixed";
                regulator-name = "backlight";
 };
 
 &clcd {
+       max-memory-bandwidth = <18710000>;
        status = "okay";
+
+       port {
+               cldc_output: endpoint {
+                       remote-endpoint = <&panel_input>;
+                       arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
+               };
+       };
 };
 
 &i2c1 {