* [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: Add USB host support
@ 2015-01-19 12:34 Wadim Egorov
2015-01-19 12:34 ` [PATCH 2/2] ARM: dts: am335x-phytec-phyflex: " Wadim Egorov
2015-01-20 7:00 ` [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: " Sascha Hauer
0 siblings, 2 replies; 4+ messages in thread
From: Wadim Egorov @ 2015-01-19 12:34 UTC (permalink / raw)
To: barebox
Add USB host support for all phycore-som based boards.
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
---
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 30 +++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dtsi b/arch/arm/dts/am335x-phytec-phycore-som.dtsi
index c34ae38..7d0e3c5 100644
--- a/arch/arm/dts/am335x-phytec-phycore-som.dtsi
+++ b/arch/arm/dts/am335x-phytec-phycore-som.dtsi
@@ -17,6 +17,13 @@
};
&am33xx_pinmux {
+ usb_pins: pinmux_usb_pins {
+ 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.i2c0_sda */
@@ -106,6 +113,29 @@
};
};
+&cppi41dma {
+ status = "okay";
+};
+
+&usb_ctrl_mod {
+ status = "okay";
+};
+
+&usb {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb_pins>;
+ status = "okay";
+};
+
+&usb1 {
+ status = "okay";
+ dr_mode = "host";
+};
+
+&usb1_phy {
+ status = "okay";
+};
+
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
--
1.9.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: dts: am335x-phytec-phyflex: Add USB host support
2015-01-19 12:34 [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: Add USB host support Wadim Egorov
@ 2015-01-19 12:34 ` Wadim Egorov
2015-01-20 7:00 ` [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: " Sascha Hauer
1 sibling, 0 replies; 4+ messages in thread
From: Wadim Egorov @ 2015-01-19 12:34 UTC (permalink / raw)
To: barebox
Add USB host support for the phyflex-som.
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
---
arch/arm/dts/am335x-phytec-phyflex.dts | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm/dts/am335x-phytec-phyflex.dts b/arch/arm/dts/am335x-phytec-phyflex.dts
index 6c49567..5459cd2 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>;
--
1.9.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: Add USB host support
2015-01-19 12:34 [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: Add USB host support Wadim Egorov
2015-01-19 12:34 ` [PATCH 2/2] ARM: dts: am335x-phytec-phyflex: " Wadim Egorov
@ 2015-01-20 7:00 ` Sascha Hauer
2015-01-20 7:33 ` Wadim Egorov
1 sibling, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2015-01-20 7:00 UTC (permalink / raw)
To: Wadim Egorov; +Cc: barebox
On Mon, Jan 19, 2015 at 01:34:37PM +0100, Wadim Egorov wrote:
> Add USB host support for all phycore-som based boards.
>
> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
> ---
> arch/arm/dts/am335x-phytec-phycore-som.dtsi | 30 +++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
Applied, thanks.
I assume this has been tested on Linux aswell, right?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: Add USB host support
2015-01-20 7:00 ` [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: " Sascha Hauer
@ 2015-01-20 7:33 ` Wadim Egorov
0 siblings, 0 replies; 4+ messages in thread
From: Wadim Egorov @ 2015-01-20 7:33 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
Yes, I have tested this on Linux (3.12).
On 20.01.2015 08:00, Sascha Hauer wrote:
> On Mon, Jan 19, 2015 at 01:34:37PM +0100, Wadim Egorov wrote:
>> Add USB host support for all phycore-som based boards.
>>
>> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
>> ---
>> arch/arm/dts/am335x-phytec-phycore-som.dtsi | 30 +++++++++++++++++++++++++++++
>> 1 file changed, 30 insertions(+)
> Applied, thanks.
>
> I assume this has been tested on Linux aswell, right?
>
> Sascha
>
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-20 7:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 12:34 [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: Add USB host support Wadim Egorov
2015-01-19 12:34 ` [PATCH 2/2] ARM: dts: am335x-phytec-phyflex: " Wadim Egorov
2015-01-20 7:00 ` [PATCH 1/2] ARM: dts: am335x-phytec-phycore-som: " Sascha Hauer
2015-01-20 7:33 ` Wadim Egorov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox