b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | /* |
| 3 | * Copyright 2012 ST-Ericsson AB |
| 4 | * |
| 5 | * Device Tree for the HREF version 60 or later with the ST UIB |
| 6 | */ |
| 7 | |
| 8 | /dts-v1/; |
| 9 | #include <dt-bindings/gpio/gpio.h> |
| 10 | #include <dt-bindings/interrupt-controller/irq.h> |
| 11 | #include "ste-hrefv60plus.dtsi" |
| 12 | #include "ste-href-stuib.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "ST-Ericsson HREF (v60+) and ST UIB"; |
| 16 | compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; |
| 17 | |
| 18 | /* This stablilizes the serial port enumeration */ |
| 19 | aliases { |
| 20 | serial0 = &ux500_serial0; |
| 21 | serial1 = &ux500_serial1; |
| 22 | serial2 = &ux500_serial2; |
| 23 | }; |
| 24 | |
| 25 | soc { |
| 26 | /* Reset line for the BU21013 touchscreen */ |
| 27 | i2c@80110000 { |
| 28 | /* Only one of these will be used */ |
| 29 | bu21013_tp@5c { |
| 30 | interrupt-parent = <&gpio2>; |
| 31 | interrupts = <20 IRQ_TYPE_LEVEL_LOW>; |
| 32 | touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>; |
| 33 | reset-gpios = <&gpio4 17 GPIO_LINE_OPEN_DRAIN>; |
| 34 | }; |
| 35 | bu21013_tp@5d { |
| 36 | interrupt-parent = <&gpio2>; |
| 37 | interrupts = <20 IRQ_TYPE_LEVEL_LOW>; |
| 38 | touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>; |
| 39 | reset-gpios = <&gpio4 17 GPIO_LINE_OPEN_DRAIN>; |
| 40 | }; |
| 41 | }; |
| 42 | }; |
| 43 | }; |