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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/st/ste-hrefprev60.dtsi

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+ prior to the v60 variant.
  6  */
  7 
  8 #include "ste-href-ab8500.dtsi"
  9 #include "ste-href.dtsi"
 10 
 11 / {
 12         gpio_keys {
 13                 button@1 {
 14                         gpios = <&tc3589x_gpio 7 GPIO_ACTIVE_HIGH>;
 15                 };
 16         };
 17 
 18         soc {
 19                 /* Enable UART1 on this board */
 20                 serial@80121000 {
 21                         status = "okay";
 22                 };
 23 
 24                 i2c@80004000 {
 25                         tps61052@33 {
 26                                 compatible = "ti,tps61052";
 27                                 reg = <0x33>;
 28                         };
 29 
 30                         tc35892@42 {
 31                                 compatible = "toshiba,tc35892";
 32                                 reg = <0x42>;
 33                                 interrupt-parent = <&gpio6>;
 34                                 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
 35                                 pinctrl-names = "default";
 36                                 pinctrl-0 = <&tc35892_hrefprev60_mode>;
 37 
 38                                 interrupt-controller;
 39                                 #interrupt-cells = <1>;
 40 
 41                                 tc3589x_gpio: tc3589x_gpio {
 42                                         compatible = "tc3589x-gpio";
 43                                         interrupts = <0>;
 44 
 45                                         interrupt-controller;
 46                                         #interrupt-cells = <2>;
 47                                         gpio-controller;
 48                                         #gpio-cells = <2>;
 49                                 };
 50                         };
 51                 };
 52 
 53                 spi@80002000 {
 54                         /*
 55                          * On the first generation boards, this SSP/SPI port was connected
 56                          * to the AB8500.
 57                          */
 58                         pinctrl-names = "default";
 59                         pinctrl-0 = <&ssp0_hrefprev60_mode>;
 60                         status = "okay";
 61                 };
 62 
 63                 // External Micro SD slot
 64                 mmc@80126000 {
 65                         cd-gpios = <&tc3589x_gpio 3 GPIO_ACTIVE_HIGH>;
 66                 };
 67 
 68                 pinctrl {
 69                         /* Set this up using hogs */
 70                         pinctrl-names = "default";
 71                         pinctrl-0 = <&ipgpio_hrefprev60_mode>;
 72 
 73                         ssp0 {
 74                                 ssp0_hrefprev60_mode: ssp0_hrefprev60_default {
 75                                         hrefprev60_mux {
 76                                                 function = "ssp0";
 77                                                 groups = "ssp0_a_1";
 78                                         };
 79                                         hrefprev60_cfg1 {
 80                                                 pins = "GPIO145_C13"; /* RXD */
 81                                                 ste,config = <&in_pd>;
 82                                         };
 83 
 84                                 };
 85                         };
 86                         sdi0 {
 87                                 /* This additional pin needed on early MOP500 and HREFs previous to v60 */
 88                                 sdi0_default_mode: sdi0_default {
 89                                         hrefprev60_mux {
 90                                                 function = "mc0";
 91                                                 groups = "mc0dat31dir_a_1";
 92                                         };
 93                                         hrefprev60_cfg1 {
 94                                                 pins = "GPIO21_AB3"; /* DAT31DIR */
 95                                                 ste,config = <&out_hi>;
 96                                         };
 97 
 98                                 };
 99                         };
100                         tc35892 {
101                                 tc35892_hrefprev60_mode: tc35892_hrefprev60 {
102                                         hrefprev60_cfg {
103                                                 pins = "GPIO217_AH12";
104                                                 ste,config = <&gpio_in_pu>;
105                                         };
106                                 };
107                         };
108                         ipgpio {
109                                  ipgpio_hrefprev60_mode: ipgpio_hrefprev60 {
110                                         hrefprev60_mux {
111                                                 function = "ipgpio";
112                                                 groups = "ipgpio0_c_1", "ipgpio1_c_1";
113                                         };
114                                         hrefprev60_cfg1 {
115                                                 pins = "GPIO6_AF6", "GPIO7_AG5";
116                                                 ste,config = <&in_pu>;
117                                         };
118                                  };
119                         };
120                 };
121         };
122 };

~ [ 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