Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1411518

[PATCH V2] ARM: BCM5301X: Specify PHY of USB 2.0 in DT

From Rafał Miłecki <zajec5@gmail.com>
Newsgroups linux.kernel
Subject [PATCH V2] ARM: BCM5301X: Specify PHY of USB 2.0 in DT
Date 2016-06-01 22:10 +0200
Message-ID <rFkCK-4FN-13@gated-at.bofh.it> (permalink)
References <rFjQl-44X-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
V2: Add usb2_phy as child of root node instead of adding separated phys
    "simple-bus".
---
 arch/arm/boot/dts/bcm5301x.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index 7d4d29b..142811d 100644
--- 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>;
@@ -217,6 +226,8 @@
 
 			#address-cells = <1>;
 			#size-cells = <1>;
+
+			phys = <&usb2_phy>;
 		};
 
 		usb3: usb3@23000 {
-- 
1.8.4.5

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Rafał Miłecki <zajec5@gmail.com> - 2016-06-01 21:20 +0200
  Re: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Florian Fainelli <f.fainelli@gmail.com> - 2016-06-01 21:30 +0200
    Re: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Rafał Miłecki <zajec5@gmail.com> - 2016-06-01 21:40 +0200
      Re: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Florian Fainelli <f.fainelli@gmail.com> - 2016-06-01 22:00 +0200
  [PATCH V2] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Rafał Miłecki <zajec5@gmail.com> - 2016-06-01 22:10 +0200

csiph-web