xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rkflash/sfc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Rockchip SFC Controller for SOC
2
3Required properties:
4- compatible : "rockchip,sfc".
5- reg : shall contain registers location and length for data and reg.
6- interrupts : shall define the nand controller interrupt.
7- clocks : shall reference sfc controller clocks.
8- clock-names : sfc controller internal clock names. Shall contain :
9    * "clk_sfc" : sfc controller clock
10    * "hclk_sfc" : sfc ahb clock gate
11- assigned-clocks : sclk preset by dts
12- assigned-clock-frequency : sclk frequency, io clk = sclk/2;
13
14Examples:
15sfc: sfc@301c0000 {
16	compatible = "rockchip,sfc";
17	reg = <0x301c0000 0x200>;
18	interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
19	clocks = <&clk_sfc>, <&clk_gates15 10>;
20	clock-names = "clk_sfc", "hclk_sfc";
21	assigned-clocks = <&cru SCLK_SFC>;
22	assigned-clock-frequency = <100000000>;
23	status = "okay";
24};
25