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