Skip to content

Commit f955716

Browse files
nehebrobimarko
authored andcommitted
ramips: fix wifi nodes to upstream standards
Replaced all mt76@ with wifi@ per upstream requirement for all wifi nodes. Added missing compatible string where appropriate as stated by mt76.yaml upstream. Also updated reg value to be consistent everywhere. Replace all pci14c3 entries to use mediatek,mt76. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: openwrt#19067 Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent 6f9ff39 commit f955716

File tree

124 files changed

+246
-136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+246
-136
lines changed

target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
};
8585

8686
&pcie0 {
87-
mt76@0,0 {
87+
wifi@0,0 {
88+
compatible = "mediatek,mt76";
8889
reg = <0x0000 0 0 0 0>;
8990
nvmem-cells = <&eeprom_factory_8000>;
9091
nvmem-cell-names = "eeprom";

target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
&pcie0 {
99
wifi@0,0 {
10+
compatible = "mediatek,mt76";
1011
reg = <0x0000 0 0 0 0>;
1112
nvmem-cells = <&eeprom_factory_8000>;
1213
nvmem-cell-names = "eeprom";

target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
&pcie0 {
1111
wifi@0,0 {
12+
compatible = "mediatek,mt76";
1213
reg = <0x0000 0 0 0 0>;
1314
nvmem-cells = <&eeprom_factory_8000>;
1415
nvmem-cell-names = "eeprom";

target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@
155155

156156
&pcie0 {
157157
wifi@0,0 {
158+
compatible = "mediatek,mt76";
158159
reg = <0x0000 0 0 0 0>;
159160
nvmem-cells = <&eeprom_factory_8000>;
160161
nvmem-cell-names = "eeprom";

target/linux/ramips/dts/mt7620a_bolt_bl100.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@
238238
};
239239

240240
&pcie0 {
241-
mt76@0,0 {
241+
wifi@0,0 {
242+
compatible = "mediatek,mt76";
242243
reg = <0x0000 0 0 0 0>;
243244
nvmem-cells = <&eeprom_factory_8000>;
244245
nvmem-cell-names = "eeprom";

target/linux/ramips/dts/mt7620a_cameo_810.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176

177177
&pcie0 {
178178
wifi@0,0 {
179+
compatible = "mediatek,mt76";
179180
reg = <0x0000 0 0 0 0>;
180181
ieee80211-freq-limit = <5000000 6000000>;
181182
nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_28 2>;

target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@
134134
};
135135

136136
&pcie0 {
137-
mt76x0e@0,0 {
137+
wifi@0,0 {
138+
compatible = "mediatek,mt76";
138139
reg = <0x0000 0 0 0 0>;
139140
nvmem-cells = <&eeprom_config_e05d>, <&macaddr_config_e490 2>;
140141
nvmem-cell-names = "eeprom", "mac-address";

target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157

158158
&pcie0 {
159159
wifi@0,0 {
160+
compatible = "mediatek,mt76";
160161
reg = <0x0000 0 0 0 0>;
161162
ieee80211-freq-limit = <5000000 6000000>;
162163
nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004 (-3)>;

target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163

164164
&pcie0 {
165165
wifi@0,0 {
166+
compatible = "mediatek,mt76";
166167
reg = <0x0000 0 0 0 0>;
167168
nvmem-cells = <&eeprom_config_e083>, <&macaddr_config_e496 2>;
168169
nvmem-cell-names = "eeprom", "mac-address";

target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156

157157
&pcie0 {
158158
wifi@0,0 {
159+
compatible = "mediatek,mt76";
159160
reg = <0x0000 0 0 0 0>;
160161
ieee80211-freq-limit = <5000000 6000000>;
161162
nvmem-cells = <&macaddr_config_e4a8 2>;

0 commit comments

Comments
 (0)