[U-Boot] [PATCH 3/5] arch: powerpc: Rewrite the sata node to fit the driver

Peng Ma peng.ma at nxp.com
Wed Nov 27 10:02:34 UTC 2019


The sata of our powerpc platform are updated. This changed is to
fit the driver init

Signed-off-by: Peng Ma <peng.ma at nxp.com>
---
 arch/powerpc/dts/t2080.dtsi | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/arch/powerpc/dts/t2080.dtsi b/arch/powerpc/dts/t2080.dtsi
index 999fa8cec4..458019ae92 100644
--- a/arch/powerpc/dts/t2080.dtsi
+++ b/arch/powerpc/dts/t2080.dtsi
@@ -88,20 +88,13 @@
 			phy_type = "utmi";
 		};
 
-		sata0: sata at 220000 {
+		sata: sata at 220000 {
 			compatible = "fsl,pq-sata-v2";
 			reg = <0x220000 0x1000>;
 			interrupts = <68 0x2 0 0>;
-			sata-number = <0x0>;
-			sata-fpdma = <0x0>;
-		};
-
-		sata1: sata at 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>;
 		};
 	};
 
-- 
2.17.1



More information about the U-Boot mailing list