From: Radu Pirea <[email protected]> Add optional support for the two clock inputs used by the LINFlexD UART controller: - "lin": LIN_BAUD_CLK - "ipg": LINFLEXD_CLK
The clock inputs are kept optional to maintain compatibility with the S32V234 platform. Signed-off-by: Radu Pirea <[email protected]> Co-developed-by: Larisa Grigore <[email protected]> Signed-off-by: Larisa Grigore <[email protected]> --- .../bindings/serial/fsl,s32-linflexuart.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml index 4171f524a928..885f0b1b3492 100644 --- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml +++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml @@ -34,6 +34,14 @@ properties: interrupts: maxItems: 1 + clocks: + maxItems: 2 + + clock-names: + items: + - const: lin + - const: ipg + required: - compatible - reg @@ -48,3 +56,13 @@ examples: reg = <0x40053000 0x1000>; interrupts = <0 59 4>; }; + + - | + serial@401c8000 { + compatible = "nxp,s32g2-linflexuart", + "fsl,s32v234-linflexuart"; + reg = <0x401C8000 0x3000>; + interrupts = <0 82 1>; + clocks = <&clks 14>, <&clks 13>; + clock-names = "lin", "ipg"; + }; -- 2.47.0
