xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/nsa320-mcu.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBindings for the fan / temperature monitor microcontroller used on
2*4882a593Smuzhiyunthe Zyxel NSA 320 and several subsequent models.
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun- compatible	: "zyxel,nsa320-mcu"
6*4882a593Smuzhiyun- data-gpios	: The GPIO pin connected to the data line on the MCU
7*4882a593Smuzhiyun- clk-gpios	: The GPIO pin connected to the clock line on the MCU
8*4882a593Smuzhiyun- act-gpios	: The GPIO pin connected to the active line on the MCU
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunExample:
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	hwmon {
13*4882a593Smuzhiyun		compatible = "zyxel,nsa320-mcu";
14*4882a593Smuzhiyun		pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>;
15*4882a593Smuzhiyun		pinctrl-names = "default";
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun		data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
18*4882a593Smuzhiyun		clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
19*4882a593Smuzhiyun		act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
20*4882a593Smuzhiyun	};
21