Skip to content

Commit 58fe732

Browse files
cpackham-atlnzgclement
authored andcommitted
arm64: dts: marvell: Add NAND flash controller to AC5
The AC5/AC5X SoC has a NAND flash controller (NFC). Add this to the base SoC dtsi file as a disabled node. The NFC integration on the AC5/AC5X only supports SDR timing modes up to 3 so requires a dedicated compatible property so this limitation can be enforced. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
1 parent 7184919 commit 58fe732

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,16 @@
297297
status = "disabled";
298298
};
299299

300+
nand: nand-controller@805b0000 {
301+
compatible = "marvell,ac5-nand-controller";
302+
reg = <0x0 0x805b0000 0x0 0x00000054>;
303+
#address-cells = <0x1>;
304+
#size-cells = <0x0>;
305+
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
306+
clocks = <&nand_clock>;
307+
status = "disabled";
308+
};
309+
300310
gic: interrupt-controller@80600000 {
301311
compatible = "arm,gic-v3";
302312
#interrupt-cells = <3>;
@@ -319,5 +329,11 @@
319329
#clock-cells = <0>;
320330
clock-frequency = <200000000>;
321331
};
332+
333+
nand_clock: nand-clock {
334+
compatible = "fixed-clock";
335+
#clock-cells = <0>;
336+
clock-frequency = <400000000>;
337+
};
322338
};
323339
};

0 commit comments

Comments
 (0)