ARM: dts: at91: sama5d27_som1: Add SPI NOR flash mapping
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 3 Apr 2020 06:12:25 +0000 (06:12 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 13 Apr 2020 11:00:09 +0000 (13:00 +0200)
Add SoM1 flash mapping, identical with the other SPI NOR flash
mappings found on the other at91 boards.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20200403061222.1277147-2-tudor.ambarus@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-sama5d27_som1.dtsi

index 6281590150c8518cfa946533c482a9ddeed9a6af..919000f467e686e3c527817553d567cf401e253a 100644 (file)
                                pinctrl-0 = <&pinctrl_qspi1_default>;
 
                                flash@0 {
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
                                        compatible = "jedec,spi-nor";
                                        reg = <0>;
                                        spi-max-frequency = <80000000>;
                                        spi-tx-bus-width = <4>;
                                        spi-rx-bus-width = <4>;
                                        m25p,fast-read;
+
+                                       at91bootstrap@00000000 {
+                                               label = "at91bootstrap";
+                                               reg = <0x00000000 0x00040000>;
+                                       };
+
+                                       bootloader@00040000 {
+                                               label = "bootloader";
+                                               reg = <0x00040000 0x000c0000>;
+                                       };
+
+                                       bootloaderenvred@00100000 {
+                                               label = "bootloader env redundant";
+                                               reg = <0x00100000 0x00040000>;
+                                       };
+
+                                       bootloaderenv@00140000 {
+                                               label = "bootloader env";
+                                               reg = <0x00140000 0x00040000>;
+                                       };
+
+                                       dtb@00180000 {
+                                               label = "device tree";
+                                               reg = <0x00180000 0x00080000>;
+                                       };
+
+                                       kernel@00200000 {
+                                               label = "kernel";
+                                               reg = <0x00200000 0x00600000>;
+                                       };
                                };
                        };