Skip to content

Commit a530d29

Browse files
committed
SpacemiT K1: Update qspi node on the MUSE Book and MusePi Pro
Allows for erasing and flashing SPI from a running unit Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
1 parent 746da00 commit a530d29

3 files changed

Lines changed: 108 additions & 0 deletions

File tree

patch/kernel/archive/spacemit-6.18/dt/k1-musepi-pro.dts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,42 @@
950950
m25p,fast-read;
951951
broken-flash-reset;
952952
status = "okay";
953+
954+
partitions {
955+
compatible = "fixed-partitions";
956+
#address-cells = <1>;
957+
#size-cells = <1>;
958+
959+
partition@00000 {
960+
label = "bootinfo";
961+
reg = <0x00000 0x10000>;
962+
};
963+
964+
partition@10000 {
965+
label = "private";
966+
reg = <0x10000 0x10000>;
967+
};
968+
969+
partition@20000 {
970+
label = "fsbl";
971+
reg = <0x20000 0x40000>;
972+
};
973+
974+
partition@60000 {
975+
label = "env";
976+
reg = <0x60000 0x10000>;
977+
};
978+
979+
partition@70000 {
980+
label = "opensbi";
981+
reg = <0x70000 0x30000>;
982+
};
983+
984+
partition@a0000 {
985+
label = "uboot";
986+
reg = <0xa0000 0xf60000>;
987+
};
988+
};
953989
};
954990
};
955991

patch/kernel/archive/spacemit-6.6/dt/k1-musebook.dts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,42 @@
796796
m25p,fast-read;
797797
broken-flash-reset;
798798
status = "okay";
799+
800+
partitions {
801+
compatible = "fixed-partitions";
802+
#address-cells = <1>;
803+
#size-cells = <1>;
804+
805+
partition@00000 {
806+
label = "bootinfo";
807+
reg = <0x00000 0x10000>;
808+
};
809+
810+
partition@10000 {
811+
label = "private";
812+
reg = <0x10000 0x10000>;
813+
};
814+
815+
partition@20000 {
816+
label = "fsbl";
817+
reg = <0x20000 0x40000>;
818+
};
819+
820+
partition@60000 {
821+
label = "env";
822+
reg = <0x60000 0x10000>;
823+
};
824+
825+
partition@70000 {
826+
label = "opensbi";
827+
reg = <0x70000 0x30000>;
828+
};
829+
830+
partition@a0000 {
831+
label = "uboot";
832+
reg = <0xa0000 0xf60000>;
833+
};
834+
};
799835
};
800836
};
801837

patch/kernel/archive/spacemit-6.6/dt/k1-musepi-pro.dts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,42 @@
950950
m25p,fast-read;
951951
broken-flash-reset;
952952
status = "okay";
953+
954+
partitions {
955+
compatible = "fixed-partitions";
956+
#address-cells = <1>;
957+
#size-cells = <1>;
958+
959+
partition@00000 {
960+
label = "bootinfo";
961+
reg = <0x00000 0x10000>;
962+
};
963+
964+
partition@10000 {
965+
label = "private";
966+
reg = <0x10000 0x10000>;
967+
};
968+
969+
partition@20000 {
970+
label = "fsbl";
971+
reg = <0x20000 0x40000>;
972+
};
973+
974+
partition@60000 {
975+
label = "env";
976+
reg = <0x60000 0x10000>;
977+
};
978+
979+
partition@70000 {
980+
label = "opensbi";
981+
reg = <0x70000 0x30000>;
982+
};
983+
984+
partition@a0000 {
985+
label = "uboot";
986+
reg = <0xa0000 0xf60000>;
987+
};
988+
};
953989
};
954990
};
955991

0 commit comments

Comments
 (0)