ARM: tegra: add palmas pincontrol to Dalmore device tree
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 18 Sep 2013 13:07:22 +0000 (18:37 +0530)
committerStephen Warren <swarren@nvidia.com>
Thu, 19 Sep 2013 18:17:36 +0000 (12:17 -0600)
Add Palmas pincontrol to Dalmore device tree and make following
configuration as default:
- Disable DVFS1 and DVFS2.
- Set GPIO6 to gpio mode.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra114-dalmore.dts

index 6023028..dc5cdd7 100644 (file)
                                interrupt-parent = <&palmas>;
                                interrupts = <8 0>;
                        };
+
+                       pinmux {
+                               compatible = "ti,tps65913-pinctrl";
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&palmas_default>;
+
+                               palmas_default: pinmux {
+                                       pin_gpio6 {
+                                               pins = "gpio6";
+                                               function = "gpio";
+                                       };
+                               };
+                       };
                };
        };