Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: marvell: add ESPRESSObin variants
This commit adds dts for different variants of ESPRESSObin board: ESPRESSObin with soldered eMMC, ESPRESSObin V7, compared to prior versions some passive elements changed and ethernet ports labels positions have been reversed, ESPRESSObin V7 with soldered eMMC. Since most of elements are the same, one common dtsi is created and referenced in each dts of particular variant. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
- Loading branch information
Showing
5 changed files
with
315 additions
and
183 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Device Tree file for Globalscale Marvell ESPRESSOBin Board with eMMC | ||
* Copyright (C) 2018 Marvell | ||
* | ||
* Romain Perier <romain.perier@free-electrons.com> | ||
* Konstantin Porotchkin <kostap@marvell.com> | ||
* | ||
*/ | ||
/* | ||
* Schematic available at http://espressobin.net/wp-content/uploads/2017/08/ESPRESSObin_V5_Schematics.pdf | ||
*/ | ||
|
||
#include "armada-3720-espressobin.dtsi" | ||
|
||
/ { | ||
model = "Globalscale Marvell ESPRESSOBin Board (eMMC)"; | ||
compatible = "globalscale,espressobin-emmc", "globalscale,espressobin", | ||
"marvell,armada3720", "marvell,armada3710"; | ||
}; | ||
|
||
/* U11 */ | ||
&sdhci0 { | ||
non-removable; | ||
bus-width = <8>; | ||
mmc-ddr-1_8v; | ||
mmc-hs400-1_8v; | ||
marvell,xenon-emmc; | ||
marvell,xenon-tun-count = <9>; | ||
marvell,pad-type = "fixed-1-8v"; | ||
|
||
pinctrl-names = "default"; | ||
pinctrl-0 = <&mmc_pins>; | ||
status = "okay"; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
mmccard: mmccard@0 { | ||
compatible = "mmc-card"; | ||
reg = <0>; | ||
}; | ||
}; |
59 changes: 59 additions & 0 deletions
59
arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 with eMMC | ||
* Copyright (C) 2018 Marvell | ||
* | ||
* Romain Perier <romain.perier@free-electrons.com> | ||
* Konstantin Porotchkin <kostap@marvell.com> | ||
* | ||
*/ | ||
/* | ||
* Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200 | ||
*/ | ||
|
||
#include "armada-3720-espressobin.dtsi" | ||
|
||
/ { | ||
model = "Globalscale Marvell ESPRESSOBin Board V7 (eMMC)"; | ||
compatible = "globalscale,espressobin-v7-emmc", "globalscale,espressobin-v7", | ||
"globalscale,espressobin", "marvell,armada3720", | ||
"marvell,armada3710"; | ||
}; | ||
|
||
&switch0 { | ||
ports { | ||
port@1 { | ||
reg = <1>; | ||
label = "lan1"; | ||
phy-handle = <&switch0phy0>; | ||
}; | ||
|
||
port@3 { | ||
reg = <3>; | ||
label = "wan"; | ||
phy-handle = <&switch0phy2>; | ||
}; | ||
}; | ||
}; | ||
|
||
/* U11 */ | ||
&sdhci0 { | ||
non-removable; | ||
bus-width = <8>; | ||
mmc-ddr-1_8v; | ||
mmc-hs400-1_8v; | ||
marvell,xenon-emmc; | ||
marvell,xenon-tun-count = <9>; | ||
marvell,pad-type = "fixed-1-8v"; | ||
|
||
pinctrl-names = "default"; | ||
pinctrl-0 = <&mmc_pins>; | ||
status = "okay"; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
mmccard: mmccard@0 { | ||
compatible = "mmc-card"; | ||
reg = <0>; | ||
}; | ||
}; |
36 changes: 36 additions & 0 deletions
36
arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 | ||
* Copyright (C) 2018 Marvell | ||
* | ||
* Romain Perier <romain.perier@free-electrons.com> | ||
* Konstantin Porotchkin <kostap@marvell.com> | ||
* | ||
*/ | ||
/* | ||
* Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200 | ||
*/ | ||
|
||
#include "armada-3720-espressobin.dtsi" | ||
|
||
/ { | ||
model = "Globalscale Marvell ESPRESSOBin Board V7"; | ||
compatible = "globalscale,espressobin-v7", "globalscale,espressobin", | ||
"marvell,armada3720", "marvell,armada3710"; | ||
}; | ||
|
||
&switch0 { | ||
ports { | ||
port@1 { | ||
reg = <1>; | ||
label = "lan1"; | ||
phy-handle = <&switch0phy0>; | ||
}; | ||
|
||
port@3 { | ||
reg = <3>; | ||
label = "wan"; | ||
phy-handle = <&switch0phy2>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.