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"
12 model = "Google Minnie";
13 compatible = "google,veyron-minnie-rev4", "google,veyron-minnie-rev3",
14 "google,veyron-minnie-rev2", "google,veyron-minnie-rev1",
15 "google,veyron-minnie-rev0", "google,veyron-minnie",
16 "google,veyron", "rockchip,rk3288";
18 volume_buttons: volume-buttons {
19 compatible = "gpio-keys";
20 pinctrl-names = "default";
21 pinctrl-0 = <&volum_down_l &volum_up_l>;
25 gpios = <&gpio5 RK_PB3 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_VOLUMEDOWN>;
27 debounce-interval = <100>;
32 gpios = <&gpio5 RK_PB2 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_VOLUMEUP>;
34 debounce-interval = <100>;
40 /* Minnie panel PWM must be >= 1%, so start non-zero brightness at 3 */
41 brightness-levels = <0 3 255>;
42 num-interpolated-steps = <252>;
47 compatible = "ti,bq27500";
55 clock-frequency = <400000>;
56 i2c-scl-falling-time-ns = <50>;
57 i2c-scl-rising-time-ns = <300>;
60 compatible = "elan,ekth3500";
62 interrupt-parent = <&gpio2>;
63 interrupts = <RK_PB6 IRQ_TYPE_EDGE_FALLING>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&touch_int &touch_rst>;
66 reset-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_LOW>;
67 vcc33-supply = <&vcc33_touch>;
68 vccio-supply = <&vcc33_touch>;
73 compatible = "auo,b101ean01", "simple-panel";
75 /delete-node/ panel-timing;
78 clock-frequency = <66666667>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
95 vcc33_touch: LDO_REG2 {
96 regulator-min-microvolt = <3300000>;
97 regulator-max-microvolt = <3300000>;
98 regulator-name = "vcc33_touch";
100 regulator-off-in-suspend;
104 vcc5v_touch: SWITCH_REG2 {
105 regulator-name = "vcc5v_touch";
106 regulator-state-mem {
107 regulator-off-in-suspend;
115 pinctrl-names = "default";
116 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
122 gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&drv_5v>;
129 gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&vcc50_hdmi_en>;
135 gpio-line-names = "PMIC_SLEEP_AP",
146 * RECOVERY_SW_L is Chrome OS ABI. Schematics call
163 gpio-line-names = "CONFIG0",
186 gpio-line-names = "FLASH0_D0",
204 "FLASH0_CS2/EMMC_CMD",
206 "FLASH0_DQS/EMMC_CLKO";
210 gpio-line-names = "",
248 gpio-line-names = "",
273 gpio-line-names = "I2S0_SCLK",
300 gpio-line-names = "LCDC_BL",
307 * AP_FLASH_WP_L is Chrome OS ABI. Schematics call
333 gpio-line-names = "RAM_ID0",
349 rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
354 volum_down_l: volum-down-l {
355 rockchip,pins = <5 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>;
358 volum_up_l: volum-up-l {
359 rockchip,pins = <5 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
364 vcc50_hdmi_en: vcc50-hdmi-en {
365 rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
371 rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
375 rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>;
380 gpio_prochot: gpio-prochot {
381 rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
386 touch_int: touch-int {
387 rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
390 touch_rst: touch-rst {
391 rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;