Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Bindings for the fan / temperature monitor microcontroller used on |
| 2 | the Zyxel NSA 320 and several subsequent models. |
| 3 | |
| 4 | Required properties: |
| 5 | - compatible : "zyxel,nsa320-mcu" |
| 6 | - data-gpios : The GPIO pin connected to the data line on the MCU |
| 7 | - clk-gpios : The GPIO pin connected to the clock line on the MCU |
| 8 | - act-gpios : The GPIO pin connected to the active line on the MCU |
| 9 | |
| 10 | Example: |
| 11 | |
| 12 | hwmon { |
| 13 | compatible = "zyxel,nsa320-mcu"; |
| 14 | pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>; |
| 15 | pinctrl-names = "default"; |
| 16 | |
| 17 | data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; |
| 18 | clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; |
| 19 | act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; |
| 20 | }; |