[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250826031044.563778-2-jchng@maxlinear.com>
Date: Tue, 26 Aug 2025 11:10:43 +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 v2 1/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 | 73 +++++++++++++++++++
1 file changed, 73 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..aa1c7d3609ab
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml
@@ -0,0 +1,73 @@
+# 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
+
+ '#address-cells':
+ const: 1
+ '#size-cells':
+ const: 0
+
+patternProperties:
+ "^interface@[1-4]$":
+ type: object
+ properties:
+ compatible:
+ const: mxl,lgm-mac
+
+ reg:
+ minimum: 1
+ maximum: 4
+
+ required:
+ - compatible
+ - reg
+
+required:
+ - compatible
+ - clocks
+ - clock-names
+ - '#address-cells'
+ - '#size-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ eth {
+ compatible = "mxl,lgm-eth";
+ clocks = <&cgu0 32>;
+ clock-names = "ethif";
+ resets = <&rcu0 0x70 8>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ mac: interface@1 {
+ compatible = "mxl,eth-mac";
+ reg = <1>;
+ };
+ };
--
2.34.1
Powered by blists - more mailing lists