Skip to contentSkip to conversation

ARM: dts: mxs: Add MSR M28CU3 board

PATCH New Marek Vasut 2 participants 2 messages Sep 29, 2013 – Oct 5, 2013

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

PATCH v2 1/1 ARM: dts: mxs: Add MSR M28CU3 board

This board is based on the M28 SoM with custom baseboard. Supported are LEDs, ethernet, PWM, LCD, SD slots.

---
 arch/arm/boot/dts/Makefile         |   1 +
 arch/arm/boot/dts/imx28-m28cu3.dts | 266 +++++++++++++++++++++++++++++++++++++
 arch/arm/mach-mxs/mach-mxs.c       |   7 +
 3 files changed, 274 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx28-m28cu3.dts

V2: Let the FEC driver handle the enet_out clock.

arch/arm/boot/dts/Makefile +1 -0
index cf75889..275af9b 100644
@@ -159,6 +159,7 @@ dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \
 	imx28-cfa10057.dtb \
 	imx28-cfa10058.dtb \
 	imx28-evk.dtb \
+	imx28-m28cu3.dtb \
 	imx28-m28evk.dtb \
 	imx28-sps1.dtb \
 	imx28-tx28.dtb
arch/arm/boot/dts/imx28-m28cu3.dts new file +266 -0

266 lines not on this page · raw message

arch/arm/mach-mxs/mach-mxs.c +7 -0
index 98f6e2a..c0ceb17 100644
@@ -332,6 +332,11 @@ static void __init crystalfontz_init(void)
 	update_fec_mac_prop(OUI_CRYSTALFONTZ);
 }
 
+static void __init m28cu3_init(void)
+{
+	update_fec_mac_prop(OUI_DENX);
+}
+
 static const char __init *mxs_get_soc_id(void)
 {
 	struct device_node *np;
@@ -459,6 +464,8 @@ static void __init mxs_machine_init(void)
 		apx4devkit_init();
 	else if (of_machine_is_compatible("crystalfontz,cfa10036"))
 		crystalfontz_init();
+	else if (of_machine_is_compatible("msr,m28cu3"))
+		m28cu3_init();
 
 	of_platform_populate(NULL, of_default_bus_match_table,
 			     NULL, parent);
Signature · 1 line
1.8.4.rc3
Applied
#1 lore raw

PATCH v2 1/1 ARM: dts: mxs: Add MSR M28CU3 board

Quoted 4 lines · Marek Vasut

This board is based on the M28 SoM with custom baseboard. Supported are LEDs, ethernet, PWM, LCD, SD slots.

Applied, thanks.