diff options
author | Rabeeh Khoury <rabeeh@solid-run.com> | 2015-03-02 15:03:59 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-03-30 04:43:53 -0400 |
commit | ffbae6b719227662f3baca349d1e17ac7e652ec4 (patch) | |
tree | 5be5ce4548db03784514a23117f77bbcbdfaaa1a /arch/arm | |
parent | a931bbbc64f671340f98dfd3f74f3a2901a60cfc (diff) |
ARM: dts: hummingboard: Setup pwm lines
Setup pwm lines as follows -
pwm1: In case HummingBoard base carrier; this pin drives through a serial
capacitor the mono out of the audio jack.
In case HummingBoard pro the this pad can be reached by wiring to
C8 capacitors on the board.
pwm2: Setup pwm2 on gpio-1 but leave the default function of the iopad as
a gpio.
The user can change the io pad mux in user space and therefore use
this function on gpio-1 (pin number 7 on the 26 pin header).
pwm3,pwm4: unused
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
[tweaked alias for pwm pinctrl group --rmk]
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi index 93588c987d2c..7ee95223bf3d 100644 --- a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi +++ b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | |||
@@ -164,6 +164,10 @@ | |||
164 | >; | 164 | >; |
165 | }; | 165 | }; |
166 | 166 | ||
167 | pinctrl_hummingboard_pwm1: pwm1grp { | ||
168 | fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>; | ||
169 | }; | ||
170 | |||
167 | pinctrl_hummingboard_spdif: hummingboard-spdif { | 171 | pinctrl_hummingboard_spdif: hummingboard-spdif { |
168 | fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>; | 172 | fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>; |
169 | }; | 173 | }; |
@@ -203,6 +207,17 @@ | |||
203 | }; | 207 | }; |
204 | }; | 208 | }; |
205 | 209 | ||
210 | &pwm1 { | ||
211 | pinctrl-names = "default"; | ||
212 | pinctrl-0 = <&pinctrl_hummingboard_pwm1>; | ||
213 | status = "okay"; | ||
214 | }; | ||
215 | |||
216 | &pwm2 { | ||
217 | pinctrl-names = "default"; | ||
218 | status = "okay"; | ||
219 | }; | ||
220 | |||
206 | &spdif { | 221 | &spdif { |
207 | pinctrl-names = "default"; | 222 | pinctrl-names = "default"; |
208 | pinctrl-0 = <&pinctrl_hummingboard_spdif>; | 223 | pinctrl-0 = <&pinctrl_hummingboard_spdif>; |