[OpenWrt-Devel] [PATCH 8/8] mvebu: add images for additional ESPRESSObin boards
Tomasz Maciej Nowak
tomek_n at o2.pl
Sat May 4 09:18:44 EDT 2019
W dniu 04.05.2019 o 00:11, Hauke Mehrtens pisze:
> On 5/1/19 7:42 PM, Tomasz Maciej Nowak wrote:
>> This commit adds support for different iterations of ESPRESSObin.
>> The added variants are:
>>
>> ESPRESSObin with soldered eMMC,
>>
>> ESPRESSObin V7, compared to V5 some passive elements changed and ethernet
>> ports labels positions have been reversed,
>>
>> ESPRESSObin V7 with soldered eMMC.
>>
>> Please refer to:
>> 584d7c5 ("mvebu: new subtarget cortex A53")
>> for instruction how to boot OpenWrt image placed on SD card. It is
>> advised for owners of V5 and previous to upgrade bootloader based on
>> U-Boot 2015.01, to the latest version available at:
>> http://espressobin.net/tech-spec.
>>
>> Signed-off-by: Tomasz Maciej Nowak <tomek_n at o2.pl>
>> ---
>> .../marvell/armada-3720-espressobin-emmc.dts | 28 +++++++++++
>> .../armada-3720-espressobin-v7-emmc.dts | 43 ++++++++++++++++
>> .../marvell/armada-3720-espressobin-v7.dts | 31 ++++++++++++
>> target/linux/mvebu/image/cortex-a53.mk | 24 +++++++++
>> ...l-armada37xx-Add-emmc-sdio-pinctrl-d.patch | 40 +++++++++++++++
>> ...l-armada-37xx-Enable-emmc-on-espress.patch | 49 +++++++++++++++++++
>> ...da-3720-espressobin-correct-spi-node.patch | 2 +-
>> ...l-armada-3720-espressobin-add-ports-.patch | 26 ++++++++++
>> 8 files changed, 242 insertions(+), 1 deletion(-)
>> create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts
>> create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts
>> create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts
>> create mode 100644 target/linux/mvebu/patches-4.14/513-arm64-dts-marvell-armada37xx-Add-emmc-sdio-pinctrl-d.patch
>> create mode 100644 target/linux/mvebu/patches-4.14/514-arm64-dts-marvell-armada-37xx-Enable-emmc-on-espress.patch
>> create mode 100644 target/linux/mvebu/patches-4.14/522-arm64-dts-marvell-armada-3720-espressobin-add-ports-.patch
>>
>> diff --git a/target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts b/target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts
>> new file mode 100644
>> index 0000000000..ef90a1bd38
>> --- /dev/null
>> +++ b/target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts
>> @@ -0,0 +1,28 @@
>> +// 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 at free-electrons.com>
>> + * Konstantin Porotchkin <kostap at marvell.com>
>> + *
>> + */
>> +
>> +#include "armada-3720-espressobin.dts"
>> +
>> +/ {
>> + model = "Globalscale Marvell ESPRESSOBin Board (eMMC)";
>> + compatible = "globalscale,espressobin-emmc", "globalscale,espressobin",
>> + "marvell,armada3720", "marvell,armada3710";
>> +};
>> +
>> +&sdhci0 {
>> + status = "okay";
>> +
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> + mmccard: mmccard at 0 {
>> + compatible = "mmc-card";
>> + reg = <0>;
>> + };
>> +};
>> diff --git a/target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts b/target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts
>> new file mode 100644
>> index 0000000000..2b565ca8d8
>> --- /dev/null
>> +++ b/target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts
>> @@ -0,0 +1,43 @@
>> +// 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 at free-electrons.com>
>> + * Konstantin Porotchkin <kostap at marvell.com>
>> + *
>> + */
>> +
>> +#include "armada-3720-espressobin.dts"
>> +
>> +/ {
>> + model = "Globalscale Marvell ESPRESSOBin Board V7 (eMMC)";
>> + compatible = "globalscale,espressobin-v7-emmc", "globalscale,espressobin-v7",
>> + "globalscale,espressobin", "marvell,armada3720",
>> + "marvell,armada3710";
>> +};
>> +
>> +&ports {
>> + port at 1 {
>> + reg = <1>;
>> + label = "lan1";
>> + phy-handle = <&switch0phy0>;
>> + };
>> +
>> + port at 3 {
>> + reg = <3>;
>> + label = "wan";
>> + phy-handle = <&switch0phy2>;
>> + };
>> +};
>> +
>> +&sdhci0 {
>> + status = "okay";
>> +
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> + mmccard: mmccard at 0 {
>> + compatible = "mmc-card";
>> + reg = <0>;
>> + };
>> +};
>
> Are these device tree files already send upstream or will you do so?
They are not sent yet. They'll need a small rework, I'll handle that after preparing
GRUB upgrade patches.
>
> Hauke
>
--
TMN
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list