]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ARM: dts: am335x-evmsk: Add vtt_fixed regulator
authorDave Gerlach <d-gerlach@ti.com>
Mon, 5 May 2014 19:58:29 +0000 (14:58 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 6 May 2014 17:22:51 +0000 (10:22 -0700)
The VTT regulator for DDR3 termination on the am335x-evmsk is
controlled by a gpio. It is configured by the bootloader so here we
define an always-on, fixed voltage regulator to hold the gpio.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-evmsk.dts

index a460c2e6bfce333f830af9ac61796fe590b8b27c..6f2e529bca25b7089445d317d43e645de61249ce 100644 (file)
                enable-active-high;
        };
 
+       vtt_fixed: fixedregulator@3 {
+               compatible = "regulator-fixed";
+               regulator-name = "vtt";
+               regulator-min-microvolt = <1500000>;
+               regulator-max-microvolt = <1500000>;
+               gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+               regulator-always-on;
+               regulator-boot-on;
+               enable-active-high;
+       };
+
        leds {
                pinctrl-names = "default";
                pinctrl-0 = <&user_leds_s0>;