ramips: Add specific compatible properties for esw

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>
This commit is contained in:
John Crispin 2016-05-14 21:58:35 +02:00
parent f5f173e2b7
commit c7efbd7dbb
2 changed files with 2 additions and 2 deletions

View File

@ -415,7 +415,7 @@
};
esw: esw@10110000 {
compatible = "ralink,rt3050-esw";
compatible = "mediatek,mt7628-esw", "ralink,rt3050-esw";
reg = <0x10110000 0x8000>;
resets = <&rstctrl 23>;

View File

@ -296,7 +296,7 @@
};
esw: esw@10110000 {
compatible = "ralink,rt3050-esw";
compatible = "ralink,rt5350-esw", "ralink,rt3050-esw";
reg = <0x10110000 0x8000>;
resets = <&rstctrl 23>;