[PATCH 1/5] dt-bindings: add binding for fec-uio

From: Apeksha Gupta
Date: Wed Nov 10 2021 - 00:48:51 EST


binding 'fsl,fec-uio.yaml' represents the basic hardware
initialization which is performed in fec-uio via userspace
input/output to support FEC ethernet device detection in
user space.

Signed-off-by: Sachin Saxena <sachin.saxena@xxxxxxx>
Signed-off-by: Apeksha Gupta <apeksha.gupta@xxxxxxx>
---
.../devicetree/bindings/net/fsl,fec-uio.yaml | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/fsl,fec-uio.yaml

diff --git a/Documentation/devicetree/bindings/net/fsl,fec-uio.yaml b/Documentation/devicetree/bindings/net/fsl,fec-uio.yaml
new file mode 100644
index 000000000000..dd7477c0d213
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/fsl,fec-uio.yaml
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/fsl,fec-uio.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP Fast Ethernet Controller (FEC) with UIO
+
+maintainers:
+ - Apeksha Gupta <apeksha.gupta@xxxxxxx>
+ - Sachin Saxena <sachin.saxena@xxxxxxx>
+
+description:
+ This binding represents the basic hardware initialization which is
+ performed in fec-uio via userspace input/output, to support fec
+ ethernet device detection in user space.
+
+allOf:
+ - $ref: "fsl,fec.yaml#"
+
+properties:
+ compatible:
+ const: fsl,imx8mm-fec-uio
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
--
2.17.1