arm64: dts: renesas: falcon: Enable CANFD 0 and 1
authorUlrich Hecht <uli+renesas@fpond.eu>
Wed, 9 Mar 2022 16:26:08 +0000 (17:26 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 Apr 2022 09:06:56 +0000 (11:06 +0200)
Enables confirmed-working CAN interfaces 0 and 1 on the Falcon board.

Signed-off-by: Ulrich Hecht <uli+renesas@fpond.eu>
Link: https://lore.kernel.org/r/20220309162609.3726306-4-uli+renesas@fpond.eu
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts

index e46dc9aa0a43a60f72f94cf910adc0a4ee19ac78..b2e67b82caf6ec3402071c1e3ce849c57d813533 100644 (file)
        };
 };
 
+&canfd {
+       pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+
+       channel0 {
+               status = "okay";
+       };
+
+       channel1 {
+               status = "okay";
+       };
+};
+
 &i2c0 {
        eeprom@51 {
                compatible = "rohm,br24g01", "atmel,24c01";
                };
 
        };
+
+       canfd0_pins: canfd0 {
+               groups = "canfd0_data";
+               function = "canfd0";
+       };
+
+       canfd1_pins: canfd1 {
+               groups = "canfd1_data";
+               function = "canfd1";
+       };
 };