38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From: Arnaud Patard <arnaud.patard@rtp-net.org>
|
|
Subject: imx53-qsb: enable usb power
|
|
Forwarded: no
|
|
|
|
Enable usb power pin by using a fixed regulator. With this and the usb clock
|
|
patch is making usb working on my loco.
|
|
|
|
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
|
|
[bwh: For 3.10, use macro for PIN_FUNC_ID in GPIO list]
|
|
Index: linux/arch/arm/boot/dts/imx53-qsb.dts
|
|
===================================================================
|
|
--- linux.orig/arch/arm/boot/dts/imx53-qsb.dts 2013-05-20 00:46:34.000000000 +0200
|
|
+++ linux/arch/arm/boot/dts/imx53-qsb.dts 2013-05-20 01:06:31.000000000 +0200
|
|
@@ -66,6 +66,15 @@
|
|
regulator-max-microvolt = <3200000>;
|
|
regulator-always-on;
|
|
};
|
|
+
|
|
+ reg_usbpwr: usbpwr {
|
|
+ compatible = "regulator-fixed";
|
|
+ regulator-name = "usbpwr";
|
|
+ regulator-min-microvolt = <5000000>;
|
|
+ regulator-max-microvolt = <5000000>;
|
|
+ gpio = <&gpio7 8 0>;
|
|
+ regulator-always-on;
|
|
+ };
|
|
};
|
|
|
|
sound {
|
|
@@ -118,6 +127,7 @@
|
|
MX53_PAD_EIM_DA12__GPIO3_12 0x80000000
|
|
MX53_PAD_EIM_DA13__GPIO3_13 0x80000000
|
|
MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
|
|
+ MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000
|
|
MX53_PAD_GPIO_16__GPIO7_11 0x80000000
|
|
>;
|
|
};
|