ARM: dts: dra72-evm: Provide explicit pinmux for TPS PMIC
authorNishanth Menon <nm@ti.com>
Tue, 21 Oct 2014 14:30:46 +0000 (09:30 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Nov 2014 22:27:35 +0000 (14:27 -0800)
Even thought sys_nirq1 is hardwired on the SoC for the pin, it is
better to configure the pin to the required mux configuration.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra72-evm.dts

index b135aab0aa5f4057cddb133a388e705b627f54c1..5d26fa1144e3821cb23afd1c1e04d3a5e6b543ed 100644 (file)
                        0x284 (PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */
                >;
        };
+
+       tps65917_pins_default: tps65917_pins_default {
+               pinctrl-single,pins = <
+                       0x424 (PIN_INPUT_PULLUP | MUX_MODE1) /* wakeup3.sys_nirq1 */
+               >;
+       };
 };
 
 &i2c1 {
@@ -77,6 +83,9 @@
                compatible = "ti,tps65917";
                reg = <0x58>;
 
+               pinctrl-names = "default";
+               pinctrl-0 = <&tps65917_pins_default>;
+
                interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>;  /* IRQ_SYS_1N */
                interrupt-parent = <&gic>;
                interrupt-controller;