@@ -40,6 +40,27 @@
0x414 0x60000 /* i2c3_scl */
>;
};
+
+ mcspi1_pins: pinmux_mcspi1_pins {
+ pinctrl-single,pins = <
+ 0x3a4 0x40000 /* spi2_clk */
+ 0x3a8 0x40000 /* spi2_d1 */
+ 0x3ac 0x40000 /* spi2_d0 */
+ 0x3b0 0xc0000 /* spi2_cs0 */
+ 0x3b4 0xc0000 /* spi2_cs1 */
+ 0x3b8 0xe0006 /* spi2_cs2 */
+ 0x3bc 0xe0006 /* spi2_cs3 */
+ >;
+ };
+
+ mcspi2_pins: pinmux_mcspi2_pins {
+ pinctrl-single,pins = <
+ 0x3c0 0x40000 /* spi2_sclk */
+ 0x3c4 0xc0000 /* spi2_d1 */
+ 0x3c8 0xc0000 /* spi2_d1 */
+ 0x3cc 0xe0000 /* spi2_cs0 */
+ >;
+ };
};
&i2c1 {
@@ -65,3 +86,15 @@
clock-frequency = <3400000>;
};
+
+&mcspi1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mcspi1_pins>;
+};
+
+&mcspi2 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mcspi2_pins>;
+};
Add pin control data for mcspi1 and mcspi2. Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> --- arch/arm/boot/dts/dra7-evm.dts | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-)