The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm/am335x-moxa-uc-2101.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: GPL-2.0
    2 /*
    3  * Copyright (C) 2018 MOXA Inc. - https://www.moxa.com/
    4  *
    5  * Authors: SZ Lin (林上智) <sz.lin@moxa.com>
    6  *          Wes Huang (黃淵河) <wes.huang@moxa.com>
    7  *          Fero JD Zhou (周俊達) <FeroJD.Zhou@moxa.com>
    8  */
    9 
   10 /dts-v1/;
   11 
   12 #include "am335x-moxa-uc-2100-common.dtsi"
   13 
   14 / {
   15         model = "Moxa UC-2101";
   16         compatible = "moxa,uc-2101", "ti,am33xx";
   17 
   18         leds {
   19                 compatible = "gpio-leds";
   20                 led1 {
   21                         label = "UC2100:GREEN:USER";
   22                         gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
   23                         default-state = "off";
   24                 };
   25         };
   26 };
   27 
   28 &am33xx_pinmux {
   29         pinctrl-names = "default";
   30 
   31         cpsw_default: cpsw_default {
   32                 pinctrl-single,pins = <
   33                         /* Slave 1 */
   34                         AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE1)      /* mii1_crs.rmii1_crs_dv */
   35                         AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLUP, MUX_MODE1)      /* mii1_rxerr.rmii1_rxerr */
   36                         AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE1)   /* mii1_txen.rmii1_txen */
   37                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE1)    /* mii1_txd1.rmii1_txd1 */
   38                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE1)    /* mii1_txd0.rmii1_txd0 */
   39                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLUP, MUX_MODE1)       /* mii1_rxd1.rmii1_rxd1 */
   40                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLUP, MUX_MODE1)       /* mii1_rxd0.rmii1_rxd0 */
   41                         AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE0)
   42                 >;
   43         };
   44 
   45         spi1_pins: pinmux_spi1 {
   46                 pinctrl-single,pins = <
   47                         AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, PIN_INPUT_PULLUP, MUX_MODE4)        /* ecap0_in_pwm0_out.spi1_sclk */
   48                         AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLUP, MUX_MODE4)       /* uart1_ctsn.spi1_cs0 */
   49                         AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLUP, MUX_MODE4)       /* uart0_ctsn.spi1_d0 */
   50                         AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLUP, MUX_MODE4)       /* uart0_rtsn.spi1_d1 */
   51                 >;
   52         };
   53 };
   54 
   55 &davinci_mdio_sw {
   56         phy0: ethernet-phy@4 {
   57                 reg = <4>;
   58         };
   59 };
   60 
   61 &cpsw_port1 {
   62         phy-handle = <&phy0>;
   63         phy-mode = "rmii";
   64 };
   65 
   66 &cpsw_port2 {
   67         status = "disabled";
   68 };

Cache object: ef4a34148bbe758e07472492b84c8bde


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.