[PATCH 4/4] dt-bindings: net: imx-dwmac: introduce nvmem property

From: Peng Fan (OSS)
Date: Wed Mar 23 2022 - 23:41:16 EST


From: Peng Fan <peng.fan@xxxxxxx>

To i.MX8M Family variants, dwmac maybe fused out. Bootloader could use
this property to read out the fuse value and mark the node status
at runtime.

Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
---
Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
index 011363166789..911e510d14c6 100644
--- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
+++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
@@ -62,6 +62,15 @@ properties:
Should be phandle/offset pair. The phandle to the syscon node which
encompases the GPR register, and the offset of the GPR register.

+ nvmem-cells:
+ maxItems: 1
+ description:
+ Nvmem data cell that indicate whether this IP is fused or not.
+
+ nvmem-cell-names:
+ items:
+ - const: fused
+
snps,rmii_refclk_ext:
$ref: /schemas/types.yaml#/definitions/flag
description:
--
2.35.1