From: <Tudor.Ambarus@microchip.com> To: <Nicolas.Ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <Ludovic.Desroches@microchip.com> Cc: <robh+dt@kernel.org>, <mark.rutland@arm.com>, <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <Claudiu.Beznea@microchip.com>, <Tudor.Ambarus@microchip.com> Subject: [PATCH 2/5] ARM: dts: at91: sama5d27_som1: Add SPI NOR flash mapping Date: Fri, 3 Apr 2020 06:12:25 +0000 [thread overview] Message-ID: <20200403061222.1277147-2-tudor.ambarus@microchip.com> (raw) In-Reply-To: <20200403061222.1277147-1-tudor.ambarus@microchip.com> From: Claudiu Beznea <claudiu.beznea@microchip.com> 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> --- arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi index 6281590150c8..919000f467e6 100644 --- a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi +++ b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi @@ -34,12 +34,44 @@ 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>; + }; }; }; -- 2.23.0
WARNING: multiple messages have this Message-ID (diff)
From: <Tudor.Ambarus@microchip.com> To: <Nicolas.Ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <Ludovic.Desroches@microchip.com> Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Tudor.Ambarus@microchip.com, robh+dt@kernel.org, Claudiu.Beznea@microchip.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/5] ARM: dts: at91: sama5d27_som1: Add SPI NOR flash mapping Date: Fri, 3 Apr 2020 06:12:25 +0000 [thread overview] Message-ID: <20200403061222.1277147-2-tudor.ambarus@microchip.com> (raw) In-Reply-To: <20200403061222.1277147-1-tudor.ambarus@microchip.com> From: Claudiu Beznea <claudiu.beznea@microchip.com> 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> --- arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi index 6281590150c8..919000f467e6 100644 --- a/arch/arm/boot/dts/at91-sama5d27_som1.dtsi +++ b/arch/arm/boot/dts/at91-sama5d27_som1.dtsi @@ -34,12 +34,44 @@ 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>; + }; }; }; -- 2.23.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-04-03 6:12 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-03 6:12 [PATCH 1/5] ARM: dts: at91: sam9x60ek: Use quad mode in the spi-nor flash Tudor.Ambarus 2020-04-03 6:12 ` Tudor.Ambarus 2020-04-03 6:12 ` Tudor.Ambarus [this message] 2020-04-03 6:12 ` [PATCH 2/5] ARM: dts: at91: sama5d27_som1: Add SPI NOR flash mapping Tudor.Ambarus 2020-04-03 6:12 ` [PATCH 3/5] ARM: dts: at91: sama5d2_xplained: Add QSPI0 + SPI NOR memory nodes Tudor.Ambarus 2020-04-03 6:12 ` Tudor.Ambarus 2020-04-03 6:12 ` [PATCH 4/5] ARM: dts: at91: sam9x60ek: Add sdmmc1 node Tudor.Ambarus 2020-04-03 6:12 ` Tudor.Ambarus 2020-04-03 6:12 ` [PATCH 5/5] ARM: dts: at91: at91-sama5d27_som1: Enable eeprom device Tudor.Ambarus 2020-04-03 6:12 ` Tudor.Ambarus
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200403061222.1277147-2-tudor.ambarus@microchip.com \ --to=tudor.ambarus@microchip.com \ --cc=Claudiu.Beznea@microchip.com \ --cc=Ludovic.Desroches@microchip.com \ --cc=Nicolas.Ferre@microchip.com \ --cc=alexandre.belloni@bootlin.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=mark.rutland@arm.com \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.