summaryrefslogtreecommitdiff
path: root/board/avionic-design/dts
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-11-23 00:58:50 +0000
committerTom Warren <twarren@nvidia.com>2013-01-16 13:40:06 -0700
commit7c3f386d0c125f1fdb84a88329e396ed0ff66ab4 (patch)
treefa562fe93b48ef4fc600a07b75e23ec52a59b5d4 /board/avionic-design/dts
parent0c5587549b89b8394e341e15833acc4be98ad916 (diff)
downloadu-boot-imx-7c3f386d0c125f1fdb84a88329e396ed0ff66ab4.zip
u-boot-imx-7c3f386d0c125f1fdb84a88329e396ed0ff66ab4.tar.gz
u-boot-imx-7c3f386d0c125f1fdb84a88329e396ed0ff66ab4.tar.bz2
tegra: Enable LCD on Medcom-Wide
The Medcom-Wide has a 15" LCD panel with a resolution of 1366x768 pixels. Add a corresponding panel description to the device tree and enable LCD support in the configuration. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/avionic-design/dts')
-rw-r--r--board/avionic-design/dts/tegra20-medcom-wide.dts32
1 files changed, 32 insertions, 0 deletions
diff --git a/board/avionic-design/dts/tegra20-medcom-wide.dts b/board/avionic-design/dts/tegra20-medcom-wide.dts
index f916122..70587a6 100644
--- a/board/avionic-design/dts/tegra20-medcom-wide.dts
+++ b/board/avionic-design/dts/tegra20-medcom-wide.dts
@@ -24,6 +24,19 @@
};
};
+ host1x {
+ status = "okay";
+
+ dc@54200000 {
+ status = "okay";
+
+ rgb {
+ nvidia,panel = <&lcd_panel>;
+ status = "okay";
+ };
+ };
+ };
+
clock@60006000 {
clocks = <&clk_32k &osc>;
};
@@ -55,4 +68,23 @@
usb@c5004000 {
status = "disabled";
};
+
+ lcd_panel: panel {
+ clock = <61715000>;
+ xres = <1366>;
+ yres = <768>;
+ left-margin = <2>;
+ right-margin = <47>;
+ hsync-len = <136>;
+ lower-margin = <21>;
+ upper-margin = <11>;
+ vsync-len = <4>;
+
+ nvidia,bits-per-pixel = <16>;
+ nvidia,pwm = <&pwm 0 500000>;
+ nvidia,backlight-enable-gpios = <&gpio 13 0>; /* PB5 */
+ nvidia,backlight-vdd-gpios = <&gpio 176 0>; /* PW0 */
+ nvidia,lvds-shutdown-gpios = <&gpio 10 0>; /* PB2 */
+ nvidia,panel-timings = <0 0 0 0>;
+ };
};