OSDN Git Service

ARM: dts: am4372: Add DCAN nodes
authorRoger Quadros <rogerq@ti.com>
Thu, 4 Sep 2014 12:36:03 +0000 (15:36 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 24 Nov 2014 15:55:53 +0000 (07:55 -0800)
The SoC contains 2 DCAN modules. Add them.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am4372.dtsi

index 42d791c..d42d786 100644 (file)
                        compatible = "mmio-sram";
                        reg = <0x40300000 0x40000>; /* 256k */
                };
+
+               dcan0: can@481cc000 {
+                       compatible = "ti,am4372-d_can", "ti,am3352-d_can";
+                       ti,hwmods = "d_can0";
+                       clocks = <&dcan0_fck>;
+                       clock-names = "fck";
+                       reg = <0x481cc000 0x2000>;
+                       syscon-raminit = <&am43xx_control_module 0x644 0>;
+                       interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+
+               dcan1: can@481d0000 {
+                       compatible = "ti,am4372-d_can", "ti,am3352-d_can";
+                       ti,hwmods = "d_can1";
+                       clocks = <&dcan1_fck>;
+                       clock-names = "fck";
+                       reg = <0x481d0000 0x2000>;
+                       syscon-raminit = <&am43xx_control_module 0x644 1>;
+                       interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
        };
 };