ath79: rb91x: enable pcie power early (WIP)
[openwrt/staging/xback.git] / target / linux / ath79 / dts / ar9342_mikrotik_routerboard-911g.dtsi
index 1c5a2a18e4fa8a71544484f7493f16f4994b0fb3..f888988c42f49db790887d088ba06b819fa089f1 100644 (file)
                        gpio-export,output = <1>;
                        gpios = <&ssr 6 GPIO_ACTIVE_HIGH>;
                };
-
-               pcie_power {
-                       gpio-export,name = "power-pcie";
-                       gpio-export,output = <0>;
-                       gpios = <&ssr 7 GPIO_ACTIVE_HIGH>;
-               };
        };
 };
 
                registers-number = <1>;
                reg = <1>;
                spi-max-frequency = <50000000>;
+
+               power_pcie {
+                       gpio-hog;
+                       gpios = <7 0>;
+                       output-high;
+               };
        };
 };