mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
2552e9319e
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
47 lines
1.2 KiB
Diff
47 lines
1.2 KiB
Diff
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 {
|