mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-08 11:32:05 +08:00
ramips: Xiaomi Mi Router 4A Gigabit Edition boot issue
This commit is contained in:
parent
70ca3376d0
commit
cb609bce6c
@ -131,7 +131,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&gmac0 {
|
&gmac0 {
|
||||||
mtd-mac-address = <&factory 0xe000>;
|
nvmem-cells = <&macaddr_factory_e000>;
|
||||||
|
nvmem-cell-names = "mac-address";
|
||||||
};
|
};
|
||||||
|
|
||||||
&switch0 {
|
&switch0 {
|
||||||
@ -149,7 +150,8 @@
|
|||||||
wan: port@4 {
|
wan: port@4 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
label = "wan";
|
label = "wan";
|
||||||
mtd-mac-address = <&factory 0xe006>;
|
nvmem-cells = <&macaddr_factory_e006>;
|
||||||
|
nvmem-cell-names = "mac-address";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -160,3 +162,17 @@
|
|||||||
function = "gpio";
|
function = "gpio";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&factory {
|
||||||
|
compatible = "nvmem-cells";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
macaddr_factory_e000: macaddr@e000 {
|
||||||
|
reg = <0xe000 0x6>;
|
||||||
|
};
|
||||||
|
|
||||||
|
macaddr_factory_e006: macaddr@e006 {
|
||||||
|
reg = <0xe006 0x6>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user