Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f04660e4 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Nicolas Ferre
Browse files

ARM: at91/dt: add SRAM nodes



Add nodes for the SRAM available on atmel SoCs
For the at91sam9260 and the at91sam9g20, address mirroring is used to create a
single contiguous SRAM range instead of declaring two separate banks.

Also remove leftover TODOs in the sam9g45 file

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
[nicolas.ferre@atmel.com: correct at91sam9rl sram size => 0x10000]
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 74335f49
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -66,6 +66,11 @@
		};
	};

	sram: sram@00200000 {
		compatible = "mmio-sram";
		reg = <0x00200000 0x4000>;
	};

	ahb {
		compatible = "simple-bus";
		#address-cells = <1>;
+5 −0
Original line number Diff line number Diff line
@@ -69,6 +69,11 @@
		};
	};

	sram0: sram@002ff000 {
		compatible = "mmio-sram";
		reg = <0x002ff000 0x2000>;
	};

	ahb {
		compatible = "simple-bus";
		#address-cells = <1>;
+5 −0
Original line number Diff line number Diff line
@@ -60,6 +60,11 @@
		};
	};

	sram: sram@00300000 {
		compatible = "mmio-sram";
		reg = <0x00300000 0x28000>;
	};

	ahb {
		compatible = "simple-bus";
		#address-cells = <1>;
+10 −0
Original line number Diff line number Diff line
@@ -62,6 +62,16 @@
		};
	};

	sram0: sram@00300000 {
		compatible = "mmio-sram";
		reg = <0x00300000 0x14000>;
	};

	sram1: sram@00500000 {
		compatible = "mmio-sram";
		reg = <0x00300000 0x4000>;
	};

	ahb {
		compatible = "simple-bus";
		#address-cells = <1>;
+9 −0
Original line number Diff line number Diff line
@@ -16,6 +16,15 @@
		reg = <0x20000000 0x08000000>;
	};

	sram0: sram@002ff000 {
		status = "disabled";
	};

	sram1: sram@002fc000 {
		compatible = "mmio-sram";
		reg = <0x002fc000 0x8000>;
	};

	ahb {
		apb {
			i2c0: i2c@fffac000 {
Loading