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