kernel: update 4.4 to 4.4.86
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.4 / 042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch
1 From 773880f77ae0a6782dd3da176bd25d85ff3a8c7f Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Wed, 1 Jun 2016 22:07:07 +0200
4 Subject: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Driver for Northstar USB 2.0 PHY was added in 4.7-rc1 by:
10 commit d3feb4067335 ("phy: bcm-ns-usb2: new driver for USB 2.0 PHY on
11 Northstar").
12 It should be used to let EHCI platform driver init PHY.
13
14 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
15 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 ---
17 arch/arm/boot/dts/bcm5301x.dtsi | 11 +++++++++++
18 1 file changed, 11 insertions(+)
19
20 --- a/arch/arm/boot/dts/bcm5301x.dtsi
21 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
22 @@ -140,6 +140,15 @@
23 };
24 };
25
26 + usb2_phy: usb2-phy {
27 + compatible = "brcm,ns-usb2-phy";
28 + reg = <0x1800c000 0x1000>;
29 + reg-names = "dmu";
30 + #phy-cells = <0>;
31 + clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
32 + clock-names = "phy-ref-clk";
33 + };
34 +
35 axi@18000000 {
36 compatible = "brcm,bus-axi";
37 reg = <0x18000000 0x1000>;
38 @@ -232,6 +241,8 @@
39
40 #address-cells = <1>;
41 #size-cells = <1>;
42 +
43 + phys = <&usb2_phy>;
44 };
45
46 usb3: usb3@23000 {