Linux Audio

Check our new training course

Loading...
v6.2
 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};
v3.15
 
 1/*
 2 * Copyright 2012 ST-Ericsson AB
 3 *
 4 * The code contained herein is licensed under the GNU General Public
 5 * License. You may obtain a copy of the GNU General Public License
 6 * Version 2 or later at the following locations:
 7 *
 8 * http://www.opensource.org/licenses/gpl-license.html
 9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12/dts-v1/;
 
13#include "ste-hrefprev60.dtsi"
14#include "ste-href-stuib.dtsi"
15
16/ {
17	model = "ST-Ericsson HREF (pre-v60) and ST UIB";
18	compatible = "st-ericsson,mop500", "st-ericsson,u8500";
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20	soc {
21		/* Reset line for the BU21013 touchscreen */
22		i2c@80110000 {
23			/* Only one of these will be used */
24			bu21013_tp@5c {
25				touch-gpio = <&gpio2 12 0x4>;
26				reset-gpio = <&tc3589x_gpio 13 0x4>;
 
 
27			};
28			bu21013_tp@5d {
29				touch-gpio = <&gpio2 12 0x4>;
30				reset-gpio = <&tc3589x_gpio 13 0x4>;
 
 
31			};
32		};
33	};
34};