Skip to contentSkip to conversation

ARM: socfpga: Add support for DENX MCV SoM and MCVEVK baseboard

PATCH Superseded Marek Vasut 2 participants 4 messages Nov 19, 2015 – Dec 17, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: socfpga: Add support for DENX MCV SoM and MCVEVK baseboard

Add support for the DENX MCV SoM and MCVEVK baseboard. The SoM contains eMMC, DRAM, Altera Cyclone V SoC. The baseboard contains CAN ports, UART ports, STMPE811 touchscreen controller, USB OTG port, ethernet port and a lot of IO pins.

Cc Vince Bridgers <[email protected]>
Cc Alan Tull <[email protected]>
Cc Thor Thayer <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Olof Johansson <[email protected]>
---
 arch/arm/boot/dts/Makefile                    |  1 +
 arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi   | 33 ++++++++++
 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts | 94 +++++++++++++++++++++++++++
 3 files changed, 128 insertions(+)
 create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi
 create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts

V2: Sort the DT nodes alphabetically.

arch/arm/boot/dts/Makefile +1 -0
index 7d3e495..8f322be 100644
@@ -555,6 +555,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
 dtb-$(CONFIG_ARCH_SOCFPGA) += \
 	socfpga_arria5_socdk.dtb \
 	socfpga_arria10_socdk_sdmmc.dtb \
+	socfpga_cyclone5_mcvevk.dtb \
 	socfpga_cyclone5_socdk.dtb \
 	socfpga_cyclone5_de0_sockit.dtb \
 	socfpga_cyclone5_sockit.dtb \
arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi new file +33 -0
new file mode 100644
index 0000000..70dacf3
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2015 Marek Vasut <[email protected]>
+ *
+ * This program 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 program 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "socfpga_cyclone5.dtsi"
+
+/ {
+	model = "DENX MCV";
+	compatible = "altr,socfpga-cyclone5", "altr,socfpga";
+
+	memory {
+		name = "memory";
+		device_type = "memory";
+		reg = <0x0 0x40000000>;	/* 1 GiB */
+	};
+};
+
+&mmc0 {	/* On-SoM eMMC */
+	bus-width = <8>;
+};
arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts new file +94 -0

94 lines not on this page · raw message

Signature · 1 line
2.1.4
Applied
#1 lore raw

PATCH v2 1/1 ARM: socfpga: Add support for DENX MCV SoM and MCVEVK baseboard

Hi Marek,

Quoted 26 lines · Marek Vasut

Add support for the DENX MCV SoM and MCVEVK baseboard. The SoM contains eMMC, DRAM, Altera Cyclone V SoC. The baseboard contains CAN ports, UART ports, STMPE811 touchscreen controller, USB OTG port, ethernet port and a lot of IO pins.

Cc Vince Bridgers <[email protected]>
Cc Alan Tull <[email protected]>
Cc Thor Thayer <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Olof Johansson <[email protected]>
---
 arch/arm/boot/dts/Makefile                    |  1 +
 arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi   | 33 ++++++++++
 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts | 94 +++++++++++++++++++++++++++
 3 files changed, 128 insertions(+)
 create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi
 create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts

V2: Sort the DT nodes alphabetically.

arch/arm/boot/dts/Makefile +0 -0
index 7d3e495..8f322be 100644

arch/arm/boot/dts/Makefile dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \ · line 561

Quoted 7 lines
arch/arm/boot/dts/Makefile +1 -0
@@ -555,6 +555,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
 dtb-$(CONFIG_ARCH_SOCFPGA) += \
        socfpga_arria5_socdk.dtb \
        socfpga_arria10_socdk_sdmmc.dtb \
+       socfpga_cyclone5_mcvevk.dtb \
        socfpga_cyclone5_socdk.dtb \
        socfpga_cyclone5_de0_sockit.dtb \
        socfpga_cyclone5_sockit.dtb \

I've applied this to my tree.

Thanks,
Dinh

#2 lore raw

PATCH v2 1/1 ARM: socfpga: Add support for DENX MCV SoM and MCVEVK baseboard

Quoted 1 line · Dinh Nguyen

Hi Marek,

Hi!

Quoted 34 lines · Marek Vasut
Quoted 33 lines

Add support for the DENX MCV SoM and MCVEVK baseboard. The SoM contains eMMC, DRAM, Altera Cyclone V SoC. The baseboard contains CAN ports, UART ports, STMPE811 touchscreen controller, USB OTG port, ethernet port and a lot of IO pins.

Cc Vince Bridgers <[email protected]>
Cc Alan Tull <[email protected]>
Cc Thor Thayer <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Olof Johansson <[email protected]>

---

 arch/arm/boot/dts/Makefile                    |  1 +
 arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi   | 33 ++++++++++
 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts | 94
 +++++++++++++++++++++++++++ 3 files changed, 128 insertions(+)
 create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi
 create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts

V2: Sort the DT nodes alphabetically.

arch/arm/boot/dts/Makefile +0 -0
index 7d3e495..8f322be 100644
@@ -555,6 +555,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
 
 dtb-$(CONFIG_ARCH_SOCFPGA) += \
 
        socfpga_arria5_socdk.dtb \
        socfpga_arria10_socdk_sdmmc.dtb \
 
Quoted 7 lines
Quoted 5 lines
arch/arm/boot/dts/Makefile +1 -0
+       socfpga_cyclone5_mcvevk.dtb \
        socfpga_cyclone5_socdk.dtb \
        socfpga_cyclone5_de0_sockit.dtb \
        socfpga_cyclone5_sockit.dtb \

I've applied this to my tree.

Cool, thanks!

Best regards,
Marek Vasut

#3 lore raw

PATCH v2 1/1 ARM: socfpga: Add support for DENX MCV SoM and MCVEVK baseboard

In reply to Dinh Nguyen
Quoted 36 lines · Dinh Nguyen

Hi Marek,

Quoted 33 lines · Marek Vasut

Add support for the DENX MCV SoM and MCVEVK baseboard. The SoM contains eMMC, DRAM, Altera Cyclone V SoC. The baseboard contains CAN ports, UART ports, STMPE811 touchscreen controller, USB OTG port, ethernet port and a lot of IO pins.

Cc Vince Bridgers <[email protected]>
Cc Alan Tull <[email protected]>
Cc Thor Thayer <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Olof Johansson <[email protected]>

---

 arch/arm/boot/dts/Makefile                    |  1 +
 arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi   | 33 ++++++++++
 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts | 94
 +++++++++++++++++++++++++++ 3 files changed, 128 insertions(+)
 create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi
 create mode 100644 arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts

V2: Sort the DT nodes alphabetically.

arch/arm/boot/dts/Makefile +0 -0
index 7d3e495..8f322be 100644
@@ -555,6 +555,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
 
 dtb-$(CONFIG_ARCH_SOCFPGA) += \
 
        socfpga_arria5_socdk.dtb \
        socfpga_arria10_socdk_sdmmc.dtb \
 
Quoted 7 lines
Quoted 5 lines
arch/arm/boot/dts/Makefile +1 -0
+       socfpga_cyclone5_mcvevk.dtb \
        socfpga_cyclone5_socdk.dtb \
        socfpga_cyclone5_de0_sockit.dtb \
        socfpga_cyclone5_sockit.dtb \

I've applied this to my tree.

Hi,

I just found this in linux-next, but all the tabs in the original patch submission are replaced with spaces in the DTS files. What happened ?

Thanks

Best regards,
Marek Vasut