1 From 186692e51e6c40d8ebd05d25f009098eb00f8110 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Fri, 19 Oct 2018 09:00:51 +0200
4 Subject: [PATCH 11/18] ARM: dts: Fix up SQ201 flash access
6 This sets the partition information on the SQ201 to be read
7 out from the RedBoot partition table, removes the static
8 partition table and sets our boot options to mount root from
9 /dev/mtdblock2 where the initramfs resides.
11 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 arch/arm/boot/dts/gemini-sq201.dts | 37 ++++--------------------------
14 1 file changed, 5 insertions(+), 32 deletions(-)
16 --- a/arch/arm/boot/dts/gemini-sq201.dts
17 +++ b/arch/arm/boot/dts/gemini-sq201.dts
22 - bootargs = "console=ttyS0,115200n8 root=/dev/sda1 rw rootwait";
23 + bootargs = "console=ttyS0,115200n8 root=/dev/mtdblock2 rw rootfstype=squashfs,jffs2 rootwait";
29 reg = <0x30000000 0x01000000>;
33 - reg = <0x00000000 0x00120000>;
38 - reg = <0x00120000 0x00200000>;
42 - reg = <0x00320000 0x00600000>;
45 - label = "Application";
46 - reg = <0x00920000 0x00600000>;
50 - reg = <0x00f20000 0x00020000>;
55 - reg = <0x00f40000 0x000a0000>;
59 - label = "FIS directory";
60 - reg = <0x00fe0000 0x00020000>;
63 + compatible = "redboot-fis";
64 + /* Eraseblock at 0xfe0000 */
65 + fis-index-block = <0x1fc>;