Skip to content

Commit cb70b1b

Browse files
nxpfranklikuba-moo
authored andcommitted
dt-bindings: net: convert lpc-eth.txt yaml format
Convert lpc-eth.txt yaml format. Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20250624202028.2516257-1-Frank.Li@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 82b6eef commit cb70b1b

File tree

2 files changed

+48
-28
lines changed

2 files changed

+48
-28
lines changed

Documentation/devicetree/bindings/net/lpc-eth.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/nxp,lpc-eth.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NXP LPC32xx SoC Ethernet Controller
8+
9+
maintainers:
10+
- Frank Li <Frank.Li@nxp.com>
11+
12+
properties:
13+
compatible:
14+
const: nxp,lpc-eth
15+
16+
reg:
17+
maxItems: 1
18+
19+
clocks:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
use-iram:
26+
$ref: /schemas/types.yaml#/definitions/flag
27+
description: Use LPC32xx internal SRAM (IRAM) for DMA buffering
28+
29+
required:
30+
- compatible
31+
- reg
32+
- interrupts
33+
34+
allOf:
35+
- $ref: ethernet-controller.yaml#
36+
37+
unevaluatedProperties: false
38+
39+
examples:
40+
- |
41+
ethernet@31060000 {
42+
compatible = "nxp,lpc-eth";
43+
reg = <0x31060000 0x1000>;
44+
interrupt-parent = <&mic>;
45+
interrupts = <29 0>;
46+
phy-mode = "rmii";
47+
use-iram;
48+
};

0 commit comments

Comments
 (0)