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

(cherry picked from commit be7db19)

Original-Signed-off-by: Marc Desvaux <[email protected]>
GitOrigin-RevId: be7db19
Change-Id: I60233ec2b6372579a83b89948f1022ba9d35f199
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4672898
Tested-by: Tristan Honscheid <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Tristan Honscheid <[email protected]>
Reviewed-by: Tristan Honscheid <[email protected]>
  • Loading branch information
Desvauxm-st authored and Chromeos LUCI committed Jul 7, 2023
1 parent 47f4839 commit 6921f4d
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 6921f4d

Please sign in to comment.