Skip to content

Commit

Permalink
boards: st: add spi node in dts
Browse files Browse the repository at this point in the history
-enable spi peripheral in nucleo_c031c6

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
  • Loading branch information
djiatsaf-st committed Nov 15, 2024
1 parent bf08d89 commit 02a28e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions boards/st/nucleo_c031c6/nucleo_c031c6.dts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@
clock-frequency = <I2C_BITRATE_FAST>;
};

&spi1 {
pinctrl-0 = <&spi1_nss_pb0 &spi1_sck_pa5
&spi1_miso_pa6 &spi1_mosi_pa7>;
pinctrl-names = "default";
status = "okay";
};

&adc1 {
pinctrl-0 = <&adc1_in0_pa0 &adc1_in1_pa1 &adc1_in4_pa4>;
pinctrl-names = "default";
Expand Down

0 comments on commit 02a28e9

Please sign in to comment.