提交 0036d85b 编写于 作者: C Claudiu Beznea 提交者: Alexandre Belloni

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: NClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 be6d90b1
...@@ -233,7 +233,9 @@ ...@@ -233,7 +233,9 @@
}; };
pwm0: pwm@f802c000 { pwm0: pwm@f802c000 {
status = "okay"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
status = "disabled"; /* conflict with leds */
}; };
flx0: flexcom@f8034000 { flx0: flexcom@f8034000 {
...@@ -503,6 +505,11 @@ ...@@ -503,6 +505,11 @@
bias-disable; bias-disable;
}; };
pinctrl_pwm0_pwm2_default: pwm0_pwm2_default {
pinmux = <PIN_PB5__PWMH2>,
<PIN_PB6__PWML2>;
bias-pull-up;
};
}; };
classd: classd@fc048000 { classd: classd@fc048000 {
...@@ -539,7 +546,7 @@ ...@@ -539,7 +546,7 @@
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_led_gpio_default>; pinctrl-0 = <&pinctrl_led_gpio_default>;
status = "okay"; status = "okay"; /* conflict with pwm0 */
red { red {
label = "red"; label = "red";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册