1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/microchip,lan95xx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: The device tree bindings for the USB Ethernet controllers
8
9maintainers:
10  - Oleksij Rempel <o.rempel@pengutronix.de>
11
12description: |
13  Device tree properties for hard wired SMSC95xx compatible USB Ethernet
14  controller.
15
16allOf:
17  - $ref: ethernet-controller.yaml#
18
19properties:
20  compatible:
21    items:
22      - enum:
23          - usb424,9500   # SMSC9500 USB Ethernet Device
24          - usb424,9505   # SMSC9505 USB Ethernet Device
25          - usb424,9530   # SMSC LAN9530 USB Ethernet Device
26          - usb424,9730   # SMSC LAN9730 USB Ethernet Device
27          - usb424,9900   # SMSC9500 USB Ethernet Device (SAL10)
28          - usb424,9901   # SMSC9505 USB Ethernet Device (SAL10)
29          - usb424,9902   # SMSC9500A USB Ethernet Device (SAL10)
30          - usb424,9903   # SMSC9505A USB Ethernet Device (SAL10)
31          - usb424,9904   # SMSC9512/9514 USB Hub & Ethernet Device (SAL10)
32          - usb424,9905   # SMSC9500A USB Ethernet Device (HAL)
33          - usb424,9906   # SMSC9505A USB Ethernet Device (HAL)
34          - usb424,9907   # SMSC9500 USB Ethernet Device (Alternate ID)
35          - usb424,9908   # SMSC9500A USB Ethernet Device (Alternate ID)
36          - usb424,9909   # SMSC9512/9514 USB Hub & Ethernet Devic.  ID)
37          - usb424,9e00   # SMSC9500A USB Ethernet Device
38          - usb424,9e01   # SMSC9505A USB Ethernet Device
39          - usb424,9e08   # SMSC LAN89530 USB Ethernet Device
40          - usb424,ec00   # SMSC9512/9514 USB Hub & Ethernet Device
41
42  reg: true
43  local-mac-address: true
44  mac-address: true
45
46required:
47  - compatible
48  - reg
49
50additionalProperties: false
51
52examples:
53  - |
54    usb {
55        #address-cells = <1>;
56        #size-cells = <0>;
57
58        ethernet@1 {
59            compatible = "usb424,9e00";
60            reg = <1>;
61            local-mac-address = [00 00 00 00 00 00];
62        };
63    };
64