2015-08-27 06:19:31

by Jianwei Wang

[permalink] [raw]
Subject: [PATCH v15 1/2] arm:dts:ls1021a: Add DCU dts node

Add DCU node, DCU is a display controller of Freescale
named 2D-ACE.

Signed-off-by: Alison Wang <[email protected]>
Signed-off-by: Xiubo Li <[email protected]>
Signed-off-by: Jianwei Wang <[email protected]>
---
arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index c70bb27..6d6e3e2 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -383,6 +383,16 @@
<&platform_clk 1>;
};

+ dcu: dcu@2ce0000 {
+ compatible = "fsl,ls1021a-dcu";
+ reg = <0x0 0x2ce0000 0x0 0x10000>;
+ interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&platform_clk 0>;
+ clock-names = "dcu";
+ big-endian;
+ status = "disabled";
+ };
+
mdio0: mdio@2d24000 {
compatible = "gianfar";
device_type = "mdio";
--
2.1.0.27.g96db324


2015-08-27 06:19:34

by Jianwei Wang

[permalink] [raw]
Subject: [PATCH v15 2/2] arm:dts:ls1021a: Add a TFT LCD panel dts node

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

Signed-off-by: Alison Wang <[email protected]>
Signed-off-by: Xiubo Li <[email protected]>
Signed-off-by: Jianwei Wang <[email protected]>
---

Changed in V15:
Rename compatible string.

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..99c6aad 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 {
+ fsl,panel = <&panel>;
+ status = "okay";
+
};

&dspi1 {
--
2.1.0.27.g96db324