xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/nsa320-mcu.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBindings for the fan / temperature monitor microcontroller used on
2*c66ec88fSEmmanuel Vadotthe Zyxel NSA 320 and several subsequent models.
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot- compatible	: "zyxel,nsa320-mcu"
6*c66ec88fSEmmanuel Vadot- data-gpios	: The GPIO pin connected to the data line on the MCU
7*c66ec88fSEmmanuel Vadot- clk-gpios	: The GPIO pin connected to the clock line on the MCU
8*c66ec88fSEmmanuel Vadot- act-gpios	: The GPIO pin connected to the active line on the MCU
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotExample:
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot	hwmon {
13*c66ec88fSEmmanuel Vadot		compatible = "zyxel,nsa320-mcu";
14*c66ec88fSEmmanuel Vadot		pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>;
15*c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot		data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
18*c66ec88fSEmmanuel Vadot		clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
19*c66ec88fSEmmanuel Vadot		act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
20*c66ec88fSEmmanuel Vadot	};
21