Skip to content

Commit 68f8cc0

Browse files
Rafał Miłeckiffainelli
authored andcommitted
arm64: dts: broadcom: bcmbca: bcm4908: use NVMEM layout for Asus GT-AC5300
Defining NVMEM cells as direct subnodes is deprecated since commit bd912c9 ("dt-bindings: nvmem: layouts: add fixed-layout"). Use new syntax based on NVMEM layout. Signed-off-by: Rafał Miłecki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Florian Fainelli <[email protected]>
1 parent 6613476 commit 68f8cc0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,17 @@
181181
#size-cells = <1>;
182182

183183
partition@0 {
184-
compatible = "nvmem-cells";
185184
label = "cferom";
186185
reg = <0x0 0x100000>;
187186

188-
#address-cells = <1>;
189-
#size-cells = <1>;
190-
ranges = <0 0x0 0x100000>;
187+
nvmem-layout {
188+
compatible = "fixed-layout";
189+
#address-cells = <1>;
190+
#size-cells = <1>;
191191

192-
base_mac_addr: mac@106a0 {
193-
reg = <0x106a0 0x6>;
192+
base_mac_addr: mac@106a0 {
193+
reg = <0x106a0 0x6>;
194+
};
194195
};
195196
};
196197

0 commit comments

Comments
 (0)