1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Google Veyron Speedy Rev 1+ board device tree source 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright 2015 Google, Inc 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring/dts-v1/; 9*724ba675SRob Herring#include "rk3288-veyron-chromebook.dtsi" 10*724ba675SRob Herring#include "rk3288-veyron-broadcom-bluetooth.dtsi" 11*724ba675SRob Herring#include "../cros-ec-sbs.dtsi" 12*724ba675SRob Herring 13*724ba675SRob Herring/ { 14*724ba675SRob Herring model = "Google Speedy"; 15*724ba675SRob Herring compatible = "google,veyron-speedy-rev9", "google,veyron-speedy-rev8", 16*724ba675SRob Herring "google,veyron-speedy-rev7", "google,veyron-speedy-rev6", 17*724ba675SRob Herring "google,veyron-speedy-rev5", "google,veyron-speedy-rev4", 18*724ba675SRob Herring "google,veyron-speedy-rev3", "google,veyron-speedy-rev2", 19*724ba675SRob Herring "google,veyron-speedy", "google,veyron", "rockchip,rk3288"; 20*724ba675SRob Herring}; 21*724ba675SRob Herring 22*724ba675SRob Herring&cpu_alert0 { 23*724ba675SRob Herring temperature = <65000>; 24*724ba675SRob Herring}; 25*724ba675SRob Herring 26*724ba675SRob Herring&cpu_alert1 { 27*724ba675SRob Herring temperature = <70000>; 28*724ba675SRob Herring}; 29*724ba675SRob Herring 30*724ba675SRob Herring&cpu_crit { 31*724ba675SRob Herring temperature = <90000>; 32*724ba675SRob Herring}; 33*724ba675SRob Herring 34*724ba675SRob Herring&edp { 35*724ba675SRob Herring /delete-property/pinctrl-names; 36*724ba675SRob Herring /delete-property/pinctrl-0; 37*724ba675SRob Herring 38*724ba675SRob Herring force-hpd; 39*724ba675SRob Herring}; 40*724ba675SRob Herring 41*724ba675SRob Herring&gpu_alert0 { 42*724ba675SRob Herring temperature = <80000>; 43*724ba675SRob Herring}; 44*724ba675SRob Herring 45*724ba675SRob Herring&gpu_crit { 46*724ba675SRob Herring temperature = <90000>; 47*724ba675SRob Herring}; 48*724ba675SRob Herring 49*724ba675SRob Herring&rk808 { 50*724ba675SRob Herring pinctrl-names = "default"; 51*724ba675SRob Herring pinctrl-0 = <&pmic_int_l>; 52*724ba675SRob Herring}; 53*724ba675SRob Herring 54*724ba675SRob Herring&sdmmc { 55*724ba675SRob Herring disable-wp; 56*724ba675SRob Herring pinctrl-names = "default"; 57*724ba675SRob Herring pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin 58*724ba675SRob Herring &sdmmc_bus4>; 59*724ba675SRob Herring}; 60*724ba675SRob Herring 61*724ba675SRob Herring&vcc_5v { 62*724ba675SRob Herring enable-active-high; 63*724ba675SRob Herring gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>; 64*724ba675SRob Herring pinctrl-names = "default"; 65*724ba675SRob Herring pinctrl-0 = <&drv_5v>; 66*724ba675SRob Herring}; 67*724ba675SRob Herring 68*724ba675SRob Herring&vcc50_hdmi { 69*724ba675SRob Herring enable-active-high; 70*724ba675SRob Herring gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>; 71*724ba675SRob Herring pinctrl-names = "default"; 72*724ba675SRob Herring pinctrl-0 = <&vcc50_hdmi_en>; 73*724ba675SRob Herring}; 74*724ba675SRob Herring 75*724ba675SRob Herring&gpio0 { 76*724ba675SRob Herring gpio-line-names = "PMIC_SLEEP_AP", 77*724ba675SRob Herring "DDRIO_PWROFF", 78*724ba675SRob Herring "DDRIO_RETEN", 79*724ba675SRob Herring "TS3A227E_INT_L", 80*724ba675SRob Herring "PMIC_INT_L", 81*724ba675SRob Herring "PWR_KEY_L", 82*724ba675SRob Herring "AP_LID_INT_L", 83*724ba675SRob Herring "EC_IN_RW", 84*724ba675SRob Herring 85*724ba675SRob Herring "AC_PRESENT_AP", 86*724ba675SRob Herring /* 87*724ba675SRob Herring * RECOVERY_SW_L is Chrome OS ABI. Schematics call 88*724ba675SRob Herring * it REC_MODE_L. 89*724ba675SRob Herring */ 90*724ba675SRob Herring "RECOVERY_SW_L", 91*724ba675SRob Herring "OTP_OUT", 92*724ba675SRob Herring "HOST1_PWR_EN", 93*724ba675SRob Herring "USBOTG_PWREN_H", 94*724ba675SRob Herring "AP_WARM_RESET_H", 95*724ba675SRob Herring "nFALUT2", 96*724ba675SRob Herring "I2C0_SDA_PMIC", 97*724ba675SRob Herring 98*724ba675SRob Herring "I2C0_SCL_PMIC", 99*724ba675SRob Herring "SUSPEND_L", 100*724ba675SRob Herring "USB_INT"; 101*724ba675SRob Herring}; 102*724ba675SRob Herring 103*724ba675SRob Herring&gpio2 { 104*724ba675SRob Herring gpio-line-names = "CONFIG0", 105*724ba675SRob Herring "CONFIG1", 106*724ba675SRob Herring "CONFIG2", 107*724ba675SRob Herring "", 108*724ba675SRob Herring "", 109*724ba675SRob Herring "", 110*724ba675SRob Herring "", 111*724ba675SRob Herring "CONFIG3", 112*724ba675SRob Herring 113*724ba675SRob Herring "PWRLIMIT#_CPU", 114*724ba675SRob Herring "EMMC_RST_L", 115*724ba675SRob Herring "", 116*724ba675SRob Herring "", 117*724ba675SRob Herring "BL_PWR_EN", 118*724ba675SRob Herring "AVDD_1V8_DISP_EN"; 119*724ba675SRob Herring}; 120*724ba675SRob Herring 121*724ba675SRob Herring&gpio3 { 122*724ba675SRob Herring gpio-line-names = "FLASH0_D0", 123*724ba675SRob Herring "FLASH0_D1", 124*724ba675SRob Herring "FLASH0_D2", 125*724ba675SRob Herring "FLASH0_D3", 126*724ba675SRob Herring "FLASH0_D4", 127*724ba675SRob Herring "FLASH0_D5", 128*724ba675SRob Herring "FLASH0_D6", 129*724ba675SRob Herring "FLASH0_D7", 130*724ba675SRob Herring 131*724ba675SRob Herring "", 132*724ba675SRob Herring "", 133*724ba675SRob Herring "", 134*724ba675SRob Herring "", 135*724ba675SRob Herring "", 136*724ba675SRob Herring "", 137*724ba675SRob Herring "", 138*724ba675SRob Herring "", 139*724ba675SRob Herring 140*724ba675SRob Herring "FLASH0_CS2/EMMC_CMD", 141*724ba675SRob Herring "", 142*724ba675SRob Herring "FLASH0_DQS/EMMC_CLKO"; 143*724ba675SRob Herring}; 144*724ba675SRob Herring 145*724ba675SRob Herring&gpio4 { 146*724ba675SRob Herring gpio-line-names = "", 147*724ba675SRob Herring "", 148*724ba675SRob Herring "", 149*724ba675SRob Herring "", 150*724ba675SRob Herring "", 151*724ba675SRob Herring "", 152*724ba675SRob Herring "", 153*724ba675SRob Herring "", 154*724ba675SRob Herring 155*724ba675SRob Herring "", 156*724ba675SRob Herring "", 157*724ba675SRob Herring "", 158*724ba675SRob Herring "", 159*724ba675SRob Herring "", 160*724ba675SRob Herring "", 161*724ba675SRob Herring "", 162*724ba675SRob Herring "", 163*724ba675SRob Herring 164*724ba675SRob Herring "UART0_RXD", 165*724ba675SRob Herring "UART0_TXD", 166*724ba675SRob Herring "UART0_CTS", 167*724ba675SRob Herring "UART0_RTS", 168*724ba675SRob Herring "SDIO0_D0", 169*724ba675SRob Herring "SDIO0_D1", 170*724ba675SRob Herring "SDIO0_D2", 171*724ba675SRob Herring "SDIO0_D3", 172*724ba675SRob Herring 173*724ba675SRob Herring "SDIO0_CMD", 174*724ba675SRob Herring "SDIO0_CLK", 175*724ba675SRob Herring "BT_DEV_WAKE", 176*724ba675SRob Herring "", 177*724ba675SRob Herring "WIFI_ENABLE_H", 178*724ba675SRob Herring "BT_ENABLE_L", 179*724ba675SRob Herring "WIFI_HOST_WAKE", 180*724ba675SRob Herring "BT_HOST_WAKE"; 181*724ba675SRob Herring}; 182*724ba675SRob Herring 183*724ba675SRob Herring&gpio5 { 184*724ba675SRob Herring gpio-line-names = "", 185*724ba675SRob Herring "", 186*724ba675SRob Herring "", 187*724ba675SRob Herring "", 188*724ba675SRob Herring "", 189*724ba675SRob Herring "", 190*724ba675SRob Herring "", 191*724ba675SRob Herring "", 192*724ba675SRob Herring 193*724ba675SRob Herring "", 194*724ba675SRob Herring "", 195*724ba675SRob Herring "", 196*724ba675SRob Herring "", 197*724ba675SRob Herring "SPI0_CLK", 198*724ba675SRob Herring "SPI0_CS0", 199*724ba675SRob Herring "SPI0_TXD", 200*724ba675SRob Herring "SPI0_RXD", 201*724ba675SRob Herring 202*724ba675SRob Herring "", 203*724ba675SRob Herring "", 204*724ba675SRob Herring "", 205*724ba675SRob Herring "VCC50_HDMI_EN"; 206*724ba675SRob Herring}; 207*724ba675SRob Herring 208*724ba675SRob Herring&gpio6 { 209*724ba675SRob Herring gpio-line-names = "I2S0_SCLK", 210*724ba675SRob Herring "I2S0_LRCK_RX", 211*724ba675SRob Herring "I2S0_LRCK_TX", 212*724ba675SRob Herring "I2S0_SDI", 213*724ba675SRob Herring "I2S0_SDO0", 214*724ba675SRob Herring "HP_DET_H", 215*724ba675SRob Herring "ALS_INT", /* not connected */ 216*724ba675SRob Herring "INT_CODEC", 217*724ba675SRob Herring 218*724ba675SRob Herring "I2S0_CLK", 219*724ba675SRob Herring "I2C2_SDA", 220*724ba675SRob Herring "I2C2_SCL", 221*724ba675SRob Herring "MICDET", 222*724ba675SRob Herring "", 223*724ba675SRob Herring "", 224*724ba675SRob Herring "", 225*724ba675SRob Herring "", 226*724ba675SRob Herring 227*724ba675SRob Herring "SDMMC_D0", 228*724ba675SRob Herring "SDMMC_D1", 229*724ba675SRob Herring "SDMMC_D2", 230*724ba675SRob Herring "SDMMC_D3", 231*724ba675SRob Herring "SDMMC_CLK", 232*724ba675SRob Herring "SDMMC_CMD"; 233*724ba675SRob Herring}; 234*724ba675SRob Herring 235*724ba675SRob Herring&gpio7 { 236*724ba675SRob Herring gpio-line-names = "LCDC_BL", 237*724ba675SRob Herring "PWM_LOG", 238*724ba675SRob Herring "BL_EN", 239*724ba675SRob Herring "TRACKPAD_INT", 240*724ba675SRob Herring "TPM_INT_H", 241*724ba675SRob Herring "SDMMC_DET_L", 242*724ba675SRob Herring /* 243*724ba675SRob Herring * AP_FLASH_WP_L is Chrome OS ABI. Schematics call 244*724ba675SRob Herring * it FW_WP_AP. 245*724ba675SRob Herring */ 246*724ba675SRob Herring "AP_FLASH_WP_L", 247*724ba675SRob Herring "EC_INT", 248*724ba675SRob Herring 249*724ba675SRob Herring "CPU_NMI", 250*724ba675SRob Herring "DVS_OK", 251*724ba675SRob Herring "", 252*724ba675SRob Herring "EDP_HOTPLUG", 253*724ba675SRob Herring "DVS1", 254*724ba675SRob Herring "nFALUT1", 255*724ba675SRob Herring "LCD_EN", 256*724ba675SRob Herring "DVS2", 257*724ba675SRob Herring 258*724ba675SRob Herring "VCC5V_GOOD_H", 259*724ba675SRob Herring "I2C4_SDA_TP", 260*724ba675SRob Herring "I2C4_SCL_TP", 261*724ba675SRob Herring "I2C5_SDA_HDMI", 262*724ba675SRob Herring "I2C5_SCL_HDMI", 263*724ba675SRob Herring "5V_DRV", 264*724ba675SRob Herring "UART2_RXD", 265*724ba675SRob Herring "UART2_TXD"; 266*724ba675SRob Herring}; 267*724ba675SRob Herring 268*724ba675SRob Herring&gpio8 { 269*724ba675SRob Herring gpio-line-names = "RAM_ID0", 270*724ba675SRob Herring "RAM_ID1", 271*724ba675SRob Herring "RAM_ID2", 272*724ba675SRob Herring "RAM_ID3", 273*724ba675SRob Herring "I2C1_SDA_TPM", 274*724ba675SRob Herring "I2C1_SCL_TPM", 275*724ba675SRob Herring "SPI2_CLK", 276*724ba675SRob Herring "SPI2_CS0", 277*724ba675SRob Herring 278*724ba675SRob Herring "SPI2_RXD", 279*724ba675SRob Herring "SPI2_TXD"; 280*724ba675SRob Herring}; 281*724ba675SRob Herring 282*724ba675SRob Herring&pinctrl { 283*724ba675SRob Herring pinctrl-names = "default", "sleep"; 284*724ba675SRob Herring pinctrl-0 = < 285*724ba675SRob Herring /* Common for sleep and wake, but no owners */ 286*724ba675SRob Herring &ddr0_retention 287*724ba675SRob Herring &ddrio_pwroff 288*724ba675SRob Herring &global_pwroff 289*724ba675SRob Herring 290*724ba675SRob Herring /* Wake only */ 291*724ba675SRob Herring &suspend_l_wake 292*724ba675SRob Herring >; 293*724ba675SRob Herring pinctrl-1 = < 294*724ba675SRob Herring /* Common for sleep and wake, but no owners */ 295*724ba675SRob Herring &ddr0_retention 296*724ba675SRob Herring &ddrio_pwroff 297*724ba675SRob Herring &global_pwroff 298*724ba675SRob Herring 299*724ba675SRob Herring /* Sleep only */ 300*724ba675SRob Herring &suspend_l_sleep 301*724ba675SRob Herring >; 302*724ba675SRob Herring 303*724ba675SRob Herring buck-5v { 304*724ba675SRob Herring drv_5v: drv-5v { 305*724ba675SRob Herring rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 306*724ba675SRob Herring }; 307*724ba675SRob Herring }; 308*724ba675SRob Herring 309*724ba675SRob Herring hdmi { 310*724ba675SRob Herring vcc50_hdmi_en: vcc50-hdmi-en { 311*724ba675SRob Herring rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 312*724ba675SRob Herring }; 313*724ba675SRob Herring }; 314*724ba675SRob Herring 315*724ba675SRob Herring pmic { 316*724ba675SRob Herring dvs_1: dvs-1 { 317*724ba675SRob Herring rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 318*724ba675SRob Herring }; 319*724ba675SRob Herring 320*724ba675SRob Herring dvs_2: dvs-2 { 321*724ba675SRob Herring rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>; 322*724ba675SRob Herring }; 323*724ba675SRob Herring }; 324*724ba675SRob Herring}; 325