Skip to content

Commit f5ce990

Browse files
nehebffainelli
authored andcommitted
arm64: dts: bcm4908: nvmem-layout conversion
nvmem-layout is a more flexible replacement for nvmem-cells. Signed-off-by: Rosen Penev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Florian Fainelli <[email protected]>
1 parent 5c1ae77 commit f5ce990

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,20 @@
144144
#size-cells = <1>;
145145

146146
partition@0 {
147-
compatible = "nvmem-cells";
148147
label = "cferom";
149148
reg = <0x0 0x100000>;
150-
151149
#address-cells = <1>;
152150
#size-cells = <1>;
153151
ranges = <0 0x0 0x100000>;
154152

155-
base_mac_addr: mac@106a0 {
156-
reg = <0x106a0 0x6>;
153+
nvmem-layout {
154+
compatible = "fixed-layout";
155+
#address-cells = <1>;
156+
#size-cells = <1>;
157+
158+
base_mac_addr: mac@106a0 {
159+
reg = <0x106a0 0x6>;
160+
};
157161
};
158162
};
159163

0 commit comments

Comments
 (0)