aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2013-12-17 15:21:52 -0500
committerJason Cooper <jason@lakedaemon.net>2013-12-22 12:19:36 -0500
commit0ad82cd81b00d9a7c6d183ef955947b5bc5eef9e (patch)
tree6eded93b16b641406e6274381751ab5a91dacc0d
parent797090dfca7fbdd69752425693eda19b28cb5db5 (diff)
Phy: Add DT nodes on kirkwood and Dove for the SATA PHY
Add nodes for the two SATA PHYs on kirkwood. Add node for the one SATA PHY on Dove. Add pHandles to the PHYs in the sata nodes. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r--arch/arm/boot/dts/dove.dtsi11
-rw-r--r--arch/arm/boot/dts/kirkwood-6281.dtsi2
-rw-r--r--arch/arm/boot/dts/kirkwood-6282.dtsi2
-rw-r--r--arch/arm/boot/dts/kirkwood.dtsi18
4 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index 852db2860015..8de1031233ae 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -336,10 +336,21 @@
336 reg = <0xa0000 0x2400>; 336 reg = <0xa0000 0x2400>;
337 interrupts = <62>; 337 interrupts = <62>;
338 clocks = <&gate_clk 3>; 338 clocks = <&gate_clk 3>;
339 phys = <&sata_phy0>;
340 phy-names = "port0";
339 nr-ports = <1>; 341 nr-ports = <1>;
340 status = "disabled"; 342 status = "disabled";
341 }; 343 };
342 344
345 sata_phy0: sata-phy@a2000 {
346 compatible = "marvell,mvebu-sata-phy";
347 reg = <0xa2000 0x0334>;
348 clocks = <&gate_clk 3>;
349 clock-names = "sata";
350 #phy-cells = <0>;
351 status = "ok";
352 };
353
343 audio0: audio-controller@b0000 { 354 audio0: audio-controller@b0000 {
344 compatible = "marvell,dove-audio"; 355 compatible = "marvell,dove-audio";
345 reg = <0xb0000 0x2210>; 356 reg = <0xb0000 0x2210>;
diff --git a/arch/arm/boot/dts/kirkwood-6281.dtsi b/arch/arm/boot/dts/kirkwood-6281.dtsi
index e4e1968dfca8..416d96e1302f 100644
--- a/arch/arm/boot/dts/kirkwood-6281.dtsi
+++ b/arch/arm/boot/dts/kirkwood-6281.dtsi
@@ -89,6 +89,8 @@
89 interrupts = <21>; 89 interrupts = <21>;
90 clocks = <&gate_clk 14>, <&gate_clk 15>; 90 clocks = <&gate_clk 14>, <&gate_clk 15>;
91 clock-names = "0", "1"; 91 clock-names = "0", "1";
92 phys = <&sata_phy0>, <&sata_phy1>;
93 phy-names = "port0", "port1";
92 status = "disabled"; 94 status = "disabled";
93 }; 95 };
94 96
diff --git a/arch/arm/boot/dts/kirkwood-6282.dtsi b/arch/arm/boot/dts/kirkwood-6282.dtsi
index f010c21220bf..a4fec0432168 100644
--- a/arch/arm/boot/dts/kirkwood-6282.dtsi
+++ b/arch/arm/boot/dts/kirkwood-6282.dtsi
@@ -117,6 +117,8 @@
117 interrupts = <21>; 117 interrupts = <21>;
118 clocks = <&gate_clk 14>, <&gate_clk 15>; 118 clocks = <&gate_clk 14>, <&gate_clk 15>;
119 clock-names = "0", "1"; 119 clock-names = "0", "1";
120 phys = <&sata_phy0>, <&sata_phy1>;
121 phy-names = "port0", "port1";
120 status = "disabled"; 122 status = "disabled";
121 }; 123 };
122 124
diff --git a/arch/arm/boot/dts/kirkwood.dtsi b/arch/arm/boot/dts/kirkwood.dtsi
index 1da94c187085..81e6c409284e 100644
--- a/arch/arm/boot/dts/kirkwood.dtsi
+++ b/arch/arm/boot/dts/kirkwood.dtsi
@@ -284,5 +284,23 @@
284 /* set phy-handle property in board file */ 284 /* set phy-handle property in board file */
285 }; 285 };
286 }; 286 };
287
288 sata_phy0: sata-phy@82000 {
289 compatible = "marvell,mvebu-sata-phy";
290 reg = <0x82000 0x0334>;
291 clocks = <&gate_clk 14>;
292 clock-names = "sata";
293 #phy-cells = <0>;
294 status = "ok";
295 };
296
297 sata_phy1: sata-phy@84000 {
298 compatible = "marvell,mvebu-sata-phy";
299 reg = <0x84000 0x0334>;
300 clocks = <&gate_clk 15>;
301 clock-names = "sata";
302 #phy-cells = <0>;
303 status = "ok";
304 };
287 }; 305 };
288}; 306};