[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250822090809.1464232-3-jchng@maxlinear.com>
Date: Fri, 22 Aug 2025 17:08:09 +0800
From: Jack Ping CHNG <jchng@...linear.com>
To: <netdev@...r.kernel.org>, <devicetree@...r.kernel.org>
CC: <davem@...emloft.net>, <andrew+netdev@...n.ch>, <edumazet@...gle.com>,
<kuba@...nel.org>, <pabeni@...hat.com>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <yzhu@...linear.com>,
<sureshnagaraj@...linear.com>, Jack Ping CHNG <jchng@...linear.com>
Subject: [PATCH net-next 2/2] dt-bindings: net: mxl: Add MxL LGM Network Processor SoC
Introduce device-tree binding documentation for
MaxLinear LGM Network Processor
Signed-off-by: Jack Ping CHNG <jchng@...linear.com>
---
.../devicetree/bindings/net/mxl,lgm-eth.yaml | 59 +++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml
diff --git a/Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml b/Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml
new file mode 100644
index 000000000000..3d5b32b5b650
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml
@@ -0,0 +1,59 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/net/mxl,lgm-eth.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: MaxLinear LGM Ethernet Controller
+
+maintainers:
+ - Jack Ping Chng <jchng@...linear.com>
+
+description:
+ Binding for MaxLinear LGM Ethernet controller
+
+properties:
+ compatible:
+ enum:
+ - mxl,lgm-eth
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ items:
+ - const: ethif
+
+ resets:
+ maxItems: 1
+
+patternProperties:
+ "^interface$":
+ type: object
+ properties:
+ compatible:
+ enum:
+ - mxl,lgm-mac
+ required:
+ - compatible
+ additionalProperties: false
+
+required:
+ - compatible
+ - clocks
+ - clock-names
+
+additionalProperties: false
+
+examples:
+ - |
+ eth {
+ compatible = "mxl,lgm-eth";
+ clocks = <&cgu0 32>;
+ clock-names = "ethif";
+ resets = <&rcu0 0x70 8>;
+
+ interface {
+ compatible = "mxl,lgm-mac";
+ };
+ };
--
2.34.1
Powered by blists - more mailing lists