summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-href-ab8500.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-02-03 14:57:22 +0100
committerLinus Walleij <linus.walleij@linaro.org>2014-02-04 20:50:29 +0100
commite2377c8107e33ac4ace7ec7ee86101d7c70fbbf9 (patch)
tree17d964986c81dfed2c43339f4e696d4ad68c16a9 /arch/arm/boot/dts/ste-href-ab8500.dtsi
parentfd385b33762620a48d098e0490b98782fe9d07a6 (diff)
ARM: ux500: move AB8500 PWM out settings to device tree
This moves the muxing and biasing of the AB8500 PWM output pins over to the device tree for affected platforms. Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-href-ab8500.dtsi')
-rw-r--r--arch/arm/boot/dts/ste-href-ab8500.dtsi18
1 files changed, 17 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ste-href-ab8500.dtsi b/arch/arm/boot/dts/ste-href-ab8500.dtsi
index 2b548e90878e..cdf2b3fd22dc 100644
--- a/arch/arm/boot/dts/ste-href-ab8500.dtsi
+++ b/arch/arm/boot/dts/ste-href-ab8500.dtsi
@@ -32,7 +32,8 @@
<&gpio42_default_mode>,
<&gpio26_default_mode>,
<&gpio35_default_mode>,
- <&ycbcr_default_mode>;
+ <&ycbcr_default_mode>,
+ <&pwm_default_mode>;
/*
* Pins 2, 4, 10, 11, 12, 13, 16, 24, 25, 36, 37, 38, 39 and 42
@@ -267,6 +268,21 @@
};
};
};
+ /* This sets up the PWM pins 14 and 15 */
+ pwm {
+ pwm_default_mode: pwm_default {
+ default_mux {
+ ste,function = "pwmout";
+ ste,pins = "pwmout1_d_1", "pwmout2_d_1";
+ };
+ default_cfg {
+ ste,pins = "GPIO14_F14",
+ "GPIO15_B17";
+ input-enable;
+ bias-pull-down;
+ };
+ };
+ };
};
};
};