ARM: BCM5301X: Specify PHY of USB 2.0 in DT
authorRafał Miłecki <zajec5@gmail.com>
Wed, 1 Jun 2016 20:07:07 +0000 (22:07 +0200)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 8 Aug 2016 18:06:30 +0000 (11:06 -0700)
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

index 8af4791..ae4b388 100644 (file)
                };
        };
 
+       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>;
 
                        #address-cells = <1>;
                        #size-cells = <1>;
+
+                       phys = <&usb2_phy>;
                };
 
                usb3: usb3@23000 {