From: Christian Lamparter <chunkeey@gmail.com>
Date: Sun, 17 Dec 2017 13:59:57 +0000 (+0100)
Subject: apm821xx: add product names to the dt compatible for Meraki
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=70301af9150fbf61483bf12fec651beb437f55ac;p=openwrt%2Fstaging%2Fnbd.git

apm821xx: add product names to the dt compatible for Meraki

Meraki choose to use their product's codename as the main
compatible string. Mathias Kresin commented that this is
a poor choice as this will confuse the users and devs once
the device-tree compatible is used for board-detection and
possible the image name.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
---

diff --git a/target/linux/apm821xx/dts/MR24.dts b/target/linux/apm821xx/dts/MR24.dts
index 8b58ce1991..2c2f8d281b 100644
--- a/target/linux/apm821xx/dts/MR24.dts
+++ b/target/linux/apm821xx/dts/MR24.dts
@@ -16,7 +16,7 @@
 
 / {
 	model = "Meraki MR24 Access Point";
-	compatible = "meraki,ikarem", "apm,bluestone";
+	compatible = "meraki,mr24", "meraki,ikarem", "apm,bluestone";
 
 	aliases {
 		serial0 = &UART1;
diff --git a/target/linux/apm821xx/dts/MX60.dts b/target/linux/apm821xx/dts/MX60.dts
index 64c8540d4d..32e5c859e8 100644
--- a/target/linux/apm821xx/dts/MX60.dts
+++ b/target/linux/apm821xx/dts/MX60.dts
@@ -16,7 +16,7 @@
 
 / {
 	model = "Meraki MX60/MX60W Security Appliance";
-	compatible = "meraki,buckminster", "apm,bluestone";
+	compatible = "meraki,mx60", "meraki,buckminster", "apm,bluestone";
 
 	aliases {
 		serial0 = &UART1;