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 * Device Tree for the HREF version 60 or later with the TVK1281618 R2 UIB 6*f126890aSEmmanuel Vadot */ 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot/dts-v1/; 9*f126890aSEmmanuel Vadot#include "ste-db8500.dtsi" 10*f126890aSEmmanuel Vadot#include "ste-hrefv60plus.dtsi" 11*f126890aSEmmanuel Vadot#include "ste-href-tvk1281618-r2.dtsi" 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot/ { 14*f126890aSEmmanuel Vadot model = "ST-Ericsson HREF (v60+) and TVK1281618 R2 UIB"; 15*f126890aSEmmanuel Vadot compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 16*f126890aSEmmanuel Vadot 17*f126890aSEmmanuel Vadot /* ST6G3244ME level translator for 1.8/2.9 V */ 18*f126890aSEmmanuel Vadot vmmci: regulator-gpio { 19*f126890aSEmmanuel Vadot compatible = "regulator-gpio"; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 22*f126890aSEmmanuel Vadot regulator-max-microvolt = <2900000>; 23*f126890aSEmmanuel Vadot regulator-name = "mmci-reg"; 24*f126890aSEmmanuel Vadot regulator-type = "voltage"; 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot startup-delay-us = <100>; 27*f126890aSEmmanuel Vadot 28*f126890aSEmmanuel Vadot states = <1800000 0x1 29*f126890aSEmmanuel Vadot 2900000 0x0>; 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; 32*f126890aSEmmanuel Vadot enable-gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>; 33*f126890aSEmmanuel Vadot enable-active-high; 34*f126890aSEmmanuel Vadot 35*f126890aSEmmanuel Vadot pinctrl-names = "default"; 36*f126890aSEmmanuel Vadot pinctrl-0 = <&vmmci_default_mode>; 37*f126890aSEmmanuel Vadot }; 38*f126890aSEmmanuel Vadot}; 39*f126890aSEmmanuel Vadot 40*f126890aSEmmanuel Vadot&pinctrl { 41*f126890aSEmmanuel Vadot vmmci { 42*f126890aSEmmanuel Vadot vmmci_default_mode: vmmc_default { 43*f126890aSEmmanuel Vadot /* VMMCI level-shifter enable */ 44*f126890aSEmmanuel Vadot default_hrefv60_cfg2 { 45*f126890aSEmmanuel Vadot pins = "GPIO169_D22"; 46*f126890aSEmmanuel Vadot ste,config = <&gpio_out_hi>; 47*f126890aSEmmanuel Vadot }; 48*f126890aSEmmanuel Vadot /* VMMCI level-shifter voltage select */ 49*f126890aSEmmanuel Vadot default_hrefv60_cfg3 { 50*f126890aSEmmanuel Vadot pins = "GPIO5_AG6"; 51*f126890aSEmmanuel Vadot ste,config = <&gpio_out_hi>; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot }; 54*f126890aSEmmanuel Vadot }; 55*f126890aSEmmanuel Vadot}; 56