]> git.sur5r.net Git - u-boot/commitdiff
arm64: mvebu: armada-cp110-slave.dtsi: Add COMPHY / UTMI device tree nodes
authorStefan Roese <sr@denx.de>
Tue, 25 Oct 2016 15:41:12 +0000 (17:41 +0200)
committerStefan Roese <sr@denx.de>
Mon, 5 Dec 2016 12:28:23 +0000 (13:28 +0100)
This patch adds the COMPHY and UTMI device tree nodes to the cp110-slave
dtsi file for the Armada 8K.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Neta Zur Hershkovits <neta@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Omri Itach <omrii@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
arch/arm/dts/armada-cp110-slave.dtsi

index 842fb333285c97e558ebc4f15556dfab327b73e7..a7f77b95153c91e34b7d8eb06e6f1d69c2517be2 100644 (file)
@@ -44,6 +44,8 @@
  * Device Tree file for Marvell Armada CP110 Slave.
  */
 
+#include <dt-bindings/comphy/comphy_data.h>
+
 / {
        cp110-slave {
                #address-cells = <2>;
                                clocks = <&cps_syscon0 1 21>;
                                status = "disabled";
                        };
+
+                       cps_comphy: comphy@441000 {
+                               compatible = "marvell,mvebu-comphy", "marvell,comphy-cp110";
+                               reg = <0x441000 0x8>,
+                                     <0x120000 0x8>;
+                               mux-bitcount = <4>;
+                               max-lanes = <6>;
+                       };
+
+                       cps_utmi0: utmi@580000 {
+                               compatible = "marvell,mvebu-utmi-2.6.0";
+                               reg = <0x580000 0x1000>,        /* utmi-unit */
+                                     <0x440420 0x4>,           /* usb-cfg */
+                                     <0x440440 0x4>;           /* utmi-cfg */
+                               utmi-port = <UTMI_PHY_TO_USB_HOST0>;
+                               status = "disabled";
+                       };
                };
 
                cps_pcie0: pcie@f4600000 {