Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / bus / ts-nbus.txt
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         };