^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Bindings for the fan / temperature monitor microcontroller used on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) the Zyxel NSA 320 and several subsequent models.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible : "zyxel,nsa320-mcu"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - data-gpios : The GPIO pin connected to the data line on the MCU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - clk-gpios : The GPIO pin connected to the clock line on the MCU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - act-gpios : The GPIO pin connected to the active line on the MCU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) hwmon {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) compatible = "zyxel,nsa320-mcu";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) pinctrl-names = "default";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) };