boards: nucleo_g0b1re: Enable FDCAN node
Enable FDCAN node on nucleo_g0b1re.
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
+ zephyr,canbus = &can1;
};
power-states {
@@ -183,6 +184,16 @@ zephyr_udc0: &usb {
pinctrl-names = "default";
};
+&can1 {
+ clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00001000>,
+ <&rcc STM32_SRC_PLL_Q FDCAN_SEL(1)>;
+ pinctrl-0 = <&fdcan1_rx_pa11 &fdcan1_tx_pa12>;
+ pinctrl-names = "default";
+ bus-speed = <125000>;
+ bus-speed-data = <1000000>;
+ status = "okay";
+};
+
&flash0 {
partitions {
compatible = "fixed-partitions";
