Skip to content

Commit

Permalink
dts: arm: st: h5: add Ethernet
Browse files Browse the repository at this point in the history
add Ethernet for STMH563ZI

Signed-off-by: Marc Desvaux <[email protected]>
  • Loading branch information
Desvauxm-st authored and fabiobaltieri committed Jul 7, 2023
1 parent 0bfad25 commit be7db19
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
11 changes: 11 additions & 0 deletions dts/arm/st/h5/stm32h5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,17 @@
status = "disabled";
};

mac: ethernet@40028000 {
compatible = "st,stm32-ethernet";
reg = <0x40028000 0x8000>;
interrupts = <106 0>;
clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
clocks = <&rcc STM32_CLOCK_BUS_AHB1 0x00080000>,
<&rcc STM32_CLOCK_BUS_AHB1 0x00100000>,
<&rcc STM32_CLOCK_BUS_AHB1 0x00200000>;
status = "disabled";
};

gpdma1: dma@40020000 {
compatible = "st,stm32u5-dma";
#dma-cells = <3>;
Expand Down
18 changes: 16 additions & 2 deletions dts/arm/st/h5/stm32h563Xi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,22 @@
#include <st/h5/stm32h563.dtsi>

/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(640)>;
sram1: memory@20000000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x20000000 DT_SIZE_K(256)>;
zephyr,memory-region = "SRAM1";
};

sram2: memory@20040000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x20040000 DT_SIZE_K(64)>;
zephyr,memory-region = "SRAM2";
};

sram3: memory@20050000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x20050000 DT_SIZE_K(320)>;
zephyr,memory-region = "SRAM3";
};

soc {
Expand Down

0 comments on commit be7db19

Please sign in to comment.