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};
42