apm821xx: MBL: HDD regulators overhaul for MBL DUO
[openwrt/staging/chunkeey.git] / target / linux / apm821xx / dts / wd-mybooklive.dts
index 5d026e66b564862af973683fed398d68e452858b..37b685a948b4ced34ada38a7204b80bda38b46d4 100644 (file)
        sata1pwr: sata1-regulator {
                compatible = "regulator-fixed";
                regulator-name = "Power Drive Port 1";
-               gpios = <&GPIO1 3 GPIO_ACTIVE_LOW>;
+               gpios = <&GPIO1 3 GPIO_ACTIVE_HIGH>;
                regulator-min-microvolt = <12000000>;
                regulator-max-microvolt = <12000000>;
+               regulator-boot-on;   /* uboot sets this */
                regulator-always-on; /* needed to read OS from HDD */
+               enable-active-high;
        };
 
        sata0pwr: sata0-regulator {
                compatible = "regulator-fixed";
                regulator-name = "Power Drive Port 0";
-               gpios = <&GPIO1 7 GPIO_ACTIVE_LOW>;
+               gpios = <&GPIO1 7 GPIO_ACTIVE_HIGH>;
                regulator-min-microvolt = <12000000>;
                regulator-max-microvolt = <12000000>;
+               regulator-boot-on;   /* uboot sets this */
                regulator-always-on; /* needed to read OS from HDD */
+               enable-active-high;
        };
 };