162306a36Sopenharmony_ciTechnologic Systems NBUS 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThe NBUS is a bus used to interface with peripherals in the Technologic 462306a36Sopenharmony_ciSystems FPGA on the TS-4600 SoM. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciRequired properties : 762306a36Sopenharmony_ci - compatible : "technologic,ts-nbus" 862306a36Sopenharmony_ci - #address-cells : must be 1 962306a36Sopenharmony_ci - #size-cells : must be 0 1062306a36Sopenharmony_ci - pwms : The PWM bound to the FPGA 1162306a36Sopenharmony_ci - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA 1262306a36Sopenharmony_ci - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA 1362306a36Sopenharmony_ci - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA 1462306a36Sopenharmony_ci - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA 1562306a36Sopenharmony_ci - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA 1662306a36Sopenharmony_ci - ts,rdy-gpios : The GPIO pin connected to the rdy line on the FPGA 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciChild nodes: 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciThe NBUS node can contain zero or more child nodes representing peripherals 2162306a36Sopenharmony_cion the bus. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciExample: 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci nbus { 2662306a36Sopenharmony_ci compatible = "technologic,ts-nbus"; 2762306a36Sopenharmony_ci pinctrl-0 = <&nbus_pins>; 2862306a36Sopenharmony_ci #address-cells = <1>; 2962306a36Sopenharmony_ci #size-cells = <0>; 3062306a36Sopenharmony_ci pwms = <&pwm 2 83>; 3162306a36Sopenharmony_ci ts,data-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH 3262306a36Sopenharmony_ci &gpio0 1 GPIO_ACTIVE_HIGH 3362306a36Sopenharmony_ci &gpio0 2 GPIO_ACTIVE_HIGH 3462306a36Sopenharmony_ci &gpio0 3 GPIO_ACTIVE_HIGH 3562306a36Sopenharmony_ci &gpio0 4 GPIO_ACTIVE_HIGH 3662306a36Sopenharmony_ci &gpio0 5 GPIO_ACTIVE_HIGH 3762306a36Sopenharmony_ci &gpio0 6 GPIO_ACTIVE_HIGH 3862306a36Sopenharmony_ci &gpio0 7 GPIO_ACTIVE_HIGH>; 3962306a36Sopenharmony_ci ts,csn-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 4062306a36Sopenharmony_ci ts,txrx-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; 4162306a36Sopenharmony_ci ts,strobe-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; 4262306a36Sopenharmony_ci ts,ale-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; 4362306a36Sopenharmony_ci ts,rdy-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci watchdog@2a { 4662306a36Sopenharmony_ci compatible = "..."; 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ci /* ... */ 4962306a36Sopenharmony_ci }; 5062306a36Sopenharmony_ci }; 51