xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/hisilicon,fmc-spi-nor.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunHiSilicon SPI-NOR Flash Controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible : Should be "hisilicon,fmc-spi-nor" and one of the following strings:
5*4882a593Smuzhiyun		"hisilicon,hi3519-spi-nor"
6*4882a593Smuzhiyun- address-cells : Should be 1.
7*4882a593Smuzhiyun- size-cells : Should be 0.
8*4882a593Smuzhiyun- reg : Offset and length of the register set for the controller device.
9*4882a593Smuzhiyun- reg-names : Must include the following two entries: "control", "memory".
10*4882a593Smuzhiyun- clocks : handle to spi-nor flash controller clock.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunExample:
13*4882a593Smuzhiyunspi-nor-controller@10000000 {
14*4882a593Smuzhiyun	compatible = "hisilicon,hi3519-spi-nor", "hisilicon,fmc-spi-nor";
15*4882a593Smuzhiyun	#address-cells = <1>;
16*4882a593Smuzhiyun	#size-cells = <0>;
17*4882a593Smuzhiyun	reg = <0x10000000 0x1000>, <0x14000000 0x1000000>;
18*4882a593Smuzhiyun	reg-names = "control", "memory";
19*4882a593Smuzhiyun	clocks = <&clock HI3519_FMC_CLK>;
20*4882a593Smuzhiyun	spi-nor@0 {
21*4882a593Smuzhiyun		compatible = "jedec,spi-nor";
22*4882a593Smuzhiyun		reg = <0>;
23*4882a593Smuzhiyun	};
24*4882a593Smuzhiyun};
25