]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.git/blobdiff - arch/arm/boot/dts/am43x-epos-evm.dts
ARM: dts: am43xx-epos-evm: Add sleep pinmux for spi0 and spi1
[rpmsg/hwspinlock.git] / arch / arm / boot / dts / am43x-epos-evm.dts
index 9d276af7c539f3dd1cb382f12d4bca7d9bd2fb3d..f73c22ce40032892e1fc87026c10a6da66689b32 100644 (file)
                        >;
                };
 
-               spi0_pins: pinmux_spi0_pins {
+               spi0_pins_default: pinmux_spi0_pins_default {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0x950, PIN_INPUT | MUX_MODE0)           /* spi0_clk.spi0_clk */
                                AM4372_IOPAD(0x954, PIN_OUTPUT | MUX_MODE0)           /* spi0_d0.spi0_d0 */
                        >;
                };
 
-               spi1_pins: pinmux_spi1_pins {
+               spi0_pins_sleep: pinmux_spi0_pins_sleep {
+                       pinctrl-single,pins = <
+                               AM4372_IOPAD(0x950, DS0_PIN_OUTPUT_PULLUP | PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x954, DS0_PIN_OUTPUT_PULLUP | PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x958, DS0_PIN_OUTPUT_PULLUP | PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x95c, DS0_PIN_OUTPUT_PULLUP | PIN_OUTPUT_PULLUP | MUX_MODE7)
+                       >;
+               };
+
+               spi1_pins_default: pinmux_spi1_pins_default {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0x990, PIN_INPUT | MUX_MODE3)           /* mcasp0_aclkx.spi1_clk */
                                AM4372_IOPAD(0x994, PIN_OUTPUT | MUX_MODE3)           /* mcasp0_fsx.spi1_d0 */
                        >;
                };
 
+               spi1_pins_sleep: pinmux_spi1_pins_sleep {
+                       pinctrl-single,pins = <
+                               AM4372_IOPAD(0x990, DS0_PIN_OUTPUT_PULLDOWN | PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x994, DS0_PIN_OUTPUT_PULLDOWN | PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x998, DS0_PIN_OUTPUT_PULLDOWN | PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x99c, DS0_PIN_OUTPUT_PULLDOWN | PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                       >;
+               };
+
                mmc1_pins: pinmux_mmc1_pins {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
 };
 
 &spi0 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&spi0_pins>;
        status = "okay";
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&spi0_pins_default>;
+       pinctrl-1 = <&spi0_pins_sleep>;
 };
 
 &spi1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&spi1_pins>;
        status = "okay";
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&spi1_pins_default>;
+       pinctrl-1 = <&spi1_pins_sleep>;
 };
 
 &usb2_phy1 {