Skip to contentSkip to conversation

dt-bindings: net: convert nxp,lpc1850-dwmac.txt to yaml format

PATCH Applied Frank Li 2 participants 2 messages Jun 30, 2025 – Jul 2, 2025

Subsystems (4)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: net: convert nxp,lpc1850-dwmac.txt to yaml format

Convert nxp,lpc1850-dwmac.txt to yaml format.

Additional changes:
- compatible string add fallback as "nxp,lpc1850-dwmac", "snps,dwmac-3.611" "snps,dwmac".
- add common interrupts, interrupt-names, clocks, clock-names, resets and reset-names properties.
- add ref snps,dwmac.yaml.
- add phy-mode in example to avoid dt_binding_check warning.
- update examples to align lpc18xx.dtsi.

---
changes in v2
- add Rob's review tags.
- change phy-mode to rgmii-id according to Andrew's suggestions.

---
 .../bindings/net/nxp,lpc1850-dwmac.txt        | 20 -----
 .../bindings/net/nxp,lpc1850-dwmac.yaml       | 85 +++++++++++++++++++
 2 files changed, 85 insertions(+), 20 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.txt
 create mode 100644 Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.yaml
Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.txt deleted +0 -20
deleted file mode 100644
index 7edba1264f6f2..0000000000000
@@ -1,20 +0,0 @@
-* NXP LPC1850 GMAC ethernet controller
-
-This device is a platform glue layer for stmmac.
-Please see stmmac.txt for the other unchanged properties.
-
-Required properties:
- - compatible:  Should contain "nxp,lpc1850-dwmac"
-
-Examples:
-
-mac: ethernet@40010000 {
-	compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
-	reg = <0x40010000 0x2000>;
-	interrupts = <5>;
-	interrupt-names = "macirq";
-	clocks = <&ccu1 CLK_CPU_ETHERNET>;
-	clock-names = "stmmaceth";
-	resets = <&rgu 22>;
-	reset-names = "stmmaceth";
-}
Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.yaml new file +85 -0

85 lines not on this page · raw message

Signature · 1 line
2.34.1
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 11 lines · On Mon, 30 Jun 2025 12:16:12 -0400 you wrote:

Convert nxp,lpc1850-dwmac.txt to yaml format.

Additional changes:
- compatible string add fallback as "nxp,lpc1850-dwmac", "snps,dwmac-3.611" "snps,dwmac".
- add common interrupts, interrupt-names, clocks, clock-names, resets and reset-names properties.
- add ref snps,dwmac.yaml.
- add phy-mode in example to avoid dt_binding_check warning.
- update examples to align lpc18xx.dtsi.

Quoted 1 line

[...]

Here is the summary with links:
- [v2,1/1] dt-bindings: net: convert nxp,lpc1850-dwmac.txt to yaml format

    https://git.kernel.org/netdev/net-next/c/69fcb70c4334

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html