1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-26 01:27:28 +02:00

ramips: set Netgear R6220 MAC NVMEM cell directly in the part node

There is no need to use reference if original node it specified in
exactly the same file. This is a minor cleanup simplifying DTS code.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki 2023-05-09 15:29:48 +02:00
parent 2953d3c156
commit 42fbaf96cb

View File

@ -42,9 +42,17 @@
};
factory: partition@2e00000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x2e00000 0x100000>;
read-only;
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
};
partition@4200000 {
@ -65,13 +73,3 @@
nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
};
&factory {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
};