Skip to content

Commit 6fd9020

Browse files
committed
ARM: zynq: Do not define address/size-cells for nand-controller
There is no reason to define address/size-cells without defining child nodes in zynq-7000.dtsi. Define it in board file instead. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/7a3b9eb256b90ea19d35f8bbe3fd311890767974.1736233292.git.michal.simek@amd.com
1 parent e95da6b commit 6fd9020

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/boot/dts/xilinx/zynq-7000.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@
303303
compatible = "arm,pl353-nand-r2p1";
304304
reg = <0 0 0x1000000>;
305305
status = "disabled";
306-
#address-cells = <1>;
307-
#size-cells = <0>;
308306
};
309307
nor0: flash@1,0 {
310308
status = "disabled";

arch/arm/boot/dts/xilinx/zynq-ebaz4205.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
&nfc0 {
5252
status = "okay";
5353

54+
#address-cells = <1>;
55+
#size-cells = <0>;
5456
nand@0 {
5557
reg = <0>;
5658
};

0 commit comments

Comments
 (0)