Path: blob/master/Documentation/devicetree/bindings/bus/ts-nbus.txt
26308 views
Technologic Systems NBUS12The NBUS is a bus used to interface with peripherals in the Technologic3Systems FPGA on the TS-4600 SoM.45Required properties :6- compatible : "technologic,ts-nbus"7- #address-cells : must be 18- #size-cells : must be 09- pwms : The PWM bound to the FPGA10- ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA11- ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA12- ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA13- ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA14- ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA15- ts,rdy-gpios : The GPIO pin connected to the rdy line on the FPGA1617Child nodes:1819The NBUS node can contain zero or more child nodes representing peripherals20on the bus.2122Example:2324nbus {25compatible = "technologic,ts-nbus";26pinctrl-0 = <&nbus_pins>;27#address-cells = <1>;28#size-cells = <0>;29pwms = <&pwm 2 83>;30ts,data-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH31&gpio0 1 GPIO_ACTIVE_HIGH32&gpio0 2 GPIO_ACTIVE_HIGH33&gpio0 3 GPIO_ACTIVE_HIGH34&gpio0 4 GPIO_ACTIVE_HIGH35&gpio0 5 GPIO_ACTIVE_HIGH36&gpio0 6 GPIO_ACTIVE_HIGH37&gpio0 7 GPIO_ACTIVE_HIGH>;38ts,csn-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;39ts,txrx-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;40ts,strobe-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;41ts,ale-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;42ts,rdy-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;4344watchdog@2a {45compatible = "...";4647/* ... */48};49};505152