ramips: fix dtc warnings

Mostly leading 0 removals and wrong addresses.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-30 12:08:31 -08:00 committed by Christian Marangi
parent 89ff407d68
commit 14362f22af
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
8 changed files with 15 additions and 16 deletions

View File

@ -215,9 +215,9 @@
};
&pcie0 {
wifi@0,1,0 {
wifi@0,0 {
compatible = "pci1814,3091";
reg = <0x0 1 0 0 0>;
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&eeprom_factory_0>;
nvmem-cell-names = "eeprom";
};

View File

@ -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>;

View File

@ -129,8 +129,8 @@
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_0004: macaddr@0004 {
reg = <0x0004 0x6>;
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
macaddr_factory_e006: macaddr@e006 {
@ -171,7 +171,7 @@
label = "wan";
phy-handle = <&ethphy4>;
nvmem-cells = <&macaddr_factory_0004>;
nvmem-cells = <&macaddr_factory_4>;
nvmem-cell-names = "mac-address";
};

View File

@ -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>;
};
};
};
@ -128,7 +128,7 @@
};
&gmac0 {
nvmem-cells = <&macaddr_factory_0004>;
nvmem-cells = <&macaddr_factory_4>;
nvmem-cell-names = "mac-address";
};

View File

@ -49,9 +49,6 @@
keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
reset {
label = "reset";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;

View File

@ -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";

View File

@ -399,7 +399,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>;
@ -421,6 +421,7 @@
#address-cells = <3>;
#size-cells = <2>;
interrupt-controller;
status = "disabled";
};
@ -430,6 +431,7 @@
#address-cells = <3>;
#size-cells = <2>;
interrupt-controller;
status = "disabled";
};
};

View File

@ -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>;