]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: tegra: trimslice: add gpio-poweroff node to DT
authorStephen Warren <swarren@nvidia.com>
Thu, 6 Dec 2012 21:23:52 +0000 (14:23 -0700)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 18:24:07 +0000 (11:24 -0700)
... and disable tri-state from the pingroup that contains the poweroff
GPIO.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra20-trimslice.dts

index b70b4cb754c8bd1e60b6d7768e3de0eb83d6186a..4b6c486ecea5e574357dfb459065cb49dd210fff 100644 (file)
                                        "ld23_22";
                                nvidia,pull = <1>;
                        };
+                       conf_spif {
+                               nvidia,pins = "spif";
+                               nvidia,pull = <1>;
+                               nvidia,tristate = <0>;
+                       };
                };
        };
 
                bus-width = <4>;
        };
 
+       poweroff {
+               compatible = "gpio-poweroff";
+               gpios = <&gpio 191 1>; /* gpio PX7, active low */
+       };
+
        regulators {
                compatible = "simple-bus";
                #address-cells = <1>;