diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-01-07 18:16:32 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-02-19 12:15:37 -0500 |
commit | 9615d65631bfed84dcbdf8b1ef3b6410f512e974 (patch) | |
tree | 63c54082a4b3802e57c5db75adc04e94f5ff3391 /arch/arm/boot/dts | |
parent | 7be75df218eb012e4f5f4385cb49df3f89662bc7 (diff) |
ARM: tegra: enable LCD panel on Seaboard
Seaboard uses a CLAA101WA01A LCD panel. Enable the relevant display
controller, backlight, and regulators.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-seaboard.dts | 55 |
1 files changed, 54 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts index a11b6e7b4759..a1d4bf9895d7 100644 --- a/arch/arm/boot/dts/tegra20-seaboard.dts +++ b/arch/arm/boot/dts/tegra20-seaboard.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 | ||
@@ -312,6 +320,10 @@ | |||
312 | status = "okay"; | 320 | status = "okay"; |
313 | }; | 321 | }; |
314 | 322 | ||
323 | pwm: pwm@7000a000 { | ||
324 | status = "okay"; | ||
325 | }; | ||
326 | |||
315 | i2c@7000c000 { | 327 | i2c@7000c000 { |
316 | status = "okay"; | 328 | status = "okay"; |
317 | clock-frequency = <400000>; | 329 | clock-frequency = <400000>; |
@@ -369,7 +381,7 @@ | |||
369 | #size-cells = <0>; | 381 | #size-cells = <0>; |
370 | }; | 382 | }; |
371 | 383 | ||
372 | i2c@1 { | 384 | lvds_ddc: i2c@1 { |
373 | reg = <1>; | 385 | reg = <1>; |
374 | #address-cells = <1>; | 386 | #address-cells = <1>; |
375 | #size-cells = <0>; | 387 | #size-cells = <0>; |
@@ -762,6 +774,17 @@ | |||
762 | non-removable; | 774 | non-removable; |
763 | }; | 775 | }; |
764 | 776 | ||
777 | backlight: backlight { | ||
778 | compatible = "pwm-backlight"; | ||
779 | |||
780 | enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>; | ||
781 | power-supply = <&vdd_bl_reg>; | ||
782 | pwms = <&pwm 2 5000000>; | ||
783 | |||
784 | brightness-levels = <0 4 8 16 32 64 128 255>; | ||
785 | default-brightness-level = <6>; | ||
786 | }; | ||
787 | |||
765 | clocks { | 788 | clocks { |
766 | compatible = "simple-bus"; | 789 | compatible = "simple-bus"; |
767 | #address-cells = <1>; | 790 | #address-cells = <1>; |
@@ -795,6 +818,16 @@ | |||
795 | }; | 818 | }; |
796 | }; | 819 | }; |
797 | 820 | ||
821 | panel: panel { | ||
822 | compatible = "chunghwa,claa101wa01a", "simple-panel"; | ||
823 | |||
824 | power-supply = <&vdd_pnl_reg>; | ||
825 | enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; | ||
826 | |||
827 | backlight = <&backlight>; | ||
828 | ddc-i2c-bus = <&lvds_ddc>; | ||
829 | }; | ||
830 | |||
798 | regulators { | 831 | regulators { |
799 | compatible = "simple-bus"; | 832 | compatible = "simple-bus"; |
800 | #address-cells = <1>; | 833 | #address-cells = <1>; |
@@ -839,6 +872,26 @@ | |||
839 | regulator-always-on; | 872 | regulator-always-on; |
840 | regulator-boot-on; | 873 | regulator-boot-on; |
841 | }; | 874 | }; |
875 | |||
876 | vdd_pnl_reg: regulator@4 { | ||
877 | compatible = "regulator-fixed"; | ||
878 | reg = <4>; | ||
879 | regulator-name = "vdd_pnl"; | ||
880 | regulator-min-microvolt = <2800000>; | ||
881 | regulator-max-microvolt = <2800000>; | ||
882 | gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; | ||
883 | enable-active-high; | ||
884 | }; | ||
885 | |||
886 | vdd_bl_reg: regulator@5 { | ||
887 | compatible = "regulator-fixed"; | ||
888 | reg = <5>; | ||
889 | regulator-name = "vdd_bl"; | ||
890 | regulator-min-microvolt = <2800000>; | ||
891 | regulator-max-microvolt = <2800000>; | ||
892 | gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; | ||
893 | enable-active-high; | ||
894 | }; | ||
842 | }; | 895 | }; |
843 | 896 | ||
844 | sound { | 897 | sound { |