diff options
author | Chen-Yu Tsai <wens@csie.org> | 2015-09-18 09:35:37 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-09-27 10:21:28 +0200 |
commit | 29a0d085b759ef7c1d63918c4dd04daec3860a12 (patch) | |
tree | 0db682e759ca63bff1cede35f51167bf2c1ee079 /arch | |
parent | ARM: dts: sun8i: Add PWM controller node for A23/A33 (diff) | |
download | linux-29a0d085b759ef7c1d63918c4dd04daec3860a12.tar.xz linux-29a0d085b759ef7c1d63918c4dd04daec3860a12.zip |
ARM: dts: sun8i: Add PWM channel 0 pinmux setting for A23/A33
The PWM controller has 2 outputs, with one usable pin for each.
Add a pinmux setting for the first channel. This is often used
for backlight dimming on tablets.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/sun8i-a23-a33.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi index e7054304018a..8f4db82084c5 100644 --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi @@ -412,6 +412,13 @@ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; }; + pwm0_pins: pwm0 { + allwinner,pins = "PH0"; + allwinner,function = "pwm0"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + }; + i2c0_pins_a: i2c0@0 { allwinner,pins = "PH2", "PH3"; allwinner,function = "i2c0"; |