diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2017-10-10 13:09:45 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-10-10 16:26:19 +0300 |
commit | 0036d85b5bdd67f1f2be8b59bca5044166555b4f (patch) | |
tree | 3d9518e5f66101befefe353a529a0bcea622c261 /arch/arm/boot/dts/at91-sama5d2_xplained.dts | |
parent | be6d90b132b7c89f4978ff6335dc5c930db58594 (diff) | |
download | linux-0036d85b5bdd67f1f2be8b59bca5044166555b4f.tar.xz |
ARM: dts: at91: sama5d2_xplained: add pinmuxing for pwm0
Add pin muxing for pwm0 and set it as disabled since it is in conflict
with pins for leds.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/at91-sama5d2_xplained.dts')
-rw-r--r-- | arch/arm/boot/dts/at91-sama5d2_xplained.dts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts index 69ca8573231c..7d385c868ffb 100644 --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts @@ -233,7 +233,9 @@ }; pwm0: pwm@f802c000 { - status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm0_pwm2_default>; + status = "disabled"; /* conflict with leds */ }; flx0: flexcom@f8034000 { @@ -503,6 +505,11 @@ bias-disable; }; + pinctrl_pwm0_pwm2_default: pwm0_pwm2_default { + pinmux = <PIN_PB5__PWMH2>, + <PIN_PB6__PWML2>; + bias-pull-up; + }; }; classd: classd@fc048000 { @@ -539,7 +546,7 @@ compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_led_gpio_default>; - status = "okay"; + status = "okay"; /* conflict with pwm0 */ red { label = "red"; |