[openwrt/openwrt] mediatek: mt7622: fix DTS compatible of UniFi 6 LR variants

LEDE Commits lede-commits at lists.infradead.org
Fri Sep 2 18:29:05 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/be555b9dd8618b8da68c42ae8dda493337519838

commit be555b9dd8618b8da68c42ae8dda493337519838
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Sep 3 02:24:14 2022 +0100

    mediatek: mt7622: fix DTS compatible of UniFi 6 LR variants
    
    Make sure the compatible string in DTS matches the now v1/v2
    differentiated board name in target/linux/mediatek/image/mt7622.mk.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1-ubootmod.dts | 2 +-
 target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dts          | 2 +-
 target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2-ubootmod.dts | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1-ubootmod.dts b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1-ubootmod.dts
index a22bc70180..5b1fd1d9ba 100644
--- a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1-ubootmod.dts
+++ b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1-ubootmod.dts
@@ -4,7 +4,7 @@
 
 / {
 	model = "Ubiquiti UniFi 6 LR v1 (U-Boot mod)";
-	compatible = "ubnt,unifi-6-lr-ubootmod", "mediatek,mt7622";
+	compatible = "ubnt,unifi-6-lr-v1-ubootmod", "mediatek,mt7622";
 };
 
 &nor_partitions {
diff --git a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dts b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dts
index d0048d4715..95f19af4cd 100644
--- a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dts
+++ b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v1.dts
@@ -4,7 +4,7 @@
 
 / {
 	model = "Ubiquiti UniFi 6 LR v1";
-	compatible = "ubnt,unifi-6-lr", "mediatek,mt7622";
+	compatible = "ubnt,unifi-6-lr-v1", "mediatek,mt7622";
 };
 
 &nor_partitions {
diff --git a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2-ubootmod.dts b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2-ubootmod.dts
index 711d58d0e5..6a7b6868ce 100644
--- a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2-ubootmod.dts
+++ b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2-ubootmod.dts
@@ -4,7 +4,7 @@
 
 / {
 	model = "Ubiquiti UniFi 6 LR v2 (U-Boot mod)";
-	compatible = "ubnt,unifi-6-lr-ubootmod-v2", "mediatek,mt7622";
+	compatible = "ubnt,unifi-6-lr-v2-ubootmod", "mediatek,mt7622";
 };
 
 &nor_partitions {




More information about the lede-commits mailing list