-
Notifications
You must be signed in to change notification settings - Fork 8.1k
enable ethernet support on the stm32mp135f-dk #96134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
arnopo
wants to merge
11
commits into
zephyrproject-rtos:main
Choose a base branch
from
arnopo:mp13_eth
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+711
−6
Open
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b228fe1
arch: arm: mmu: introduce NORMAL and STRONGLY_ORDERED flags
arnopo d3468c1
arch: arm: mmu: allow to select the memory type for non-cacheable mem
arnopo 603fc55
manifest: update hal_stm32 revision to integrate ethernet on stm32mp13
arnopo 5a30dfd
dts: bindings: ethernet: Add the stm32mp13 bindings
arnopo 8193108
drivers: ethernet: add initial support of the LAN8742 PHY
arnopo a61c3c6
drivers: gpio: invert I2C config dependency for MCP23xxx
arnopo 41afe67
soc: st: stm32mp13: enable direct memory map
arnopo 31349e5
dts: arm :st: Add ethernet 0 node in stm32mp13
arnopo b15664c
drivers: ethernet: stm32: cleanup deprecated ETH_TxPacketConfig typedef
arnopo 9f79d6b
drivers: ethernet: stm32: add support of the stm32mp13
arnopo 80bd370
boards: st: stm32mp135f_dk: add ethernet nodes
arnopo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright (c) 2025 STMicroelectronics | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_ARM_MEM_H_ | ||
#define ZEPHYR_INCLUDE_ARCH_ARM_ARM_MEM_H_ | ||
|
||
/* | ||
* Define ARM specific memory flags used by k_mem_map_phys_bare() | ||
* followed public definitions in include/kernel/mm.h. | ||
*/ | ||
|
||
/** | ||
* @name optional region type attributes when K_MEM_CACHE_NONE is set | ||
* | ||
* Default is non cacheable device type | ||
* | ||
* @{ | ||
*/ | ||
|
||
/** Non-cacheable region will get device attribute allowing non aligned access */ | ||
#define K_MEM_ARM_DEVICE_NC 0 | ||
/** Non-cacheable region will get normal attribute allowing non aligned access */ | ||
#define K_MEM_ARM_NORMAL_NC BIT(30) | ||
/** Non-cacheable region will get strongly ordered attribute */ | ||
#define K_MEM_ARM_STRONGLY_ORDERED_NC BIT(31) | ||
/** Reserved bits for cache modes in k_map() flags argument */ | ||
#define K_MEM_ARM_NC_TYPE_MASK (BIT(31) | BIT(30)) | ||
|
||
/** @} */ | ||
|
||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ARM_MEM_H_ */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. -#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ARM_MEM_H_ */
+#endif /* ZEPHYR_INCLUDE_ARCH_ARM_ARM_MEM_H_ */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -250,7 +250,7 @@ manifest: | |
groups: | ||
- hal | ||
- name: hal_stm32 | ||
revision: d768bcbf9b6f75b46eff274b343a9556c0ce108d | ||
revision: b6f03b6efd92da4564b38df8cb54d7dad5f37163 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's drop this, as this was updated via other PRs |
||
path: modules/hal/stm32 | ||
groups: | ||
- hal | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title of the commit is also after the signature:
Signed-off-by: Arnaud Pouliquen [email protected]arch: arm: mmu: allow selecting memory type for non-cacheable memory