arm64: dts: renesas: falcon: Describe CAN clock
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 31 Jan 2023 11:32:33 +0000 (12:32 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 6 Mar 2023 09:48:27 +0000 (10:48 +0100)
Describe the 40 MHz Crystal Clock Oscillator providing CAN_CLK.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/0bf36a1708ad87c00455b96ebaacc63fb7305b7a.1675164686.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts

index b2e67b82caf6ec3402071c1e3ce849c57d813533..63db822e5f4662b659786568cd2288c1c331e18f 100644 (file)
        };
 };
 
+&can_clk {
+       clock-frequency = <40000000>;
+};
+
 &canfd {
-       pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>;
+       pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>, <&can_clk_pins>;
        pinctrl-names = "default";
        status = "okay";
 
 
        };
 
+       can_clk_pins: can-clk {
+               groups = "can_clk";
+               function = "can_clk";
+       };
+
        canfd0_pins: canfd0 {
                groups = "canfd0_data";
                function = "canfd0";