[source] apm821xx: add product names to the dt compatible for Meraki

LEDE Commits lede-commits at lists.infradead.org
Wed Dec 20 16:06:29 PST 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/70301af9150fbf61483bf12fec651beb437f55ac

commit 70301af9150fbf61483bf12fec651beb437f55ac
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Sun Dec 17 14:59:57 2017 +0100

    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 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 8b58ce1..2c2f8d2 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 64c8540..32e5c85 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;



More information about the lede-commits mailing list