0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * Copyright 2012 ST-Ericsson AB
0004 */
0005
0006 /dts-v1/;
0007 #include "ste-db8500.dtsi"
0008 #include "ste-hrefprev60.dtsi"
0009 #include "ste-href-stuib.dtsi"
0010
0011 / {
0012 model = "ST-Ericsson HREF (pre-v60) and ST UIB";
0013 compatible = "st-ericsson,mop500", "st-ericsson,u8500";
0014
0015 /* ST6G3244ME level translator for 1.8/2.9 V */
0016 vmmci: regulator-gpio {
0017 compatible = "regulator-gpio";
0018
0019 regulator-min-microvolt = <1800000>;
0020 regulator-max-microvolt = <2900000>;
0021 regulator-name = "mmci-reg";
0022 regulator-type = "voltage";
0023
0024 startup-delay-us = <100>;
0025
0026 states = <1800000 0x1
0027 2900000 0x0>;
0028
0029 gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>;
0030 enable-gpio = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>;
0031 enable-active-high;
0032 };
0033
0034 soc {
0035 /* Reset line for the BU21013 touchscreen */
0036 i2c@80110000 {
0037 /* Only one of these will be used */
0038 bu21013_tp@5c {
0039 interrupt-parent = <&gpio2>;
0040 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
0041 touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
0042 reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
0043 };
0044 bu21013_tp@5d {
0045 interrupt-parent = <&gpio2>;
0046 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
0047 touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
0048 reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
0049 };
0050 };
0051 };
0052 };