Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion boards/st/nucleo_u385rg_q/arduino_r3_connector.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@

arduino_i2c: &i2c1 {};

arduino_spi: &spi3 {};
arduino_spi: &spi1 {};

arduino_serial: &lpuart1 {};
21 changes: 14 additions & 7 deletions boards/st/nucleo_u385rg_q/nucleo_u385rg_q.dts
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@
};

&dac1 {
status = "okay";
pinctrl-0 = <&dac1_out1_pa4>;
pinctrl-names = "default";
status = "okay";
};

&fdcan1 {
Expand All @@ -168,18 +168,25 @@
status = "okay";
};

&i2c3 {
pinctrl-0 = <&i2c3_scl_pa7 &i2c3_sda_pc1>;
pinctrl-names = "default";
status = "okay";
};

&rng {
clocks = <&rcc STM32_CLOCK(AHB2, 18)>,
<&rcc STM32_SRC_MSIK RNG_SEL(1)>;
status = "okay";
};

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

/* Arduino D10 (SPI_NSS) is wired to PC9 which
* doesn't support hardware NSS; the software
* cs-gpios must be used instead.
*/
cs-gpios = <&gpioc 9 GPIO_ACTIVE_LOW>;
status = "okay";
};

&spi3 {
pinctrl-0 = <&spi3_nss_pa15 &spi3_sck_pb3
&spi3_miso_pb4 &spi3_mosi_pb5>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
*/

&i2c3 {
pinctrl-0 = <&i2c3_scl_pa7 &i2c3_sda_pc1>;
pinctrl-names = "default";
status = "okay";

eeprom0: eeprom@54 {
compatible = "zephyr,i2c-target-eeprom";
reg = <0x54>;
Expand All @@ -28,3 +32,7 @@
size = <256>;
};
};

&spi1 {
status = "disabled";
};