| .. | .. |
|---|
| 194 | 194 | |
|---|
| 195 | 195 | backlight: backlight { |
|---|
| 196 | 196 | compatible = "pwm-backlight"; |
|---|
| 197 | | - brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|---|
| 198 | | - 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|---|
| 199 | | - 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|---|
| 200 | | - 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|---|
| 201 | | - 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
|---|
| 202 | | - 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
|---|
| 203 | | - 87 88 89 90 91 92 93 94 95 96 97 98 99 100>; |
|---|
| 204 | | - default-brightness-level = <51>; |
|---|
| 205 | 197 | enable-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; |
|---|
| 206 | 198 | power-supply = <&pp3300_disp>; |
|---|
| 207 | 199 | pinctrl-names = "default"; |
|---|
| 208 | 200 | pinctrl-0 = <&bl_en>; |
|---|
| 209 | 201 | pwm-delay-us = <10000>; |
|---|
| 202 | + }; |
|---|
| 203 | + |
|---|
| 204 | + gpio_keys: gpio-keys { |
|---|
| 205 | + compatible = "gpio-keys"; |
|---|
| 206 | + pinctrl-names = "default"; |
|---|
| 207 | + pinctrl-0 = <&bt_host_wake_l>; |
|---|
| 208 | + |
|---|
| 209 | + wake_on_bt: wake-on-bt { |
|---|
| 210 | + label = "Wake-on-Bluetooth"; |
|---|
| 211 | + gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; |
|---|
| 212 | + linux,code = <KEY_WAKEUP>; |
|---|
| 213 | + wakeup-source; |
|---|
| 214 | + }; |
|---|
| 210 | 215 | }; |
|---|
| 211 | 216 | }; |
|---|
| 212 | 217 | |
|---|
| .. | .. |
|---|
| 231 | 236 | |
|---|
| 232 | 237 | &edp { |
|---|
| 233 | 238 | status = "okay"; |
|---|
| 239 | + |
|---|
| 240 | + /* |
|---|
| 241 | + * eDP PHY/clk don't sync reliably at anything other than 24 MHz. Only |
|---|
| 242 | + * set this here, because rk3399-gru.dtsi ensures we can generate this |
|---|
| 243 | + * off GPLL=600MHz, whereas some other RK3399 boards may not. |
|---|
| 244 | + */ |
|---|
| 245 | + assigned-clocks = <&cru PCLK_EDP>; |
|---|
| 246 | + assigned-clock-rates = <24000000>; |
|---|
| 234 | 247 | |
|---|
| 235 | 248 | ports { |
|---|
| 236 | 249 | edp_out: port@1 { |
|---|
| .. | .. |
|---|
| 286 | 299 | #pwm-cells = <1>; |
|---|
| 287 | 300 | }; |
|---|
| 288 | 301 | |
|---|
| 289 | | - usbc_extcon1: extcon@1 { |
|---|
| 302 | + usbc_extcon1: extcon1 { |
|---|
| 290 | 303 | compatible = "google,extcon-usbc-cros-ec"; |
|---|
| 291 | 304 | google,usb-port-id = <1>; |
|---|
| 292 | | - |
|---|
| 293 | | - #extcon-cells = <0>; |
|---|
| 294 | 305 | }; |
|---|
| 295 | 306 | }; |
|---|
| 296 | 307 | |
|---|
| .. | .. |
|---|
| 392 | 403 | }; |
|---|
| 393 | 404 | |
|---|
| 394 | 405 | wlan_host_wake_l: wlan-host-wake-l { |
|---|
| 406 | + /* Kevin has an external pull up, but Bob does not */ |
|---|
| 395 | 407 | rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 396 | 408 | }; |
|---|
| 397 | 409 | }; |
|---|