]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: microchip: sama7d65: Add SRAM and DRAM components support
authorRyan Wanner <Ryan.Wanner@microchip.com>
Mon, 14 Apr 2025 21:41:26 +0000 (14:41 -0700)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Fri, 16 May 2025 05:31:28 +0000 (08:31 +0300)
Add SRAM, secumod, UDDRC, and DDR3phy to enable support for low power modes.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Link: https://lore.kernel.org/r/354ecd628fdd292d2125570a6b10a93cbecb7706.1744666011.git.Ryan.Wanner@microchip.com
[claudiu.beznea: keep nodes sorted by their address]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sama7d65.dtsi

index 3949b02efbd329db8f4ed48b0eed98a3a82d1d75..f93978e98ac22fcf9101f204d39ad5cfb75f9d23 100644 (file)
                };
        };
 
+       ns_sram: sram@100000 {
+               compatible = "mmio-sram";
+               reg = <0x100000 0x20000>;
+               ranges;
+               #address-cells = <1>;
+               #size-cells = <1>;
+       };
+
        soc {
                compatible = "simple-bus";
                ranges;
                #address-cells = <1>;
                #size-cells = <1>;
 
+               securam: sram@e0000800 {
+                       compatible = "microchip,sama7d65-securam", "atmel,sama5d2-securam", "mmio-sram";
+                       reg = <0xe0000800 0x4000>;
+                       ranges = <0 0xe0000800 0x4000>;
+                       clocks = <&pmc PMC_TYPE_PERIPHERAL 17>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       no-memory-wc;
+               };
+
+               secumod: security-module@e0004000 {
+                       compatible = "microchip,sama7d65-secumod", "atmel,sama5d2-secumod", "syscon";
+                       reg = <0xe0004000 0x4000>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+               };
+
                sfrbu: sfr@e0008000 {
                        compatible ="microchip,sama7d65-sfrbu", "atmel,sama5d2-sfrbu", "syscon";
                        reg = <0xe0008000 0x20>;
                        };
                };
 
+               uddrc: uddrc@e3800000 {
+                       compatible = "microchip,sama7d65-uddrc", "microchip,sama7g5-uddrc";
+                       reg = <0xe3800000 0x4000>;
+               };
+
+               ddr3phy: ddr3phy@e3804000 {
+                       compatible = "microchip,sama7d65-ddr3phy", "microchip,sama7g5-ddr3phy";
+                       reg = <0xe3804000 0x1000>;
+               };
+
                gic: interrupt-controller@e8c11000 {
                        compatible = "arm,cortex-a7-gic";
                        reg = <0xe8c11000 0x1000>,