ARM: dts: kirkwood: Add the hardware monitor to the NSA320 device tree
authorAdam Baker <linux@baker-net.org.uk>
Sat, 5 Mar 2016 15:34:57 +0000 (15:34 +0000)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 29 Mar 2016 15:41:35 +0000 (17:41 +0200)
Add an entry for the hardware monitoring MCU

[gregory.clement@free-electrons.com: rename the title to use the
"standard" format]

Signed-off-by: Adam Baker <linux@baker-net.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/kirkwood-nsa320.dts

index 24f686d1044d9aa6944d23adf5b273f63cc4e2ea..2a935e94f96f1fc3bdc588b1f8b3474a00caff62 100644 (file)
                };
        };
 
+       hwmon {
+               compatible = "zyxel,nsa320-mcu";
+               pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>;
+               pinctrl-names = "default";
+
+               data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
+               clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
+               act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
+       };
+
        /* The following pins are currently not assigned to a driver,
           some of them should be configured as inputs.
-       pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act
-                    &pmx_htp &pmx_vid_b1
+       pinctrl-0 = <&pmx_htp &pmx_vid_b1
                     &pmx_power_resume_data &pmx_power_resume_clk>; */
 };