From 1dc614f15901e5e15cd97c4f5a849a7240c16100 Mon Sep 17 00:00:00 2001 From: Rohit Gupta Date: Mon, 16 May 2016 17:34:11 -0700 Subject: [PATCH] ARM: dts: Add BIMC bandwidth monitor node for msmcobalt Add cpu-bwmon device that monitors the traffic between CPU and DDR and raises an interrupt when the byte count crosses a threshold. Change-Id: Ib9b508591d28d22e7d5aa8f33d8d829d3378ccea Signed-off-by: Rohit Gupta --- arch/arm/boot/dts/qcom/msmcobalt.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/qcom/msmcobalt.dtsi b/arch/arm/boot/dts/qcom/msmcobalt.dtsi index 948e9890c5d0..52f0d3249859 100644 --- a/arch/arm/boot/dts/qcom/msmcobalt.dtsi +++ b/arch/arm/boot/dts/qcom/msmcobalt.dtsi @@ -505,6 +505,15 @@ < 13763 /* 1804 MHz */ >; }; + qcom,cpu-bwmon { + compatible = "qcom,bimc-bwmon3"; + reg = <0x01008000 0x300>, <0x01001000 0x200>; + reg-names = "base", "global_base"; + interrupts = <0 183 4>; + qcom,mport = <0>; + qcom,target-dev = <&cpubw>; + }; + mincpubw: qcom,mincpubw { compatible = "qcom,devbw"; governor = "powersave";