1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/spi/airoha,en7581-snand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SPI-NAND flash controller for Airoha ARM SoCs
10 - Lorenzo Bianconi <lorenzo@kernel.org>
13 - $ref: spi-controller.yaml#
17 const: airoha,en7581-snand
21 - description: spi base address
22 - description: nfi2spi base address
37 unevaluatedProperties: false
41 #include <dt-bindings/clock/en7523-clk.h>
48 compatible = "airoha,en7581-snand";
49 reg = <0x0 0x1fa10000 0x0 0x140>,
50 <0x0 0x1fa11000 0x0 0x160>;
52 clocks = <&scuclk EN7523_CLK_SPI>;
59 compatible = "spi-nand";
61 spi-tx-bus-width = <1>;
62 spi-rx-bus-width = <2>;