ARM: dts: omap: add dt data for dwc3
cover ARM: dts: omap: add dt data for dwc3
This patch series adds dt data to get dwc3 working in omap5.
This patch series is developed ongit://github.com/rrnayak/linux.git omap5-3.8-rc4-base-palmas
This is the last series of the series of patches. I've kept everything in a single branchgit://gitorious.org/linux-usb/linux-usb.git omap5-with-palmas (changes up to 23b4dfa2ab7052569cd88acc6383c4b1a8e8a482)
Did enumeration testing on omap5 evm.
Kishon Vijay Abraham I (6):
ARM: dts: omap5: Add omap control usb data
ARM: dts: omap5: Add ocp2scp data
ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data
ARM: dts: omap5: add dwc3 omap dt data
ARM: dts: omap5: add dwc3 core dt data
ARM: dts: palmas: update dt data for palmas-usb
arch/arm/boot/dts/omap5.dtsi | 48 +++++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/palmas.dtsi | 4 ++-- 2 files changed, 50 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
PATCH 1/6 ARM: dts: omap5: Add omap control usb data
Add omap control usb data in omap5 device tree file. This will have the register address of registers to power on the USB2 PHY and USB3 PHY. The information for the node added here is available in Documentation/devicetree/bindings/usb/omap-usb.txt
--- arch/arm/boot/dts/omap5.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/omap5.dtsi +8 -0
@@ -504,5 +504,13 @@ hw-caps-ll-interface; hw-caps-temp-alert; }; + + omap_control_usb: omap-control-usb at 4a002300 { + compatible = "ti,omap-control-usb"; + reg = <0x4a002300 0x4>, + <0x4a002370 0x4>; + reg-names = "control_dev_conf", "phy_power_usb"; + ti,type = <2>; + }; }; };
Signature · 1 line
1.7.9.5
PATCH 2/6 ARM: dts: omap5: Add ocp2scp data
In reply to Kishon Vijay Abraham IAdd ocp2scp data node in omap5 device tree file. The information for the node added here can be found @ Documentation/devicetree/bindings/bus/omap-ocp2scp.txt
--- arch/arm/boot/dts/omap5.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/omap5.dtsi +8 -0
@@ -512,5 +512,13 @@ reg-names = "control_dev_conf", "phy_power_usb"; ti,type = <2>; }; + + ocp2scp { + compatible = "ti,omap-ocp2scp"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + ti,hwmods = "ocp2scp1"; + }; }; };
Signature · 1 line
1.7.9.5
PATCH 3/6 ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data
In reply to Kishon Vijay Abraham IAdd omap-usb3 and omap-usb2 data node in omap5 device tree file. The information for the node added here is available @ Documentation/devicetree/bindings/usb/usb-phy.txt
--- arch/arm/boot/dts/omap5.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm/boot/dts/omap5.dtsi +14 -0
@@ -519,6 +519,20 @@ #size-cells = <1>; ranges; ti,hwmods = "ocp2scp1"; + usb2_phy: usb2phy at 4a084000 { + compatible = "ti,omap-usb2"; + reg = <0x4a084000 0x7c>; + ctrl_module = <&omap_control_usb>; + }; + + usb3_phy: usb3phy at 4a084400 { + compatible = "ti,omap-usb3"; + reg = <0x4a084400 0x80>, + <0x4a084800 0x64>, + <0x4a084c00 0x40>; + reg-names = "phy_rx", "phy_tx", "pll_ctrl"; + ctrl_module = <&omap_control_usb>; + }; }; }; };
Signature · 1 line
1.7.9.5
PATCH 4/6 ARM: dts: omap5: add dwc3 omap dt data
In reply to Kishon Vijay Abraham IAdd dwc3 omap glue data to the omap5 dt data file. The information about the dt node added here is available @ Documentation/devicetree/bindings/usb/omap-usb.txt
--- arch/arm/boot/dts/omap5.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/boot/dts/omap5.dtsi +11 -0
@@ -513,6 +513,17 @@ ti,type = <2>; }; + omap_dwc3 at 4a020000 { + compatible = "ti,dwc3"; + ti,hwmods = "usb_otg_ss"; + reg = <0x4a020000 0x1ff>; + interrupts = <0 93 4>; + #address-cells = <1>; + #size-cells = <1>; + utmi-mode = <2>; + ranges; + }; + ocp2scp { compatible = "ti,omap-ocp2scp"; #address-cells = <1>;
Signature · 1 line
1.7.9.5
PATCH 5/6 ARM: dts: omap5: add dwc3 core dt data
In reply to Kishon Vijay Abraham IAdd dwc3 core dt data as a subnode to dwc3 omap glue data in omap5 dt data file. The information for the entered data node is available @ Documentation/devicetree/bindings/usb/dwc3.txt
--- arch/arm/boot/dts/omap5.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/omap5.dtsi +7 -0
@@ -522,6 +522,13 @@ #size-cells = <1>; utmi-mode = <2>; ranges; + dwc3 at 4a030000 { + compatible = "synopsys,dwc3"; + reg = <0x4a030000 0xcfff>; + interrupts = <0 92 4>; + usb_phy = <&usb2_phy>, <&usb3_phy>; + tx-fifo-resize; + }; }; ocp2scp {
Signature · 1 line
1.7.9.5
PATCH 6/6 ARM: dts: palmas: update dt data for palmas-usb
In reply to Kishon Vijay Abraham IUpdate palmas-usb data node in palmas device tree file
--- arch/arm/boot/dts/palmas.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/palmas.dtsi +2 -2
@@ -318,8 +318,8 @@ palmas_usb { compatible = "ti,palmas-usb"; - ti,no_control_vbus = <0>; - ti,wakeup = <0>; + ti,wakeup; + vbus-supply = <&smps10_reg>; }; };
Signature · 1 line
1.7.9.5