51 lines · plain
1Technologic Systems NBUS2 3The NBUS is a bus used to interface with peripherals in the Technologic4Systems FPGA on the TS-4600 SoM.5 6Required properties :7 - compatible : "technologic,ts-nbus"8 - #address-cells : must be 19 - #size-cells : must be 010 - pwms : The PWM bound to the FPGA11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA16 - ts,rdy-gpios : The GPIO pin connected to the rdy line on the FPGA17 18Child nodes:19 20The NBUS node can contain zero or more child nodes representing peripherals21on the bus.22 23Example: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_HIGH32 &gpio0 1 GPIO_ACTIVE_HIGH33 &gpio0 2 GPIO_ACTIVE_HIGH34 &gpio0 3 GPIO_ACTIVE_HIGH35 &gpio0 4 GPIO_ACTIVE_HIGH36 &gpio0 5 GPIO_ACTIVE_HIGH37 &gpio0 6 GPIO_ACTIVE_HIGH38 &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 };51