Commit d04abe99 authored by Miquel Raynal's avatar Miquel Raynal Committed by Gregory CLEMENT

arm64: dts: marvell: Add 7k/8k per-port PHYs in SATA nodes

Fill-in the missing SATA phys/phy-names DT properties of Armada 7k/8k
based boards.
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 93ab25e6
...@@ -219,6 +219,11 @@ partition@400000 { ...@@ -219,6 +219,11 @@ partition@400000 {
&cp0_sata0 { &cp0_sata0 {
status = "okay"; status = "okay";
sata-port@1 {
phys = <&cp0_comphy3 1>;
phy-names = "cp0-sata0-1-phy";
};
}; };
&cp0_usb3_0 { &cp0_usb3_0 {
......
...@@ -348,6 +348,11 @@ cp1_wps_button_pins: wps-button-pins { ...@@ -348,6 +348,11 @@ cp1_wps_button_pins: wps-button-pins {
&cp1_sata0 { &cp1_sata0 {
pinctrl-0 = <&cp0_pci1_reset_pins>; pinctrl-0 = <&cp0_pci1_reset_pins>;
status = "okay"; status = "okay";
sata-port@1 {
phys = <&cp1_comphy0 1>;
phy-names = "cp1-sata0-1-phy";
};
}; };
&cp1_mdio { &cp1_mdio {
......
...@@ -143,6 +143,15 @@ expander1: pca9555@25 { ...@@ -143,6 +143,15 @@ expander1: pca9555@25 {
/* CON4 on CP0 expansion */ /* CON4 on CP0 expansion */
&cp0_sata0 { &cp0_sata0 {
status = "okay"; status = "okay";
sata-port@0 {
phys = <&cp0_comphy1 0>;
phy-names = "cp0-sata0-0-phy";
};
sata-port@1 {
phys = <&cp0_comphy3 1>;
phy-names = "cp0-sata0-1-phy";
};
}; };
/* CON9 on CP0 expansion */ /* CON9 on CP0 expansion */
...@@ -273,6 +282,15 @@ partition@1000000 { ...@@ -273,6 +282,15 @@ partition@1000000 {
/* CON4 on CP1 expansion */ /* CON4 on CP1 expansion */
&cp1_sata0 { &cp1_sata0 {
status = "okay"; status = "okay";
sata-port@0 {
phys = <&cp1_comphy1 0>;
phy-names = "cp1-sata0-0-phy";
};
sata-port@1 {
phys = <&cp1_comphy3 1>;
phy-names = "cp1-sata0-1-phy";
};
}; };
/* CON9 on CP1 expansion */ /* CON9 on CP1 expansion */
......
...@@ -239,8 +239,13 @@ &cp0_eth0 { ...@@ -239,8 +239,13 @@ &cp0_eth0 {
}; };
&cp0_sata0 { &cp0_sata0 {
/* CPM Lane 0 - U29 */
status = "okay"; status = "okay";
/* CPM Lane 5 - U29 */
sata-port@1 {
phys = <&cp0_comphy5 1>;
phy-names = "cp0-sata0-1-phy";
};
}; };
&cp0_sdhci0 { &cp0_sdhci0 {
...@@ -324,9 +329,19 @@ &cp1_uart0 { ...@@ -324,9 +329,19 @@ &cp1_uart0 {
}; };
&cp1_sata0 { &cp1_sata0 {
status = "okay";
/* CPS Lane 1 - U32 */ /* CPS Lane 1 - U32 */
sata-port@0 {
phys = <&cp1_comphy1 0>;
phy-names = "cp1-sata0-0-phy";
};
/* CPS Lane 3 - U31 */ /* CPS Lane 3 - U31 */
status = "okay"; sata-port@1 {
phys = <&cp1_comphy3 1>;
phy-names = "cp1-sata0-1-phy";
};
}; };
&cp1_spi1 { &cp1_spi1 {
......
...@@ -309,7 +309,17 @@ CP110_LABEL(sata0): sata@540000 { ...@@ -309,7 +309,17 @@ CP110_LABEL(sata0): sata@540000 {
interrupts = <107 IRQ_TYPE_LEVEL_HIGH>; interrupts = <107 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&CP110_LABEL(clk) 1 15>, clocks = <&CP110_LABEL(clk) 1 15>,
<&CP110_LABEL(clk) 1 16>; <&CP110_LABEL(clk) 1 16>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled"; status = "disabled";
sata-port@0 {
reg = <0>;
};
sata-port@1 {
reg = <1>;
};
}; };
CP110_LABEL(xor0): xor@6a0000 { CP110_LABEL(xor0): xor@6a0000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment