Loading...
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};
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};