diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-12-19 10:59:32 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-12-19 19:07:55 -0500 |
commit | 48b901171cbfdbed059acb92fdea7064bbbcd680 (patch) | |
tree | ebffe75bc7584263a790eea89d5404d54c3afe8c | |
parent | 032f11f3ace8501f5c7c602deaa1cc25f1110513 (diff) |
ARM: tegra: Enable DSI support on Dalmore
Dalmore has a 10.1" WUXGA panel connected to one of the DSI outputs of
the Tegra114.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | arch/arm/boot/dts/tegra114-dalmore.dts | 44 |
1 files changed, 32 insertions, 12 deletions
diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index ca4485903b9d..512922f049c3 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts | |||
@@ -16,6 +16,21 @@ | |||
16 | reg = <0x80000000 0x40000000>; | 16 | reg = <0x80000000 0x40000000>; |
17 | }; | 17 | }; |
18 | 18 | ||
19 | host1x@50000000 { | ||
20 | dsi@54300000 { | ||
21 | status = "okay"; | ||
22 | |||
23 | panel@0 { | ||
24 | compatible = "panasonic,vvx10f004b00", | ||
25 | "simple-panel"; | ||
26 | reg = <0>; | ||
27 | |||
28 | power-supply = <&avdd_lcd_reg>; | ||
29 | backlight = <&backlight>; | ||
30 | }; | ||
31 | }; | ||
32 | }; | ||
33 | |||
19 | pinmux@70000868 { | 34 | pinmux@70000868 { |
20 | pinctrl-names = "default"; | 35 | pinctrl-names = "default"; |
21 | pinctrl-0 = <&state_default>; | 36 | pinctrl-0 = <&state_default>; |
@@ -723,6 +738,10 @@ | |||
723 | status = "okay"; | 738 | status = "okay"; |
724 | }; | 739 | }; |
725 | 740 | ||
741 | pwm@7000a000 { | ||
742 | status = "okay"; | ||
743 | }; | ||
744 | |||
726 | i2c@7000c000 { | 745 | i2c@7000c000 { |
727 | status = "okay"; | 746 | status = "okay"; |
728 | clock-frequency = <100000>; | 747 | clock-frequency = <100000>; |
@@ -811,7 +830,7 @@ | |||
811 | regulator-boot-on; | 830 | regulator-boot-on; |
812 | }; | 831 | }; |
813 | 832 | ||
814 | fet1 { | 833 | vdd_bl_reg: fet1 { |
815 | regulator-name = "vdd-lcd-bl"; | 834 | regulator-name = "vdd-lcd-bl"; |
816 | }; | 835 | }; |
817 | 836 | ||
@@ -819,7 +838,7 @@ | |||
819 | regulator-name = "vdd-modem-3v3"; | 838 | regulator-name = "vdd-modem-3v3"; |
820 | }; | 839 | }; |
821 | 840 | ||
822 | fet4 { | 841 | avdd_lcd_reg: fet4 { |
823 | regulator-name = "avdd-lcd"; | 842 | regulator-name = "avdd-lcd"; |
824 | }; | 843 | }; |
825 | 844 | ||
@@ -1089,6 +1108,17 @@ | |||
1089 | vbus-supply = <&usb3_vbus_reg>; | 1108 | vbus-supply = <&usb3_vbus_reg>; |
1090 | }; | 1109 | }; |
1091 | 1110 | ||
1111 | backlight: backlight { | ||
1112 | compatible = "pwm-backlight"; | ||
1113 | |||
1114 | enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; | ||
1115 | power-supply = <&vdd_bl_reg>; | ||
1116 | pwms = <&pwm 1 1000000>; | ||
1117 | |||
1118 | brightness-levels = <0 4 8 16 32 64 128 255>; | ||
1119 | default-brightness-level = <6>; | ||
1120 | }; | ||
1121 | |||
1092 | clocks { | 1122 | clocks { |
1093 | compatible = "simple-bus"; | 1123 | compatible = "simple-bus"; |
1094 | #address-cells = <1>; | 1124 | #address-cells = <1>; |
@@ -1155,16 +1185,6 @@ | |||
1155 | gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; | 1185 | gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; |
1156 | }; | 1186 | }; |
1157 | 1187 | ||
1158 | lcd_bl_en_reg: regulator@2 { | ||
1159 | compatible = "regulator-fixed"; | ||
1160 | reg = <2>; | ||
1161 | regulator-name = "lcd_bl_en"; | ||
1162 | regulator-min-microvolt = <5000000>; | ||
1163 | regulator-max-microvolt = <5000000>; | ||
1164 | enable-active-high; | ||
1165 | gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; | ||
1166 | }; | ||
1167 | |||
1168 | usb1_vbus_reg: regulator@3 { | 1188 | usb1_vbus_reg: regulator@3 { |
1169 | compatible = "regulator-fixed"; | 1189 | compatible = "regulator-fixed"; |
1170 | reg = <3>; | 1190 | reg = <3>; |