xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/spear_smi.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* SPEAr SMI
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible : "st,spear600-smi"
5*4882a593Smuzhiyun- reg : Address range of the mtd chip
6*4882a593Smuzhiyun- #address-cells, #size-cells : Must be present if the device has sub-nodes
7*4882a593Smuzhiyun  representing partitions.
8*4882a593Smuzhiyun- interrupts: Should contain the STMMAC interrupts
9*4882a593Smuzhiyun- clock-rate : Functional clock rate of SMI in Hz
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun- st,smi-fast-mode : Flash supports read in fast mode
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	smi: flash@fc000000 {
17*4882a593Smuzhiyun		compatible = "st,spear600-smi";
18*4882a593Smuzhiyun		#address-cells = <1>;
19*4882a593Smuzhiyun		#size-cells = <1>;
20*4882a593Smuzhiyun		reg = <0xfc000000 0x1000>;
21*4882a593Smuzhiyun		interrupt-parent = <&vic1>;
22*4882a593Smuzhiyun		interrupts = <12>;
23*4882a593Smuzhiyun		clock-rate = <50000000>;	/* 50MHz */
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun		flash@f8000000 {
26*4882a593Smuzhiyun			st,smi-fast-mode;
27*4882a593Smuzhiyun			...
28*4882a593Smuzhiyun		};
29*4882a593Smuzhiyun	};
30