linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Kelly Anderson <kelly@xilka.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Kelly Anderson <kelly@xilka.com>
Subject: [PATCH 3/3] add armada-3720-expressobin-v7.dts, overlays armada-3720-expressobin.dts with changes for new model
Date: Sun, 10 Feb 2019 22:53:50 -0700	[thread overview]
Message-ID: <20190211055350.22181-3-kelly@xilka.com> (raw)
In-Reply-To: <20190211055350.22181-1-kelly@xilka.com>

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

      parent reply	other threads:[~2019-02-11  5:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=20190211055350.22181-3-kelly@xilka.com \
    --to=kelly@xilka.com \
    --cc=linux-arm-kernel@lists.infradead.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).