Skip to content

Commit 7be3644

Browse files
committed
arm64: dts: allwinner: sun55i-t527: avaota-a1: Add SPI NAND
The Avaota A1 board has a SPI NAND chip connected to spi0 on the PJ pins with support for QSPI. Enable spi0 and add a device node for the SPI NAND chip. Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://patch.msgid.link/20260302153559.3199783-4-wens@kernel.org Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
1 parent b1bbf38 commit 7be3644

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,21 @@
403403
assigned-clock-rates = <32768>;
404404
};
405405

406+
&spi0 {
407+
pinctrl-names = "default";
408+
pinctrl-0 = <&spi0_pj_pins>, <&spi0_cs0_pj_pin>,
409+
<&spi0_hold_pj_pin>, <&spi0_wp_pj_pin>;
410+
status = "okay";
411+
412+
nand@0 {
413+
compatible = "spi-nand";
414+
reg = <0>;
415+
spi-max-frequency = <100000000>;
416+
spi-rx-bus-width = <4>;
417+
spi-tx-bus-width = <4>;
418+
};
419+
};
420+
406421
&uart0 {
407422
pinctrl-names = "default";
408423
pinctrl-0 = <&uart0_pb_pins>;

0 commit comments

Comments
 (0)