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