1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/spi/mediatek,spi-mtk-nor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Serial NOR flash controller for MediaTek ARM SoCs
10 - Bayi Cheng <bayi.cheng@mediatek.com>
11 - Chuanhong Guo <gch981213@gmail.com>
14 This spi controller support single, dual, or quad mode transfer for
15 SPI NOR flash. There should be only one spi slave device following
16 generic spi bindings. It's not recommended to use this controller
17 for devices other than SPI NOR flash due to limited transfer
18 capability of this controller.
21 - $ref: /spi/spi-controller.yaml#
37 - const: mediatek,mt8173-nor
46 - description: clock used for spi bus
47 - description: clock used for controller
61 unevaluatedProperties: false
65 #include <dt-bindings/clock/mt8173-clk.h>
71 nor_flash: spi@1100d000 {
72 compatible = "mediatek,mt8173-nor";
73 reg = <0 0x1100d000 0 0xe0>;
74 interrupts = <&spi_flash_irq>;
75 clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>;
76 clock-names = "spi", "sf";
81 compatible = "jedec,spi-nor";