aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-07-28 12:43:42 +0200
committerRafał Miłecki <zajec5@gmail.com>2016-07-28 12:59:23 +0200
commit2552e9319ef761176ebda66c172d38e62e4fcc58 (patch)
treea3b0b30187185ef63faf5ddf92757c737ab06e3e /target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch
parenta3be48593b04bfa3dd2b1c98dc360de742861b09 (diff)
downloadupstream-2552e9319ef761176ebda66c172d38e62e4fcc58.tar.gz
upstream-2552e9319ef761176ebda66c172d38e62e4fcc58.tar.bz2
upstream-2552e9319ef761176ebda66c172d38e62e4fcc58.zip
bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch b/target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch
new file mode 100644
index 0000000000..e95a513c78
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch
@@ -0,0 +1,46 @@
+From 773880f77ae0a6782dd3da176bd25d85ff3a8c7f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
+Date: Wed, 1 Jun 2016 22:07:07 +0200
+Subject: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Driver for Northstar USB 2.0 PHY was added in 4.7-rc1 by:
+commit d3feb4067335 ("phy: bcm-ns-usb2: new driver for USB 2.0 PHY on
+Northstar").
+It should be used to let EHCI platform driver init PHY.
+
+Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
+---
+ arch/arm/boot/dts/bcm5301x.dtsi | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm5301x.dtsi
++++ b/arch/arm/boot/dts/bcm5301x.dtsi
+@@ -140,6 +140,15 @@
+ };
+ };
+
++ usb2_phy: usb2-phy {
++ compatible = "brcm,ns-usb2-phy";
++ reg = <0x1800c000 0x1000>;
++ reg-names = "dmu";
++ #phy-cells = <0>;
++ clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
++ clock-names = "phy-ref-clk";
++ };
++
+ axi@18000000 {
+ compatible = "brcm,bus-axi";
+ reg = <0x18000000 0x1000>;
+@@ -232,6 +241,8 @@
+
+ #address-cells = <1>;
+ #size-cells = <1>;
++
++ phys = <&usb2_phy>;
+ };
+
+ usb3: usb3@23000 {