From: Mathias Kresin Date: Tue, 19 Dec 2017 20:55:42 +0000 (+0100) Subject: ramips: fix devicetree compat strings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=198da20401f2216d92fb8a1539abcd4af743e0d8;p=openwrt%2Fstaging%2Fkaloz.git ramips: fix devicetree compat strings "PandoraBox" is not the name of the manufacturer, it's a firmware made by the manufacturer actually. Their official English name is "D-Team". PBR-M1 is the only one they use "PandoraBox" as a brand name. Their other products are using "Newifi" as their trademark (including Y1 and Y1S which used to be OEM products for Lenovo). Signed-off-by: Chuanhong Guo Signed-off-by: Mathias Kresin --- diff --git a/target/linux/ramips/dts/PBR-D1.dts b/target/linux/ramips/dts/PBR-D1.dts index a982eebbef..78a36577c0 100644 --- a/target/linux/ramips/dts/PBR-D1.dts +++ b/target/linux/ramips/dts/PBR-D1.dts @@ -6,7 +6,7 @@ #include / { - compatible = "pandorabox,pbr-d1", "mediatek,mt7628an-soc"; + compatible = "d-team,pbr-d1", "mediatek,mt7628an-soc"; model = "PBR-D1"; chosen { diff --git a/target/linux/ramips/dts/PBR-M1.dts b/target/linux/ramips/dts/PBR-M1.dts index f5d5f29a75..66a71a91ad 100644 --- a/target/linux/ramips/dts/PBR-M1.dts +++ b/target/linux/ramips/dts/PBR-M1.dts @@ -6,7 +6,7 @@ #include / { - compatible = "pandorabox,pbr-m1", "mediatek,mt7621-soc"; + compatible = "d-team,pbr-m1", "mediatek,mt7621-soc"; model = "PBR-M1"; memory@0 { diff --git a/target/linux/ramips/dts/Y1.dts b/target/linux/ramips/dts/Y1.dts index 15b3b3b819..8aed5c120e 100644 --- a/target/linux/ramips/dts/Y1.dts +++ b/target/linux/ramips/dts/Y1.dts @@ -3,7 +3,7 @@ #include "Y1.dtsi" / { - compatible = "lenovo,y1", "ralink,mt7620a-soc"; + compatible = "lenovo,newifi-y1", "ralink,mt7620a-soc"; model = "Lenovo Y1"; gpio-leds { diff --git a/target/linux/ramips/dts/Y1.dtsi b/target/linux/ramips/dts/Y1.dtsi index cc126f04ab..0db064576f 100644 --- a/target/linux/ramips/dts/Y1.dtsi +++ b/target/linux/ramips/dts/Y1.dtsi @@ -4,7 +4,7 @@ #include / { - compatible = "lenovo,y1", "ralink,mt7620a-soc"; + compatible = "lenovo,newifi-y1", "ralink,mt7620a-soc"; chosen { bootargs = "console=ttyS0,115200"; diff --git a/target/linux/ramips/dts/Y1S.dts b/target/linux/ramips/dts/Y1S.dts index 07719c25e5..74f7ca93cd 100644 --- a/target/linux/ramips/dts/Y1S.dts +++ b/target/linux/ramips/dts/Y1S.dts @@ -3,7 +3,7 @@ #include "Y1.dtsi" / { - compatible = "lenovo,y1s", "lenovo,y1", "ralink,mt7620a-soc"; + compatible = "lenovo,newifi-y1s", "lenovo,newifi-y1", "ralink,mt7620a-soc"; model = "Lenovo Y1S"; gpio_export {