OSDN Git Service

ARM: dts: Add generic interconnect target module node for MCAN
authorFaiz Abbas <faiz_abbas@ti.com>
Tue, 10 Jul 2018 11:05:30 +0000 (04:05 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 10 Jul 2018 11:05:30 +0000 (04:05 -0700)
The ti-sysc driver provides support for manipulating the idle modes
and interconnect level resets.

Add the generic interconnect target module node for MCAN to support
the same.

CC: Tony Lindgren <tony@atomide.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra76x.dtsi

index bfc8263..5157cc4 100644 (file)
 / {
        compatible = "ti,dra762", "ti,dra7";
 
+       ocp {
+               target-module@42c01900 {
+                       compatible = "ti,sysc-dra7-mcan", "ti,sysc";
+                       ranges = <0x0 0x42c00000 0x2000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       reg = <0x42c01900 0x4>,
+                             <0x42c01904 0x4>,
+                             <0x42c01908 0x4>;
+                       reg-names = "rev", "sysc", "syss";
+                       ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET |
+                                        SYSC_DRA7_MCAN_ENAWAKEUP)>;
+                       ti,syss-mask = <1>;
+                       clocks = <&wkupaon_clkctrl DRA7_ADC_CLKCTRL 0>;
+                       clock-names = "fck";
+               };
+       };
+
 };
 
 /* MCAN interrupts are hard-wired to irqs 67, 68 */