1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright 2012 ST-Ericsson AB 3 * Copyright 2012 ST-Ericsson AB 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 7 #include "ste-db8500.dtsi" 8 #include "ste-href-ab8500.dtsi" << 9 #include "ste-hrefprev60.dtsi" 8 #include "ste-hrefprev60.dtsi" 10 #include "ste-href-stuib.dtsi" 9 #include "ste-href-stuib.dtsi" 11 10 12 / { 11 / { 13 model = "ST-Ericsson HREF (pre-v60) an 12 model = "ST-Ericsson HREF (pre-v60) and ST UIB"; 14 compatible = "st-ericsson,mop500", "st 13 compatible = "st-ericsson,mop500", "st-ericsson,u8500"; 15 14 16 /* ST6G3244ME level translator for 1.8 15 /* ST6G3244ME level translator for 1.8/2.9 V */ 17 vmmci: regulator-gpio { 16 vmmci: regulator-gpio { 18 compatible = "regulator-gpio"; 17 compatible = "regulator-gpio"; 19 18 20 regulator-min-microvolt = <180 19 regulator-min-microvolt = <1800000>; 21 regulator-max-microvolt = <290 20 regulator-max-microvolt = <2900000>; 22 regulator-name = "mmci-reg"; 21 regulator-name = "mmci-reg"; 23 regulator-type = "voltage"; 22 regulator-type = "voltage"; 24 23 25 startup-delay-us = <100>; 24 startup-delay-us = <100>; 26 25 27 states = <1800000 0x1 26 states = <1800000 0x1 28 2900000 0x0>; 27 2900000 0x0>; 29 28 30 gpios = <&tc3589x_gpio 18 GPIO 29 gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>; 31 enable-gpios = <&tc3589x_gpio !! 30 enable-gpio = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>; 32 enable-active-high; 31 enable-active-high; 33 }; 32 }; 34 33 35 soc { 34 soc { 36 /* Reset line for the BU21013 35 /* Reset line for the BU21013 touchscreen */ 37 i2c@80110000 { 36 i2c@80110000 { 38 /* Only one of these w 37 /* Only one of these will be used */ 39 bu21013_tp@5c { 38 bu21013_tp@5c { 40 interrupt-pare 39 interrupt-parent = <&gpio2>; 41 interrupts = < 40 interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 42 touch-gpios = 41 touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 43 reset-gpios = 42 reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>; 44 }; 43 }; 45 bu21013_tp@5d { 44 bu21013_tp@5d { 46 interrupt-pare 45 interrupt-parent = <&gpio2>; 47 interrupts = < 46 interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 48 touch-gpios = 47 touch-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 49 reset-gpios = 48 reset-gpios = <&tc3589x_gpio 13 GPIO_LINE_OPEN_DRAIN>; 50 }; 49 }; 51 }; 50 }; 52 }; 51 }; 53 }; 52 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.