]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: wheat: add CAN support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 29 Aug 2016 20:11:26 +0000 (23:11 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 5 Sep 2016 12:32:41 +0000 (14:32 +0200)
Define the Wheat board dependent part of the CAN0/1 device nodes...

Based  on the original (and large) patch 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/arm/boot/dts/r8a7792-wheat.dts

index e214d707f81d27509c7a8733968c38ae5d9d8f8a..65d13c83d4243d84a9ef170828279e6cb2e31752 100644 (file)
                        function = "lbsc";
                };
        };
+
+       can0_pins: can0 {
+               groups = "can0_data";
+               function = "can0";
+       };
+
+       can1_pins: can1 {
+               groups = "can1_data";
+               function = "can1";
+       };
 };
 
 &scif0 {
 
        status = "okay";
 };
+
+&can0 {
+       pinctrl-0 = <&can0_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
+&can1 {
+       pinctrl-0 = <&can1_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};