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-rev7", "google,veyron-jerry-rev6",
15 "google,veyron-jerry-rev5", "google,veyron-jerry-rev4",
16 "google,veyron-jerry-rev3", "google,veyron-jerry",
17 "google,veyron", "rockchip,rk3288";
19 panel_regulator: panel-regulator {
20 compatible = "regulator-fixed";
22 gpio = <&gpio7 RK_PB6 GPIO_ACTIVE_HIGH>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&lcd_enable_h>;
25 regulator-name = "panel_regulator";
26 startup-delay-us = <100000>;
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_regulator: backlight-regulator {
43 compatible = "regulator-fixed";
45 gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
46 pinctrl-names = "default";
47 pinctrl-0 = <&bl_pwr_en>;
48 regulator-name = "backlight_regulator";
49 vin-supply = <&vcc33_sys>;
50 startup-delay-us = <15000>;
55 power-supply = <&backlight_regulator>;
59 power-supply= <&panel_regulator>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&pmic_int_l>;
68 regulator-name = "mic_vcc";
71 regulator-min-microvolt = <1800000>;
72 regulator-max-microvolt = <1800000>;
74 regulator-off-in-suspend;
82 pinctrl-names = "default";
83 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
89 gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&drv_5v>;
96 gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
97 pinctrl-names = "default";
98 pinctrl-0 = <&vcc50_hdmi_en>;
103 bl_pwr_en: bl_pwr_en {
104 rockchip,pins = <2 12 RK_FUNC_GPIO &pcfg_pull_none>;
110 rockchip,pins = <7 21 RK_FUNC_GPIO &pcfg_pull_none>;
115 vcc50_hdmi_en: vcc50-hdmi-en {
116 rockchip,pins = <5 19 RK_FUNC_GPIO &pcfg_pull_none>;
121 lcd_enable_h: lcd-en {
122 rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_pull_none>;
125 avdd_1v8_disp_en: avdd-1v8-disp-en {
126 rockchip,pins = <2 13 RK_FUNC_GPIO &pcfg_pull_none>;
132 rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_down>;
136 rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_down>;
145 * Trackpad pin control is shared between Elan and Synaptics devices
146 * so we have to pull it up to the bus level.
148 pinctrl-names = "default";
149 pinctrl-0 = <&i2c4_xfer &trackpad_int>;
153 * Remove the inherited pinctrl settings to avoid clashing
154 * with bus-wide ones.
156 /delete-property/pinctrl-names;
157 /delete-property/pinctrl-0;
161 compatible = "hid-over-i2c";
162 interrupt-parent = <&gpio7>;
163 interrupts = <RK_PA3 IRQ_TYPE_EDGE_FALLING>;
165 hid-descr-addr = <0x0020>;
166 vcc-supply = <&vcc33_io>;