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/bus/moxtet.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 Turris Mox module status and configuration bus (over SPI)
    2 
    3 Required properties:
    4  - compatible           : Should be "cznic,moxtet"
    5  - #address-cells       : Has to be 1
    6  - #size-cells          : Has to be 0
    7  - spi-cpol             : Required inverted clock polarity
    8  - spi-cpha             : Required shifted clock phase
    9  - interrupts           : Must contain reference to the shared interrupt line
   10  - interrupt-controller : Required
   11  - #interrupt-cells     : Has to be 1
   12 
   13 For other required and optional properties of SPI slave nodes please refer to
   14 ../spi/spi-bus.txt.
   15 
   16 Required properties of subnodes:
   17  - reg                  : Should be position on the Moxtet bus (how many Moxtet
   18                           modules are between this module and CPU module, so
   19                           either 0 or a positive integer)
   20 
   21 The driver finds the devices connected to the bus by itself, but it may be
   22 needed to reference some of them from other parts of the device tree. In that
   23 case the devices can be defined as subnodes of the moxtet node.
   24 
   25 Example:
   26 
   27         moxtet@1 {
   28                 compatible = "cznic,moxtet";
   29                 #address-cells = <1>;
   30                 #size-cells = <0>;
   31                 reg = <1>;
   32                 spi-max-frequency = <10000000>;
   33                 spi-cpol;
   34                 spi-cpha;
   35                 interrupt-controller;
   36                 #interrupt-cells = <1>;
   37                 interrupt-parent = <&gpiosb>;
   38                 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
   39 
   40                 moxtet_sfp: gpio@0 {
   41                         compatible = "cznic,moxtet-gpio";
   42                         gpio-controller;
   43                         #gpio-cells = <2>;
   44                         reg = <0>;
   45                 }
   46         };

Cache object: 9fa0e53fad0cb2bf9eede9d4873bd0d8


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