xref: /linux/arch/arm/boot/dts/st/ste-hrefprev60-stuib.dts (revision 06d07429858317ded2db7986113a9e0129cd599b)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2012 ST-Ericsson AB
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring#include "ste-db8500.dtsi"
8*beed2cc8SLinus Walleij#include "ste-href-ab8500.dtsi"
9724ba675SRob Herring#include "ste-hrefprev60.dtsi"
10724ba675SRob Herring#include "ste-href-stuib.dtsi"
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	model = "ST-Ericsson HREF (pre-v60) and ST UIB";
14724ba675SRob Herring	compatible = "st-ericsson,mop500", "st-ericsson,u8500";
15724ba675SRob Herring
16724ba675SRob Herring	/* ST6G3244ME level translator for 1.8/2.9 V */
17724ba675SRob Herring	vmmci: regulator-gpio {
18724ba675SRob Herring		compatible = "regulator-gpio";
19724ba675SRob Herring
20724ba675SRob Herring		regulator-min-microvolt = <1800000>;
21724ba675SRob Herring		regulator-max-microvolt = <2900000>;
22724ba675SRob Herring		regulator-name = "mmci-reg";
23724ba675SRob Herring		regulator-type = "voltage";
24724ba675SRob Herring
25724ba675SRob Herring		startup-delay-us = <100>;
26724ba675SRob Herring
27724ba675SRob Herring		states = <1800000 0x1
28724ba675SRob Herring			  2900000 0x0>;
29724ba675SRob Herring
30724ba675SRob Herring		gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>;
31137062f1SKrzysztof Kozlowski		enable-gpios = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>;
32724ba675SRob Herring		enable-active-high;
33724ba675SRob Herring	};
34724ba675SRob Herring
35724ba675SRob Herring	soc {
36724ba675SRob Herring		/* Reset line for the BU21013 touchscreen */
37724ba675SRob Herring		i2c@80110000 {
38724ba675SRob Herring			/* Only one of these will be used */
39724ba675SRob Herring			bu21013_tp@5c {
40724ba675SRob Herring				interrupt-parent = <&gpio2>;
41724ba675SRob Herring				interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
42724ba675SRob Herring				touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
43724ba675SRob Herring				reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
44724ba675SRob Herring			};
45724ba675SRob Herring			bu21013_tp@5d {
46724ba675SRob Herring				interrupt-parent = <&gpio2>;
47724ba675SRob Herring				interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
48724ba675SRob Herring				touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
49724ba675SRob Herring				reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
50724ba675SRob Herring			};
51724ba675SRob Herring		};
52724ba675SRob Herring	};
53724ba675SRob Herring};
54