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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/ti/omap/am335x-moxa-uc-2101.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/ti/omap/am335x-moxa-uc-2101.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/ti/omap/am335x-moxa-uc-2101.dts (Architecture m68k)


  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 /dts-v1/;                                          10 /dts-v1/;
 11                                                    11 
 12 #include "am335x-moxa-uc-2100-common.dtsi"         12 #include "am335x-moxa-uc-2100-common.dtsi"
 13                                                    13 
 14 / {                                                14 / {
 15         model = "Moxa UC-2101";                    15         model = "Moxa UC-2101";
 16         compatible = "moxa,uc-2101", "ti,am33x     16         compatible = "moxa,uc-2101", "ti,am33xx";
 17                                                    17 
 18         leds {                                     18         leds {
 19                 compatible = "gpio-leds";          19                 compatible = "gpio-leds";
 20                 led1 {                             20                 led1 {
 21                         label = "UC2100:GREEN:     21                         label = "UC2100:GREEN:USER";
 22                         gpios = <&gpio3 10 GPI     22                         gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
 23                         default-state = "off";     23                         default-state = "off";
 24                 };                                 24                 };
 25         };                                         25         };
 26 };                                                 26 };
 27                                                    27 
 28 &am33xx_pinmux {                                   28 &am33xx_pinmux {
 29         pinctrl-names = "default";                 29         pinctrl-names = "default";
 30                                                    30 
 31         cpsw_default: cpsw-default-pins {          31         cpsw_default: cpsw-default-pins {
 32                 pinctrl-single,pins = <            32                 pinctrl-single,pins = <
 33                         /* Slave 1 */              33                         /* Slave 1 */
 34                         AM33XX_PADCONF(AM335X_     34                         AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE1)      /* mii1_crs.rmii1_crs_dv */
 35                         AM33XX_PADCONF(AM335X_     35                         AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLUP, MUX_MODE1)      /* mii1_rxerr.rmii1_rxerr */
 36                         AM33XX_PADCONF(AM335X_     36                         AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE1)   /* mii1_txen.rmii1_txen */
 37                         AM33XX_PADCONF(AM335X_     37                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE1)    /* mii1_txd1.rmii1_txd1 */
 38                         AM33XX_PADCONF(AM335X_     38                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE1)    /* mii1_txd0.rmii1_txd0 */
 39                         AM33XX_PADCONF(AM335X_     39                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLUP, MUX_MODE1)       /* mii1_rxd1.rmii1_rxd1 */
 40                         AM33XX_PADCONF(AM335X_     40                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLUP, MUX_MODE1)       /* mii1_rxd0.rmii1_rxd0 */
 41                         AM33XX_PADCONF(AM335X_     41                         AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE0)
 42                 >;                                 42                 >;
 43         };                                         43         };
 44                                                    44 
 45         spi1_pins: spi1-pins {                     45         spi1_pins: spi1-pins {
 46                 pinctrl-single,pins = <            46                 pinctrl-single,pins = <
 47                         AM33XX_PADCONF(AM335X_     47                         AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_INPUT_PULLUP, MUX_MODE4)        /* ecap0_in_pwm0_out.spi1_sclk */
 48                         AM33XX_PADCONF(AM335X_     48                         AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLUP, MUX_MODE4)       /* uart1_ctsn.spi1_cs0 */
 49                         AM33XX_PADCONF(AM335X_     49                         AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLUP, MUX_MODE4)       /* uart0_ctsn.spi1_d0 */
 50                         AM33XX_PADCONF(AM335X_     50                         AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLUP, MUX_MODE4)       /* uart0_rtsn.spi1_d1 */
 51                 >;                                 51                 >;
 52         };                                         52         };
 53 };                                                 53 };
 54                                                    54 
 55 &davinci_mdio_sw {                                 55 &davinci_mdio_sw {
 56         phy0: ethernet-phy@4 {                     56         phy0: ethernet-phy@4 {
 57                 reg = <4>;                         57                 reg = <4>;
 58         };                                         58         };
 59 };                                                 59 };
 60                                                    60 
 61 &cpsw_port1 {                                      61 &cpsw_port1 {
 62         phy-handle = <&phy0>;                      62         phy-handle = <&phy0>;
 63         phy-mode = "rmii";                         63         phy-mode = "rmii";
 64 };                                                 64 };
 65                                                    65 
 66 &cpsw_port2 {                                      66 &cpsw_port2 {
 67         status = "disabled";                       67         status = "disabled";
 68 };                                                 68 };
                                                      

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