summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun5i.dtsi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-10-11 11:55:06 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-12 15:51:09 +0200
commitbb390193060fd35045919681153b057b75f61426 (patch)
tree6b5ceea069584f9d6154958bd089a2ebad1912c3 /arch/arm/boot/dts/sun5i.dtsi
parent51763bd73ded2e95c5b8a65ed676df9cc5d735ff (diff)
downloadlwn-bb390193060fd35045919681153b057b75f61426.tar.gz
lwn-bb390193060fd35045919681153b057b75f61426.zip
ARM: dts: sun5i: Add PWM channel 0 pinmux setting for A13/A10s
Add a pinmux setting for the first pwm channel. This is often used for backlight dimming on tablets. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun5i.dtsi')
-rw-r--r--arch/arm/boot/dts/sun5i.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi
index 7d355e52efe2..9ffee9bb70a7 100644
--- a/arch/arm/boot/dts/sun5i.dtsi
+++ b/arch/arm/boot/dts/sun5i.dtsi
@@ -543,6 +543,13 @@
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+
+ pwm0_pins: pwm0 {
+ allwinner,pins = "PB2";
+ allwinner,function = "pwm";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
};
timer@01c20c00 {