0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * Device Tree for the HREF520 version with the TVK1281618 R3 UIB
0004 */
0005
0006 /dts-v1/;
0007 #include "ste-db8520.dtsi"
0008 #include "ste-hrefv60plus.dtsi"
0009 #include "ste-href-tvk1281618-r3.dtsi"
0010
0011 / {
0012 model = "ST-Ericsson HREF520 and TVK1281618 R3 UIB";
0013 compatible = "st-ericsson,href520", "st-ericsson,u8500";
0014
0015
0016 /* ST6G3244ME level translator for 1.8/2.9 V */
0017 vmmci: regulator-gpio {
0018 compatible = "regulator-gpio";
0019
0020 regulator-min-microvolt = <1800000>;
0021 regulator-max-microvolt = <2900000>;
0022 regulator-name = "mmci-reg";
0023 regulator-type = "voltage";
0024
0025 startup-delay-us = <100>;
0026
0027 states = <1800000 0x1
0028 2900000 0x0>;
0029
0030 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
0031 enable-gpio = <&gpio2 14 GPIO_ACTIVE_HIGH>;
0032 enable-active-high;
0033
0034 pinctrl-names = "default";
0035 pinctrl-0 = <&vmmci_default_mode>;
0036 };
0037 };
0038
0039 &pinctrl {
0040 vmmci {
0041 vmmci_default_mode: vmmc_default {
0042 /* VMMCI level-shifter enable */
0043 default_href520_cfg1 {
0044 pins = "GPIO78_F4";
0045 ste,config = <&gpio_out_hi>;
0046 };
0047 /* VMMCI level-shifter voltage select */
0048 default_href520_cfg2 {
0049 pins = "GPIO5_AG6";
0050 ste,config = <&gpio_out_hi>;
0051 };
0052 };
0053 };
0054 };