]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: vf610: add FlexCAN node
authorStefan Agner <stefan@agner.ch>
Wed, 16 Jul 2014 06:08:49 +0000 (14:08 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 18 Jul 2014 08:49:47 +0000 (16:49 +0800)
Add FlexCAN node for the two FlexCAN IP instances in Vybrid.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/vf610.dtsi

index 6a6190ce23184a579edc441cd30240c6f128dd13..583dd363c9dc4e3c78a5f0c4a16bf20450998249 100644 (file)
@@ -14,6 +14,8 @@
 
 / {
        aliases {
+               can0 = &can0;
+               can1 = &can1;
                serial0 = &uart0;
                serial1 = &uart1;
                serial2 = &uart2;
                                        <&clks VF610_CLK_DMAMUX1>;
                        };
 
+                       can0: flexcan@40020000 {
+                               compatible = "fsl,vf610-flexcan";
+                               reg = <0x40020000 0x4000>;
+                               interrupts = <0 58 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clks VF610_CLK_FLEXCAN0>,
+                                        <&clks VF610_CLK_FLEXCAN0>;
+                               clock-names = "ipg", "per";
+                               status = "disabled";
+                       };
+
                        uart0: serial@40027000 {
                                compatible = "fsl,vf610-lpuart";
                                reg = <0x40027000 0x1000>;
                                clock-names = "ipg", "ahb", "ptp";
                                status = "disabled";
                        };
+
+                       can1: flexcan@400d4000 {
+                               compatible = "fsl,vf610-flexcan";
+                               reg = <0x400d4000 0x4000>;
+                               interrupts = <0 59 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clks VF610_CLK_FLEXCAN1>,
+                                        <&clks VF610_CLK_FLEXCAN1>;
+                               clock-names = "ipg", "per";
+                               status = "disabled";
+                       };
+
                };
        };
 };