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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/ti/omap/am335x-moxa-uc-2100-common.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/ti/omap/am335x-moxa-uc-2100-common.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/ti/omap/am335x-moxa-uc-2100-common.dtsi (Architecture alpha)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 /*                                                  2 /*
  3  * Copyright (C) 2018 MOXA Inc. - https://www.      3  * Copyright (C) 2018 MOXA Inc. - https://www.moxa.com/
  4  *                                                  4  *
  5  * Authors: SZ Lin (林上智) <sz.lin@moxa.com      5  * Authors: SZ Lin (林上智) <sz.lin@moxa.com>
  6  *          Wes Huang (黃淵河) <wes.huang@mo      6  *          Wes Huang (黃淵河) <wes.huang@moxa.com>
  7  *          Fero JD Zhou (周俊達) <FeroJD.Zh      7  *          Fero JD Zhou (周俊達) <FeroJD.Zhou@moxa.com>
  8  */                                                 8  */
  9                                                     9 
 10 #include "am33xx.dtsi"                             10 #include "am33xx.dtsi"
 11                                                    11 
 12 / {                                                12 / {
 13         vbat: vbat-regulator {                     13         vbat: vbat-regulator {
 14                 compatible = "regulator-fixed"     14                 compatible = "regulator-fixed";
 15         };                                         15         };
 16                                                    16 
 17         /* Power supply provides a fixed 3.3V      17         /* Power supply provides a fixed 3.3V @3A */
 18         vmmcsd_fixed: vmmcsd-regulator {           18         vmmcsd_fixed: vmmcsd-regulator {
 19                 compatible = "regulator-fixed"     19                 compatible = "regulator-fixed";
 20                 regulator-name = "vmmcsd_fixed     20                 regulator-name = "vmmcsd_fixed";
 21                 regulator-min-microvolt = <330     21                 regulator-min-microvolt = <3300000>;
 22                 regulator-max-microvolt = <330     22                 regulator-max-microvolt = <3300000>;
 23                 regulator-boot-on;                 23                 regulator-boot-on;
 24         };                                         24         };
 25                                                    25 
 26         buttons: push_button {                     26         buttons: push_button {
 27                 compatible = "gpio-keys";          27                 compatible = "gpio-keys";
 28         };                                         28         };
 29 };                                                 29 };
 30                                                    30 
 31 &am33xx_pinmux {                                   31 &am33xx_pinmux {
 32         pinctrl-names = "default";                 32         pinctrl-names = "default";
 33                                                    33 
 34         i2c0_pins: i2c0-pins {                     34         i2c0_pins: i2c0-pins {
 35                 pinctrl-single,pins = <            35                 pinctrl-single,pins = <
 36                         AM33XX_PADCONF(AM335X_     36                         AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0)
 37                         AM33XX_PADCONF(AM335X_     37                         AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0)
 38                 >;                                 38                 >;
 39         };                                         39         };
 40                                                    40 
 41         push_button_pins: push-button-pins {       41         push_button_pins: push-button-pins {
 42                 pinctrl-single,pins = <            42                 pinctrl-single,pins = <
 43                         AM33XX_PADCONF(AM335X_     43                         AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7)     /* lcd_hsync.gpio2_23 */
 44                 >;                                 44                 >;
 45         };                                         45         };
 46                                                    46 
 47         uart0_pins: uart0-pins {                   47         uart0_pins: uart0-pins {
 48                 pinctrl-single,pins = <            48                 pinctrl-single,pins = <
 49                         AM33XX_PADCONF(AM335X_     49                         AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
 50                         AM33XX_PADCONF(AM335X_     50                         AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
 51                 >;                                 51                 >;
 52         };                                         52         };
 53                                                    53 
 54         davinci_mdio_default: davinci-mdio-def     54         davinci_mdio_default: davinci-mdio-default-pins {
 55                 pinctrl-single,pins = <            55                 pinctrl-single,pins = <
 56                         /* MDIO */                 56                         /* MDIO */
 57                         AM33XX_PADCONF(AM335X_     57                         AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0)
 58                         AM33XX_PADCONF(AM335X_     58                         AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0)
 59                 >;                                 59                 >;
 60         };                                         60         };
 61                                                    61 
 62         mmc1_pins_default: mmc1-pins {             62         mmc1_pins_default: mmc1-pins {
 63                 pinctrl-single,pins = <            63                 pinctrl-single,pins = <
 64                         /* eMMC */                 64                         /* eMMC */
 65                         AM33XX_PADCONF(AM335X_     65                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE1)        /* gpmc_ad12.mmc1_dat0 */
 66                         AM33XX_PADCONF(AM335X_     66                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE1)        /* gpmc_ad13.mmc1_dat1 */
 67                         AM33XX_PADCONF(AM335X_     67                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE1)        /* gpmc_ad14.mmc1_dat2 */
 68                         AM33XX_PADCONF(AM335X_     68                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE1)        /* gpmc_ad15.mmc1_dat3 */
 69                         AM33XX_PADCONF(AM335X_     69                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE1)        /* gpmc_ad8.mmc1_dat4 */
 70                         AM33XX_PADCONF(AM335X_     70                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE1)        /* gpmc_ad9.mmc1_dat5 */
 71                         AM33XX_PADCONF(AM335X_     71                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE1)        /* gpmc_ad10.mmc1_dat6 */
 72                         AM33XX_PADCONF(AM335X_     72                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE1)        /* gpmc_ad11.mmc1_dat7 */
 73                         AM33XX_PADCONF(AM335X_     73                         AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_INPUT_PULLUP, MUX_MODE2)       /* gpmc_csn2.mmc1_cmd */
 74                         AM33XX_PADCONF(AM335X_     74                         AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_INPUT_PULLUP, MUX_MODE2)       /* gpmc_csn1.mmc1_clk */
 75                 >;                                 75                 >;
 76         };                                         76         };
 77                                                    77 
 78         spi0_pins: spi0-pins {                     78         spi0_pins: spi0-pins {
 79                 pinctrl-single,pins = <            79                 pinctrl-single,pins = <
 80                         AM33XX_PADCONF(AM335X_     80                         AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE0)
 81                         AM33XX_PADCONF(AM335X_     81                         AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLUP, MUX_MODE0)
 82                         AM33XX_PADCONF(AM335X_     82                         AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT_PULLUP, MUX_MODE0)
 83                         AM33XX_PADCONF(AM335X_     83                         AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE0)
 84                 >;                                 84                 >;
 85         };                                         85         };
 86 };                                                 86 };
 87                                                    87 
 88 &uart0 {                                           88 &uart0 {
 89         /* Console */                              89         /* Console */
 90         status = "okay";                           90         status = "okay";
 91         pinctrl-names = "default";                 91         pinctrl-names = "default";
 92         pinctrl-0 = <&uart0_pins>;                 92         pinctrl-0 = <&uart0_pins>;
 93 };                                                 93 };
 94                                                    94 
 95 &i2c0 {                                            95 &i2c0 {
 96         pinctrl-names = "default";                 96         pinctrl-names = "default";
 97         pinctrl-0 = <&i2c0_pins>;                  97         pinctrl-0 = <&i2c0_pins>;
 98                                                    98 
 99         status = "okay";                           99         status = "okay";
100         clock-frequency = <400000>;               100         clock-frequency = <400000>;
101                                                   101 
102         eeprom: eeprom@50 {                       102         eeprom: eeprom@50 {
103                 compatible = "atmel,24c16";       103                 compatible = "atmel,24c16";
104                 pagesize = <16>;                  104                 pagesize = <16>;
105                 reg = <0x50>;                     105                 reg = <0x50>;
106         };                                        106         };
107                                                   107 
108         rtc_wdt: rtc_wdt@68 {                     108         rtc_wdt: rtc_wdt@68 {
109                 compatible = "dallas,ds1374";     109                 compatible = "dallas,ds1374";
110                 reg = <0x68>;                     110                 reg = <0x68>;
111         };                                        111         };
112 };                                                112 };
113                                                   113 
114 &usb0 {                                           114 &usb0 {
115         dr_mode = "host";                         115         dr_mode = "host";
116 };                                                116 };
117                                                   117 
118 /* Power */                                       118 /* Power */
119 &vbat {                                           119 &vbat {
120         regulator-name = "vbat";                  120         regulator-name = "vbat";
121         regulator-min-microvolt = <5000000>;      121         regulator-min-microvolt = <5000000>;
122         regulator-max-microvolt = <5000000>;      122         regulator-max-microvolt = <5000000>;
123 };                                                123 };
124                                                   124 
125 &mac_sw {                                         125 &mac_sw {
126         pinctrl-names = "default";                126         pinctrl-names = "default";
127         pinctrl-0 = <&cpsw_default>;              127         pinctrl-0 = <&cpsw_default>;
128         status = "okay";                          128         status = "okay";
129 };                                                129 };
130                                                   130 
131 &davinci_mdio_sw {                                131 &davinci_mdio_sw {
132         pinctrl-names = "default";                132         pinctrl-names = "default";
133         pinctrl-0 = <&davinci_mdio_default>;      133         pinctrl-0 = <&davinci_mdio_default>;
134         status = "okay";                          134         status = "okay";
135 };                                                135 };
136                                                   136 
137 &cpsw_port1 {                                     137 &cpsw_port1 {
138         ti,dual-emac-pvid = <1>;                  138         ti,dual-emac-pvid = <1>;
139 };                                                139 };
140                                                   140 
141 &cpsw_port2 {                                     141 &cpsw_port2 {
142         ti,dual-emac-pvid = <2>;                  142         ti,dual-emac-pvid = <2>;
143 };                                                143 };
144                                                   144 
145 &sham {                                           145 &sham {
146         status = "okay";                          146         status = "okay";
147 };                                                147 };
148                                                   148 
149 &aes {                                            149 &aes {
150         status = "okay";                          150         status = "okay";
151 };                                                151 };
152                                                   152 
153 &gpio0_target {                                   153 &gpio0_target {
154         ti,no-reset-on-init;                      154         ti,no-reset-on-init;
155 };                                                155 };
156                                                   156 
157 &mmc2 {                                           157 &mmc2 {
158         pinctrl-names = "default";                158         pinctrl-names = "default";
159         vmmc-supply = <&vmmcsd_fixed>;            159         vmmc-supply = <&vmmcsd_fixed>;
160         bus-width = <8>;                          160         bus-width = <8>;
161         pinctrl-0 = <&mmc1_pins_default>;         161         pinctrl-0 = <&mmc1_pins_default>;
162         non-removable;                            162         non-removable;
163         status = "okay";                          163         status = "okay";
164 };                                                164 };
165                                                   165 
166 &buttons {                                        166 &buttons {
167         pinctrl-names = "default";                167         pinctrl-names = "default";
168         pinctrl-0 = <&push_button_pins>;          168         pinctrl-0 = <&push_button_pins>;
169                                                   169 
170         button-0 {                                170         button-0 {
171                 label = "push_button";            171                 label = "push_button";
172                 linux,code = <0x100>;             172                 linux,code = <0x100>;
173                 gpios = <&gpio2 23 GPIO_ACTIVE    173                 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
174         };                                        174         };
175 };                                                175 };
176                                                   176 
177 /* SPI Busses */                                  177 /* SPI Busses */
178 &spi0 {                                           178 &spi0 {
179         status = "okay";                          179         status = "okay";
180         pinctrl-names = "default";                180         pinctrl-names = "default";
181         pinctrl-0 = <&spi0_pins>;                 181         pinctrl-0 = <&spi0_pins>;
182                                                   182 
183         flash@0 {                                 183         flash@0 {
184                 compatible = "mx25l6405d";        184                 compatible = "mx25l6405d";
185                 spi-max-frequency = <40000000>    185                 spi-max-frequency = <40000000>;
186                                                   186 
187                 reg = <0>;                        187                 reg = <0>;
188                 spi-cpol;                         188                 spi-cpol;
189                 spi-cpha;                         189                 spi-cpha;
190                                                   190 
191                 partitions {                      191                 partitions {
192                         compatible = "fixed-pa    192                         compatible = "fixed-partitions";
193                         #address-cells = <1>;     193                         #address-cells = <1>;
194                         #size-cells = <1>;        194                         #size-cells = <1>;
195                                                   195 
196                         /* reg : The partition    196                         /* reg : The partition's offset and size within the mtd bank. */
197                         partitions@0 {            197                         partitions@0 {
198                                 label = "MLO";    198                                 label = "MLO";
199                                 reg = <0x0 0x8    199                                 reg = <0x0 0x80000>;
200                         };                        200                         };
201                                                   201 
202                         partitions@1 {            202                         partitions@1 {
203                                 label = "U-Boo    203                                 label = "U-Boot";
204                                 reg = <0x80000    204                                 reg = <0x80000 0x100000>;
205                         };                        205                         };
206                                                   206 
207                         partitions@2 {            207                         partitions@2 {
208                                 label = "U-Boo    208                                 label = "U-Boot Env";
209                                 reg = <0x18000    209                                 reg = <0x180000 0x40000>;
210                         };                        210                         };
211                 };                                211                 };
212         };                                        212         };
213 };                                                213 };
214                                                   214 
215 &spi1 {                                           215 &spi1 {
216         status = "okay";                          216         status = "okay";
217         pinctrl-names = "default";                217         pinctrl-names = "default";
218         pinctrl-0 = <&spi1_pins>;                 218         pinctrl-0 = <&spi1_pins>;
219                                                   219 
220         tpm@0 {                                   220         tpm@0 {
221                 compatible = "tcg,tpm_tis-spi"    221                 compatible = "tcg,tpm_tis-spi";
222                 reg = <0>;                        222                 reg = <0>;
223                 spi-max-frequency = <500000>;     223                 spi-max-frequency = <500000>;
224         };                                        224         };
225 };                                                225 };
                                                      

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