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/Bindings/net/socionext-netsec.txt

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 * Socionext NetSec Ethernet Controller IP
    2 
    3 Required properties:
    4 - compatible: Should be "socionext,synquacer-netsec"
    5 - reg: Address and length of the control register area, followed by the
    6        address and length of the EEPROM holding the MAC address and
    7        microengine firmware
    8 - interrupts: Should contain ethernet controller interrupt
    9 - clocks: phandle to the PHY reference clock
   10 - clock-names: Should be "phy_ref_clk"
   11 - phy-mode: See ethernet.txt file in the same directory
   12 - phy-handle: See ethernet.txt in the same directory.
   13 
   14 - mdio device tree subnode: When the Netsec has a phy connected to its local
   15                 mdio, there must be device tree subnode with the following
   16                 required properties:
   17 
   18         - #address-cells: Must be <1>.
   19         - #size-cells: Must be <0>.
   20 
   21         For each phy on the mdio bus, there must be a node with the following
   22         fields:
   23         - compatible: Refer to phy.txt
   24         - reg: phy id used to communicate to phy.
   25 
   26 Optional properties: (See ethernet.txt file in the same directory)
   27 - dma-coherent: Boolean property, must only be present if memory
   28         accesses performed by the device are cache coherent.
   29 - max-speed: See ethernet.txt in the same directory.
   30 - max-frame-size: See ethernet.txt in the same directory.
   31 
   32 The MAC address will be determined using the optional properties
   33 defined in ethernet.txt. The 'phy-mode' property is required, but may
   34 be set to the empty string if the PHY configuration is programmed by
   35 the firmware or set by hardware straps, and needs to be preserved.
   36 
   37 Example:
   38         eth0: ethernet@522d0000 {
   39                 compatible = "socionext,synquacer-netsec";
   40                 reg = <0 0x522d0000 0x0 0x10000>, <0 0x10000000 0x0 0x10000>;
   41                 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
   42                 clocks = <&clk_netsec>;
   43                 clock-names = "phy_ref_clk";
   44                 phy-mode = "rgmii";
   45                 max-speed = <1000>;
   46                 max-frame-size = <9000>;
   47                 phy-handle = <&phy1>;
   48 
   49                 mdio {
   50                         #address-cells = <1>;
   51                         #size-cells = <0>;
   52                         phy1: ethernet-phy@1 {
   53                                 compatible = "ethernet-phy-ieee802.3-c22";
   54                                 reg = <1>;
   55                         };
   56                 };

Cache object: 05d8ebd1e93cb72a68de906a16321360


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