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 4777a609ff81fff18feb8394e421bcd12d2fb9e4..eeffba870211af8cdbc98ed635d4c2558bfa1316 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";
+};
This page took 0.025483 seconds and 5 git commands to generate.