Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
602b033
drivers: pinctrl: stm32: initial version
gmarull Sep 6, 2021
3418388
boards: arm: stm32: enable pinctrl driver
gmarull Sep 30, 2021
b86a7b1
boards: arm: stm32: add pinctrl state name for UART peripheral
gmarull Sep 7, 2021
d6ae424
drivers: serial: stm32: use new pinctrl API
gmarull Sep 7, 2021
2ffbadf
boards: arm: stm32: add pinctrl state name for ADC peripheral
erwango Nov 5, 2021
55a2d58
drivers/adc: stm32: use new pinctrl API
erwango Nov 5, 2021
b56fc3b
boards: arm: stm32: add pinctrl state name for CAN peripheral
erwango Nov 5, 2021
acb5683
drivers/can: stm32: use new pinctrl API
erwango Nov 5, 2021
62bd0ad
boards: arm: stm32: add pinctrl state name for FDCAN peripheral
erwango Nov 5, 2021
403e809
drivers/fdcan: stm32: use new pinctrl API
erwango Nov 5, 2021
2144ae2
boards: arm: stm32: add pinctrl state name for DAC peripheral
erwango Nov 5, 2021
2779ec0
drivers/dac: stm32: use new pinctrl API
erwango Nov 5, 2021
27016a0
boards: arm: stm32: add pinctrl state name for SDMMC peripheral
erwango Nov 5, 2021
fc41758
drivers/disk: sdmmc: stm32: use new pinctrl API
erwango Nov 5, 2021
aa49d24
boards: arm: stm32: add pinctrl state name for ethernet peripheral
erwango Nov 5, 2021
9250198
drivers/ethernet: stm32_hal: use new pinctrl API
erwango Nov 5, 2021
159e1da
drivers/ethernet: dwmac_stm32h7x: use new pinctrl API
erwango Nov 8, 2021
b09b3ae
boards: arm: stm32: add pinctrl state name for QSPI peripheral
erwango Nov 8, 2021
3906916
drivers/flash: qspi stm32: use new pinctrl API
erwango Nov 8, 2021
14fdd06
boards: nucleo_f446ze: Remove QSPI node definition
erwango Nov 8, 2021
2595a3d
boards: arm: stm32: add pinctrl state name for I2C peripheral
erwango Nov 8, 2021
e6f956b
drivers/i2c: stm32: use new pinctrl API
erwango Nov 8, 2021
faabadf
boards: arm: stm32: add pinctrl state name for I2S peripheral
erwango Nov 8, 2021
4940c2b
drivers/i2s: stm32: use new pinctrl API
erwango Nov 8, 2021
8c647b4
boards: arm: stm32: add pinctrl state name for FMC peripheral
erwango Nov 8, 2021
0f1cb08
drivers/memc: stm32: use new pinctrl API
erwango Nov 8, 2021
f130cab
boards: arm: stm32: add pinctrl state name for SPI peripheral
erwango Nov 8, 2021
be58480
drivers/spi: stm32: use new pinctrl API
erwango Nov 8, 2021
245b7e8
boards: arm: stm32: add pinctrl state name for USB peripheral
erwango Nov 8, 2021
968d633
drivers/usb/device: stm32: use new pinctrl API
erwango Nov 8, 2021
838278f
boards: arm: stm32: add pinctrl state name for PWM peripheral
erwango Nov 8, 2021
189d9bf
drivers/pwm: stm32: use new pinctrl API
erwango Nov 8, 2021
e9d0e8b
boards: stm32: Remove use of CONFIG_PINMUX
erwango Nov 8, 2021
e795860
dts/bindings: stm32: Set pinctrl-[0/names] properties as required
erwango Nov 23, 2021
11c444f
dts/arm/st: mp1: Default node status should be "disabled"
erwango Nov 23, 2021
66f2139
boards: stm32l5: Refactor serial peripheral descriptions
erwango Nov 23, 2021
d9a1b82
boards: stm32: Fix incomplete nodes descriptions
erwango Nov 23, 2021
f59f1b3
samples/drivers: led_pca9633: Replace target stm32373c_eval
erwango Nov 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions boards/arm/96b_aerocore2/96b_aerocore2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -64,30 +64,35 @@

