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/ts-nbus.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 Technologic Systems NBUS
    2 
    3 The NBUS is a bus used to interface with peripherals in the Technologic
    4 Systems FPGA on the TS-4600 SoM.
    5 
    6 Required properties :
    7  - compatible           : "technologic,ts-nbus"
    8  - #address-cells       : must be 1
    9  - #size-cells          : must be 0
   10  - pwms                 : The PWM bound to the FPGA
   11  - ts,data-gpios        : The 8 GPIO pins connected to the data lines on the FPGA
   12  - ts,csn-gpios         : The GPIO pin connected to the csn line on the FPGA
   13  - ts,txrx-gpios        : The GPIO pin connected to the txrx line on the FPGA
   14  - ts,strobe-gpios      : The GPIO pin connected to the stobe line on the FPGA
   15  - ts,ale-gpios         : The GPIO pin connected to the ale line on the FPGA
   16  - ts,rdy-gpios         : The GPIO pin connected to the rdy line on the FPGA
   17 
   18 Child nodes:
   19 
   20 The NBUS node can contain zero or more child nodes representing peripherals
   21 on the bus.
   22 
   23 Example:
   24 
   25         nbus {
   26                 compatible = "technologic,ts-nbus";
   27                 pinctrl-0 = <&nbus_pins>;
   28                 #address-cells = <1>;
   29                 #size-cells = <0>;
   30                 pwms = <&pwm 2 83>;
   31                 ts,data-gpios   = <&gpio0 0 GPIO_ACTIVE_HIGH
   32                                    &gpio0 1 GPIO_ACTIVE_HIGH
   33                                    &gpio0 2 GPIO_ACTIVE_HIGH
   34                                    &gpio0 3 GPIO_ACTIVE_HIGH
   35                                    &gpio0 4 GPIO_ACTIVE_HIGH
   36                                    &gpio0 5 GPIO_ACTIVE_HIGH
   37                                    &gpio0 6 GPIO_ACTIVE_HIGH
   38                                    &gpio0 7 GPIO_ACTIVE_HIGH>;
   39                 ts,csn-gpios    = <&gpio0 16 GPIO_ACTIVE_HIGH>;
   40                 ts,txrx-gpios   = <&gpio0 24 GPIO_ACTIVE_HIGH>;
   41                 ts,strobe-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
   42                 ts,ale-gpios    = <&gpio0 26 GPIO_ACTIVE_HIGH>;
   43                 ts,rdy-gpios    = <&gpio0 21 GPIO_ACTIVE_HIGH>;
   44 
   45                 watchdog@2a {
   46                         compatible = "...";
   47 
   48                         /* ... */
   49                 };
   50         };

Cache object: b01da4f24b181534907d4ec898df9ed1


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