From 4628d8bed62642c72e74a86f5080a8af2f5749f9 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Tue, 9 Nov 2021 19:19:24 +0100 Subject: [PATCH 1/2] Updating STM32H7 ETH_MAC MMC mask register writable --- devices/common_patches/h7_ethernet_mac.yaml | 10 ++++++++++ devices/stm32h735.yaml | 1 + devices/stm32h743.yaml | 1 + devices/stm32h743v.yaml | 1 + devices/stm32h747cm4.yaml | 1 + devices/stm32h747cm7.yaml | 1 + devices/stm32h753.yaml | 1 + devices/stm32h753v.yaml | 1 + devices/stm32h7b3.yaml | 1 + 9 files changed, 18 insertions(+) create mode 100644 devices/common_patches/h7_ethernet_mac.yaml diff --git a/devices/common_patches/h7_ethernet_mac.yaml b/devices/common_patches/h7_ethernet_mac.yaml new file mode 100644 index 000000000..28ef263ea --- /dev/null +++ b/devices/common_patches/h7_ethernet_mac.yaml @@ -0,0 +1,10 @@ +Ethernet_MAC: + MMC_TX_INTERRUPT_MASK: + _modify: + TXLPITRCIM: + access: read-write + + MMC_RX_INTERRUPT_MASK: + _modify: + RXLPITRCIM: + access: read-write diff --git a/devices/stm32h735.yaml b/devices/stm32h735.yaml index 77087612d..354ccb833 100644 --- a/devices/stm32h735.yaml +++ b/devices/stm32h735.yaml @@ -557,3 +557,4 @@ _include: - ../peripherals/rtc/rtc_h7.yaml - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml + - common_patches/h7_ethernet_mac.yaml diff --git a/devices/stm32h743.yaml b/devices/stm32h743.yaml index adf3b8c0c..27408546b 100644 --- a/devices/stm32h743.yaml +++ b/devices/stm32h743.yaml @@ -94,3 +94,4 @@ _include: - ../peripherals/rtc/rtc_h7.yaml - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml + - common_patches/h7_ethernet_mac.yaml diff --git a/devices/stm32h743v.yaml b/devices/stm32h743v.yaml index 0600c4840..f4f439b8f 100644 --- a/devices/stm32h743v.yaml +++ b/devices/stm32h743v.yaml @@ -96,3 +96,4 @@ _include: - ../peripherals/rtc/rtc_h7.yaml - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml + - common_patches/h7_ethernet_mac.yaml diff --git a/devices/stm32h747cm4.yaml b/devices/stm32h747cm4.yaml index f696d65a8..86c24f60f 100644 --- a/devices/stm32h747cm4.yaml +++ b/devices/stm32h747cm4.yaml @@ -95,3 +95,4 @@ _include: - ../peripherals/sai/sai.yaml - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml + - common_patches/h7_ethernet_mac.yaml diff --git a/devices/stm32h747cm7.yaml b/devices/stm32h747cm7.yaml index d4073c0fb..c2980990c 100644 --- a/devices/stm32h747cm7.yaml +++ b/devices/stm32h747cm7.yaml @@ -100,3 +100,4 @@ _include: - ../peripherals/rtc/rtc_h7.yaml - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml + - common_patches/h7_ethernet_mac.yaml diff --git a/devices/stm32h753.yaml b/devices/stm32h753.yaml index 5f447b27a..0c96488a3 100644 --- a/devices/stm32h753.yaml +++ b/devices/stm32h753.yaml @@ -104,3 +104,4 @@ _include: - ../peripherals/rtc/rtc_h7.yaml - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml + - common_patches/h7_ethernet_mac.yaml diff --git a/devices/stm32h753v.yaml b/devices/stm32h753v.yaml index 05d03dcf6..738094ccf 100644 --- a/devices/stm32h753v.yaml +++ b/devices/stm32h753v.yaml @@ -106,3 +106,4 @@ _include: - ../peripherals/rtc/rtc_h7.yaml - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml + - common_patches/h7_ethernet_mac.yaml diff --git a/devices/stm32h7b3.yaml b/devices/stm32h7b3.yaml index ff8a70e6e..f0d5eb25c 100644 --- a/devices/stm32h7b3.yaml +++ b/devices/stm32h7b3.yaml @@ -150,3 +150,4 @@ _include: - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml - common_patches/h7b3_dfsdm.yaml + - common_patches/h7_ethernet_mac.yaml From d9e2d00840612ac238c4504716aea9d857ec46e1 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Wed, 10 Nov 2021 09:28:18 +0100 Subject: [PATCH 2/2] Removing ethernet patches from B3 variant --- devices/stm32h7b3.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/devices/stm32h7b3.yaml b/devices/stm32h7b3.yaml index f0d5eb25c..ff8a70e6e 100644 --- a/devices/stm32h7b3.yaml +++ b/devices/stm32h7b3.yaml @@ -150,4 +150,3 @@ _include: - common_patches/h7_crc_addr_fix.yaml - common_patches/h7_wwdg.yaml - common_patches/h7b3_dfsdm.yaml - - common_patches/h7_ethernet_mac.yaml