1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright 2012 ST-Ericsson AB 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot#include "ste-href.dtsi" 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot/ { 9*f126890aSEmmanuel Vadot model = "ST-Ericsson HREF (v60+) platform with Device Tree"; 10*f126890aSEmmanuel Vadot compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadot thermal-zones { 13*f126890aSEmmanuel Vadot chassis-thermal { 14*f126890aSEmmanuel Vadot /* Poll every 20 seconds */ 15*f126890aSEmmanuel Vadot polling-delay = <20000>; 16*f126890aSEmmanuel Vadot /* Poll every 2nd second when cooling */ 17*f126890aSEmmanuel Vadot polling-delay-passive = <2000>; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot thermal-sensors = <&therm1>, <&therm2>; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot /* Tripping points made from rough guess about operating conditions */ 22*f126890aSEmmanuel Vadot trips { 23*f126890aSEmmanuel Vadot chassis_alert: chassis-alert { 24*f126890aSEmmanuel Vadot /* At 50 degrees take down the CPU frequency */ 25*f126890aSEmmanuel Vadot temperature = <50000>; 26*f126890aSEmmanuel Vadot hysteresis = <3000>; 27*f126890aSEmmanuel Vadot type = "active"; 28*f126890aSEmmanuel Vadot }; 29*f126890aSEmmanuel Vadot chassis_crit: chassis-crit { 30*f126890aSEmmanuel Vadot /* Just shut down at 70 degrees */ 31*f126890aSEmmanuel Vadot temperature = <70000>; 32*f126890aSEmmanuel Vadot hysteresis = <2000>; 33*f126890aSEmmanuel Vadot type = "critical"; 34*f126890aSEmmanuel Vadot }; 35*f126890aSEmmanuel Vadot }; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot /* Push down the operating frequency of the SoC when it gets hot */ 38*f126890aSEmmanuel Vadot cooling-maps { 39*f126890aSEmmanuel Vadot map0 { 40*f126890aSEmmanuel Vadot trip = <&chassis_alert>; 41*f126890aSEmmanuel Vadot cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 42*f126890aSEmmanuel Vadot contribution = <100>; 43*f126890aSEmmanuel Vadot }; 44*f126890aSEmmanuel Vadot }; 45*f126890aSEmmanuel Vadot }; 46*f126890aSEmmanuel Vadot }; 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadot /* 49*f126890aSEmmanuel Vadot * Thermistors on the board, formally to monitor battery temperatures 50*f126890aSEmmanuel Vadot * but what they measure is the board temperature. 51*f126890aSEmmanuel Vadot */ 52*f126890aSEmmanuel Vadot therm1: thermistor@0 { 53*f126890aSEmmanuel Vadot compatible = "murata,ncp18wb473"; 54*f126890aSEmmanuel Vadot io-channels = <&gpadc 0x06>; /* AUX1 */ 55*f126890aSEmmanuel Vadot pullup-uv = <1800000>; 56*f126890aSEmmanuel Vadot pullup-ohm = <220000>; 57*f126890aSEmmanuel Vadot pulldown-ohm = <0>; 58*f126890aSEmmanuel Vadot #thermal-sensor-cells = <0>; 59*f126890aSEmmanuel Vadot }; 60*f126890aSEmmanuel Vadot 61*f126890aSEmmanuel Vadot therm2: thermistor@1 { 62*f126890aSEmmanuel Vadot compatible = "murata,ncp18wb473"; 63*f126890aSEmmanuel Vadot io-channels = <&gpadc 0x07>; /* AUX2 */ 64*f126890aSEmmanuel Vadot pullup-uv = <1800000>; 65*f126890aSEmmanuel Vadot pullup-ohm = <220000>; 66*f126890aSEmmanuel Vadot pulldown-ohm = <0>; 67*f126890aSEmmanuel Vadot #thermal-sensor-cells = <0>; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot 70*f126890aSEmmanuel Vadot soc { 71*f126890aSEmmanuel Vadot /* Name the GPIO muxed rails on the HREF boards */ 72*f126890aSEmmanuel Vadot gpio@8012e000 { 73*f126890aSEmmanuel Vadot /* GPIOs 0 - 31 */ 74*f126890aSEmmanuel Vadot gpio-line-names = 75*f126890aSEmmanuel Vadot /* GPIO0,1 used for UART0 BT RX/TX */ 76*f126890aSEmmanuel Vadot "", "", 77*f126890aSEmmanuel Vadot "UART_WAKE", 78*f126890aSEmmanuel Vadot "BT_WAKE", 79*f126890aSEmmanuel Vadot "", 80*f126890aSEmmanuel Vadot "SDMMC_1V8_3V_SEL", 81*f126890aSEmmanuel Vadot "FLASH_LED_SYNC (FLASH_CTRL_0)", 82*f126890aSEmmanuel Vadot "XENON_READY (FLASH_CTRL_1)", 83*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 84*f126890aSEmmanuel Vadot "", "", "", "", 85*f126890aSEmmanuel Vadot "", 86*f126890aSEmmanuel Vadot "FLASH_LED_EN (FLASH_CTRL_3)", 87*f126890aSEmmanuel Vadot "", "", 88*f126890aSEmmanuel Vadot "", "", "", "", "", 89*f126890aSEmmanuel Vadot /* Used by UART2 (console) */ 90*f126890aSEmmanuel Vadot "", "", 91*f126890aSEmmanuel Vadot "MAGNETOMETER_INT"; 92*f126890aSEmmanuel Vadot }; 93*f126890aSEmmanuel Vadot 94*f126890aSEmmanuel Vadot gpio@8012e080 { 95*f126890aSEmmanuel Vadot /* GPIOs 32 - 63 */ 96*f126890aSEmmanuel Vadot gpio-line-names = 97*f126890aSEmmanuel Vadot "MAGNETOMETER_DRDY", 98*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", 99*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 100*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 101*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", ""; 102*f126890aSEmmanuel Vadot }; 103*f126890aSEmmanuel Vadot 104*f126890aSEmmanuel Vadot gpio@8000e000 { 105*f126890aSEmmanuel Vadot /* GPIOs 64 - 95 */ 106*f126890aSEmmanuel Vadot gpio-line-names = "XENON_EN2 (FLASH_CTRL_4)", 107*f126890aSEmmanuel Vadot "DISP1_RST", 108*f126890aSEmmanuel Vadot "DISP2_RST", 109*f126890aSEmmanuel Vadot "TOUCH_INT2", 110*f126890aSEmmanuel Vadot "LCD_VSI0_A", 111*f126890aSEmmanuel Vadot "LCD_VSI1_A", 112*f126890aSEmmanuel Vadot /* GPIO 70-77 used for ETM */ 113*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 114*f126890aSEmmanuel Vadot /* GPIO 78-81 used for YCBCR */ 115*f126890aSEmmanuel Vadot "", "", "", "", 116*f126890aSEmmanuel Vadot "ACCELEROMETER_INT1_RDY", 117*f126890aSEmmanuel Vadot "ACCELEROMETER_INT2", 118*f126890aSEmmanuel Vadot "TOUCH_INT", 119*f126890aSEmmanuel Vadot "WLAN_ENA", 120*f126890aSEmmanuel Vadot "", "", "", "", "", 121*f126890aSEmmanuel Vadot "FORCE_SENSING_INT", 122*f126890aSEmmanuel Vadot "FORCE_SENSING_RESET", 123*f126890aSEmmanuel Vadot "", "", 124*f126890aSEmmanuel Vadot "SDMMC_CD"; 125*f126890aSEmmanuel Vadot }; 126*f126890aSEmmanuel Vadot 127*f126890aSEmmanuel Vadot gpio@8000e080 { 128*f126890aSEmmanuel Vadot /* GPIOs 96 - 127 */ 129*f126890aSEmmanuel Vadot gpio-line-names = "", 130*f126890aSEmmanuel Vadot "FORCE_SENSING_WU", 131*f126890aSEmmanuel Vadot "", "", "", "", "", "", 132*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 133*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 134*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", ""; 135*f126890aSEmmanuel Vadot }; 136*f126890aSEmmanuel Vadot 137*f126890aSEmmanuel Vadot gpio@8000e100 { 138*f126890aSEmmanuel Vadot /* GPIOs 128 - 159 */ 139*f126890aSEmmanuel Vadot gpio-line-names = "", "", "", "", "", "", "", "", 140*f126890aSEmmanuel Vadot "", "", "", 141*f126890aSEmmanuel Vadot "DIPRO_INT", /* GPIO139 */ 142*f126890aSEmmanuel Vadot "XSHUTDOWN_SECONDARY_SENSOR", 143*f126890aSEmmanuel Vadot "XSHUTDOWN_PRIMARY_SENSOR", 144*f126890aSEmmanuel Vadot "NFC_RST (NFC_CTRL_", 145*f126890aSEmmanuel Vadot "TOUCH_RST", 146*f126890aSEmmanuel Vadot "NFC_IRQ (NFC_CTRL_1)", 147*f126890aSEmmanuel Vadot "HAL_SW", 148*f126890aSEmmanuel Vadot "TOUCH_RST2", 149*f126890aSEmmanuel Vadot "", "", 150*f126890aSEmmanuel Vadot "VAUDIO_HF_EN", /* GPIO149 */ 151*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", "", ""; 152*f126890aSEmmanuel Vadot }; 153*f126890aSEmmanuel Vadot 154*f126890aSEmmanuel Vadot gpio@8000e180 { 155*f126890aSEmmanuel Vadot /* GPIOs 160 - 191 */ 156*f126890aSEmmanuel Vadot gpio-line-names = "", "", "", "", "", "", "", "", 157*f126890aSEmmanuel Vadot "", 158*f126890aSEmmanuel Vadot "SDMMC_EN", 159*f126890aSEmmanuel Vadot "XENON_CHARGE (FLASH_CONTROL_5)", 160*f126890aSEmmanuel Vadot "GBF_ENA_RESET", 161*f126890aSEmmanuel Vadot "", "", "", "", 162*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 163*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", ""; 164*f126890aSEmmanuel Vadot }; 165*f126890aSEmmanuel Vadot 166*f126890aSEmmanuel Vadot gpio@8011e000 { 167*f126890aSEmmanuel Vadot /* GPIOs 192 - 223 */ 168*f126890aSEmmanuel Vadot gpio-line-names = "HDTV_INTN", 169*f126890aSEmmanuel Vadot "", "", "", 170*f126890aSEmmanuel Vadot "HDTV_RSTN", 171*f126890aSEmmanuel Vadot "", "", "", 172*f126890aSEmmanuel Vadot "", /* GPIO200 */ 173*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", 174*f126890aSEmmanuel Vadot /* GPIO208-216 used for WGBF_MC1 */ 175*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", "", 176*f126890aSEmmanuel Vadot "SW_FRONT_PROXIMITY", /* GPIO217 */ 177*f126890aSEmmanuel Vadot "KPD_CTRL_INT", /* Keypad controller */ 178*f126890aSEmmanuel Vadot "", "", "", "", ""; 179*f126890aSEmmanuel Vadot }; 180*f126890aSEmmanuel Vadot 181*f126890aSEmmanuel Vadot gpio@8011e080 { 182*f126890aSEmmanuel Vadot /* GPIOs 224 - 255 */ 183*f126890aSEmmanuel Vadot gpio-line-names = "", "", 184*f126890aSEmmanuel Vadot "HSIT_ACWAKE0", 185*f126890aSEmmanuel Vadot "", "", "", "", "", 186*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 187*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", "", 188*f126890aSEmmanuel Vadot "", "", "", "", "", "", "", ""; 189*f126890aSEmmanuel Vadot }; 190*f126890aSEmmanuel Vadot 191*f126890aSEmmanuel Vadot // External Micro SD slot 192*f126890aSEmmanuel Vadot mmc@80126000 { 193*f126890aSEmmanuel Vadot cd-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; // 95 194*f126890aSEmmanuel Vadot }; 195*f126890aSEmmanuel Vadot 196*f126890aSEmmanuel Vadot pinctrl { 197*f126890aSEmmanuel Vadot /* 198*f126890aSEmmanuel Vadot * Set this up using hogs, as time goes by and as seems fit, these 199*f126890aSEmmanuel Vadot * can be moved over to being controlled by respective device. 200*f126890aSEmmanuel Vadot */ 201*f126890aSEmmanuel Vadot pinctrl-names = "default"; 202*f126890aSEmmanuel Vadot pinctrl-0 = <&ipgpio_hrefv60_mode>, 203*f126890aSEmmanuel Vadot <&etm_hrefv60_mode>, 204*f126890aSEmmanuel Vadot <&nahj_hrefv60_mode>, 205*f126890aSEmmanuel Vadot <&nfc_hrefv60_mode>, 206*f126890aSEmmanuel Vadot <&force_hrefv60_mode>, 207*f126890aSEmmanuel Vadot <&dipro_hrefv60_mode>, 208*f126890aSEmmanuel Vadot <&vaudio_hf_hrefv60_mode>, 209*f126890aSEmmanuel Vadot <&gbf_hrefv60_mode>, 210*f126890aSEmmanuel Vadot <&hdtv_hrefv60_mode>, 211*f126890aSEmmanuel Vadot <&gpios_hrefv60_mode>; 212*f126890aSEmmanuel Vadot 213*f126890aSEmmanuel Vadot sdi0 { 214*f126890aSEmmanuel Vadot sdi0_default_mode: sdi0_default { 215*f126890aSEmmanuel Vadot /* SD card detect GPIO pin, extend default state */ 216*f126890aSEmmanuel Vadot default_hrefv60_cfg1 { 217*f126890aSEmmanuel Vadot pins = "GPIO95_E8"; 218*f126890aSEmmanuel Vadot ste,config = <&gpio_in_pu>; 219*f126890aSEmmanuel Vadot }; 220*f126890aSEmmanuel Vadot }; 221*f126890aSEmmanuel Vadot }; 222*f126890aSEmmanuel Vadot ipgpio { 223*f126890aSEmmanuel Vadot /* 224*f126890aSEmmanuel Vadot * XENON Flashgun on image processor GPIO (controlled from image 225*f126890aSEmmanuel Vadot * processor firmware), mux in these image processor GPIO lines 0 226*f126890aSEmmanuel Vadot * (XENON_FLASH_ID), 1 (XENON_READY) and there is an assistant 227*f126890aSEmmanuel Vadot * LED on IP GPIO 4 (XENON_EN2) on altfunction C, that need bias 228*f126890aSEmmanuel Vadot * from GPIO21 so pull up 0, 1 and drive 4 and GPIO21 low as output. 229*f126890aSEmmanuel Vadot */ 230*f126890aSEmmanuel Vadot ipgpio_hrefv60_mode: ipgpio_hrefv60 { 231*f126890aSEmmanuel Vadot hrefv60_mux { 232*f126890aSEmmanuel Vadot function = "ipgpio"; 233*f126890aSEmmanuel Vadot groups = "ipgpio0_c_1", "ipgpio1_c_1", "ipgpio4_c_1"; 234*f126890aSEmmanuel Vadot }; 235*f126890aSEmmanuel Vadot hrefv60_cfg1 { 236*f126890aSEmmanuel Vadot pins = "GPIO6_AF6", "GPIO7_AG5"; 237*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 238*f126890aSEmmanuel Vadot }; 239*f126890aSEmmanuel Vadot hrefv60_cfg2 { 240*f126890aSEmmanuel Vadot pins = "GPIO21_AB3"; 241*f126890aSEmmanuel Vadot ste,config = <&gpio_out_lo>; 242*f126890aSEmmanuel Vadot }; 243*f126890aSEmmanuel Vadot hrefv60_cfg3 { 244*f126890aSEmmanuel Vadot pins = "GPIO64_F3"; 245*f126890aSEmmanuel Vadot ste,config = <&out_lo>; 246*f126890aSEmmanuel Vadot }; 247*f126890aSEmmanuel Vadot }; 248*f126890aSEmmanuel Vadot }; 249*f126890aSEmmanuel Vadot etm { 250*f126890aSEmmanuel Vadot /* 251*f126890aSEmmanuel Vadot * Drive D19-D23 for the ETM PTM trace interface low, 252*f126890aSEmmanuel Vadot * (presumably pins are unconnected therefore grounded here, 253*f126890aSEmmanuel Vadot * the "other alt C1" setting enables these pins) 254*f126890aSEmmanuel Vadot */ 255*f126890aSEmmanuel Vadot etm_hrefv60_mode: etm_hrefv60 { 256*f126890aSEmmanuel Vadot hrefv60_cfg1 { 257*f126890aSEmmanuel Vadot pins = 258*f126890aSEmmanuel Vadot "GPIO70_G5", 259*f126890aSEmmanuel Vadot "GPIO71_G4", 260*f126890aSEmmanuel Vadot "GPIO72_H4", 261*f126890aSEmmanuel Vadot "GPIO73_H3", 262*f126890aSEmmanuel Vadot "GPIO74_J3"; 263*f126890aSEmmanuel Vadot ste,config = <&gpio_out_lo>; 264*f126890aSEmmanuel Vadot }; 265*f126890aSEmmanuel Vadot }; 266*f126890aSEmmanuel Vadot }; 267*f126890aSEmmanuel Vadot nahj { 268*f126890aSEmmanuel Vadot nahj_hrefv60_mode: nahj_hrefv60 { 269*f126890aSEmmanuel Vadot /* NAHJ CTRL on GPIO76 to low, CTRL_INV on GPIO216 to high */ 270*f126890aSEmmanuel Vadot hrefv60_cfg1 { 271*f126890aSEmmanuel Vadot pins = "GPIO76_J2"; 272*f126890aSEmmanuel Vadot ste,config = <&gpio_out_lo>; 273*f126890aSEmmanuel Vadot }; 274*f126890aSEmmanuel Vadot hrefv60_cfg2 { 275*f126890aSEmmanuel Vadot pins = "GPIO216_AG12"; 276*f126890aSEmmanuel Vadot ste,config = <&gpio_out_hi>; 277*f126890aSEmmanuel Vadot }; 278*f126890aSEmmanuel Vadot }; 279*f126890aSEmmanuel Vadot }; 280*f126890aSEmmanuel Vadot nfc { 281*f126890aSEmmanuel Vadot nfc_hrefv60_mode: nfc_hrefv60 { 282*f126890aSEmmanuel Vadot /* NFC ENA and RESET to low, pulldown IRQ line */ 283*f126890aSEmmanuel Vadot hrefv60_cfg1 { 284*f126890aSEmmanuel Vadot pins = 285*f126890aSEmmanuel Vadot "GPIO77_H1", /* NFC_ENA */ 286*f126890aSEmmanuel Vadot "GPIO142_C11"; /* NFC_RESET */ 287*f126890aSEmmanuel Vadot ste,config = <&gpio_out_lo>; 288*f126890aSEmmanuel Vadot }; 289*f126890aSEmmanuel Vadot hrefv60_cfg2 { 290*f126890aSEmmanuel Vadot pins = "GPIO144_B13"; /* NFC_IRQ */ 291*f126890aSEmmanuel Vadot ste,config = <&gpio_in_pd>; 292*f126890aSEmmanuel Vadot }; 293*f126890aSEmmanuel Vadot }; 294*f126890aSEmmanuel Vadot }; 295*f126890aSEmmanuel Vadot force { 296*f126890aSEmmanuel Vadot force_hrefv60_mode: force_hrefv60 { 297*f126890aSEmmanuel Vadot hrefv60_cfg1 { 298*f126890aSEmmanuel Vadot pins = "GPIO91_B6"; /* FORCE_SENSING_INT */ 299*f126890aSEmmanuel Vadot ste,config = <&gpio_in_pu>; 300*f126890aSEmmanuel Vadot }; 301*f126890aSEmmanuel Vadot hrefv60_cfg2 { 302*f126890aSEmmanuel Vadot pins = 303*f126890aSEmmanuel Vadot "GPIO92_D6", /* FORCE_SENSING_RST */ 304*f126890aSEmmanuel Vadot "GPIO97_D9"; /* FORCE_SENSING_WU */ 305*f126890aSEmmanuel Vadot ste,config = <&gpio_out_lo>; 306*f126890aSEmmanuel Vadot }; 307*f126890aSEmmanuel Vadot }; 308*f126890aSEmmanuel Vadot }; 309*f126890aSEmmanuel Vadot dipro { 310*f126890aSEmmanuel Vadot dipro_hrefv60_mode: dipro_hrefv60 { 311*f126890aSEmmanuel Vadot hrefv60_cfg1 { 312*f126890aSEmmanuel Vadot pins = "GPIO139_C9"; /* DIPRO_INT */ 313*f126890aSEmmanuel Vadot ste,config = <&gpio_in_pu>; 314*f126890aSEmmanuel Vadot }; 315*f126890aSEmmanuel Vadot }; 316*f126890aSEmmanuel Vadot }; 317*f126890aSEmmanuel Vadot vaudio_hf { 318*f126890aSEmmanuel Vadot vaudio_hf_hrefv60_mode: vaudio_hf_hrefv60 { 319*f126890aSEmmanuel Vadot /* Audio Amplifier HF enable GPIO */ 320*f126890aSEmmanuel Vadot hrefv60_cfg1 { 321*f126890aSEmmanuel Vadot pins = "GPIO149_B14"; /* VAUDIO_HF_EN, enable MAX8968 */ 322*f126890aSEmmanuel Vadot ste,config = <&gpio_out_hi>; 323*f126890aSEmmanuel Vadot }; 324*f126890aSEmmanuel Vadot }; 325*f126890aSEmmanuel Vadot }; 326*f126890aSEmmanuel Vadot gbf { 327*f126890aSEmmanuel Vadot gbf_hrefv60_mode: gbf_hrefv60 { 328*f126890aSEmmanuel Vadot /* 329*f126890aSEmmanuel Vadot * GBF (GPS, Bluetooth, FM-radio) interface, 330*f126890aSEmmanuel Vadot * pull low to reset state 331*f126890aSEmmanuel Vadot */ 332*f126890aSEmmanuel Vadot hrefv60_cfg1 { 333*f126890aSEmmanuel Vadot pins = "GPIO171_D23"; /* GBF_ENA_RESET */ 334*f126890aSEmmanuel Vadot ste,config = <&gpio_out_lo>; 335*f126890aSEmmanuel Vadot }; 336*f126890aSEmmanuel Vadot }; 337*f126890aSEmmanuel Vadot }; 338*f126890aSEmmanuel Vadot hdtv { 339*f126890aSEmmanuel Vadot hdtv_hrefv60_mode: hdtv_hrefv60 { 340*f126890aSEmmanuel Vadot /* MSP : HDTV INTERFACE GPIO line */ 341*f126890aSEmmanuel Vadot hrefv60_cfg1 { 342*f126890aSEmmanuel Vadot pins = "GPIO192_AJ27"; 343*f126890aSEmmanuel Vadot ste,config = <&gpio_in_pd>; 344*f126890aSEmmanuel Vadot }; 345*f126890aSEmmanuel Vadot }; 346*f126890aSEmmanuel Vadot }; 347*f126890aSEmmanuel Vadot mcde { 348*f126890aSEmmanuel Vadot lcd_hrefv60_mode: lcd_hrefv60 { 349*f126890aSEmmanuel Vadot /* 350*f126890aSEmmanuel Vadot * Display Interface 1 uses GPIO 65 for RST (reset). 351*f126890aSEmmanuel Vadot * Display Interface 2 uses GPIO 66 for RST (reset). 352*f126890aSEmmanuel Vadot * Drive DISP1 reset high (not reset), driver DISP2 reset low (reset) 353*f126890aSEmmanuel Vadot */ 354*f126890aSEmmanuel Vadot hrefv60_cfg1 { 355*f126890aSEmmanuel Vadot pins = "GPIO65_F1"; 356*f126890aSEmmanuel Vadot ste,config = <&gpio_out_hi>; 357*f126890aSEmmanuel Vadot }; 358*f126890aSEmmanuel Vadot hrefv60_cfg2 { 359*f126890aSEmmanuel Vadot pins = "GPIO66_G3"; 360*f126890aSEmmanuel Vadot ste,config = <&gpio_out_lo>; 361*f126890aSEmmanuel Vadot }; 362*f126890aSEmmanuel Vadot }; 363*f126890aSEmmanuel Vadot }; 364*f126890aSEmmanuel Vadot gpios { 365*f126890aSEmmanuel Vadot /* Dangling GPIO pins */ 366*f126890aSEmmanuel Vadot gpios_hrefv60_mode: gpios_hrefv60 { 367*f126890aSEmmanuel Vadot default_cfg1 { 368*f126890aSEmmanuel Vadot /* Normally UART1 RXD, now dangling */ 369*f126890aSEmmanuel Vadot pins = "GPIO4_AH6"; 370*f126890aSEmmanuel Vadot ste,config = <&in_pu>; 371*f126890aSEmmanuel Vadot }; 372*f126890aSEmmanuel Vadot }; 373*f126890aSEmmanuel Vadot }; 374*f126890aSEmmanuel Vadot }; 375*f126890aSEmmanuel Vadot }; 376*f126890aSEmmanuel Vadot}; 377