]> git.ipfire.org Git - thirdparty/u-boot.git/blame - src/arm/st/ste-hrefprev60-stuib.dts
Squashed 'dts/upstream/' changes from aaba2d45dc2a..b35b9bd1d4ee
[thirdparty/u-boot.git] / src / arm / st / ste-hrefprev60-stuib.dts
CommitLineData
53633a89
TR
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"
93743d24 8#include "ste-href-ab8500.dtsi"
53633a89
TR
9#include "ste-hrefprev60.dtsi"
10#include "ste-href-stuib.dtsi"
11
12/ {
13 model = "ST-Ericsson HREF (pre-v60) and ST UIB";
14 compatible = "st-ericsson,mop500", "st-ericsson,u8500";
15
16 /* ST6G3244ME level translator for 1.8/2.9 V */
17 vmmci: regulator-gpio {
18 compatible = "regulator-gpio";
19
20 regulator-min-microvolt = <1800000>;
21 regulator-max-microvolt = <2900000>;
22 regulator-name = "mmci-reg";
23 regulator-type = "voltage";
24
25 startup-delay-us = <100>;
26
27 states = <1800000 0x1
28 2900000 0x0>;
29
30 gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>;
31 enable-gpios = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>;
32 enable-active-high;
33 };
34
35 soc {
36 /* Reset line for the BU21013 touchscreen */
37 i2c@80110000 {
38 /* Only one of these will be used */
39 bu21013_tp@5c {
40 interrupt-parent = <&gpio2>;
41 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
42 touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
43 reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
44 };
45 bu21013_tp@5d {
46 interrupt-parent = <&gpio2>;
47 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
48 touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
49 reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
50 };
51 };
52 };
53};