From 55fb6f3a05deb4a8b5e600cc10bae9555a9f90be Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 23 Jun 2013 15:50:49 +0000 Subject: ralink: update patches Signed-off-by: John Crispin SVN-Revision: 37016 --- target/linux/ramips/dts/DIR-645.dts | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'target/linux/ramips/dts/DIR-645.dts') diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts index e0b3752006..960d2cb352 100644 --- a/target/linux/ramips/dts/DIR-645.dts +++ b/target/linux/ramips/dts/DIR-645.dts @@ -72,7 +72,10 @@ status = "okay"; mtd-mac-address = <&factory 0x28>; - ralink,fixed-link = <1000 1 1 1>; + port@0 { + ralink,fixed-link = <1000 1 1 0>; + }; + }; wmac@10180000 { @@ -125,14 +128,16 @@ }; }; - gpio_export { - compatible = "gpio-export"; - #size-cells = <0>; + usb0: gpio-regulator { + compatible = "regulator-gpio"; - usb { - gpio-export,name = "usb"; - gpio-export,output = <1>; - gpios = <&gpio1 6 0>; - }; + 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>; }; }; -- cgit v1.2.3