[PATCH v8 4/4] arm/dts/ls1021a: Add a TFT LCD panel dts node

From: Jianwei Wang
Date: Mon Jul 13 2015 - 02:05:45 EST


Add a TFT LCD panel. the TFT LCD panel is WQVGA "480x272",
and the bpp is 24.

Signed-off-by: Alison Wang <b18965@xxxxxxxxxxxxx>
Signed-off-by: Xiubo Li <lixiubo@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Jianwei Wang <jianwei.wang@xxxxxxxxxxxxx>
Reviewed-by: Alison Wang <alison.wang@xxxxxxxxxxxxx>
---
arch/arm/boot/dts/ls1021a-twr.dts | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index a2c591e..f6ad7ba 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -56,6 +56,17 @@
enet0_sgmii_phy = &sgmii_phy2;
enet1_sgmii_phy = &sgmii_phy0;
};
+
+ panel: panel {
+ compatible = "nec,nl4827hc19_05b";
+ };
+
+};
+
+&dcu {
+ panel = <&panel>;
+ status = "okay";
+
};

&dspi1 {
--
2.1.0.27.g96db324

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/