* [PATCH 1/3] Add mtdparts for expressobin with current u-boot
@ 2019-02-11 5:53 Kelly Anderson
2019-02-11 5:53 ` [PATCH 2/3] add mx24u3235f spi-nor as used by expressobin-v7 Kelly Anderson
2019-02-11 5:53 ` [PATCH 3/3] add armada-3720-expressobin-v7.dts, overlays armada-3720-expressobin.dts with changes for new model Kelly Anderson
0 siblings, 2 replies; 3+ messages in thread
From: Kelly Anderson @ 2019-02-11 5:53 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Kelly Anderson
Signed-off-by: Kelly Anderson <kelly@xilka.com>
---
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
index 846003bb480c..91aeffe83ab4 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
@@ -94,6 +94,7 @@
spi-max-frequency = <104000000>;
m25p,fast-read;
+ /* Partitions for U-Boot 2017.03-armada-17.10 */
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
@@ -101,12 +102,12 @@
partition@0 {
label = "uboot";
- reg = <0 0x180000>;
+ reg = <0 0x3F0000>;
};
- partition@180000 {
+ partition@3f0000 {
label = "ubootenv";
- reg = <0x180000 0x10000>;
+ reg = <0x3F0000 0x10000>;
};
};
};
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] add mx24u3235f spi-nor as used by expressobin-v7
2019-02-11 5:53 [PATCH 1/3] Add mtdparts for expressobin with current u-boot Kelly Anderson
@ 2019-02-11 5:53 ` Kelly Anderson
2019-02-11 5:53 ` [PATCH 3/3] add armada-3720-expressobin-v7.dts, overlays armada-3720-expressobin.dts with changes for new model Kelly Anderson
1 sibling, 0 replies; 3+ messages in thread
From: Kelly Anderson @ 2019-02-11 5:53 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Kelly Anderson
Signed-off-by: Kelly Anderson <kelly@xilka.com>
---
drivers/mtd/spi-nor/spi-nor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 6e13bbd1aaa5..93c4e22e7dc9 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1838,6 +1838,7 @@ static const struct flash_info spi_nor_ids[] = {
{ "mx25u2033e", INFO(0xc22532, 0, 64 * 1024, 4, SECT_4K) },
{ "mx25u4035", INFO(0xc22533, 0, 64 * 1024, 8, SECT_4K) },
{ "mx25u8035", INFO(0xc22534, 0, 64 * 1024, 16, SECT_4K) },
+ { "mx25u3235f", INFO(0xc22536, 0, 64 * 1024, 64, SECT_4K) },
{ "mx25u6435f", INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) },
{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] add armada-3720-expressobin-v7.dts, overlays armada-3720-expressobin.dts with changes for new model
2019-02-11 5:53 [PATCH 1/3] Add mtdparts for expressobin with current u-boot Kelly Anderson
2019-02-11 5:53 ` [PATCH 2/3] add mx24u3235f spi-nor as used by expressobin-v7 Kelly Anderson
@ 2019-02-11 5:53 ` Kelly Anderson
1 sibling, 0 replies; 3+ messages in thread
From: Kelly Anderson @ 2019-02-11 5:53 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Kelly Anderson
Signed-off-by: Kelly Anderson <kelly@xilka.com>
---
arch/arm64/boot/dts/marvell/Makefile | 1 +
.../marvell/armada-3720-espressobin-v7.dts | 42 +++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts
diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile
index 2eff1f927471..f5feaea4db53 100644
--- a/arch/arm64/boot/dts/marvell/Makefile
+++ b/arch/arm64/boot/dts/marvell/Makefile
@@ -2,6 +2,7 @@
# Mvebu SoC Family
dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-v7.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-clearfog-gt-8k.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-db.dtb
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts
new file mode 100644
index 000000000000..583db1f5ffa3
--- /dev/null
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree file for Globalscale Marvell ESPRESSOBin Board
+ * Copyright (C) 2016 Marvell
+ *
+ * Kelly Anderson <kelly@xilka.com>
+ *
+ */
+/*
+ * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200
+ */
+
+#include "armada-3720-espressobin.dts"
+
+/ {
+ model = "Globalscale Marvell ESPRESSOBin Board rev.7";
+ compatible = "globalscale,espressobin-rev7", "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710";
+};
+
+&spi0 {
+ flash@0 {
+ compatible = "mxicy,mx25u3235f", "jedec,spi-nor";
+ };
+};
+
+&mdio {
+ /* for ESPRESSObin HW rev.7, we swapped the wan and lan1 port */
+ switch0: switch0@1 {
+ ports {
+ port@1 {
+ reg = <1>;
+ label = "lan1";
+ phy-handle = <&switch0phy0>;
+ };
+ port@3 {
+ reg = <3>;
+ label = "wan";
+ phy-handle = <&switch0phy2>;
+ };
+ };
+ };
+};
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-02-11 5:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 5:53 [PATCH 1/3] Add mtdparts for expressobin with current u-boot Kelly Anderson
2019-02-11 5:53 ` [PATCH 2/3] add mx24u3235f spi-nor as used by expressobin-v7 Kelly Anderson
2019-02-11 5:53 ` [PATCH 3/3] add armada-3720-expressobin-v7.dts, overlays armada-3720-expressobin.dts with changes for new model Kelly Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).