Эх сурвалжийг харах

arm64: Update the APM X-Gene EDAC node with the RB register resource

Add the RB register resource as requires with the updated driver.

Signed-off-by: Loc Ho <lho@apm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: devicetree@vger.kernel.org
Cc: Duc Dang <dhdang@apm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: mchehab@osg.samsung.com
Cc: patches@apm.com
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/1453495625-28006-4-git-send-email-lho@apm.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Loc Ho 9 жил өмнө
parent
commit
f5793c9708

+ 6 - 0
arch/arm64/boot/dts/apm/apm-storm.dtsi

@@ -493,6 +493,11 @@
 			reg = <0x0 0x1054a000 0x0 0x20>;
 			reg = <0x0 0x1054a000 0x0 0x20>;
 		};
 		};
 
 
+		rb: rb@7e000000 {
+			compatible = "apm,xgene-rb", "syscon";
+			reg = <0x0 0x7e000000 0x0 0x10>;
+		};
+
 		edac@78800000 {
 		edac@78800000 {
 			compatible = "apm,xgene-edac";
 			compatible = "apm,xgene-edac";
 			#address-cells = <2>;
 			#address-cells = <2>;
@@ -502,6 +507,7 @@
 			regmap-mcba = <&mcba>;
 			regmap-mcba = <&mcba>;
 			regmap-mcbb = <&mcbb>;
 			regmap-mcbb = <&mcbb>;
 			regmap-efuse = <&efuse>;
 			regmap-efuse = <&efuse>;
+			regmap-rb = <&rb>;
 			reg = <0x0 0x78800000 0x0 0x100>;
 			reg = <0x0 0x78800000 0x0 0x100>;
 			interrupts = <0x0 0x20 0x4>,
 			interrupts = <0x0 0x20 0x4>,
 				     <0x0 0x21 0x4>,
 				     <0x0 0x21 0x4>,