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";
47 16 17 18 19 20 21 22 23
48 24 25 26 27 28 29 30 31
49 32 33 34 35 36 37 38 39
50 40 41 42 43 44 45 46 47
51 48 49 50 51 52 53 54 55
52 56 57 58 59 60 61 62 63
53 64 65 66 67 68 69 70 71
54 72 73 74 75 76 77 78 79
55 80 81 82 83 84 85 86 87
56 88 89 90 91 92 93 94 95
57 96 97 98 99 100 101 102 103
58 104 105 106 107 108 109 110 111
59 112 113 114 115 116 117 118 119
60 120 121 122 123 124 125 126 127
61 128 129 130 131 132 133 134 135
62 136 137 138 139 140 141 142 143
63 144 145 146 147 148 149 150 151
64 152 153 154 155 156 157 158 159
65 160 161 162 163 164 165 166 167
66 168 169 170 171 172 173 174 175
67 176 177 178 179 180 181 182 183
68 184 185 186 187 188 189 190 191
69 192 193 194 195 196 197 198 199
70 200 201 202 203 204 205 206 207
71 208 209 210 211 212 213 214 215
72 216 217 218 219 220 221 222 223
73 224 225 226 227 228 229 230 231
74 232 233 234 235 236 237 238 239
75 240 241 242 243 244 245 246 247
76 248 249 250 251 252 253 254 255>;
77 default-brightness-level = <128>;
78 enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
79 pinctrl-names = "default";
81 pwms = <&pwm0 0 1000000 0>;
82 post-pwm-on-delay-ms = <10>;
83 pwm-off-delay-ms = <10>;
84 power-supply = <&backlight_regulator>;
88 compatible = "innolux,n116bge", "simple-panel";
90 power-supply = <&panel_regulator>;
91 backlight = <&backlight>;
94 clock-frequency = <74250000>;
109 panel_in_edp: endpoint {
110 remote-endpoint = <&edp_out_panel>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&edp_hpd>;
126 #address-cells = <1>;
128 edp_out_panel: endpoint@0 {
130 remote-endpoint = <&panel_in_edp>;
154 bl_pwr_en: bl_pwr_en {
155 rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
159 rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
164 lcd_enable_h: lcd-en {
165 rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
168 avdd_1v8_disp_en: avdd-1v8-disp-en {
169 rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;