Commit 99fa8ac5 authored by Konstantin Porotchkin's avatar Konstantin Porotchkin Committed by Gregory CLEMENT
Browse files

arm64: dts: marvell: enable CP110 UTMI PHY usage



Enable support for CP110 UTMI PHY in Armada SoC family platform
device trees.

Signed-off-by: default avatarKonstantin Porotchkin <kostap@marvell.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 69770919
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -218,6 +218,10 @@ sata-port@1 {
	};
};

&cp0_utmi {
	status = "okay";
};

&cp0_comphy1 {
	cp0_usbh0_con: connector {
		compatible = "usb-a-connector";
@@ -226,8 +230,9 @@ cp0_usbh0_con: connector {
};

&cp0_usb3_0 {
	phys = <&cp0_comphy1 0>;
	phy-names = "cp0-usb3h0-comphy";
	phys = <&cp0_comphy1 0>, <&cp0_utmi0>;
	phy-names = "cp0-usb3h0-comphy", "utmi";
	dr_mode = "host";
	status = "okay";
};

@@ -239,8 +244,9 @@ cp0_usbh1_con: connector {
};

&cp0_usb3_1 {
	phys = <&cp0_comphy4 1>;
	phy-names = "cp0-usb3h1-comphy";
	phys = <&cp0_comphy4 1>, <&cp0_utmi1>;
	phy-names = "cp0-usb3h1-comphy", "utmi";
	dr_mode = "host";
	status = "okay";
};

+19 −2
Original line number Diff line number Diff line
@@ -154,8 +154,15 @@ sata-port@1 {
};

/* CON9 on CP0 expansion */
&cp0_utmi {
	status = "okay";
};

&cp0_usb3_0 {
	usb-phy = <&cp0_usb3_0_phy>;
	phys = <&cp0_utmi0>;
	phy-names = "utmi";
	dr_mode = "host";
	status = "okay";
};

@@ -168,8 +175,9 @@ cp0_usbh1_con: connector {

/* CON10 on CP0 expansion */
&cp0_usb3_1 {
	phys = <&cp0_comphy4 1>;
	phy-names = "cp0-usb3h1-comphy";
	phys = <&cp0_comphy4 1>, <&cp0_utmi1>;
	phy-names = "usb", "utmi";
	dr_mode = "host";
	status = "okay";
};

@@ -306,14 +314,23 @@ sata-port@1 {
	};
};

&cp1_utmi {
	status = "okay";
};

/* CON9 on CP1 expansion */
&cp1_usb3_0 {
	usb-phy = <&cp1_usb3_0_phy>;
	phys = <&cp1_utmi0>;
	phy-names = "utmi";
	dr_mode = "host";
	status = "okay";
};

/* CON10 on CP1 expansion */
&cp1_usb3_1 {
	phys = <&cp1_utmi1>;
	phy-names = "utmi";
	status = "okay";
};

+17 −2
Original line number Diff line number Diff line
@@ -259,13 +259,23 @@ &cp0_sdhci0 {
	vqmmc-supply = <&v_3_3>;
};

&cp0_utmi {
	status = "okay";
};

&cp0_usb3_0 {
	/* J38? - USB2.0 only */
	phys = <&cp0_utmi0>;
	phy-names = "utmi";
	dr_mode = "host";
	status = "okay";
};

&cp0_usb3_1 {
	/* J38? - USB2.0 only */
	phys = <&cp0_utmi1>;
	phy-names = "utmi";
	dr_mode = "host";
	status = "okay";
};

@@ -364,9 +374,14 @@ cp1_usbh0_con: connector {
	};
};

&cp1_utmi {
	status = "okay";
};

&cp1_usb3_0 {
	/* CPS Lane 2 - CON7 */
	phys = <&cp1_comphy2 0>;
	phy-names = "cp1-usb3h0-comphy";
	phys = <&cp1_comphy2 0>, <&cp1_utmi0>;
	phy-names = "cp1-usb3h0-comphy", "utmi";
	dr_mode = "host";
	status = "okay";
};
+10 −2
Original line number Diff line number Diff line
@@ -392,14 +392,22 @@ nand_rb: nand-rb {
	};
};

&cp0_utmi {
	status = "okay";
};

&cp0_usb3_0 {
	status = "okay";
	usb-phy = <&cp0_usb3_0_phy0>;
	phy-names = "usb";
	phys = <&cp0_utmi0>;
	phy-names = "utmi";
	dr_mode = "host";
};

&cp0_usb3_1 {
	status = "okay";
	usb-phy = <&cp0_usb3_0_phy1>;
	phy-names = "usb";
	phys =  <&cp0_utmi1>;
	phy-names = "utmi";
	dr_mode = "host";
};
+7 −2
Original line number Diff line number Diff line
@@ -193,10 +193,15 @@ cp1_pcie_reset_pins: cp1-pcie-reset-pins {
};

/* CON58 */
&cp1_utmi {
	status = "okay";
};

&cp1_usb3_1 {
	status = "okay";
	usb-phy = <&cp1_usb3_0_phy0>;
	/* Generic PHY, providing serdes lanes */
	phys = <&cp1_comphy3 1>;
	phy-names = "usb";
	phys = <&cp1_comphy3 1>, <&cp1_utmi1>;
	phy-names = "usb", "utmi";
	dr_mode = "host";
};
Loading