summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-01-30 08:54:13 +0100
committerStefan Roese <sr@denx.de>2019-02-05 14:23:27 +0100
commitf18220919079eeb8e79f4791e152f1db073574a8 (patch)
treeddf5e88d3d3e06e6a69d2f01d0168ad62d1e0525 /arch
parent6d9a98c58390156033e31a3a4078347bec618202 (diff)
arm: mvebu: theadorable: Enable video / LCD support with the new DM driver
With the new DM_VIDEO support in the Armada XP LCD driver, this patch adds the needed DT node for the LCD controller to the theadorable dts file. This DT property is not added to the Armada XP dtsi files, as this LCD feature is pretty unusual for this SoC and I personally know of no other board that uses this controller. This patch also enables CONFIG_BMP_16BPP/24BPP/32BPP, as the "old" bmp command supported these BMP files. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Anatolij Gustschin <agust@denx.de> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/armada-xp-theadorable.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-xp-theadorable.dts b/arch/arm/dts/armada-xp-theadorable.dts
index 9b66ec678d..5695e9b758 100644
--- a/arch/arm/dts/armada-xp-theadorable.dts
+++ b/arch/arm/dts/armada-xp-theadorable.dts
@@ -159,6 +159,31 @@
spi-max-frequency = <27777777>;
};
};
+
+ /* The LCD controller is only used on this board */
+ lcd0: lcd-controller@e0000 {
+ compatible = "marvell,armada-xp-lcd";
+ reg = <0xe0000 0x10000>;
+ status = "okay";
+ u-boot,dm-pre-reloc;
+
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: panel0 {
+ hactive = <240>;
+ vactive = <320>;
+ hfront-porch = <1>;
+ hback-porch = <45>;
+ vfront-porch = <1>;
+ vback-porch = <3>;
+
+ /* Some dummy parameters */
+ clock-frequency = <0>;
+ hsync-len = <0>;
+ vsync-len = <0>;
+ };
+ };
+ };
};
};
};