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