X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FDIR-645.dts;h=e5ccb40ec6bd4ae65a452d1fa00e77b8f4697b15;hp=960d2cb352bc06897a11dcdb6dd05540acfa2ca5;hb=a7d049b5fc101e5620e41ee0944e6a78def62cb4;hpb=7091ed25bc74660777d8a4498905cc1d78fd7eea diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts index 960d2cb352..e5ccb40ec6 100644 --- a/target/linux/ramips/dts/DIR-645.dts +++ b/target/linux/ramips/dts/DIR-645.dts @@ -128,16 +128,13 @@ }; }; - usb0: gpio-regulator { - compatible = "regulator-gpio"; - - regulator-type = "voltage"; - regulator-name = "usb-power"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-boot-on; - - enable-active-high; - enable-gpio = <&gpio1 6 0>; + gpio_export { + compatible = "gpio-export"; + #size-cells = <0>; + usb { + gpio-export,name = "usb"; + gpio-export,output = <1>; + gpios = <&gpio1 6 0>; + }; }; };