1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Veyron Jerry Rev 3+ board device tree source
5 * Copyright 2015 Google, Inc
9 #include "rk3288-veyron-chromebook.dtsi"
10 #include "cros-ec-sbs.dtsi"
13 model = "Google Jerry";
14 compatible = "google,veyron-jerry-rev15", "google,veyron-jerry-rev14",
15 "google,veyron-jerry-rev13", "google,veyron-jerry-rev12",
16 "google,veyron-jerry-rev11", "google,veyron-jerry-rev10",
17 "google,veyron-jerry-rev7", "google,veyron-jerry-rev6",
18 "google,veyron-jerry-rev5", "google,veyron-jerry-rev4",
19 "google,veyron-jerry-rev3", "google,veyron-jerry",
20 "google,veyron", "rockchip,rk3288";
22 panel_regulator: panel-regulator {
23 compatible = "regulator-fixed";
25 gpio = <&gpio7 RK_PB6 GPIO_ACTIVE_HIGH>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&lcd_enable_h>;
28 regulator-name = "panel_regulator";
29 startup-delay-us = <100000>;
30 vin-supply = <&vcc33_sys>;
33 vcc18_lcd: vcc18-lcd {
34 compatible = "regulator-fixed";
36 gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&avdd_1v8_disp_en>;
39 regulator-name = "vcc18_lcd";
42 vin-supply = <&vcc18_wl>;
45 backlight_regulator: backlight-regulator {
46 compatible = "regulator-fixed";
48 gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
49 pinctrl-names = "default";
50 pinctrl-0 = <&bl_pwr_en>;
51 regulator-name = "backlight_regulator";
52 vin-supply = <&vcc33_sys>;
53 startup-delay-us = <15000>;
58 power-supply = <&backlight_regulator>;
62 power-supply= <&panel_regulator>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
68 dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
69 <&gpio7 RK_PB7 GPIO_ACTIVE_HIGH>;
73 regulator-name = "mic_vcc";
76 regulator-min-microvolt = <1800000>;
77 regulator-max-microvolt = <1800000>;
79 regulator-off-in-suspend;
87 pinctrl-names = "default";
88 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
94 gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&drv_5v>;
101 gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&vcc50_hdmi_en>;
107 gpio-line-names = "PMIC_SLEEP_AP",
118 * RECOVERY_SW_L is Chrome OS ABI. Schematics call
135 gpio-line-names = "CONFIG0",
153 gpio-line-names = "FLASH0_D0",
171 "FLASH0_CS2/EMMC_CMD",
173 "FLASH0_DQS/EMMC_CLKO";
177 gpio-line-names = "",
215 gpio-line-names = "",
240 gpio-line-names = "I2S0_SCLK",
267 gpio-line-names = "LCDC_BL",
274 * AP_FLASH_WP_L is Chrome OS ABI. Schematics call
300 gpio-line-names = "RAM_ID0",
315 bl_pwr_en: bl_pwr_en {
316 rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
322 rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
327 vcc50_hdmi_en: vcc50-hdmi-en {
328 rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
333 lcd_enable_h: lcd-en {
334 rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
337 avdd_1v8_disp_en: avdd-1v8-disp-en {
338 rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
344 rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
348 rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>;
357 * Trackpad pin control is shared between Elan and Synaptics devices
358 * so we have to pull it up to the bus level.
360 pinctrl-names = "default";
361 pinctrl-0 = <&i2c4_xfer &trackpad_int>;
365 * Remove the inherited pinctrl settings to avoid clashing
366 * with bus-wide ones.
368 /delete-property/pinctrl-names;
369 /delete-property/pinctrl-0;
373 compatible = "hid-over-i2c";
374 interrupt-parent = <&gpio7>;
375 interrupts = <RK_PA3 IRQ_TYPE_EDGE_FALLING>;
377 hid-descr-addr = <0x0020>;
378 vcc-supply = <&vcc33_io>;