diff options
author | Yakir Yang <ykk@rock-chips.com> | 2016-06-28 00:51:18 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-08-08 04:56:55 -0400 |
commit | d4da51213a2ce337cb98a468886d5b0bc1e45bcc (patch) | |
tree | c8bea0bafb4f03d7d38e456a2c9489070e9f68ed | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
ARM: dts: rockchip: add eDP/panel display device nodes for rk3288-evb
The default eDP panel on RK3288 EVB board is LG LP079QX1-SP0V TFT LCD,
we haven't declared the panel regulator in the 'panel-simple' device
node here, so the specific board like ACT8846 / RK8080 need to support
the panel power supply.
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r-- | arch/arm/boot/dts/rk3288-evb.dtsi | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 963365d12208..d59208b5eb6c 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b/arch/arm/boot/dts/rk3288-evb.dtsi | |||
@@ -48,7 +48,7 @@ | |||
48 | reg = <0x0 0x80000000>; | 48 | reg = <0x0 0x80000000>; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | backlight { | 51 | backlight: backlight { |
52 | compatible = "pwm-backlight"; | 52 | compatible = "pwm-backlight"; |
53 | brightness-levels = < | 53 | brightness-levels = < |
54 | 0 1 2 3 4 5 6 7 | 54 | 0 1 2 3 4 5 6 7 |
@@ -97,6 +97,21 @@ | |||
97 | #clock-cells = <0>; | 97 | #clock-cells = <0>; |
98 | }; | 98 | }; |
99 | 99 | ||
100 | panel: panel { | ||
101 | compatible ="lg,lp079qx1-sp0v", "simple-panel"; | ||
102 | backlight = <&backlight>; | ||
103 | enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>; | ||
104 | pinctrl-0 = <&lcd_cs>; | ||
105 | |||
106 | ports { | ||
107 | panel_in: port { | ||
108 | panel_in_edp: endpoint { | ||
109 | remote-endpoint = <&edp_out_panel>; | ||
110 | }; | ||
111 | }; | ||
112 | }; | ||
113 | }; | ||
114 | |||
100 | gpio-keys { | 115 | gpio-keys { |
101 | compatible = "gpio-keys"; | 116 | compatible = "gpio-keys"; |
102 | autorepeat; | 117 | autorepeat; |
@@ -170,6 +185,28 @@ | |||
170 | cpu0-supply = <&vdd_cpu>; | 185 | cpu0-supply = <&vdd_cpu>; |
171 | }; | 186 | }; |
172 | 187 | ||
188 | &edp { | ||
189 | force-hpd; | ||
190 | status = "okay"; | ||
191 | |||
192 | ports { | ||
193 | edp_out: port@1 { | ||
194 | reg = <1>; | ||
195 | #address-cells = <1>; | ||
196 | #size-cells = <0>; | ||
197 | |||
198 | edp_out_panel: endpoint { | ||
199 | reg = <0>; | ||
200 | remote-endpoint = <&panel_in_edp>; | ||
201 | }; | ||
202 | }; | ||
203 | }; | ||
204 | }; | ||
205 | |||
206 | &edp_phy { | ||
207 | status = "okay"; | ||
208 | }; | ||
209 | |||
173 | &emmc { | 210 | &emmc { |
174 | bus-width = <8>; | 211 | bus-width = <8>; |
175 | cap-mmc-highspeed; | 212 | cap-mmc-highspeed; |
@@ -280,6 +317,12 @@ | |||
280 | }; | 317 | }; |
281 | }; | 318 | }; |
282 | 319 | ||
320 | lcd { | ||
321 | lcd_cs: lcd-cs { | ||
322 | rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_none>; | ||
323 | }; | ||
324 | }; | ||
325 | |||
283 | pmic { | 326 | pmic { |
284 | pmic_int: pmic-int { | 327 | pmic_int: pmic-int { |
285 | rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; | 328 | rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; |