[PATCH V4 3/6] dt-bindings: can: flexcan: add fsl,scu-index property to indicate a resource
From: Joakim Zhang
Date: Wed Oct 21 2020 - 01:24:15 EST
For SoCs with SCU support, need setup stop mode via SCU firmware,
so this property can help indicate a resource in SCU firmware.
Signed-off-by: Joakim Zhang <qiangqing.zhang@xxxxxxx>
---
Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
index 6af67f5e581c..38a7da4fef3f 100644
--- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
+++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
@@ -43,6 +43,11 @@ Optional properties:
0: clock source 0 (oscillator clock)
1: clock source 1 (peripheral clock)
+- fsl,scu-index: The scu index of CAN instance.
+ For SoCs with SCU support, need setup stop mode via SCU firmware,
+ so this property can help indicate a resource. It supports up to
+ 3 CAN instances now, so the value should be 0, 1, or 2.
+
- wakeup-source: enable CAN remote wakeup
Example:
@@ -54,4 +59,5 @@ Example:
interrupt-parent = <&mpic>;
clock-frequency = <200000000>; // filled in by bootloader
fsl,clk-source = /bits/ 8 <0>; // select clock source 0 for PE
+ fsl,scu-index = /bits/ 8 <1>; // the second CAN instance
};
--
2.17.1