ramips: MPR-A2 should use memory auto detection
[openwrt/.git] / target / linux / ramips / dts / MPRA2.dts
index 9f8edb6296cc6803a617ca991b216854d4d8f55d..39e534d029267c46db85efaae7bff74078c31ff7 100644 (file)
@@ -6,10 +6,6 @@
        compatible = "MPRA2", "ralink,rt5350-soc";
        model = "HAME MPR-A2";
 
-       memory@0 {
-               reg = <0x0 0x2000000>;
-       };
-
        palmbus@10000000 {
                sysc@0 {
                        ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
                };
        };
 
-       usb0: gpio-regulator {
-               compatible = "regulator-gpio";
-
-               regulator-name = "usb0-power";
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-               regulator-boot-on;
-
-               enable-active-high;
-               enable-gpio = <&gpio0 7 0>;
-       };
-
-       hub0: gpio-regulator {
-               compatible = "regulator-gpio";
-
-               regulator-name = "hub0-power";
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-               regulator-boot-on;
+       gpio_export {
+               compatible = "gpio-export";
+               #size-cells = <0>;
 
-               enable-active-high;
-               enable-gpio = <&gpio0 12 0>;
+               usb {
+                       gpio-export,name = "usb";
+                       gpio-export,output = <1>;
+                       gpios = <&gpio0 7 0>;
+               };
+               root_hub {
+                       gpio-export,name = "root_hub";
+                       gpio-export,output = <1>;
+                       gpios = <&gpio0 12 0>;
+               };
        };
 };