Skip to contentSkip to conversation

arm64: dts: marvell: Add definition for the Globalscale Marvell ESPRESSOBin Board

PATCH Superseded Romain Perier 3 participants 4 messages Oct 5, 2016

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: marvell: Add definition for the Globalscale Marvell ESPRESSOBin Board

This adds a basic definition for this board.

---
 arch/arm64/boot/dts/marvell/Makefile               |  1 +
 .../boot/dts/marvell/armada-3720-espressobin.dts   | 78 ++++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
arch/arm64/boot/dts/marvell/Makefile +1 -0
index 308468d..392eeb6 100644
@@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-stb.dtb
 
 # Mvebu SoC Family
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb
 
 always		:= $(dtb-y)
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts new file +78 -0

78 lines not on this page · raw message

Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 arm64: dts: marvell: Add definition for the Globalscale Marvell ESPRESSOBin Board

Hi Romain,

Quoted 77 lines · Romain Perier

This adds a basic definition for this board.

---
 arch/arm64/boot/dts/marvell/Makefile               |  1 +
 .../boot/dts/marvell/armada-3720-espressobin.dts   | 78 ++++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
arch/arm64/boot/dts/marvell/Makefile +1 -0
index 308468d..392eeb6 100644
@@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_BERLIN) += berlin4ct-stb.dtb
 
 # Mvebu SoC Family
 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb
 
 always		:= $(dtb-y)
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts new file +49 -0
new file mode 100644
index 0000000..57035a3
@@ -0,0 +1,78 @@
+/*
+ * Device Tree file for Globalscale Marvell ESPRESSOBin Board
+ * Copyright (C) 2016 Marvell
+ *
+ * Romain Perier <[email protected]>
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
 
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is free software; you can redistribute it and/or
+ *     modify it under the terms of the GNU General Public License as
+ *     published by the Free Software Foundation; either version 2 of the
+ *     License, or (at your option) any later version.
+ *
+ *     This file is distributed in the hope that it will be useful
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ * Or, alternatively
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ *     obtaining a copy of this software and associated documentation
+ *     files (the "Software"), to deal in the Software without
+ *     restriction, including without limitation the rights to use
+ *     copy, modify, merge, publish, distribute, sublicense, and/or
+ *     sell copies of the Software, and to permit persons to whom the
+ *     Software is furnished to do so, subject to the following
+ *     conditions:
+ *
+ *     The above copyright notice and this permission notice shall be
+ *     included in all copies or substantial portions of the Software.
+ *
+ *     THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ *     OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+
+#include "armada-372x.dtsi"
+

arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts line 59

Quoted 10 lines
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts new file +10 -0
+/ {
+	model = "Globalscale Marvell ESPRESSOBin Board";
+	compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710";
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	memory {
+		device_type = "memory";

According to the kickstarter page the boards will came with different amount of memory (from 512MB to 2GB). So we could put a comment here about tuning this value depending of the board.

arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts line 63

Quoted 4 lines
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts new file +4 -0
+		reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
+	};
+};
+

Could you add information about the connector for each of the following interfaces?

You can have a look on the armada-3720-db.dts to see the kind of info I expect.

Thanks,

Gregory

Quoted 18 lines

+&pcie0 {

arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts new file +14 -0
+	status = "okay";
+};
+
+&sata {
+	status = "okay";
+};
+
+&uart0 {
+	status = "okay";
+};
+
+&usb3 {
+	status = "okay";
+};
Signature · 1 line
2.9.3
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 arm64: dts: marvell: Add definition for the Globalscale Marvell ESPRESSOBin Board

Hello,

Quoted 7 lines · Gregory CLEMENT

arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts line 59

Quoted 2 lines
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts new file +2 -0
+	memory {
+		device_type = "memory";  

According to the kickstarter page the boards will came with different amount of memory (from 512MB to 2GB). So we could put a comment here about tuning this value depending of the board.

U-Boot does this tuning automatically, so there is no need for the user to tune anything here.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 arm64: dts: marvell: Add definition for the Globalscale Marvell ESPRESSOBin Board

Hi Thomas,

Quoted 12 lines · Thomas Petazzoni

Hello,

Quoted 7 lines · Gregory CLEMENT

arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts line 59

Quoted 2 lines
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts new file +2 -0
+	memory {
+		device_type = "memory";  

According to the kickstarter page the boards will came with different amount of memory (from 512MB to 2GB). So we could put a comment here about tuning this value depending of the board.

Quoted 2 lines

U-Boot does this tuning automatically, so there is no need for the user to tune anything here.

Great!

It was not the case with the first Armada XP and 370 boards, but at this time we appended the dtb to the kernel and the U-Boot on these board was not dt capable.

Thanks,

Gregory

Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com