~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/st/ste-hrefv60plus-stuib.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 "ste-db8500.dtsi"
 10 #include "ste-href-ab8500.dtsi"
 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         /* ST6G3244ME level translator for 1.8/2.9 V */
 19         vmmci: regulator-gpio {
 20                 compatible = "regulator-gpio";
 21 
 22                 regulator-min-microvolt = <1800000>;
 23                 regulator-max-microvolt = <2900000>;
 24                 regulator-name = "mmci-reg";
 25                 regulator-type = "voltage";
 26 
 27                 startup-delay-us = <100>;
 28 
 29                 states = <1800000 0x1
 30                           2900000 0x0>;
 31 
 32                 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
 33                 enable-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
 34                 enable-active-high;
 35 
 36                 pinctrl-names = "default";
 37                 pinctrl-0 = <&vmmci_default_mode>;
 38         };
 39 
 40         soc {
 41                 /* Reset line for the BU21013 touchscreen */
 42                 i2c@80110000 {
 43                         /* Only one of these will be used */
 44                         bu21013_tp@5c {
 45                                 interrupt-parent = <&gpio2>;
 46                                 interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
 47                                 touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
 48                                 reset-gpios = <&gpio4 17 GPIO_LINE_OPEN_DRAIN>;
 49                         };
 50                         bu21013_tp@5d {
 51                                 interrupt-parent = <&gpio2>;
 52                                 interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
 53                                 touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
 54                                 reset-gpios = <&gpio4 17 GPIO_LINE_OPEN_DRAIN>;
 55                         };
 56                 };
 57         };
 58 };
 59 
 60 &pinctrl {
 61         vmmci {
 62                 vmmci_default_mode: vmmc_default {
 63                         /* VMMCI level-shifter enable */
 64                         default_hrefv60_cfg2 {
 65                                 pins = "GPIO169_D22";
 66                                 ste,config = <&gpio_out_hi>;
 67                         };
 68                         /* VMMCI level-shifter voltage select */
 69                         default_hrefv60_cfg3 {
 70                                 pins = "GPIO5_AG6";
 71                                 ste,config = <&gpio_out_hi>;
 72                         };
 73                 };
 74         };
 75 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php