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