1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Veyron (and derivatives) fragment for the edp displays
5 * Copyright 2019 Google LLC
9 backlight_regulator: backlight-regulator {
10 compatible = "regulator-fixed";
12 gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
13 pinctrl-names = "default";
14 pinctrl-0 = <&bl_pwr_en>;
15 regulator-name = "backlight_regulator";
16 vin-supply = <&vcc33_sys>;
17 startup-delay-us = <15000>;
20 panel_regulator: panel-regulator {
21 compatible = "regulator-fixed";
23 gpio = <&gpio7 RK_PB6 GPIO_ACTIVE_HIGH>;
24 pinctrl-names = "default";
25 pinctrl-0 = <&lcd_enable_h>;
26 regulator-name = "panel_regulator";
27 vin-supply = <&vcc33_sys>;
30 vcc18_lcd: vcc18-lcd {
31 compatible = "regulator-fixed";
33 gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
34 pinctrl-names = "default";
35 pinctrl-0 = <&avdd_1v8_disp_en>;
36 regulator-name = "vcc18_lcd";
39 vin-supply = <&vcc18_wl>;
42 backlight: backlight {
43 compatible = "pwm-backlight";
44 brightness-levels = <0 255>;
45 num-interpolated-steps = <255>;
46 default-brightness-level = <128>;
47 enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
48 pinctrl-names = "default";
50 pwms = <&pwm0 0 1000000 0>;
51 post-pwm-on-delay-ms = <10>;
52 pwm-off-delay-ms = <10>;
53 power-supply = <&backlight_regulator>;
57 compatible = "innolux,n116bge";
59 power-supply = <&panel_regulator>;
60 backlight = <&backlight>;
63 clock-frequency = <74250000>;
78 panel_in_edp: endpoint {
79 remote-endpoint = <&edp_out_panel>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&edp_hpd>;
97 edp_out_panel: endpoint@0 {
99 remote-endpoint = <&panel_in_edp>;
123 bl_pwr_en: bl_pwr_en {
124 rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
128 rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
133 lcd_enable_h: lcd-en {
134 rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
137 avdd_1v8_disp_en: avdd-1v8-disp-en {
138 rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;