[PATCH v3 16/18] tegra: fdt: Add LCD definitions for Seaboard

Simon Glass sjg at chromium.org
Fri Jul 13 01:25:16 EST 2012


The Seaboard has a 1366x768 16bpp LCD. The backlight is controlled
by one of the PWMs.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Update seaboard LCD definitions for new fdt binding

Changes in v3:
- Use new upstream proposed LCD definitions

 board/nvidia/dts/tegra2-seaboard.dts |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/board/nvidia/dts/tegra2-seaboard.dts b/board/nvidia/dts/tegra2-seaboard.dts
index 3352539..bfb835f 100644
--- a/board/nvidia/dts/tegra2-seaboard.dts
+++ b/board/nvidia/dts/tegra2-seaboard.dts
@@ -153,4 +153,36 @@
 			0x1f04008a>;
 		linux,fn-keymap = <0x05040002>;
 	};
+
+	host1x {
+		dc at 54200000 {
+			rgb {
+				status = "okay";
+				/* Seaboard has 1366x768 */
+				clock = <70600000>;
+				xres = <1366>;
+				yres = <768>;
+				left-margin = <58>;
+				right-margin = <58>;
+				hsync-len = <58>;
+				lower-margin = <4>;
+				upper-margin = <4>;
+				vsync-len = <4>;
+				hsync-active-high;
+				nvidia,frame-buffer = <0x2f680000>;
+				nvidia,bits-per-pixel = <16>;
+				nvidia,panel = <&lcd_panel>;
+			};
+		};
+	};
+
+	lcd_panel: panel {
+		nvidia,pwm = <&pwm 2 0>;
+		nvidia,backlight-enable-gpios = <&gpio 28 0>;	/* PD4 */
+		nvidia,lvds-shutdown-gpios = <&gpio 10 0>;	/* PB2 */
+		nvidia,backlight-vdd-gpios = <&gpio 176 0>;	/* PW0 */
+		nvidia,panel-vdd-gpios = <&gpio 22 0>;		/* PC6 */
+		nvidia,panel-timings = <4 203 17 15>;
+	};
+
 };
-- 
1.7.7.3



More information about the devicetree-discuss mailing list