# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/realtek,rtl8152.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Realtek RTL8152/RTL8153 series USB ethernet

maintainers:
  - David Bauer <mail@david-bauer.net>

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - realtek,rtl8152
              - realtek,rtl8153

  reg:
    description: The device number on the USB bus

  realtek,led-data:
    description: Value to be written to the LED configuration register.

required:
  - compatible
  - reg

examples:
  - |
    usb-eth@2 {
      compatible = "realtek,rtl8153";
      reg = <2>;
      realtek,led-data = <0x87>;
    };