diff options
author | Marc Dietrich <marvin24@gmx.de> | 2013-12-21 15:38:13 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-02-05 11:47:22 -0500 |
commit | 5816898b9592b877209e91c493db946ab275d825 (patch) | |
tree | 618cddbe25cbf30b2ff493ca79b96f2249091512 | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
ARM: tegra: paz00: Add LVDS support to device tree
Add backlight and panel nodes for the PAZ00 TFT LCD panel.
Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | arch/arm/boot/dts/tegra20-paz00.dts | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts index c7cd8e6802d7..9a39a8001f78 100644 --- a/arch/arm/boot/dts/tegra20-paz00.dts +++ b/arch/arm/boot/dts/tegra20-paz00.dts | |||
@@ -17,6 +17,14 @@ | |||
17 | }; | 17 | }; |
18 | 18 | ||
19 | host1x@50000000 { | 19 | host1x@50000000 { |
20 | dc@54200000 { | ||
21 | rgb { | ||
22 | status = "okay"; | ||
23 | |||
24 | nvidia,panel = <&panel>; | ||
25 | }; | ||
26 | }; | ||
27 | |||
20 | hdmi@54280000 { | 28 | hdmi@54280000 { |
21 | status = "okay"; | 29 | status = "okay"; |
22 | 30 | ||
@@ -257,7 +265,11 @@ | |||
257 | status = "okay"; | 265 | status = "okay"; |
258 | }; | 266 | }; |
259 | 267 | ||
260 | i2c@7000c000 { | 268 | pwm: pwm@7000a000 { |
269 | status = "okay"; | ||
270 | }; | ||
271 | |||
272 | lvds_ddc: i2c@7000c000 { | ||
261 | status = "okay"; | 273 | status = "okay"; |
262 | clock-frequency = <400000>; | 274 | clock-frequency = <400000>; |
263 | 275 | ||
@@ -475,6 +487,18 @@ | |||
475 | non-removable; | 487 | non-removable; |
476 | }; | 488 | }; |
477 | 489 | ||
490 | backlight: backlight { | ||
491 | compatible = "pwm-backlight"; | ||
492 | |||
493 | enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; | ||
494 | pwms = <&pwm 0 5000000>; | ||
495 | |||
496 | brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; | ||
497 | default-brightness-level = <10>; | ||
498 | |||
499 | backlight-boot-off; | ||
500 | }; | ||
501 | |||
478 | clocks { | 502 | clocks { |
479 | compatible = "simple-bus"; | 503 | compatible = "simple-bus"; |
480 | #address-cells = <1>; | 504 | #address-cells = <1>; |
@@ -509,6 +533,16 @@ | |||
509 | }; | 533 | }; |
510 | }; | 534 | }; |
511 | 535 | ||
536 | panel: panel { | ||
537 | compatible = "samsung,ltn101nt05", "simple-panel"; | ||
538 | |||
539 | ddc-i2c-bus = <&lvds_ddc>; | ||
540 | power-supply = <&vdd_pnl_reg>; | ||
541 | enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>; | ||
542 | |||
543 | backlight = <&backlight>; | ||
544 | }; | ||
545 | |||
512 | regulators { | 546 | regulators { |
513 | compatible = "simple-bus"; | 547 | compatible = "simple-bus"; |
514 | #address-cells = <1>; | 548 | #address-cells = <1>; |
@@ -522,6 +556,16 @@ | |||
522 | regulator-max-microvolt = <5000000>; | 556 | regulator-max-microvolt = <5000000>; |
523 | regulator-always-on; | 557 | regulator-always-on; |
524 | }; | 558 | }; |
559 | |||
560 | vdd_pnl_reg: regulator@1 { | ||
561 | compatible = "regulator-fixed"; | ||
562 | reg = <1>; | ||
563 | regulator-name = "+3VS,vdd_pnl"; | ||
564 | regulator-min-microvolt = <3300000>; | ||
565 | regulator-max-microvolt = <3300000>; | ||
566 | gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>; | ||
567 | enable-active-high; | ||
568 | }; | ||
525 | }; | 569 | }; |
526 | 570 | ||
527 | sound { | 571 | sound { |