* [PATCH v2 0/2] ARM: dts: keystone-k2g-evm: Add USB nodes and enable USB on K2G EVM
@ 2017-09-08 18:41 Franklin S Cooper Jr
2017-09-08 18:41 ` [PATCH v2 1/2] ARM: dts: k2g: Add USB instances Franklin S Cooper Jr
[not found] ` <20170908184132.6155-1-fcooper-l0cyMroinI0@public.gmane.org>
0 siblings, 2 replies; 3+ messages in thread
From: Franklin S Cooper Jr @ 2017-09-08 18:41 UTC (permalink / raw)
To: ssantosh, robh+dt, mark.rutland, linux, linux-arm-kernel,
devicetree, linux-kernel, rogerq
Cc: Franklin S Cooper Jr
Add USB nodes to 66AK2G dtsi. Also enable the two USB nodes that are on
the K2G EVM.
Roger Quadros (1):
ARM: dts: k2g-evm: Enable USB 0 and 1
Vitaly Andrianov (1):
ARM: dts: k2g: Add USB instances
arch/arm/boot/dts/keystone-k2g-evm.dts | 26 ++++++++++++++++
arch/arm/boot/dts/keystone-k2g.dtsi | 56 ++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
--
2.9.4.dirty
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 1/2] ARM: dts: k2g: Add USB instances
2017-09-08 18:41 [PATCH v2 0/2] ARM: dts: keystone-k2g-evm: Add USB nodes and enable USB on K2G EVM Franklin S Cooper Jr
@ 2017-09-08 18:41 ` Franklin S Cooper Jr
[not found] ` <20170908184132.6155-1-fcooper-l0cyMroinI0@public.gmane.org>
1 sibling, 0 replies; 3+ messages in thread
From: Franklin S Cooper Jr @ 2017-09-08 18:41 UTC (permalink / raw)
To: ssantosh, robh+dt, mark.rutland, linux, linux-arm-kernel,
devicetree, linux-kernel, rogerq
Cc: Vitaly Andrianov, Franklin S Cooper Jr
From: Vitaly Andrianov <vitalya@ti.com>
Add nodes for both USB instances supported by 66AK2G.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
arch/arm/boot/dts/keystone-k2g.dtsi | 56 +++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index a789f75..c8f3b93 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -139,5 +139,61 @@
interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
};
+
+ usb0_phy: usb-phy@0 {
+ compatible = "usb-nop-xceiv";
+ status = "disabled";
+ };
+
+ keystone_usb0: keystone-dwc3@2680000 {
+ compatible = "ti,keystone-dwc3";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x2680000 0x10000>;
+ interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
+ ranges;
+ dma-coherent;
+ dma-ranges;
+ status = "disabled";
+ power-domains = <&k2g_pds 0x0016>;
+
+ usb0: usb@2690000 {
+ compatible = "snps,dwc3";
+ reg = <0x2690000 0x10000>;
+ interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
+ maximum-speed = "high-speed";
+ dr_mode = "otg";
+ usb-phy = <&usb0_phy>;
+ status = "disabled";
+ };
+ };
+
+ usb1_phy: usb-phy@1 {
+ compatible = "usb-nop-xceiv";
+ status = "disabled";
+ };
+
+ keystone_usb1: keystone-dwc3@2580000 {
+ compatible = "ti,keystone-dwc3";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x2580000 0x10000>;
+ interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
+ ranges;
+ dma-coherent;
+ dma-ranges;
+ status = "disabled";
+ power-domains = <&k2g_pds 0x0017>;
+
+ usb1: usb@2590000 {
+ compatible = "snps,dwc3";
+ reg = <0x2590000 0x10000>;
+ interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
+ maximum-speed = "high-speed";
+ dr_mode = "otg";
+ usb-phy = <&usb1_phy>;
+ status = "disabled";
+ };
+ };
};
};
--
2.9.4.dirty
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] ARM: dts: k2g-evm: Enable USB 0 and 1
[not found] ` <20170908184132.6155-1-fcooper-l0cyMroinI0@public.gmane.org>
@ 2017-09-08 18:41 ` Franklin S Cooper Jr
0 siblings, 0 replies; 3+ messages in thread
From: Franklin S Cooper Jr @ 2017-09-08 18:41 UTC (permalink / raw)
To: ssantosh-DgEjT+Ai2ygdnm+yROfE0A, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
mark.rutland-5wv7dgnIgG8, linux-I+IVW8TIWO2tmTQ+vhA3Yw,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, rogerq-l0cyMroinI0
Cc: Murali Karicheri, Franklin S Cooper Jr
From: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
Enable USB 0 which will be used as a host port and USB 1 which will be
used in peripheral mode.
Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
Signed-off-by: Franklin S Cooper Jr <fcooper-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/keystone-k2g-evm.dts | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts
index 61883cb..4f56295 100644
--- a/arch/arm/boot/dts/keystone-k2g-evm.dts
+++ b/arch/arm/boot/dts/keystone-k2g-evm.dts
@@ -41,3 +41,29 @@
pinctrl-0 = <&uart0_pins>;
status = "okay";
};
+
+&keystone_usb0 {
+ status = "okay";
+};
+
+&usb0_phy {
+ status = "okay";
+};
+
+&usb0 {
+ dr_mode = "host";
+ status = "okay";
+};
+
+&keystone_usb1 {
+ status = "okay";
+};
+
+&usb1_phy {
+ status = "okay";
+};
+
+&usb1 {
+ dr_mode = "peripheral";
+ status = "okay";
+};
--
2.9.4.dirty
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-08 18:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-08 18:41 [PATCH v2 0/2] ARM: dts: keystone-k2g-evm: Add USB nodes and enable USB on K2G EVM Franklin S Cooper Jr
2017-09-08 18:41 ` [PATCH v2 1/2] ARM: dts: k2g: Add USB instances Franklin S Cooper Jr
[not found] ` <20170908184132.6155-1-fcooper-l0cyMroinI0@public.gmane.org>
2017-09-08 18:41 ` [PATCH v2 2/2] ARM: dts: k2g-evm: Enable USB 0 and 1 Franklin S Cooper Jr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).