Mostly leading 0 removals and wrong addresses.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
};
&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";
};
};
&pcie1 {
- wifi@1,0 {
+ wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&eeprom_factory_8000>;
#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 {
label = "wan";
phy-handle = <ðphy4>;
- nvmem-cells = <&macaddr_factory_0004>;
+ nvmem-cells = <&macaddr_factory_4>;
nvmem-cell-names = "mac-address";
};
#address-cells = <1>;
#size-cells = <1>;
- macaddr_factory_0004: macaddr@0004 {
- reg = <0x0004 0x6>;
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
};
};
};
};
&gmac0 {
- nvmem-cells = <&macaddr_factory_0004>;
+ nvmem-cells = <&macaddr_factory_4>;
nvmem-cell-names = "mac-address";
};
keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
-
reset {
label = "reset";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
&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";
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>;
#address-cells = <3>;
#size-cells = <2>;
+ interrupt-controller;
status = "disabled";
};
#address-cells = <3>;
#size-cells = <2>;
+ interrupt-controller;
status = "disabled";
};
};
&pci1 {
status = "okay";
- wifi@1,0 {
+ wifi@0,0 {
compatible = "pci1814,3091";
reg = <0x10000 0 0 0 0>;
ralink,5ghz = <0>;