xref: /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ste-hrefv60plus-stuib.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun// SPDX-License-Identifier: GPL-2.0-or-later
2*4882a593Smuzhiyun/*
3*4882a593Smuzhiyun * Copyright 2012 ST-Ericsson AB
4*4882a593Smuzhiyun *
5*4882a593Smuzhiyun * Device Tree for the HREF version 60 or later with the ST UIB
6*4882a593Smuzhiyun */
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun/dts-v1/;
9*4882a593Smuzhiyun#include "ste-db8500.dtsi"
10*4882a593Smuzhiyun#include "ste-hrefv60plus.dtsi"
11*4882a593Smuzhiyun#include "ste-href-stuib.dtsi"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun/ {
14*4882a593Smuzhiyun	model = "ST-Ericsson HREF (v60+) and ST UIB";
15*4882a593Smuzhiyun	compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	soc {
18*4882a593Smuzhiyun		/* Reset line for the BU21013 touchscreen */
19*4882a593Smuzhiyun		i2c@80110000 {
20*4882a593Smuzhiyun			/* Only one of these will be used */
21*4882a593Smuzhiyun			bu21013_tp@5c {
22*4882a593Smuzhiyun				interrupt-parent = <&gpio2>;
23*4882a593Smuzhiyun				interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
24*4882a593Smuzhiyun				touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
25*4882a593Smuzhiyun				reset-gpios = <&gpio4 17 GPIO_LINE_OPEN_DRAIN>;
26*4882a593Smuzhiyun			};
27*4882a593Smuzhiyun			bu21013_tp@5d {
28*4882a593Smuzhiyun				interrupt-parent = <&gpio2>;
29*4882a593Smuzhiyun				interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
30*4882a593Smuzhiyun				touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
31*4882a593Smuzhiyun				reset-gpios = <&gpio4 17 GPIO_LINE_OPEN_DRAIN>;
32*4882a593Smuzhiyun			};
33*4882a593Smuzhiyun		};
34*4882a593Smuzhiyun	};
35*4882a593Smuzhiyun};
36