aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-05-14 21:58:35 +0200
committerJohn Crispin <john@phrozen.org>2016-05-23 11:28:59 +0200
commitc7efbd7dbb29238631efb7e8565c507284877644 (patch)
treed3ae2b064f03893b72b1e0eb4b012625643a8c3d /target/linux/ramips/dts
parentf5f173e2b794bd996fa6171bb6b18f13c4ed1e90 (diff)
downloadupstream-c7efbd7dbb29238631efb7e8565c507284877644.tar.gz
upstream-c7efbd7dbb29238631efb7e8565c507284877644.tar.bz2
upstream-c7efbd7dbb29238631efb7e8565c507284877644.zip
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>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi2
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index 6b8b1b73d0..0b16a9f60d 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -415,7 +415,7 @@
};
esw: esw@10110000 {
- compatible = "ralink,rt3050-esw";
+ compatible = "mediatek,mt7628-esw", "ralink,rt3050-esw";
reg = <0x10110000 0x8000>;
resets = <&rstctrl 23>;
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 1f71795fcf..05dce6d3e0 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -296,7 +296,7 @@
};
esw: esw@10110000 {
- compatible = "ralink,rt3050-esw";
+ compatible = "ralink,rt5350-esw", "ralink,rt3050-esw";
reg = <0x10110000 0x8000>;
resets = <&rstctrl 23>;