@@ -32,6 +32,16 @@
status = "okay";
};
+ /* FSM */
+ spifsm: spifsm@fe902000{
+ compatible = "st,spi-fsm", "simple-bus";
+ reg = <0xfe902000 0x1000>;
+ reg-names = "spi-fsm";
+ pinctrl-0 = <&pinctrl_fsm>;
+
+ status = "okay";
+ };
+
leds {
compatible = "gpio-leds";
fp_led {
@@ -235,6 +235,18 @@
};
};
+ fsm {
+ pinctrl_fsm: fsm {
+ st,pins {
+ spi-fsm-clk = <&PIO12 2 OUT ALT1>;
+ spi-fsm-cs = <&PIO12 3 OUT ALT1>;
+ spi-fsm-mosi = <&PIO12 4 OUT ALT1>;
+ spi-fsm-miso = <&PIO12 5 IN ALT1>;
+ spi-fsm-hol = <&PIO12 6 OUT ALT1>;
+ spi-fsm-wp = <&PIO12 7 OUT ALT1>;
+ };
+ };
+ };
};
pin-controller-rear {
Here we add the necessary device nodes required for successful device probing and Pinctrl setup for the FSM. Cc: Srinivas Kandagatla <srinivas.kandagatla@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- arch/arm/boot/dts/stih416-b2105.dts | 10 ++++++++++ arch/arm/boot/dts/stih416-pinctrl.dtsi | 12 ++++++++++++ 2 files changed, 22 insertions(+)