summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2015-01-19 13:34:38 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-20 07:59:34 +0100
commit0ab72e0d78fc787c89789ba40da4ceb72a7269b0 (patch)
tree336fe113fd85a8362bef003362f84f5450ab7c30 /arch
parentd079fbd90a5a6728439cc261c1b3dac08d9c8f27 (diff)
downloadbarebox-0ab72e0d78fc787c89789ba40da4ceb72a7269b0.tar.gz
barebox-0ab72e0d78fc787c89789ba40da4ceb72a7269b0.tar.xz
ARM: dts: am335x-phytec-phyflex: Add USB host support
Add USB host support for the phyflex-som. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/am335x-phytec-phyflex.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/dts/am335x-phytec-phyflex.dts b/arch/arm/dts/am335x-phytec-phyflex.dts
index 6c49567107..5459cd24db 100644
--- a/arch/arm/dts/am335x-phytec-phyflex.dts
+++ b/arch/arm/dts/am335x-phytec-phyflex.dts
@@ -39,6 +39,13 @@
};
&am33xx_pinmux {
+ usb_pins: pinmux_usb {
+ pinctrl-single,pins = <
+ 0x21c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
+ 0x234 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usb1_drvvbus.usb1_drvvbus */
+ >;
+ };
+
i2c0_pins: pinmux_i2c0_pins {
pinctrl-single,pins = <
0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda */
@@ -129,6 +136,30 @@
};
};
+&cppi41dma {
+ status = "okay";
+};
+
+
+&usb_ctrl_mod {
+ status = "okay";
+};
+
+&usb {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb_pins>;
+ status = "okay";
+};
+
+&usb1 {
+ dr_mode = "host";
+ status = "okay";
+};
+
+&usb1_phy {
+ status = "okay";
+};
+
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;