Commit 77f8d9b7 authored by Lee Jones's avatar Lee Jones Committed by Arnd Bergmann

ARM: STi: stih416: Add support for the FSM Serial Flash Controller

Here we add the necessary device nodes required for successful device
probing and Pinctrl setup for the FSM when booting on an STiH416 (Orly2).
Acked-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@st.com>
Acked-by Angus Clark <angus.clark@st.com>
Acked-by: default avatarBrian Norris <computersforpeace@gmail.com>
Acked-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 4de6732f
......@@ -310,6 +310,19 @@ st,pins {
};
};
};
fsm {
pinctrl_fsm: fsm {
st,pins {
spi-fsm-clk = <&PIO12 2 ALT1 OUT>;
spi-fsm-cs = <&PIO12 3 ALT1 OUT>;
spi-fsm-mosi = <&PIO12 4 ALT1 OUT>;
spi-fsm-miso = <&PIO12 5 ALT1 IN>;
spi-fsm-hol = <&PIO12 6 ALT1 OUT>;
spi-fsm-wp = <&PIO12 7 ALT1 OUT>;
};
};
};
};
pin-controller-rear {
......
......@@ -212,5 +212,17 @@ rc: rc@fe518000 {
resets = <&softreset STIH416_IRB_SOFTRESET>;
};
/* FSM */
spifsm: spifsm@fe902000 {
compatible = "st,spi-fsm";
reg = <0xfe902000 0x1000>;
pinctrl-0 = <&pinctrl_fsm>;
st,syscfg = <&syscfg_rear>;
st,boot-device-reg = <0x958>;
st,boot-device-spi = <0x1a>;
status = "disabled";
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment