OSDN Git Service

ARM: dts: blanche: add CAN0 support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 14 Jul 2016 20:21:15 +0000 (23:21 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 8 Aug 2016 10:53:04 +0000 (12:53 +0200)
Define the Blanche board dependent part of the CAN0 device node along with
the CAN_CLK crystal.

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

index 4777a60..eeffba8 100644 (file)
        clock-frequency = <20000000>;
 };
 
+&can_clk {
+       clock-frequency = <48000000>;
+};
+
 &pfc {
        scif0_pins: scif0 {
                groups = "scif0_data";
                        function = "lbsc";
                };
        };
+
+       can0_pins: can0 {
+               groups = "can0_data", "can_clk";
+               function = "can0";
+       };
 };
 
 &scif0 {
 
        status = "okay";
 };
+
+&can0 {
+       pinctrl-0 = <&can0_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};