[LEDE-DEV] [PATCH 5/9] apm821xx: add product names to the dt compatible for Meraki

Christian Lamparter chunkeey at gmail.com
Sun Dec 17 05:59:57 PST 2017


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 at gmail.com>
---
 target/linux/apm821xx/dts/MR24.dts | 2 +-
 target/linux/apm821xx/dts/MX60.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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;
-- 
2.15.1




More information about the Lede-dev mailing list