summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stih407.dtsi
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-05-12 15:51:00 +0300
committerMaxime Coquelin <maxime.coquelin@st.com>2015-05-13 11:41:40 +0300
commit416ef034cbc5280aab16a64cbb1116c588cd02b4 (patch)
treecc2758a6793fadcd43bf5fca608d0b88f27dbc71 /arch/arm/boot/dts/stih407.dtsi
parent5f636b75099fc09e31ce4d8b520bded06785edab (diff)
downloadlinux-416ef034cbc5280aab16a64cbb1116c588cd02b4.tar.xz
ARM: STi: STiH407: Add DT nodes for for PWM
Supply top level nodes for the STiH407 based development boards. The Pinctrl configuration has already been applied, so the only missing piece of the DT puzzle is for a board's DTB to enable the nodes. Signed-off-by: Ajit Pal Singh <ajitpal.singh@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stih407.dtsi')
-rw-r--r--arch/arm/boot/dts/stih407.dtsi28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi
index 3efa3b2ebe90..2c560fc30503 100644
--- a/arch/arm/boot/dts/stih407.dtsi
+++ b/arch/arm/boot/dts/stih407.dtsi
@@ -147,5 +147,33 @@
};
};
};
+
+ /* COMMS PWM Module */
+ pwm0: pwm@9810000 {
+ compatible = "st,sti-pwm";
+ status = "disabled";
+ #pwm-cells = <2>;
+ reg = <0x9810000 0x68>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm0_chan0_default>;
+ clock-names = "pwm";
+ clocks = <&clk_sysin>;
+ };
+
+ /* SBC PWM Module */
+ pwm1: pwm@9510000 {
+ compatible = "st,sti-pwm";
+ status = "disabled";
+ #pwm-cells = <2>;
+ reg = <0x9510000 0x68>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm1_chan0_default
+ &pinctrl_pwm1_chan1_default
+ &pinctrl_pwm1_chan2_default
+ &pinctrl_pwm1_chan3_default>;
+ clock-names = "pwm";
+ clocks = <&clk_sysin>;
+ st,pwm-num-chan = <4>;
+ };
};
};