.. | .. |
---|
4 | 4 | #include "rk3288-evb.dtsi" |
---|
5 | 5 | |
---|
6 | 6 | / { |
---|
| 7 | + model = "Rockchip RK3288 EVB RK808"; |
---|
7 | 8 | compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288"; |
---|
8 | | - |
---|
9 | | - panel { |
---|
10 | | - compatible = "simple-panel"; |
---|
11 | | - backlight = <&backlight>; |
---|
12 | | - enable-gpios = <&gpio7 RK_PA4 GPIO_ACTIVE_HIGH>; |
---|
13 | | - prepare-delay-ms = <120>; |
---|
14 | | - |
---|
15 | | - display-timings { |
---|
16 | | - native-mode = <&timing0>; |
---|
17 | | - |
---|
18 | | - timing0: timing0 { |
---|
19 | | - clock-frequency = <200000000>; |
---|
20 | | - hactive = <1536>; |
---|
21 | | - vactive = <2048>; |
---|
22 | | - hfront-porch = <12>; |
---|
23 | | - hsync-len = <16>; |
---|
24 | | - hback-porch = <48>; |
---|
25 | | - vfront-porch = <8>; |
---|
26 | | - vsync-len = <4>; |
---|
27 | | - vback-porch = <8>; |
---|
28 | | - hsync-active = <0>; |
---|
29 | | - vsync-active = <0>; |
---|
30 | | - de-active = <0>; |
---|
31 | | - pixelclk-active = <0>; |
---|
32 | | - }; |
---|
33 | | - }; |
---|
34 | | - |
---|
35 | | - port { |
---|
36 | | - panel_in_edp: endpoint { |
---|
37 | | - remote-endpoint = <&edp_out_panel>; |
---|
38 | | - }; |
---|
39 | | - }; |
---|
40 | | - }; |
---|
41 | 9 | |
---|
42 | 10 | sdio_pwrseq: sdio-pwrseq { |
---|
43 | 11 | compatible = "mmc-pwrseq-simple"; |
---|
.. | .. |
---|
54 | 22 | */ |
---|
55 | 23 | reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; |
---|
56 | 24 | }; |
---|
57 | | -}; |
---|
58 | | - |
---|
59 | | -&backlight { |
---|
60 | | - enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>; |
---|
61 | | - pinctrl-names = "default"; |
---|
62 | | - pinctrl-0 = <&bl_en>; |
---|
63 | | - pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>; |
---|
64 | 25 | }; |
---|
65 | 26 | |
---|
66 | 27 | &i2c0 { |
---|
.. | .. |
---|
252 | 213 | }; |
---|
253 | 214 | }; |
---|
254 | 215 | |
---|
255 | | -&edp { |
---|
256 | | - force-hpd; |
---|
257 | | - status = "okay"; |
---|
258 | | - |
---|
259 | | - ports { |
---|
260 | | - port@1 { |
---|
261 | | - reg = <1>; |
---|
262 | | - |
---|
263 | | - edp_out_panel: endpoint { |
---|
264 | | - remote-endpoint = <&panel_in_edp>; |
---|
265 | | - }; |
---|
266 | | - }; |
---|
267 | | - }; |
---|
268 | | -}; |
---|
269 | | - |
---|
270 | | -&edp_in_vopb { |
---|
271 | | - status = "disabled"; |
---|
272 | | -}; |
---|
273 | | - |
---|
274 | | -&edp_in_vopl { |
---|
275 | | - status = "okay"; |
---|
276 | | -}; |
---|
277 | | - |
---|
278 | | -&pwm0 { |
---|
279 | | - status = "okay"; |
---|
280 | | -}; |
---|
281 | | - |
---|
282 | | -&pinctrl { |
---|
283 | | - backlight { |
---|
284 | | - bl_en: bl-en { |
---|
285 | | - rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
286 | | - }; |
---|
287 | | - }; |
---|
| 216 | +&panel { |
---|
| 217 | + power-supply = <&vcc_lcd>; |
---|
288 | 218 | }; |
---|