1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/spi/spi-nxp-fspi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP Flex Serial Peripheral Interface (FSPI)
14 - $ref: spi-controller.yaml#
29 - const: nxp,imx8mm-fspi
33 - description: registers address space
34 - description: memory mapped address space
46 - description: SPI bus clock
47 - description: SPI serial clock
65 unevaluatedProperties: false
69 #include <dt-bindings/interrupt-controller/arm-gic.h>
70 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
77 compatible = "nxp,lx2160a-fspi";
78 reg = <0x0 0x20c0000 0x0 0x100000>,
79 <0x0 0x20000000 0x0 0x10000000>;
80 reg-names = "fspi_base", "fspi_mmap";
81 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
82 clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(4)>,
83 <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(4)>;
84 clock-names = "fspi_en", "fspi";
89 compatible = "jedec,spi-nor";
90 spi-max-frequency = <50000000>;
92 spi-rx-bus-width = <8>;
93 spi-tx-bus-width = <8>;