]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am437x-gp-evm: Add pinctrl for debugss pins
authorDave Gerlach <d-gerlach@ti.com>
Wed, 7 Nov 2018 05:04:17 +0000 (10:34 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 19 Nov 2018 18:32:28 +0000 (10:32 -0800)
The pins used by debugss are not configued by default, place pulldowns
on the pins for maximum power savings during sleep.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
[t-kristo@ti.com: converted to use AM4372_IOPAD macro]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-gp-evm.dts

index ae6b24e051eb60bf3ad49e020126f735a7ae8b25..9c5e969d05e6cbd05f7900ae71bf2deb0616f15e 100644 (file)
@@ -162,7 +162,7 @@ beeper: beeper {
 
 &am43xx_pinmux {
        pinctrl-names = "default", "sleep";
-       pinctrl-0 = <&wlan_pins_default &ddr3_vtt_toggle_default &unused_pins>;
+       pinctrl-0 = <&wlan_pins_default &ddr3_vtt_toggle_default &unused_pins &debugss_pins>;
        pinctrl-1 = <&wlan_pins_sleep>;
 
        ddr3_vtt_toggle_default: ddr_vtt_toggle_default {
@@ -580,6 +580,18 @@ AM4372_IOPAD(0xb14, PIN_INPUT_PULLDOWN | MUX_MODE7)
                        AM4372_IOPAD(0xb18, PIN_INPUT_PULLDOWN | MUX_MODE7)
                >;
        };
+
+       debugss_pins: pinmux_debugss_pins {
+               pinctrl-single,pins = <
+                       AM4372_IOPAD(0xa90, PIN_INPUT_PULLDOWN)
+                       AM4372_IOPAD(0xa94, PIN_INPUT_PULLDOWN)
+                       AM4372_IOPAD(0xa98, PIN_INPUT_PULLDOWN)
+                       AM4372_IOPAD(0xa9c, PIN_INPUT_PULLDOWN)
+                       AM4372_IOPAD(0xaa0, PIN_INPUT_PULLDOWN)
+                       AM4372_IOPAD(0xaa4, PIN_INPUT_PULLDOWN)
+                       AM4372_IOPAD(0xaa8, PIN_INPUT_PULLDOWN)
+               >;
+       };
 };
 
 &uart0 {