]> Pileus Git - ~andy/linux/commitdiff
Phy: Add DT nodes on kirkwood and Dove for the SATA PHY
authorAndrew Lunn <andrew@lunn.ch>
Tue, 17 Dec 2013 20:21:52 +0000 (21:21 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sun, 22 Dec 2013 17:19:36 +0000 (17:19 +0000)
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>
arch/arm/boot/dts/dove.dtsi
arch/arm/boot/dts/kirkwood-6281.dtsi
arch/arm/boot/dts/kirkwood-6282.dtsi
arch/arm/boot/dts/kirkwood.dtsi

index 852db2860015f277064fc817d3b0f592a44bf00a..8de1031233ae578dc45f6e9db8f78b1d951f085a 100644 (file)
                                reg = <0xa0000 0x2400>;
                                interrupts = <62>;
                                clocks = <&gate_clk 3>;
+                               phys = <&sata_phy0>;
+                               phy-names = "port0";
                                nr-ports = <1>;
                                status = "disabled";
                        };
 
+                       sata_phy0: sata-phy@a2000 {
+                               compatible = "marvell,mvebu-sata-phy";
+                               reg = <0xa2000 0x0334>;
+                               clocks = <&gate_clk 3>;
+                               clock-names = "sata";
+                               #phy-cells = <0>;
+                               status = "ok";
+                       };
+
                        audio0: audio-controller@b0000 {
                                compatible = "marvell,dove-audio";
                                reg = <0xb0000 0x2210>;
index e4e1968dfca8abe05defd5ebe6ced71cbe88df95..416d96e1302fab6e9af0d61ebb5cdbbe0290cfa7 100644 (file)
@@ -89,6 +89,8 @@
                        interrupts = <21>;
                        clocks = <&gate_clk 14>, <&gate_clk 15>;
                        clock-names = "0", "1";
+                       phys = <&sata_phy0>, <&sata_phy1>;
+                       phy-names = "port0", "port1";
                        status = "disabled";
                };
 
index f010c21220bf8dd485cb1dd3cdee0f881223b23f..a4fec043216851544e63bf1fb83bc2c5fdfeb902 100644 (file)
                        interrupts = <21>;
                        clocks = <&gate_clk 14>, <&gate_clk 15>;
                        clock-names = "0", "1";
+                       phys = <&sata_phy0>, <&sata_phy1>;
+                       phy-names = "port0", "port1";
                        status = "disabled";
                };
 
index 1da94c187085444ecdc0aaac741dc6ddebf11ee8..81e6c409284e8a42ad68373bee24570151cde287 100644 (file)
                                /* set phy-handle property in board file */
                        };
                };
+
+               sata_phy0: sata-phy@82000 {
+                       compatible = "marvell,mvebu-sata-phy";
+                       reg = <0x82000 0x0334>;
+                       clocks = <&gate_clk 14>;
+                       clock-names = "sata";
+                       #phy-cells = <0>;
+                       status = "ok";
+               };
+
+               sata_phy1: sata-phy@84000 {
+                       compatible = "marvell,mvebu-sata-phy";
+                       reg = <0x84000 0x0334>;
+                       clocks = <&gate_clk 15>;
+                       clock-names = "sata";
+                       #phy-cells = <0>;
+                       status = "ok";
+               };
        };
 };