Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: st_spi_fsm: Add device-tree binding documentation

Cc: devicetree@vger.kernel.org
Acked-by Angus Clark <angus.clark@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

authored by

Lee Jones and committed by
Brian Norris
e209e1e8 97ccf2d2

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