Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm: socfpga: dts: Add Arria10 SDRAM EDAC DTS support

Add support for the Arria10 SDRAM EDAC. Update the bindings document for
the new match string.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@opensource.altera.com
Cc: galak@codeaurora.org
Cc: grant.likely@linaro.org
Cc: ijc+devicetree@hellion.org.uk
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: m.chehab@samsung.com
Cc: mark.rutland@arm.com
Cc: pawel.moll@arm.com
Cc: robh+dt@kernel.org
Cc: tthayer.linux@gmail.com
Link: http://lkml.kernel.org/r/1433428128-7292-5-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>

authored by

Thor Thayer and committed by
Borislav Petkov
54b4a8f5 73bcc942

+12 -1
+1 -1
Documentation/devicetree/bindings/arm/altera/socfpga-sdram-edac.txt
··· 2 2 The EDAC accesses a range of registers in the SDRAM controller. 3 3 4 4 Required properties: 5 - - compatible : should contain "altr,sdram-edac"; 5 + - compatible : should contain "altr,sdram-edac" or "altr,sdram-edac-a10" 6 6 - altr,sdr-syscon : phandle of the sdr module 7 7 - interrupts : Should contain the SDRAM ECC IRQ in the 8 8 appropriate format for the IRQ controller.
+11
arch/arm/boot/dts/socfpga_arria10.dtsi
··· 253 253 status = "disabled"; 254 254 }; 255 255 256 + sdr: sdr@ffc25000 { 257 + compatible = "syscon"; 258 + reg = <0xffcfb100 0x80>; 259 + }; 260 + 261 + sdramedac { 262 + compatible = "altr,sdram-edac-a10"; 263 + altr,sdr-syscon = <&sdr>; 264 + interrupts = <0 2 4>, <0 0 4>; 265 + }; 266 + 256 267 L2: l2-cache@fffff000 { 257 268 compatible = "arm,pl310-cache"; 258 269 reg = <0xfffff000 0x1000>;