summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-nsa320.dts
diff options
context:
space:
mode:
authorAdam Baker <linux@baker-net.org.uk>2016-03-05 15:34:57 +0000
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-03-29 17:41:35 +0200
commit9fe3219743dea7b6f14afec2f853c3f615b8849b (patch)
tree6ce06f2b89268b1bee56ef0d7c86473a3f30e495 /arch/arm/boot/dts/kirkwood-nsa320.dts
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
ARM: dts: kirkwood: Add the hardware monitor to the NSA320 device tree
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>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-nsa320.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-nsa320.dts13
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/kirkwood-nsa320.dts b/arch/arm/boot/dts/kirkwood-nsa320.dts
index 24f686d1044d..2a935e94f96f 100644
--- a/arch/arm/boot/dts/kirkwood-nsa320.dts
+++ b/arch/arm/boot/dts/kirkwood-nsa320.dts
@@ -193,10 +193,19 @@
};
};
+ 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>; */
};