&usart1 {
pinctrl-0 = <&usart1_tx_pb6 &usart1_rx_pb7>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&usart2 {
pinctrl-0 = <&usart2_tx_pd5 &usart2_rx_pd6>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&usart3 {
pinctrl-0 = <&usart3_tx_pd8 &usart3_rx_pd9>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&uart7 {
pinctrl-0 = <&uart7_tx_pe8 &uart7_rx_pe7>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&uart8 {
pinctrl-0 = <&uart8_tx_pe1 &uart8_rx_pe0>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};
Expand All @@ -97,6 +102,7 @@
&spi1 {
pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pa5
&spi1_miso_pa6 &spi1_mosi_pa7>;
pinctrl-names = "default";
status = "okay";
};

Expand All @@ -105,11 +111,13 @@
&spi2 {
pinctrl-0 = <&spi2_nss_pb12 &spi2_sck_pb13
&spi2_miso_pb14 &spi2_mosi_pb15>;
pinctrl-names = "default";
status = "okay";
};

&spi3 {
pinctrl-0 = <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12>;
pinctrl-names = "default";
status = "okay";
};

Expand All @@ -118,17 +126,20 @@
&spi4 {
pinctrl-0 = <&spi4_nss_pe11 &spi4_sck_pe12
&spi4_miso_pe13 &spi4_mosi_pe14>;
pinctrl-names = "default";
status = "okay";
};

&i2c2 {
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};

zephyr_udc0: &usbotg_fs {
pinctrl-0 = <&usb_otg_fs_dm_pa11 &usb_otg_fs_dp_pa12>;
pinctrl-names = "default";
status = "okay";
};

Expand All @@ -141,6 +152,7 @@ zephyr_udc0: &usbotg_fs {
&tim4_ch2_pd13
&tim4_ch3_pd14
&tim4_ch4_pd15>;
pinctrl-names = "default";
};
};

Expand All @@ -153,12 +165,14 @@ zephyr_udc0: &usbotg_fs {
&tim5_ch2_pa1
&tim5_ch3_pa2
&tim5_ch4_pa3>;
pinctrl-names = "default";
};
};

&adc1 {
pinctrl-0 = <&adc1_in10_pc0 &adc1_in11_pc1
&adc1_in12_pc2 &adc1_in13_pc3>;
pinctrl-names = "default";
status = "okay";
};

Expand Down
6 changes: 3 additions & 3 deletions boards/arm/96b_aerocore2/96b_aerocore2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# enable pinmux
CONFIG_PINMUX=y

# enable GPIO
CONFIG_GPIO=y

# Enable Clocks
CONFIG_CLOCK_CONTROL=y

# enable pin controller
CONFIG_PINCTRL=y
7 changes: 7 additions & 0 deletions boards/arm/96b_argonkey/96b_argonkey.dts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

&usart1 {
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};
Expand All @@ -80,6 +81,7 @@
&spi1 {
pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pa5
&spi1_miso_pa6 &spi1_mosi_pa7>;
pinctrl-names = "default";
status = "okay";
};

Expand All @@ -88,6 +90,7 @@
&spi2 {
pinctrl-0 = <&spi2_nss_pb12 &spi2_sck_pb13
&spi2_miso_pb14 &spi2_mosi_pb15>;
pinctrl-names = "default";
status = "okay";

/* ST Microelectronics LSM6DSL accel/gyro sensor */
Expand All @@ -107,6 +110,7 @@
&i2s5 {
status = "okay";
pinctrl-0 = <&i2s5_ck_pb0 &i2s5_sd_pb8>;
pinctrl-names = "default";

mp34dt05@0 {
compatible = "st,mpxxdtyy";
Expand All @@ -117,12 +121,14 @@

&i2c1 {
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};

&i2c2 {
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb9>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;

Expand All @@ -148,6 +154,7 @@

&i2c3 {
pinctrl-0 = <&i2c3_scl_pa8 &i2c3_sda_pb4>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;

Expand Down
6 changes: 3 additions & 3 deletions boards/arm/96b_argonkey/96b_argonkey_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ CONFIG_HW_STACK_PROTECTION=y
# enable uart driver
CONFIG_SERIAL=y

# enable pinmux
CONFIG_PINMUX=y

# enable GPIO
CONFIG_GPIO=y

Expand All @@ -24,3 +21,6 @@ CONFIG_CLOCK_CONTROL=y
# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# enable pin controller
CONFIG_PINCTRL=y
2 changes: 2 additions & 0 deletions boards/arm/96b_avenger96/96b_avenger96.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@

&uart4 {
pinctrl-0 = <&uart4_tx_pd1 &uart4_rx_pb2>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&uart7 {
pinctrl-0 = <&uart7_tx_pe8 &uart7_rx_pe7>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};
6 changes: 3 additions & 3 deletions boards/arm/96b_avenger96/96b_avenger96_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y

# pin mux configuration
CONFIG_PINMUX=y

# clock configuration
CONFIG_CLOCK_CONTROL=y

Expand All @@ -27,3 +24,6 @@ CONFIG_RAM_CONSOLE_BUFFER_SIZE=1024

# uart console (overrides remote proc console)
CONFIG_UART_CONSOLE=n

# enable pin controller
CONFIG_PINCTRL=y
8 changes: 8 additions & 0 deletions boards/arm/96b_carbon/96b_carbon.dts
Original file line number Diff line number Diff line change
Expand Up @@ -77,30 +77,35 @@

&usart1 {
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&usart2 {
pinctrl-0 = <&usart2_tx_pa2 &usart2_rx_pa3>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&usart6 {
pinctrl-0 = <&usart6_tx_pc6 &usart6_rx_pc7>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&i2c1 {
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};

&i2c2 {
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb3>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};
Expand All @@ -110,6 +115,7 @@

pinctrl-0 = <&spi1_miso_pa6 &spi1_mosi_pa7
&spi1_sck_pa5 &spi1_nss_pa4>;
pinctrl-names = "default";

/* Nordic nRF51822-QFAC */
bt-hci@0 {
Expand All @@ -125,11 +131,13 @@
&spi2 {
pinctrl-0 = <&spi2_nss_pb12 &spi2_sck_pb13
&spi2_miso_pb14 &spi2_mosi_pb15>;
pinctrl-names = "default";
status = "okay";
};

zephyr_udc0: &usbotg_fs {
pinctrl-0 = <&usb_otg_fs_dm_pa11 &usb_otg_fs_dp_pa12>;
pinctrl-names = "default";
status = "okay";
};

Expand Down
6 changes: 3 additions & 3 deletions boards/arm/96b_carbon/96b_carbon_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# enable pinmux
CONFIG_PINMUX=y

# enable GPIO
CONFIG_GPIO=y

# Enable Clocks
CONFIG_CLOCK_CONTROL=y

# enable pin controller
CONFIG_PINCTRL=y
5 changes: 5 additions & 0 deletions boards/arm/96b_neonkey/96b_neonkey.dts
Original file line number Diff line number Diff line change
Expand Up @@ -78,24 +78,28 @@

&usart1 {
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
};

&i2c1 {
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};

&i2c2 {
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb3>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};

&i2c3 {
pinctrl-0 = <&i2c3_scl_pa8 &i2c3_sda_pb4>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;

Expand All @@ -109,6 +113,7 @@
&spi1 {
pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pa5
&spi1_miso_pa6 &spi1_mosi_pa7>;
pinctrl-names = "default";
status = "okay";
};

Expand Down
6 changes: 3 additions & 3 deletions boards/arm/96b_neonkey/96b_neonkey_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ CONFIG_HW_STACK_PROTECTION=y
# enable uart driver
CONFIG_SERIAL=y

# enable pinmux
CONFIG_PINMUX=y

# enable GPIO
CONFIG_GPIO=y

Expand All @@ -24,3 +21,6 @@ CONFIG_CLOCK_CONTROL=y
# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# enable pin controller
CONFIG_PINCTRL=y
Loading