Browse Source

ARM: dts: sirf: add missed memcontrol-monitor node in prima2 and atlas6 dts

memcontrol-monitor provides the ability of monitoring the memory bandwidth.

Signed-off-by: Ye He <ye.he@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Ye He 12 years ago
parent
commit
5fadea2286
2 changed files with 16 additions and 2 deletions
  1. 8 1
      arch/arm/boot/dts/atlas6.dtsi
  2. 8 1
      arch/arm/boot/dts/prima2.dtsi

+ 8 - 1
arch/arm/boot/dts/atlas6.dtsi

@@ -75,10 +75,17 @@
 
 			memory-controller@90000000 {
 				compatible = "sirf,prima2-memc";
-				reg = <0x90000000 0x10000>;
+				reg = <0x90000000 0x2000>;
 				interrupts = <27>;
 				clocks = <&clks 5>;
 			};
+
+			memc-monitor {
+				compatible = "sirf,prima2-memcmon";
+				reg = <0x90002000 0x200>;
+				interrupts = <4>;
+				clocks = <&clks 32>;
+			};
 		};
 
 		disp-iobg {

+ 8 - 1
arch/arm/boot/dts/prima2.dtsi

@@ -86,10 +86,17 @@
 
 			memory-controller@90000000 {
 				compatible = "sirf,prima2-memc";
-				reg = <0x90000000 0x10000>;
+				reg = <0x90000000 0x2000>;
 				interrupts = <27>;
 				clocks = <&clks 5>;
 			};
+
+			memc-monitor {
+				compatible = "sirf,prima2-memcmon";
+				reg = <0x90002000 0x200>;
+				interrupts = <4>;
+				clocks = <&clks 32>;
+			};
 		};
 
 		disp-iobg {