1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Veyron Minnie Rev 0+ board device tree source
5 * Copyright 2015 Google, Inc
9 #include "rk3288-veyron-chromebook.dtsi"
10 #include "rk3288-veyron-broadcom-bluetooth.dtsi"
13 model = "Google Minnie";
14 compatible = "google,veyron-minnie-rev4", "google,veyron-minnie-rev3",
15 "google,veyron-minnie-rev2", "google,veyron-minnie-rev1",
16 "google,veyron-minnie-rev0", "google,veyron-minnie",
17 "google,veyron", "rockchip,rk3288";
19 volume_buttons: volume-buttons {
20 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&volum_down_l &volum_up_l>;
26 gpios = <&gpio5 RK_PB3 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_VOLUMEDOWN>;
28 debounce-interval = <100>;
33 gpios = <&gpio5 RK_PB2 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_VOLUMEUP>;
35 debounce-interval = <100>;
41 /* Minnie panel PWM must be >= 1%, so start non-zero brightness at 3 */
42 brightness-levels = <3 255>;
43 num-interpolated-steps = <252>;
48 compatible = "ti,bq27500";
56 clock-frequency = <400000>;
57 i2c-scl-falling-time-ns = <50>;
58 i2c-scl-rising-time-ns = <300>;
61 compatible = "elan,ekth3500";
63 interrupt-parent = <&gpio2>;
64 interrupts = <RK_PB6 IRQ_TYPE_EDGE_FALLING>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&touch_int &touch_rst>;
67 reset-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_LOW>;
68 vcc33-supply = <&vcc33_touch>;
69 vccio-supply = <&vcc33_touch>;
74 compatible = "auo,b101ean01";
76 /delete-node/ panel-timing;
79 clock-frequency = <66666667>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
96 vcc33_touch: LDO_REG2 {
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
99 regulator-name = "vcc33_touch";
100 regulator-state-mem {
101 regulator-off-in-suspend;
105 vcc5v_touch: SWITCH_REG2 {
106 regulator-name = "vcc5v_touch";
107 regulator-state-mem {
108 regulator-off-in-suspend;
116 pinctrl-names = "default";
117 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin
123 gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&drv_5v>;
130 gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&vcc50_hdmi_en>;
136 gpio-line-names = "PMIC_SLEEP_AP",
147 * RECOVERY_SW_L is Chrome OS ABI. Schematics call
164 gpio-line-names = "CONFIG0",
187 gpio-line-names = "FLASH0_D0",
205 "FLASH0_CS2/EMMC_CMD",
207 "FLASH0_DQS/EMMC_CLKO";
211 gpio-line-names = "",
249 gpio-line-names = "",
274 gpio-line-names = "I2S0_SCLK",
301 gpio-line-names = "LCDC_BL",
308 * AP_FLASH_WP_L is Chrome OS ABI. Schematics call
334 gpio-line-names = "RAM_ID0",
348 pinctrl-names = "default", "sleep";
350 /* Common for sleep and wake, but no owners */
359 /* Common for sleep and wake, but no owners */
370 rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
375 volum_down_l: volum-down-l {
376 rockchip,pins = <5 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>;
379 volum_up_l: volum-up-l {
380 rockchip,pins = <5 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
385 vcc50_hdmi_en: vcc50-hdmi-en {
386 rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
392 rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
396 rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>;
401 gpio_prochot: gpio-prochot {
402 rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
407 touch_int: touch-int {
408 rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
411 touch_rst: touch-rst {
412 rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;