ARM: shmobile: porter: add CAN0 DT support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 27 Oct 2015 21:03:22 +0000 (00:03 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 27 Oct 2015 22:37:36 +0000 (07:37 +0900)
Define the Porter board dependent part of the CAN0 device node.

This patch is  analogous to the commit 457acc4a6ce8 ("ARM: shmobile:
henninger: add CAN0 DT support") as there are no differences between the
boards in this respect.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-porter.dts

index 9f9ffe322d171aff33b2fde33fb6b59f67cff19e..3e198e7b3ee4aa6e7f80f289a7eb240322162165 100644 (file)
                renesas,groups = "vin0_data8", "vin0_clk";
                renesas,function = "vin0";
        };
+
+       can0_pins: can0 {
+               renesas,groups = "can0_data";
+               renesas,function = "can0";
+       };
 };
 
 &scif0 {
 &pciec {
        status = "okay";
 };
+
+&can0 {
+       pinctrl-0 = <&can0_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};