ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config
authorPeter Griffin <peter.griffin@linaro.org>
Mon, 28 Sep 2015 12:37:00 +0000 (14:37 +0200)
committerMaxime Coquelin <maxime.coquelin@st.com>
Wed, 30 Sep 2015 08:04:24 +0000 (10:04 +0200)
This patch adds the pin configuration for the NOR flash controller.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
arch/arm/boot/dts/stih407-pinctrl.dtsi

index 5d725fe7bbfc7434b5d0e089e366a8f2f5e368f8..b7a405f49b69919e92272ed87322101f659ceea5 100644 (file)
                                        };
                                };
                        };
+
+                       fsm {
+                               pinctrl_fsm: fsm {
+                                       st,pins {
+                                               spi-fsm-clk = <&pio40 1 ALT1 OUT>;
+                                               spi-fsm-cs = <&pio40 0 ALT1 OUT>;
+                                               spi-fsm-mosi = <&pio40 2 ALT1 OUT>;
+                                               spi-fsm-miso = <&pio40 3 ALT1 IN>;
+                                               spi-fsm-hol = <&pio40 5 ALT1 OUT>;
+                                               spi-fsm-wp = <&pio40 4 ALT1 OUT>;
+                                       };
+                               };
+                       };
                };
        };
 };