blob: be262b993cd5d4983f97ac848154ac3e64afbea6 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 3ee05f4aa64fc86af3be5bc176ba5808de9260a7 Mon Sep 17 00:00:00 2001
2From: David Bauer <mail@david-bauer.net>
3Date: Sun, 26 Jul 2020 15:30:33 +0200
4Subject: [PATCH] dt-bindings: net: add RTL8152 binding documentation
5
6Add binding documentation for the Realtek RTL8152 / RTL8153 USB ethernet
7adapters.
8
9Signed-off-by: David Bauer <mail@david-bauer.net>
10---
11 .../bindings/net/realtek,rtl8152.yaml | 36 +++++++++++++++++++
12 1 file changed, 36 insertions(+)
13 create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl8152.yaml
14
15--- /dev/null
16+++ b/Documentation/devicetree/bindings/net/realtek,rtl8152.yaml
17@@ -0,0 +1,36 @@
18+# SPDX-License-Identifier: GPL-2.0
19+%YAML 1.2
20+---
21+$id: http://devicetree.org/schemas/net/realtek,rtl8152.yaml#
22+$schema: http://devicetree.org/meta-schemas/core.yaml#
23+
24+title: Realtek RTL8152/RTL8153 series USB ethernet
25+
26+maintainers:
27+ - David Bauer <mail@david-bauer.net>
28+
29+properties:
30+ compatible:
31+ oneOf:
32+ - items:
33+ - enum:
34+ - realtek,rtl8152
35+ - realtek,rtl8153
36+
37+ reg:
38+ description: The device number on the USB bus
39+
40+ realtek,led-data:
41+ description: Value to be written to the LED configuration register.
42+
43+required:
44+ - compatible
45+ - reg
46+
47+examples:
48+ - |
49+ usb-eth@2 {
50+ compatible = "realtek,rtl8153";
51+ reg = <2>;
52+ realtek,led-data = <0x87>;
53+ };
54\ No newline at end of file