xref: /freebsd/sys/contrib/device-tree/Bindings/net/microchip,lan95xx.yaml (revision 1719886f6d08408b834d270c59ffcfd821c8f63a)
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: Microchip SMSC9500/LAN9530/LAN9730 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:
43    maxItems: 1
44
45  local-mac-address: true
46  mac-address: true
47
48required:
49  - compatible
50  - reg
51
52additionalProperties: false
53
54examples:
55  - |
56    usb {
57        #address-cells = <1>;
58        #size-cells = <0>;
59
60        ethernet@1 {
61            compatible = "usb424,9e00";
62            reg = <1>;
63            local-mac-address = [00 00 00 00 00 00];
64        };
65    };
66