summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap4-kc1.dts
diff options
context:
space:
mode:
authorPaul Kocialkowski2016-03-29 21:28:25 +0200
committerTony Lindgren2016-04-12 23:32:02 +0200
commitabb68f64ce34e7665f88e4c3f0bcd94f3d7a743c (patch)
tree46f6faf4f74df5cca88cf960d9e56faed8bbe2c4 /arch/arm/boot/dts/omap4-kc1.dts
parentARM: dts: Amazon Kindle Fire (first generation) codename kc1 basic support (diff)
downloadkernel-qcow2-linux-abb68f64ce34e7665f88e4c3f0bcd94f3d7a743c.tar.gz
kernel-qcow2-linux-abb68f64ce34e7665f88e4c3f0bcd94f3d7a743c.tar.xz
kernel-qcow2-linux-abb68f64ce34e7665f88e4c3f0bcd94f3d7a743c.zip
ARM: dts: omap4-kc1: USB OTG support
This adds support for USB OTG on the Kindle Fire (first generation). Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-kc1.dts')
-rw-r--r--arch/arm/boot/dts/omap4-kc1.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-kc1.dts b/arch/arm/boot/dts/omap4-kc1.dts
index 9fe4441b815c..0d08f9fddd3e 100644
--- a/arch/arm/boot/dts/omap4-kc1.dts
+++ b/arch/arm/boot/dts/omap4-kc1.dts
@@ -71,6 +71,14 @@
OMAP4_IOPAD(0x084, PIN_INPUT_PULLUP | MUX_MODE1) /* sdmmc2_cmd */
>;
};
+
+ usb_otg_hs_pins: pinmux_usb_otg_hs_pins {
+ pinctrl-single,pins = <
+ OMAP4_IOPAD(0x194, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usba0_otg_ce */
+ OMAP4_IOPAD(0x196, PIN_INPUT | MUX_MODE0) /* usba0_otg_dp */
+ OMAP4_IOPAD(0x198, PIN_INPUT | MUX_MODE0) /* usba0_otg_dm */
+ >;
+ };
};
&uart3 {
@@ -136,5 +144,18 @@
status = "disabled";
};
+&usb_otg_hs {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb_otg_hs_pins>;
+
+ interface-type = <1>;
+ mode = <3>;
+ power = <50>;
+};
+
#include "twl6030.dtsi"
#include "twl6030_omap4.dtsi"
+
+&twl_usb_comparator {
+ usb-supply = <&vusb>;
+};