ARM: dts: am43xx-epos-evm: Add sleep pinmux for gpmc
authorAndrew F. Davis <afd@ti.com>
Fri, 29 Sep 2017 16:44:23 +0000 (11:44 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Oct 2017 19:56:55 +0000 (12:56 -0700)
Add sleep pinmux for gpmc.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am43x-epos-evm.dts

index 8f9c901..822e54c 100644 (file)
                        >;
                };
 
-               nand_flash_x8: nand_flash_x8 {
+               nand_flash_x8_default: nand_flash_x8_default {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* gpmc_a0.SELQSPIorNAND/GPIO */
                                AM4372_IOPAD(0x800, PIN_INPUT_PULLDOWN | MUX_MODE0)     /* gpmc_ad0.gpmc_ad0 */
                        >;
                };
 
+               nand_flash_x8_sleep: nand_flash_x8_sleep {
+                       pinctrl-single,pins = <
+                               AM4372_IOPAD(0x840, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x800, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x804, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x808, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x80c, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x810, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x814, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x818, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x81c, DS0_PIN_OUTPUT_PULLDOWN | MUX_MODE7)
+                               AM4372_IOPAD(0x870, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x874, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x87c, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x890, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x894, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x898, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
+                               AM4372_IOPAD(0x89c, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
+                       >;
+               };
+
                ecap0_pins_default: backlight_pins_default {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0x964, MUX_MODE0)         /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
 
 &gpmc {
        status = "okay";        /* Disable QSPI when enabling GPMC (NAND) */
-       pinctrl-names = "default";
-       pinctrl-0 = <&nand_flash_x8>;
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&nand_flash_x8_default>;
+       pinctrl-1 = <&nand_flash_x8_sleep>;
        ranges = <0 0 0x08000000 0x01000000>;   /* CS0 space. Min partition = 16MB */
        nand@0,0 {
                compatible = "ti,omap2-nand";