]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: renesas: condor: add CAN-FD support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 27 Apr 2018 19:14:26 +0000 (22:14 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 16 May 2018 08:46:11 +0000 (10:46 +0200)
Define the Condor board dependent part of the CAN-FD device node.

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77980-condor.dts

index b8df7604decef0eb5e628847c89745c7d4946d70..0b93a7d765859a1feb539350d7790cc7d5a0b918 100644 (file)
        };
 };
 
+&canfd {
+       pinctrl-0 = <&canfd0_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+
+       channel0 {
+               status = "okay";
+       };
+};
+
 &extal_clk {
        clock-frequency = <16666666>;
 };
                function = "avb";
        };
 
+       canfd0_pins: canfd0 {
+               groups = "canfd0_data_a";
+               function = "canfd0";
+       };
+
        mmc_pins: mmc {
                groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
                function = "mmc";