Commit b724cad7 authored by Linus Walleij's avatar Linus Walleij

ARM: dts: Augment panel setting for Integrator/CP

This adds the actual VGA DAC bridge that is used in the
Versatile AB, and sets the mode to 640x480 VGA and
routes the CLCD pads appropriately.

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Mali DP Maintainers <malidp@foss.arm.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent bfeffd15
...@@ -192,6 +192,43 @@ ethernet@c8000000 { ...@@ -192,6 +192,43 @@ ethernet@c8000000 {
interrupts = <27>; interrupts = <27>;
}; };
bridge {
compatible = "ti,ths8134a", "ti,ths8134";
#address-cells = <1>;
#size-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
vga_bridge_in: endpoint {
remote-endpoint = <&clcd_pads_vga_dac>;
};
};
port@1 {
reg = <1>;
vga_bridge_out: endpoint {
remote-endpoint = <&vga_con_in>;
};
};
};
};
vga {
compatible = "vga-connector";
port {
vga_con_in: endpoint {
remote-endpoint = <&vga_bridge_out>;
};
};
};
fpga { fpga {
/* /*
* These PrimeCells are at the same location and using * These PrimeCells are at the same location and using
...@@ -254,39 +291,27 @@ clcd@c0000000 { ...@@ -254,39 +291,27 @@ clcd@c0000000 {
interrupts = <22>; interrupts = <22>;
clocks = <&auxosc>, <&pclk>; clocks = <&auxosc>, <&pclk>;
clock-names = "clcdclk", "apb_pclk"; clock-names = "clcdclk", "apb_pclk";
/* 640x480 16bpp @ 25.175MHz is 36827428 bytes/s */
max-memory-bandwidth = <40000000>;
port { /*
/* * This port is routed through a PLD (Programmable
* The VGA connected is implemented with a * Logic Device) that routes the output from the CLCD
* THS8134A triple DAC that can be run in 24bit * (after transformations) to the VGA DAC and also an
* or 16bit RGB mode. * external panel connector. The PLD is essential for
*/ * supporting RGB565/BGR565.
clcd_pads: endpoint { *
remote-endpoint = <&clcd_panel>; * The signals from the port thus reaches two endpoints.
arm,pl11x,tft-r0g0b0-pads = <1 7 13>; * The PLD is managed through a few special bits in the
}; * FPGA "sysreg".
}; *
* This arrangement can be clearly seen in
panel { * ARM DUI 0225D, page 3-41, figure 3-19.
compatible = "panel-dpi"; */
port@0 {
port { clcd_pads_vga_dac: endpoint {
clcd_panel: endpoint { remote-endpoint = <&vga_bridge_in>;
remote-endpoint = <&clcd_pads>; arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
};
};
/* Standard 640x480 VGA timings */
panel-timing {
clock-frequency = <25175000>;
hactive = <640>;
hback-porch = <48>;
hfront-porch = <16>;
hsync-len = <96>;
vactive = <480>;
vback-porch = <33>;
vfront-porch = <10>;
vsync-len = <2>;
}; };
}; };
}; };
......
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