Skip to content

Commit

Permalink
ramips: fix dtc warnings
Browse files Browse the repository at this point in the history
Mostly leading 0 removals and wrong addresses.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb committed Nov 30, 2023
1 parent b87f849 commit af1d5d3
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 15 deletions.
6 changes: 3 additions & 3 deletions target/linux/ramips/dts/mt7620a_engenius_epg600.dts
Expand Up @@ -215,9 +215,9 @@
};

&pcie0 {
wifi@0,1,0 {
compatible = "pci1814,3091";
reg = <0x0 1 0 0 0>;
wifi@0,0 {
compatible = "pci1814,5592";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
};
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7621_cudy_wr2100.dts
Expand Up @@ -97,7 +97,7 @@
};

&pcie1 {
wifi@1,0 {
wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&eeprom_factory_8000>;
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7621_yuncore_fap640.dts
Expand Up @@ -129,7 +129,7 @@
#address-cells = <1>;
#size-cells = <1>;

macaddr_factory_0004: macaddr@0004 {
macaddr_factory_0004: macaddr@4 {
reg = <0x0004 0x6>;
};

Expand Down
6 changes: 3 additions & 3 deletions target/linux/ramips/dts/mt7621_yuncore_fap690.dts
Expand Up @@ -99,8 +99,8 @@
#address-cells = <1>;
#size-cells = <1>;

macaddr_factory_0004: macaddr@0004 {
reg = <0x0004 0x6>;
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
};
};
Expand Down Expand Up @@ -128,7 +128,7 @@
};

&gmac0 {
nvmem-cells = <&macaddr_factory_0004>;
nvmem-cells = <&macaddr_factory_4>;
nvmem-cell-names = "mac-address";
};

Expand Down
3 changes: 0 additions & 3 deletions target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts
Expand Up @@ -49,9 +49,6 @@
keys {
compatible = "gpio-keys";

#address-cells = <1>;
#size-cells = <0>;

reset {
label = "reset";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
Expand Down
4 changes: 2 additions & 2 deletions target/linux/ramips/dts/rt3662_engenius_esr600h.dts
Expand Up @@ -161,9 +161,9 @@
&pci1 {
status = "okay";

wifi@0,1,0 {
wifi@0,0 {
compatible = "pci1814,3091";
reg = <0x0 1 0 0 0>;
reg = <0x10000 0 0 0 0>;
ralink,5ghz = <0>;
nvmem-cells = <&eeprom_factory_8000>;
nvmem-cell-names = "eeprom";
Expand Down
4 changes: 3 additions & 1 deletion target/linux/ramips/dts/rt3883.dtsi
Expand Up @@ -408,7 +408,7 @@
0x9000 0 0 4 &pciintc 19
>;

pci1: pci@1 {
pci1: pci@1,0 {
reg = <0x0800 0 0 0 0>;
device_type = "pci";
#interrupt-cells = <1>;
Expand All @@ -430,6 +430,7 @@
#address-cells = <3>;
#size-cells = <2>;

interrupt-controller;
status = "disabled";
};

Expand All @@ -439,6 +440,7 @@
#address-cells = <3>;
#size-cells = <2>;

interrupt-controller;
status = "disabled";
};
};
Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi
Expand Up @@ -102,7 +102,7 @@
&pci1 {
status = "okay";

wifi@1,0 {
wifi@0,0 {
compatible = "pci1814,3091";
reg = <0x10000 0 0 0 0>;
ralink,5ghz = <0>;
Expand Down

0 comments on commit af1d5d3

Please sign in to comment.