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

Signed-off-by: Simon Glass <s...@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@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

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to