1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/spi/rockchip-sfc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip Serial Flash Controller (SFC)
10 - Heiko Stuebner <heiko@sntech.de>
11 - Chris Morgan <macromorgan@hotmail.com>
14 - $ref: spi-controller.yaml#
20 The rockchip sfc controller is a standalone IP with version register,
21 and the driver can handle all the feature difference inside the IP
22 depending on the version register.
32 - description: Bus Clock
33 - description: Module Clock
44 description: Disable DMA and utilize FIFO mode only
62 unevaluatedProperties: false
66 #include <dt-bindings/clock/px30-cru.h>
67 #include <dt-bindings/interrupt-controller/arm-gic.h>
68 #include <dt-bindings/power/px30-power.h>
71 compatible = "rockchip,sfc";
72 reg = <0xff3a0000 0x4000>;
73 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
74 clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
75 clock-names = "clk_sfc", "hclk_sfc";
76 pinctrl-0 = <&sfc_clk &sfc_cs &sfc_bus2>;
77 pinctrl-names = "default";
78 power-domains = <&power PX30_PD_MMC_NAND>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <108000000>;
86 spi-rx-bus-width = <2>;
87 spi-tx-bus-width = <2>;