[PATCH 1/4] dt-bindings: can: fsl,flexcan: introduce nvmem property

From: Peng Fan (OSS)
Date: Wed Mar 23 2022 - 23:40:38 EST


From: Peng Fan <peng.fan@xxxxxxx>

To i.MX8MP variants, flexcan 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>
---
.../devicetree/bindings/net/can/fsl,flexcan.yaml | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
index e52db841bb8c..0f553fdf8cb2 100644
--- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
+++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
@@ -73,6 +73,15 @@ properties:
node then controller is assumed to be little endian. If this property is
present then controller is assumed to be big endian.

+ nvmem-cells:
+ maxItems: 1
+ description:
+ Nvmem data cell that indicate whether this IP is fused or not.
+
+ nvmem-cell-names:
+ items:
+ - const: fused
+
fsl,stop-mode:
description: |
Register bits of stop mode control.
--
2.35.1