arch: powerpc: Rewrite the sata node to fit the driver
authorPeng Ma <peng.ma@nxp.com>
Mon, 23 Dec 2019 09:28:18 +0000 (09:28 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 25 Feb 2020 04:46:05 +0000 (10:16 +0530)
The sata of our powerpc platforms are updated. These changes is to
fit the driver probe.

Signed-off-by: Peng Ma <peng.ma@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/t2080.dtsi

index 999fa8cec467c4b3d4a4d75c2cd2a45bc03dacd1..458019ae92f1e2994cd0c259203a9190bb23b688 100644 (file)
                        phy_type = "utmi";
                };
 
-               sata0: sata@220000 {
+               sata: sata@220000 {
                        compatible = "fsl,pq-sata-v2";
                        reg = <0x220000 0x1000>;
                        interrupts = <68 0x2 0 0>;
-                       sata-number = <0x0>;
-                       sata-fpdma = <0x0>;
-               };
-
-               sata1: sata@221000 {
-                       compatible = "fsl,pq-sata-v2";
-                       reg = <0x221000 0x1000>;
-                       interrupts = <69 0x2 0 0>;
-                       sata-number = <0x0>;
-                       sata-fpdma = <0x0>;
+                       sata-offset = <0x1000>;
+                       sata-number = <2>;
+                       sata-fpdma = <0>;
                };
        };