diff mbox

[V2,08/12] dtb: amd: Add PERF CCN-504 device tree node

Message ID 1454954357-8395-9-git-send-email-Suravee.Suthikulpanit@amd.com (mailing list archive)
State New, archived
Headers show

Commit Message

Suthikulpanit, Suravee Feb. 8, 2016, 5:59 p.m. UTC
From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>

Add PERF CCN-504 device tree node.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
---
 arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Arnd Bergmann Feb. 9, 2016, 2:58 p.m. UTC | #1
On Monday 08 February 2016 11:59:13 Suravee Suthikulpanit wrote:
> +               /* Perf CCN504 PMU */
> +               ccn: ccn@0xe8000000 {
> 

The address is wrong, please remove the '0x'.

	Arnd
Suthikulpanit, Suravee Feb. 9, 2016, 11:35 p.m. UTC | #2
On 02/09/2016 08:58 AM, Arnd Bergmann wrote:
> On Monday 08 February 2016 11:59:13 Suravee Suthikulpanit wrote:
>> +               /* Perf CCN504 PMU */
>> +               ccn: ccn@0xe8000000 {
>>
>
> The address is wrong, please remove the '0x'.
>
> 	Arnd
>

Right, thanks for catching this.

Suravee
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi
index ba455d1..c5461b2 100644
--- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi
+++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi
@@ -229,5 +229,12 @@ 
 				/* 64-bit MMIO (size= 124G) */
 				<0x03000000 0x01 0x00000000 0x01 0x00000000 0x7f 0x00000000>;
 		};
+
+		/* Perf CCN504 PMU */
+		ccn: ccn@0xe8000000 {
+			compatible = "arm,ccn-504";
+			reg = <0x0 0xe8000000 0 0x1000000>;
+			interrupts = <0 380 4>;
+		};
 	};
 };