ARM: mxs: add support for I2SE Duckbill 2 boards
authorMichael Heimpold <michael.heimpold@i2se.com>
Mon, 10 Apr 2017 09:08:55 +0000 (11:08 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Apr 2017 13:25:50 +0000 (21:25 +0800)
The Duckbill devices are small, pen-drive sized boards based on
NXP's i.MX28 SoC. While the initial variants (Duckbill series)
were equipped with a micro SD card slot only, the latest generation
(Duckbill 2 series) have an additional internal eMMC onboard.

To distinguish between both generations, a new device tree
compatible string was introduced. To get the MAC address fixup
applied, we need to check for this new string here, too.

Signed-off-by: Michael Heimpold <michael.heimpold@i2se.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-mxs/mach-mxs.c

index e4f21086b42b448e8b0b95002adb454bfe5dfbaa..1c6062d240c8b851061d1209ba6336a54ad708f5 100644 (file)
@@ -419,7 +419,8 @@ static void __init mxs_machine_init(void)
                crystalfontz_init();
        else if (of_machine_is_compatible("eukrea,mbmx283lc"))
                eukrea_mbmx283lc_init();
-       else if (of_machine_is_compatible("i2se,duckbill"))
+       else if (of_machine_is_compatible("i2se,duckbill") ||
+                of_machine_is_compatible("i2se,duckbill-2"))
                duckbill_init();
        else if (of_machine_is_compatible("msr,m28cu3"))
                m28cu3_init();