1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2724ba675SRob Herring/* 3724ba675SRob Herring * Google Veyron Pinky Rev 2 board device tree source 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright 2015 Google, Inc 6724ba675SRob Herring */ 7724ba675SRob Herring 8724ba675SRob Herring/dts-v1/; 9724ba675SRob Herring#include "rk3288-veyron-chromebook.dtsi" 10724ba675SRob Herring#include "../cros-ec-sbs.dtsi" 11724ba675SRob Herring 12724ba675SRob Herring/ { 13724ba675SRob Herring model = "Google Pinky"; 14724ba675SRob Herring compatible = "google,veyron-pinky-rev2", "google,veyron-pinky", 15724ba675SRob Herring "google,veyron", "rockchip,rk3288"; 16724ba675SRob Herring 17*2c3944d9SJohan Jonker /delete-node/regulator-backlight; 18*2c3944d9SJohan Jonker /delete-node/regulator-panel; 19724ba675SRob Herring /delete-node/emmc-pwrseq; 20724ba675SRob Herring /delete-node/vcc18-lcd; 21724ba675SRob Herring}; 22724ba675SRob Herring 23724ba675SRob Herring&backlight { 24724ba675SRob Herring /delete-property/power-supply; 25724ba675SRob Herring}; 26724ba675SRob Herring 27724ba675SRob Herring&emmc { 28724ba675SRob Herring /* 29724ba675SRob Herring * Use a pullup instead of a drive since the output is 3.3V and 30724ba675SRob Herring * really should be 1.8V (oops). The external pulldown will help 31724ba675SRob Herring * bring the voltage down if we only drive with a pullup here. 32724ba675SRob Herring * Therefore disable the powerseq (and actual reset) for pinky. 33724ba675SRob Herring */ 34724ba675SRob Herring /delete-property/mmc-pwrseq; 35724ba675SRob Herring pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8 &emmc_reset>; 36724ba675SRob Herring}; 37724ba675SRob Herring 38724ba675SRob Herring&edp { 39724ba675SRob Herring /delete-property/pinctrl-names; 40724ba675SRob Herring /delete-property/pinctrl-0; 41724ba675SRob Herring 42724ba675SRob Herring force-hpd; 43724ba675SRob Herring}; 44724ba675SRob Herring 45724ba675SRob Herring&lid_switch { 46724ba675SRob Herring pinctrl-0 = <&pwr_key_h &ap_lid_int_l>; 47724ba675SRob Herring 48724ba675SRob Herring key-power { 49724ba675SRob Herring gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 50724ba675SRob Herring }; 51724ba675SRob Herring}; 52724ba675SRob Herring 53724ba675SRob Herring/* Touchpad connector */ 54724ba675SRob Herring&i2c3 { 55724ba675SRob Herring status = "okay"; 56724ba675SRob Herring 57724ba675SRob Herring clock-frequency = <400000>; 58724ba675SRob Herring i2c-scl-falling-time-ns = <50>; 59724ba675SRob Herring i2c-scl-rising-time-ns = <300>; 60724ba675SRob Herring}; 61724ba675SRob Herring 62724ba675SRob Herring&panel { 63724ba675SRob Herring power-supply = <&vcc33_lcd>; 64724ba675SRob Herring}; 65724ba675SRob Herring 66724ba675SRob Herring&pinctrl { 67724ba675SRob Herring pinctrl-names = "default", "sleep"; 68724ba675SRob Herring pinctrl-0 = < 69724ba675SRob Herring /* Common for sleep and wake, but no owners */ 70724ba675SRob Herring &ddr0_retention 71724ba675SRob Herring &ddrio_pwroff 72724ba675SRob Herring &global_pwroff 73724ba675SRob Herring 74724ba675SRob Herring /* Wake only */ 75724ba675SRob Herring &suspend_l_wake 76724ba675SRob Herring &bt_dev_wake_awake 77724ba675SRob Herring >; 78724ba675SRob Herring pinctrl-1 = < 79724ba675SRob Herring /* Common for sleep and wake, but no owners */ 80724ba675SRob Herring &ddr0_retention 81724ba675SRob Herring &ddrio_pwroff 82724ba675SRob Herring &global_pwroff 83724ba675SRob Herring 84724ba675SRob Herring /* Sleep only */ 85724ba675SRob Herring &suspend_l_sleep 86724ba675SRob Herring &bt_dev_wake_sleep 87724ba675SRob Herring >; 88724ba675SRob Herring 89724ba675SRob Herring /delete-node/ lcd; 90724ba675SRob Herring 91724ba675SRob Herring backlight { 92724ba675SRob Herring /delete-node/ bl_pwr_en; 93724ba675SRob Herring }; 94724ba675SRob Herring 95724ba675SRob Herring buttons { 96724ba675SRob Herring pwr_key_h: pwr-key-h { 97724ba675SRob Herring rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 98724ba675SRob Herring }; 99724ba675SRob Herring }; 100724ba675SRob Herring 101724ba675SRob Herring emmc { 102724ba675SRob Herring emmc_reset: emmc-reset { 103724ba675SRob Herring rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; 104724ba675SRob Herring }; 105724ba675SRob Herring }; 106724ba675SRob Herring 107724ba675SRob Herring sdmmc { 108724ba675SRob Herring sdmmc_wp_pin: sdmmc-wp-pin { 109724ba675SRob Herring rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 110724ba675SRob Herring }; 111724ba675SRob Herring }; 112724ba675SRob Herring}; 113724ba675SRob Herring 114724ba675SRob Herring&rk808 { 115724ba675SRob Herring regulators { 116724ba675SRob Herring vcc18_lcd: SWITCH_REG2 { 117724ba675SRob Herring regulator-always-on; 118724ba675SRob Herring regulator-boot-on; 119724ba675SRob Herring regulator-name = "vcc18_lcd"; 120724ba675SRob Herring regulator-state-mem { 121724ba675SRob Herring regulator-off-in-suspend; 122724ba675SRob Herring }; 123724ba675SRob Herring }; 124724ba675SRob Herring }; 125724ba675SRob Herring}; 126724ba675SRob Herring 127724ba675SRob Herring&sdmmc { 128724ba675SRob Herring pinctrl-names = "default"; 129724ba675SRob Herring pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin 130724ba675SRob Herring &sdmmc_wp_pin &sdmmc_bus4>; 131724ba675SRob Herring wp-gpios = <&gpio7 RK_PB2 GPIO_ACTIVE_HIGH>; 132724ba675SRob Herring}; 133724ba675SRob Herring 134724ba675SRob Herring&tsadc { 135724ba675SRob Herring /* Some connection is flaky making the tsadc hang the system */ 136724ba675SRob Herring status = "disabled"; 137724ba675SRob Herring}; 138