From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 03/13] ARM: STi: STiH416: Add DT nodes for PWM
Date: Tue, 12 May 2015 13:51:40 +0100 [thread overview]
Message-ID: <1431435110-22595-4-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1431435110-22595-1-git-send-email-lee.jones@linaro.org>
Supply top level nodes for the STiH416 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>
---
arch/arm/boot/dts/stih416.dtsi | 44 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi
index eeb7afe..9ead8bb 100644
--- a/arch/arm/boot/dts/stih416.dtsi
+++ b/arch/arm/boot/dts/stih416.dtsi
@@ -104,7 +104,7 @@
interrupts = <0 210 0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sbc_serial1>;
- clocks = <&clk_sysin>;
+ clocks = <&clk_sysin>;
};
i2c at fed40000 {
@@ -445,5 +445,47 @@
<&softreset STIH416_USB3_SOFTRESET>;
reset-names = "power", "softreset";
};
+
+ /* SAS PWM Module */
+ pwm0: pwm at fed10000 {
+ compatible = "st,sti-pwm";
+ status = "disabled";
+ #pwm-cells = <2>;
+ reg = <0xfed10000 0x68>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm0_chan0_default
+ &pinctrl_pwm0_chan1_default
+ &pinctrl_pwm0_chan2_default
+ &pinctrl_pwm0_chan3_default>;
+
+ clock-names = "pwm";
+ clocks = <&clk_sysin>;
+ st,pwm-num-chan = <4>;
+ };
+
+ /* SBC PWM Module */
+ pwm1: pwm at fe510000 {
+ compatible = "st,sti-pwm";
+ status = "disabled";
+ #pwm-cells = <2>;
+ reg = <0xfe510000 0x68>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm1_chan0_default
+ /*
+ * Shared with SBC_OBS_NOTRST. Don't
+ * enable unless you really know what
+ * you're doing.
+ *
+ * &pinctrl_pwm1_chan1_default
+ */
+ &pinctrl_pwm1_chan2_default
+ &pinctrl_pwm1_chan3_default>;
+
+ clock-names = "pwm";
+ clocks = <&clk_sysin>;
+ st,pwm-num-chan = <3>;
+ };
};
};
--
1.9.1
next prev parent reply other threads:[~2015-05-12 12:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 12:51 [PATCH 00/13] ARM: STi: Clear-up dangling patches Lee Jones
2015-05-12 12:51 ` [PATCH 01/13] ARM: STi: STiH407: Add DT nodes for for PWM Lee Jones
2015-05-12 12:51 ` [PATCH 02/13] ARM: STi: STiH416: Add Pinctrl settings " Lee Jones
2015-05-12 12:51 ` Lee Jones [this message]
2015-05-12 12:51 ` [PATCH 04/13] ARM: STi: STiH416-b2020e: Enable PWM on the B2020 Rev-E Lee Jones
2015-05-12 12:51 ` [PATCH 05/13] ARM: multi_v7_defconfig: Enable ST's PWM driver Lee Jones
2015-05-12 12:51 ` [PATCH 06/13] ARM: STi: STiH407: Add Restart support for Cannes Lee Jones
2015-05-12 12:51 ` [PATCH 07/13] ARM: STi: STiH416: Add Restart support for Orly2 Lee Jones
2015-05-12 12:51 ` [PATCH 08/13] ARM: multi_v7_defconfig: Enable ST's Power Reset driver Lee Jones
2015-05-12 12:51 ` [PATCH 09/13] ARM: STi: STiH416: Enable Cortex-A9 PMU support Lee Jones
2015-05-12 12:51 ` [PATCH 10/13] ARM: STi: STiH416: Enable PMU IRQs Lee Jones
2015-05-12 12:51 ` [PATCH 11/13] ARM: STi: STiH407: Enable Cortex-A9 PMU support Lee Jones
2015-05-12 12:51 ` [PATCH 12/13] ARM: STi: STiH407: Enable PMU IRQs Lee Jones
2015-05-12 12:51 ` [PATCH 13/13] ARM: STi: Ensure requested STi's SysCfg Controlled IRQs are enabled at boot Lee Jones
2015-05-13 9:27 ` [STLinux Kernel] [PATCH 00/13] ARM: STi: Clear-up dangling patches Maxime Coquelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1431435110-22595-4-git-send-email-lee.jones@linaro.org \
--to=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).