summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/nxp,lpc-eth.yaml
blob: dfe9446a537589816a0f8f10cc244c94721d10c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/nxp,lpc-eth.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP LPC32xx SoC Ethernet Controller

maintainers:
  - Frank Li <Frank.Li@nxp.com>

properties:
  compatible:
    const: nxp,lpc-eth

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  interrupts:
    maxItems: 1

  use-iram:
    $ref: /schemas/types.yaml#/definitions/flag
    description: Use LPC32xx internal SRAM (IRAM) for DMA buffering

required:
  - compatible
  - reg
  - interrupts

allOf:
  - $ref: ethernet-controller.yaml#

unevaluatedProperties: false

examples:
  - |
    ethernet@31060000 {
        compatible = "nxp,lpc-eth";
        reg = <0x31060000 0x1000>;
        interrupt-parent = <&mic>;
        interrupts = <29 0>;
        phy-mode = "rmii";
        use-iram;
    };