Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

SPEAr: Add SMI NOR partition info in dts files

This patch adds NOR partitions in all SPEAr boards dts files.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stefan Roese <sr@denx.de>

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Viresh Kumar and committed by
Arnd Bergmann
30a0d037 30551c01

+97 -2
+25
arch/arm/boot/dts/spear300-evb.dts
··· 49 49 50 50 smi: flash@fc000000 { 51 51 status = "okay"; 52 + clock-rate=<50000000>; 53 + 54 + flash@f8000000 { 55 + #address-cells = <1>; 56 + #size-cells = <1>; 57 + reg = <0xf8000000 0x800000>; 58 + st,smi-fast-mode; 59 + 60 + partition@0 { 61 + label = "xloader"; 62 + reg = <0x0 0x10000>; 63 + }; 64 + partition@10000 { 65 + label = "u-boot"; 66 + reg = <0x10000 0x40000>; 67 + }; 68 + partition@50000 { 69 + label = "linux"; 70 + reg = <0x50000 0x2c0000>; 71 + }; 72 + partition@310000 { 73 + label = "rootfs"; 74 + reg = <0x310000 0x4f0000>; 75 + }; 76 + }; 52 77 }; 53 78 54 79 spi0: spi@d0100000 {
+18 -2
arch/arm/boot/dts/spear310-evb.dts
··· 42 42 clock-rate=<50000000>; 43 43 44 44 flash@f8000000 { 45 - label = "m25p64"; 46 - reg = <0xf8000000 0x800000>; 47 45 #address-cells = <1>; 48 46 #size-cells = <1>; 47 + reg = <0xf8000000 0x800000>; 49 48 st,smi-fast-mode; 49 + 50 + partition@0 { 51 + label = "xloader"; 52 + reg = <0x0 0x10000>; 53 + }; 54 + partition@10000 { 55 + label = "u-boot"; 56 + reg = <0x10000 0x40000>; 57 + }; 58 + partition@50000 { 59 + label = "linux"; 60 + reg = <0x50000 0x2c0000>; 61 + }; 62 + partition@310000 { 63 + label = "rootfs"; 64 + reg = <0x310000 0x4f0000>; 65 + }; 50 66 }; 51 67 }; 52 68
+25
arch/arm/boot/dts/spear320-evb.dts
··· 49 49 50 50 smi: flash@fc000000 { 51 51 status = "okay"; 52 + clock-rate=<50000000>; 53 + 54 + flash@f8000000 { 55 + #address-cells = <1>; 56 + #size-cells = <1>; 57 + reg = <0xf8000000 0x800000>; 58 + st,smi-fast-mode; 59 + 60 + partition@0 { 61 + label = "xloader"; 62 + reg = <0x0 0x10000>; 63 + }; 64 + partition@10000 { 65 + label = "u-boot"; 66 + reg = <0x10000 0x40000>; 67 + }; 68 + partition@50000 { 69 + label = "linux"; 70 + reg = <0x50000 0x2c0000>; 71 + }; 72 + partition@310000 { 73 + label = "rootfs"; 74 + reg = <0x310000 0x4f0000>; 75 + }; 76 + }; 52 77 }; 53 78 54 79 spi0: spi@d0100000 {
+29
arch/arm/boot/dts/spear600-evb.dts
··· 33 33 status = "okay"; 34 34 }; 35 35 36 + smi: flash@fc000000 { 37 + status = "okay"; 38 + clock-rate=<50000000>; 39 + 40 + flash@f8000000 { 41 + #address-cells = <1>; 42 + #size-cells = <1>; 43 + reg = <0xf8000000 0x800000>; 44 + st,smi-fast-mode; 45 + 46 + partition@0 { 47 + label = "xloader"; 48 + reg = <0x0 0x10000>; 49 + }; 50 + partition@10000 { 51 + label = "u-boot"; 52 + reg = <0x10000 0x40000>; 53 + }; 54 + partition@50000 { 55 + label = "linux"; 56 + reg = <0x50000 0x2c0000>; 57 + }; 58 + partition@310000 { 59 + label = "rootfs"; 60 + reg = <0x310000 0x4f0000>; 61 + }; 62 + }; 63 + }; 64 + 36 65 apb { 37 66 serial@d0000000 { 38 67 status = "okay";