tegra: dts: nyan-big: Add definitions for eDP display
authorSimon Glass <sjg@chromium.org>
Wed, 15 Apr 2015 03:03:39 +0000 (21:03 -0600)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:24:11 +0000 (09:24 -0700)
Add the various host1x peripherals to allow an eDP display to be connected.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/dts/tegra124-nyan-big.dts

index a50f26c69c357c19bbf54def487ae2b2a2194632..5a39e93c68c01fe59e0e31be13fc455305e14962 100644 (file)
                reg = <0x80000000 0x80000000>;
        };
 
+       host1x@50000000 {
+               dc@54200000 {
+                       display-timings {
+                               timing@0 {
+                                       clock-frequency = <69500000>;
+                                       hactive = <1366>;
+                                       vactive = <768>;
+                                       hsync-len = <32>;
+                                       hfront-porch = <48>;
+                                       hback-porch = <20>;
+                                       vfront-porch = <3>;
+                                       vback-porch = <13>;
+                                       vsync-len = <6>;
+                               };
+                       };
+               };
+
+               sor@54540000 {
+                       status = "okay";
+
+                       nvidia,dpaux = <&dpaux>;
+                       nvidia,panel = <&panel>;
+               };
+
+               dpaux@545c0000 {
+                       status = "okay";
+               };
+       };
+
        serial@70006000 {
                /* Debug connector on the bottom of the board near SD card. */
                status = "okay";
                compatible = "pwm-backlight";
 
                enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
+               power-supply = <&vdd_led>;
                pwms = <&pwm 1 1000000>;
 
                default-brightness-level = <224>;
                backlight = <&backlight>;
        };
 
+       regulators {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               vdd_led: regulator@5 {
+                       compatible = "regulator-fixed";
+                       reg = <5>;
+                       regulator-name = "+VDD_LED";
+                       gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
+                       enable-active-high;
+               };
+       };
+
        sound {
                compatible = "nvidia,tegra-audio-max98090-nyan-big",
                             "nvidia,tegra-audio-max98090";