lantiq: dts: Move the &usb_vbus nodes out of &gpio
[openwrt/staging/ansuel.git] / target / linux / lantiq / files-4.19 / arch / mips / boot / dts / lantiq / danube_arcadyan_arv7518pw.dts
index ae0d27a0426936d4af7ab1cdc6e4174315cb6867..b5e88455765355249bb3e97b8fa25d2344debbe3 100644 (file)
                        gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
                };
        };
+
+       usb_vbus: regulator-usb-vbus {
+               compatible = "regulator-fixed";
+
+               regulator-name = "USB_VBUS";
+
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+
+               gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
 };
 
 &gpio {
                        lantiq,open-drain = <1>;
                };
        };
-
-       usb_vbus: regulator-usb-vbus {
-               compatible = "regulator-fixed";
-
-               regulator-name = "USB_VBUS";
-
-               regulator-min-microvolt = <5000000>;
-               regulator-max-microvolt = <5000000>;
-
-               gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-       };
 };
 
 /*