xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/st-fsm.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* ST-Microelectronics SPI FSM Serial (NOR) Flash Controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun  - compatible : Should be "st,spi-fsm"
5*4882a593Smuzhiyun  - reg        : Contains register's location and length.
6*4882a593Smuzhiyun  - reg-names  : Should contain the reg names "spi-fsm"
7*4882a593Smuzhiyun  - interrupts : The interrupt number
8*4882a593Smuzhiyun  - pinctrl-0  : Standard Pinctrl phandle (see: pinctrl/pinctrl-bindings.txt)
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunOptional properties:
11*4882a593Smuzhiyun  - st,syscfg          : Phandle to boot-device system configuration registers
12*4882a593Smuzhiyun  - st,boot-device-reg : Address of the aforementioned boot-device register(s)
13*4882a593Smuzhiyun  - st,boot-device-spi : Expected boot-device value if booted via this device
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunExample:
16*4882a593Smuzhiyun	spifsm: spifsm@fe902000{
17*4882a593Smuzhiyun	        compatible         = "st,spi-fsm";
18*4882a593Smuzhiyun	        reg                =  <0xfe902000 0x1000>;
19*4882a593Smuzhiyun	        reg-names          = "spi-fsm";
20*4882a593Smuzhiyun	        pinctrl-0          = <&pinctrl_fsm>;
21*4882a593Smuzhiyun		st,syscfg	   = <&syscfg_rear>;
22*4882a593Smuzhiyun	        st,boot-device-reg = <0x958>;
23*4882a593Smuzhiyun	        st,boot-device-spi = <0x1a>;
24*4882a593Smuzhiyun	};
25*4882a593Smuzhiyun
26