Linux Audio

Check our new training course

Loading...
v4.17
 
 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	/* This stablilizes the serial port enumeration */
21	aliases {
22		serial0 = &ux500_serial0;
23		serial1 = &ux500_serial1;
24		serial2 = &ux500_serial2;
25	};
26
27	soc {
28		/* Reset line for the BU21013 touchscreen */
29		i2c@80110000 {
30			/* Only one of these will be used */
31			bu21013_tp@5c {
32				touch-gpio = <&gpio2 12 0x4>;
33				reset-gpio = <&tc3589x_gpio 13 0x4>;
 
 
34			};
35			bu21013_tp@5d {
36				touch-gpio = <&gpio2 12 0x4>;
37				reset-gpio = <&tc3589x_gpio 13 0x4>;
 
 
38			};
39		};
40	};
41};
v5.9
 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	soc {
16		/* Reset line for the BU21013 touchscreen */
17		i2c@80110000 {
18			/* Only one of these will be used */
19			bu21013_tp@5c {
20				interrupt-parent = <&gpio2>;
21				interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
22				touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
23				reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
24			};
25			bu21013_tp@5d {
26				interrupt-parent = <&gpio2>;
27				interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
28				touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
29				reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
30			};
31		};
32	};
33};