Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Microchip SMSC9500/LAN9530/LAN9730 USB Ethernet Controllers |
| 8 | |
| 9 | maintainers: |
| 10 | - Oleksij Rempel <o.rempel@pengutronix.de> |
| 11 | |
| 12 | description: | |
| 13 | Device tree properties for hard wired SMSC95xx compatible USB Ethernet |
| 14 | controller. |
| 15 | |
| 16 | allOf: |
| 17 | - $ref: ethernet-controller.yaml# |
| 18 | |
| 19 | properties: |
| 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 Device 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 | nvmem-cells: true |
| 48 | nvmem-cell-names: true |
| 49 | |
| 50 | required: |
| 51 | - compatible |
| 52 | - reg |
| 53 | |
| 54 | additionalProperties: false |
| 55 | |
| 56 | examples: |
| 57 | - | |
| 58 | usb { |
| 59 | #address-cells = <1>; |
| 60 | #size-cells = <0>; |
| 61 | |
| 62 | ethernet@1 { |
| 63 | compatible = "usb424,9e00"; |
| 64 | reg = <1>; |
| 65 | local-mac-address = [00 00 00 00 00 00]; |
| 66 | }; |
| 67 | }; |