xref: /linux/Documentation/devicetree/bindings/net/nxp,lpc-eth.yaml (revision 8be4d31cb8aaeea27bde4b7ddb26e28a89062ebf)
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
7title: NXP LPC32xx SoC Ethernet Controller
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
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
29required:
30  - compatible
31  - reg
32  - interrupts
33
34allOf:
35  - $ref: ethernet-controller.yaml#
36
37unevaluatedProperties: false
38
39examples:
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    };
49