OSDN Git Service

arm64: dts: renesas: eagle: add CAN-FD support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 26 Apr 2018 20:34:35 +0000 (23:34 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 16 May 2018 08:46:10 +0000 (10:46 +0200)
Define the Eagle 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>
Acked-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts

index b800a11..21f9cf5 100644 (file)
        };
 };
 
+&canfd {
+       pinctrl-0 = <&canfd0_pins>;
+       pinctrl-names = "default";
+       status = "okay";
+
+       channel0 {
+               status = "okay";
+       };
+};
+
 &extal_clk {
        clock-frequency = <16666666>;
 };
                function = "avb0";
        };
 
+       canfd0_pins: canfd0 {
+               groups = "canfd0_data_a";
+               function = "canfd0";
+       };
+
        i2c0_pins: i2c0 {
                groups = "i2c0";
                function = "i2c0";