Commit 17470b7d authored by Linus Walleij's avatar Linus Walleij

ARM: dts: add the CLCD LCD display to the NHK15

This adds the TPG110 TDO43MTEA2 24-bit RGB LCD panel and sets
up the Nomadik device tree to activate the CLCD and connect it
to this panel.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6fb2de9d
...@@ -176,6 +176,50 @@ mmcsd-gpio { ...@@ -176,6 +176,50 @@ mmcsd-gpio {
}; };
amba { amba {
clcd@10120000 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&clcd_24bit_mux>;
port {
nomadik_clcd_pads: endpoint {
remote-endpoint = <&nomadik_clcd_panel>;
arm,pl11x,tft-r0g0b0-pads = <16 8 0>;
};
};
/*
* WVGA connector 21
* WVGA (800x480): 4.3" TPG110 TDO43MTEA2 24-bit RGB
* with TPO touch screen.
*/
panel {
compatible = "tpo,tpg110", "panel-dpi";
grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>;
scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
backlight = <&bl>;
port {
nomadik_clcd_panel: endpoint {
remote-endpoint = <&nomadik_clcd_pads>;
};
};
panel-timing {
clock-frequency = <33200000>;
hactive = <800>;
hback-porch = <216>;
hfront-porch = <40>;
hsync-len = <1>;
vactive = <480>;
vback-porch = <35>;
vfront-porch = <10>;
vsync-len = <1>;
};
};
};
/* Activate RX/TX and CTS/RTS on UART 0 */ /* Activate RX/TX and CTS/RTS on UART 0 */
uart0: uart@101fd000 { uart0: uart@101fd000 {
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -166,6 +166,18 @@ i2c1_default_cfg { ...@@ -166,6 +166,18 @@ i2c1_default_cfg {
}; };
}; };
}; };
clcd {
/*
* This should be activated to use the additional
* 8 lines for bits 16 thru 23 from the CLCD block.
*/
clcd_24bit_mux: clcd_mux {
clcd_24bit_mux {
function = "clcd";
groups = "clcd_16_23_b_1";
};
};
};
}; };
/* Power Management Unit */ /* Power Management Unit */
...@@ -732,6 +744,16 @@ amba { ...@@ -732,6 +744,16 @@ amba {
#size-cells = <1>; #size-cells = <1>;
ranges; ranges;
clcd@10120000 {
compatible = "arm,pl110", "arm,primecell";
reg = <0x10120000 0x1000>;
interrupt-names = "combined";
interrupts = <14>;
clocks = <&clcdclk>, <&hclkclcd>;
clock-names = "clcdclk", "apb_pclk";
status = "disabled";
};
vica: intc@10140000 { vica: intc@10140000 {
compatible = "arm,versatile-vic"; compatible = "arm,versatile-vic";
interrupt-controller; interrupt-controller;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment