mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 23:46:45 +07:00
97c6261433
In preparation to update to bu21013_tp driver properly annotate GPIOs property (the INT GPIOs are active low, not open drain), and also define interrupt lines so we do not have to have special conversion in the driver. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright 2012 ST-Ericsson AB
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#include "ste-hrefprev60.dtsi"
|
|
#include "ste-href-stuib.dtsi"
|
|
|
|
/ {
|
|
model = "ST-Ericsson HREF (pre-v60) and ST UIB";
|
|
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
|
|
|
|
/* This stablilizes the serial port enumeration */
|
|
aliases {
|
|
serial0 = &ux500_serial0;
|
|
serial1 = &ux500_serial1;
|
|
serial2 = &ux500_serial2;
|
|
};
|
|
|
|
soc {
|
|
/* Reset line for the BU21013 touchscreen */
|
|
i2c@80110000 {
|
|
/* Only one of these will be used */
|
|
bu21013_tp@5c {
|
|
interrupt-parent = <&gpio2>;
|
|
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
|
|
touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
|
|
reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
|
|
};
|
|
bu21013_tp@5d {
|
|
interrupt-parent = <&gpio2>;
|
|
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
|
|
touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
|
|
reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>;
|
|
};
|
|
};
|
|
};
|
|
};
|