1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright 2012 ST-Ericsson AB
4 */
5
6/dts-v1/;
7#include "ste-db8500.dtsi"
8#include "ste-hrefprev60.dtsi"
9#include "ste-href-stuib.dtsi"
10
11/ {
12	model = "ST-Ericsson HREF (pre-v60) and ST UIB";
13	compatible = "st-ericsson,mop500", "st-ericsson,u8500";
14
15	/* ST6G3244ME level translator for 1.8/2.9 V */
16	vmmci: regulator-gpio {
17		compatible = "regulator-gpio";
18
19		regulator-min-microvolt = <1800000>;
20		regulator-max-microvolt = <2900000>;
21		regulator-name = "mmci-reg";
22		regulator-type = "voltage";
23
24		startup-delay-us = <100>;
25
26		states = <1800000 0x1
27			  2900000 0x0>;
28
29		gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>;
30		enable-gpio = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>;
31		enable-active-high;
32	};
33
34	soc {
35		/* Reset line for the BU21013 touchscreen */
36		i2c@80110000 {
37			/* Only one of these will be used */
38			bu21013_tp@5c {
39				interrupt-parent = <&gpio2>;
40				interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
41				touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
42				reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
43			};
44			bu21013_tp@5d {
45				interrupt-parent = <&gpio2>;
46				interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
47				touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
48				reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
49			};
50		};
51	};
52};
53