ramips: Add specific compatible properties for esw
authorJohn Crispin <john@phrozen.org>
Sat, 14 May 2016 19:58:35 +0000 (21:58 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 23 May 2016 09:28:59 +0000 (11:28 +0200)
Currently, for RT5350 and MT7628, esw is marked as compatible with
"ralink,rt3050-esw". While this is true, the switches within RT5350
and MT7628 actually support more functionality than the RT3050 switch.

One such example is per-VLAN untagging, which is an important feature.

RT3352 is another example of this, but it already has an additional
compatible property, which allows to differentiate it from RT3050.

This commit adds such more specific properties for RT5350 and MT7628
as well.

Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt5350.dtsi

index 6b8b1b73d088663f3d07f7d7e9f6915475ef578d..0b16a9f60d558481dafa6e064b369dcc9817dbe7 100644 (file)
        };
 
        esw: esw@10110000 {
-               compatible = "ralink,rt3050-esw";
+               compatible = "mediatek,mt7628-esw", "ralink,rt3050-esw";
                reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
index 1f71795fcf7db612aa7d84257dda7b17cc7e7a68..05dce6d3e014e5ac3a3dc81c59cac6e9b67cb815 100644 (file)
        };
 
        esw: esw@10110000 {
-               compatible = "ralink,rt3050-esw";
+               compatible = "ralink,rt5350-esw", "ralink,rt3050-esw";
                reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;