From: Daniel Golle Date: Sat, 3 Sep 2022 01:24:14 +0000 (+0100) Subject: mediatek: mt7622: fix DTS compatible of UniFi 6 LR variants X-Git-Tag: v22.03.0~2 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d691625ec4aabb6847063bb559a7c5053e7e7b94;p=openwrt%2Fopenwrt.git 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 (cherry picked from commit be555b9dd8618b8da68c42ae8dda493337519838) --- 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 {