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-netcan-plus-1xx.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-only
    2 /*
    3  * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
    4  */
    5 
    6 /*
    7  * VScom OnRISC
    8  * http://www.vscom.de
    9  */
   10 
   11 /dts-v1/;
   12 
   13 #include "am335x-baltos.dtsi"
   14 #include "am335x-baltos-leds.dtsi"
   15 
   16 / {
   17         model = "NetCAN";
   18 
   19         leds {
   20                 pinctrl-names = "default";
   21                 pinctrl-0 = <&user_leds_s0>;
   22 
   23                 compatible = "gpio-leds";
   24 
   25                 led@1 {
   26                         label = "can_data";
   27                         linux,default-trigger = "netdev";
   28                         gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
   29                         default-state = "off";
   30                 };
   31                 led@2 {
   32                         label = "can_error";
   33                         gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
   34                         default-state = "off";
   35                 };
   36         };
   37 };
   38 
   39 &am33xx_pinmux {
   40         user_leds_s0: user_leds_s0 {
   41                 pinctrl-single,pins = <
   42                         AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_OUTPUT_PULLDOWN, MUX_MODE7)    /* CAN Data LED */
   43                         AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE7)    /* CAN Error LED */
   44                 >;
   45         };
   46 
   47         dcan1_pins: pinmux_dcan1_pins {
   48                 pinctrl-single,pins = <
   49                         AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT, MUX_MODE2)    /* CAN TX */
   50                         AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT, MUX_MODE2)     /* CAN RX */
   51                 >;
   52         };
   53 };
   54 
   55 &usb0_phy {
   56         status = "okay";
   57 };
   58 
   59 &usb0 {
   60         status = "okay";
   61         dr_mode = "host";
   62 };
   63 
   64 &davinci_mdio_sw {
   65         phy0: ethernet-phy@0 {
   66                 reg = <1>;
   67         };
   68 };
   69 
   70 &cpsw_port1 {
   71         phy-mode = "rmii";
   72         ti,dual-emac-pvid = <1>;
   73         phy-handle = <&phy0>;
   74 };
   75 
   76 &cpsw_port2 {
   77         phy-mode = "rgmii-id";
   78         ti,dual-emac-pvid = <2>;
   79         phy-handle = <&phy1>;
   80 };
   81 
   82 &dcan1 {
   83         pinctrl-names = "default";
   84         pinctrl-0 = <&dcan1_pins>;
   85 
   86         status = "okay";
   87 };

Cache object: 95e4c4667b7d3f13904bd33c474f2bbf


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