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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/st/ste-nomadik-s8815.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/st/ste-nomadik-s8815.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/st/ste-nomadik-s8815.dts (Architecture mips)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 /*                                                  2 /*
  3  * Device Tree for the ST-Ericsson Nomadik S88      3  * Device Tree for the ST-Ericsson Nomadik S8815 board
  4  * Produced by Calao Systems                        4  * Produced by Calao Systems
  5  */                                                 5  */
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8 #include <dt-bindings/interrupt-controller/irq      8 #include <dt-bindings/interrupt-controller/irq.h>
  9 #include "ste-nomadik-stn8815.dtsi"                 9 #include "ste-nomadik-stn8815.dtsi"
 10                                                    10 
 11 / {                                                11 / {
 12         model = "Calao Systems USB-S8815";         12         model = "Calao Systems USB-S8815";
 13         compatible = "calaosystems,usb-s8815";     13         compatible = "calaosystems,usb-s8815";
 14                                                    14 
 15         chosen {                                   15         chosen {
 16                 bootargs = "root=/dev/ram0 con     16                 bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
 17         };                                         17         };
 18                                                    18 
 19         aliases {                                  19         aliases {
 20                 serial0 = &uart0;                  20                 serial0 = &uart0;
 21                 serial1 = &uart1;                  21                 serial1 = &uart1;
 22         };                                         22         };
 23                                                    23 
 24         gpio3: gpio@101e7000 {                     24         gpio3: gpio@101e7000 {
 25                 /* This hog will bias the MMC/     25                 /* This hog will bias the MMC/SD card detect line */
 26                 mmcsd-gpio {                       26                 mmcsd-gpio {
 27                         gpio-hog;                  27                         gpio-hog;
 28                         gpios = <16 0x0>;          28                         gpios = <16 0x0>;
 29                         output-low;                29                         output-low;
 30                         line-name = "card dete     30                         line-name = "card detect bias";
 31                 };                                 31                 };
 32         };                                         32         };
 33                                                    33 
 34         src@101e0000 {                             34         src@101e0000 {
 35                 /* These chrystal drivers are      35                 /* These chrystal drivers are not used on this board */
 36                 disable-sxtalo;                    36                 disable-sxtalo;
 37                 disable-mxtalo;                    37                 disable-mxtalo;
 38         };                                         38         };
 39                                                    39 
 40         pinctrl {                                  40         pinctrl {
 41                 /* Hog CD pins */                  41                 /* Hog CD pins */
 42                 pinctrl-names = "default";         42                 pinctrl-names = "default";
 43                 pinctrl-0 = <&cd_default_mode>     43                 pinctrl-0 = <&cd_default_mode>;
 44                                                    44 
 45                 uart0 {                            45                 uart0 {
 46                         /* Only use RX/TX pins     46                         /* Only use RX/TX pins */
 47                         uart0_s8815_mode: uart     47                         uart0_s8815_mode: uart0_mux {
 48                                 u0_default_mux     48                                 u0_default_mux {
 49                                         functi     49                                         function = "u0";
 50                                         groups     50                                         groups = "u0txrx_a_1";
 51                                 };                 51                                 };
 52                         };                         52                         };
 53                 };                                 53                 };
 54                 mmcsd-cd {                         54                 mmcsd-cd {
 55                         cd_default_mode: cd_de     55                         cd_default_mode: cd_default {
 56                                 cd_default_cfg     56                                 cd_default_cfg1 {
 57                                         /* CD      57                                         /* CD input GPIO */
 58                                         pins =     58                                         pins = "GPIO111_H21";
 59                                         ste,in     59                                         ste,input = <0>;
 60                                 };                 60                                 };
 61                                 cd_default_cfg     61                                 cd_default_cfg2 {
 62                                         /* CD      62                                         /* CD GPIO biasing */
 63                                         pins =     63                                         pins = "GPIO112_J21";
 64                                         ste,ou     64                                         ste,output = <0>;
 65                                 };                 65                                 };
 66                         };                         66                         };
 67                 };                                 67                 };
 68                 gpioi2c {                          68                 gpioi2c {
 69                         gpioi2c_default_mode:      69                         gpioi2c_default_mode: gpioi2c_default {
 70                                 gpioi2c_defaul     70                                 gpioi2c_default_cfg {
 71                                         pins =     71                                         pins = "GPIO73_C21", "GPIO74_C20";
 72                                         ste,in     72                                         ste,input = <0>;
 73                                 };                 73                                 };
 74                         };                         74                         };
 75                 };                                 75                 };
 76                 user-led {                         76                 user-led {
 77                         user_led_default_mode:     77                         user_led_default_mode: user_led_default {
 78                                 user_led_defau     78                                 user_led_default_cfg {
 79                                         pins =     79                                         pins = "GPIO2_C5";
 80                                         ste,ou     80                                         ste,output = <1>;
 81                                 };                 81                                 };
 82                         };                         82                         };
 83                 };                                 83                 };
 84                 user-button {                      84                 user-button {
 85                         user_button_default_mo     85                         user_button_default_mode: user_button_default {
 86                                 user_button_de     86                                 user_button_default_cfg {
 87                                         pins =     87                                         pins = "GPIO3_A4";
 88                                         ste,in     88                                         ste,input = <0>;
 89                                 };                 89                                 };
 90                         };                         90                         };
 91                 };                                 91                 };
 92         };                                         92         };
 93                                                    93 
 94         /* Ethernet */                             94         /* Ethernet */
 95         external-bus@34000000 {                    95         external-bus@34000000 {
 96                 compatible = "simple-bus";         96                 compatible = "simple-bus";
 97                 reg = <0x34000000 0x1000000>;      97                 reg = <0x34000000 0x1000000>;
 98                 #address-cells = <1>;              98                 #address-cells = <1>;
 99                 #size-cells = <1>;                 99                 #size-cells = <1>;
100                 ranges = <0 0x34000000 0x10000    100                 ranges = <0 0x34000000 0x1000000>;
101                 ethernet@300 {                    101                 ethernet@300 {
102                         compatible = "smsc,lan    102                         compatible = "smsc,lan91c111";
103                         reg = <0x300 0x0fd00>;    103                         reg = <0x300 0x0fd00>;
104                         interrupt-parent = <&g    104                         interrupt-parent = <&gpio3>;
105                         interrupts = <8 IRQ_TY    105                         interrupts = <8 IRQ_TYPE_EDGE_RISING>;
106                 };                                106                 };
107         };                                        107         };
108                                                   108 
109         i2c1 {                                    109         i2c1 {
110                 lis3lv02dl@1d {                   110                 lis3lv02dl@1d {
111                         /* Accelerometer */       111                         /* Accelerometer */
112                         compatible = "st,lis3l    112                         compatible = "st,lis3lv02dl-accel";
113                         reg = <0x1d>;             113                         reg = <0x1d>;
114                 };                                114                 };
115         };                                        115         };
116                                                   116 
117         /* GPIO I2C connected to the USB porti    117         /* GPIO I2C connected to the USB portions of the STw4811 only */
118         gpio-i2c {                                118         gpio-i2c {
119                 compatible = "i2c-gpio";          119                 compatible = "i2c-gpio";
120                 gpios = <&gpio2 10 0>, /* sda     120                 gpios = <&gpio2 10 0>, /* sda */
121                         <&gpio2 9 0>; /* scl *    121                         <&gpio2 9 0>; /* scl */
122                 #address-cells = <1>;             122                 #address-cells = <1>;
123                 #size-cells = <0>;                123                 #size-cells = <0>;
124                 pinctrl-names = "default";        124                 pinctrl-names = "default";
125                 pinctrl-0 = <&gpioi2c_default_    125                 pinctrl-0 = <&gpioi2c_default_mode>;
126                                                   126 
127                 stw4811@2d {                      127                 stw4811@2d {
128                            compatible = "st,st    128                            compatible = "st,stw4811-usb";
129                            reg = <0x2d>;          129                            reg = <0x2d>;
130                 };                                130                 };
131         };                                        131         };
132                                                   132 
133                                                   133 
134         amba {                                    134         amba {
135                 /* Activate RXTX on UART 0 */     135                 /* Activate RXTX on UART 0 */
136                 uart0: serial@101fd000 {          136                 uart0: serial@101fd000 {
137                         pinctrl-names = "defau    137                         pinctrl-names = "default";
138                         pinctrl-0 = <&uart0_s8    138                         pinctrl-0 = <&uart0_s8815_mode>;
139                         status = "okay";          139                         status = "okay";
140                 };                                140                 };
141                 /* Configure card detect for t    141                 /* Configure card detect for the uSD slot */
142                 mmc@101f6000 {                    142                 mmc@101f6000 {
143                         cd-gpios = <&gpio3 15     143                         cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
144                 };                                144                 };
145         };                                        145         };
146                                                   146 
147         /* The user LED on the board is set up    147         /* The user LED on the board is set up to be used for heartbeat */
148         leds {                                    148         leds {
149                 compatible = "gpio-leds";         149                 compatible = "gpio-leds";
150                 user-led {                        150                 user-led {
151                         label = "user_led";       151                         label = "user_led";
152                         gpios = <&gpio0 2 0x1>    152                         gpios = <&gpio0 2 0x1>;
153                         default-state = "off";    153                         default-state = "off";
154                         linux,default-trigger     154                         linux,default-trigger = "heartbeat";
155                         pinctrl-names = "defau    155                         pinctrl-names = "default";
156                         pinctrl-0 = <&user_led    156                         pinctrl-0 = <&user_led_default_mode>;
157                 };                                157                 };
158         };                                        158         };
159                                                   159 
160         /* User key mapped in as "escape" */      160         /* User key mapped in as "escape" */
161         gpio-keys {                               161         gpio-keys {
162                 compatible = "gpio-keys";         162                 compatible = "gpio-keys";
163                 user-button {                     163                 user-button {
164                         label = "user_button";    164                         label = "user_button";
165                         gpios = <&gpio0 3 0x1>    165                         gpios = <&gpio0 3 0x1>;
166                         linux,code = <1>; /* K    166                         linux,code = <1>; /* KEY_ESC */
167                         wakeup-source;            167                         wakeup-source;
168                         pinctrl-names = "defau    168                         pinctrl-names = "default";
169                         pinctrl-0 = <&user_but    169                         pinctrl-0 = <&user_button_default_mode>;
170                 };                                170                 };
171         };                                        171         };
172 };                                                172 };
                                                      

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