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};
v5.4
 1// SPDX-License-Identifier: GPL-2.0-or-later
 2/*
 3 * Copyright 2012 ST-Ericsson AB
 4 */
 5
 6/dts-v1/;
 7#include <dt-bindings/gpio/gpio.h>
 8#include <dt-bindings/interrupt-controller/irq.h>
 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	/* This stablilizes the serial port enumeration */
17	aliases {
18		serial0 = &ux500_serial0;
19		serial1 = &ux500_serial1;
20		serial2 = &ux500_serial2;
 
 
 
 
 
 
 
 
 
 
 
 
21	};
22
23	soc {
24		/* Reset line for the BU21013 touchscreen */
25		i2c@80110000 {
26			/* Only one of these will be used */
27			bu21013_tp@5c {
28				interrupt-parent = <&gpio2>;
29				interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
30				touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
31				reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
32			};
33			bu21013_tp@5d {
34				interrupt-parent = <&gpio2>;
35				interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
36				touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
37				reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
38			};
39		};
40	};
41};