boards: arm: stm32: add pinctrl state name for PWM peripheral
Add the pinctrl state name (default) for the PWM peripherals. Changes performed based on the script proposed in "boards: arm: stm32: add pinctrl state name for UART peripheral" Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
90b0e92540
commit
1d14517ede
55 changed files with 67 additions and 0 deletions
|
@ -152,6 +152,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
&tim4_ch2_pd13
|
||||
&tim4_ch3_pd14
|
||||
&tim4_ch4_pd15>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -164,6 +165,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
&tim5_ch2_pa1
|
||||
&tim5_ch3_pa2
|
||||
&tim5_ch4_pa3>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -155,6 +155,7 @@
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pb4 &tim3_ch3_pc8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -164,6 +165,7 @@
|
|||
pwm4: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim4_ch3_pd14 &tim4_ch4_pd15>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -173,6 +175,7 @@
|
|||
pwm9: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim9_ch1_pe5 &tim9_ch2_pe6>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -206,6 +206,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa15>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -98,6 +98,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -98,6 +98,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@
|
|||
pwm4: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim4_ch1_pb6 &tim4_ch2_pb7>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
pwm4: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim4_ch1_pb6 &tim4_ch2_pb7>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -213,6 +213,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa15>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -179,6 +179,7 @@
|
|||
|
||||
pwm3: pwm {
|
||||
pinctrl-0 = <&tim3_ch3_pb0>;
|
||||
pinctrl-names = "default";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -86,6 +86,7 @@
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pb4>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch2_pb3>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -110,6 +110,7 @@
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pwm_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -177,5 +177,6 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pe9>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -102,6 +102,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch2_pb3>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -104,6 +104,7 @@
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -149,6 +149,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa5>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -115,6 +115,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -115,6 +115,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch3_pe13>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -153,6 +153,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pe9>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -125,6 +125,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch3_pe13>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -125,6 +125,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch3_pe13>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -128,6 +128,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch3_pe13>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -107,6 +107,7 @@
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pa6>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -114,6 +114,7 @@ zephyr_udc0: &usb {
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pb4>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -123,6 +124,7 @@ zephyr_udc0: &usb {
|
|||
pwm15: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim15_ch1_pb14>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -122,6 +122,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa5>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -123,6 +123,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch3_pb10>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -132,6 +133,7 @@
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pb4>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
pwm12: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim12_ch1_pb14>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -116,6 +116,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm12: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim12_ch1_pb14>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
pwm12: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim12_ch1_pb14>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -116,6 +116,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm12: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim12_ch1_pb14>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -119,6 +119,7 @@
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pa6>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -105,6 +105,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -89,6 +89,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -149,6 +149,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch3_pb10>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -159,6 +160,7 @@
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pb4>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -111,6 +111,7 @@
|
|||
pinctrl-0 = <&tim1_ch1_pe9
|
||||
&tim1_ch2_pe11
|
||||
&tim1_ch3_pe13>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -120,6 +121,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -130,6 +132,7 @@
|
|||
pwm15: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim15_ch1_pb14>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -145,6 +145,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -144,6 +144,7 @@
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -152,6 +153,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa15>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -114,6 +114,7 @@
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pwm_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -140,6 +140,7 @@ zephyr_udc0: &usb {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pwm_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -107,6 +107,7 @@
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pwm_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -102,6 +102,7 @@
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pwm_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -196,6 +196,7 @@ zephyr_udc0: &usb {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -108,6 +108,7 @@
|
|||
&tim4_ch2_pd13
|
||||
&tim4_ch3_pd14
|
||||
&tim4_ch4_pd15>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -122,6 +122,7 @@ zephyr_udc0: &usbotg_fs {
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pb4>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -131,6 +131,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa0>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -120,5 +120,6 @@
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pwm_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -172,6 +172,7 @@ zephyr_udc0: &usb {
|
|||
pwm1: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim1_ch1_pwm_pa8>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch1_pa5>; /* CN1 D13 */
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -29,6 +30,7 @@
|
|||
pwm5: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim5_ch1_pa0>; /* CN3 D1 */
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -39,6 +41,7 @@
|
|||
pwm3: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim3_ch1_pa6>; /* CN1 D12 */
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -48,5 +51,6 @@
|
|||
pwm15: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim15_ch1_pa2>; /* CN1 D10 */
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue