Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2014 22:35:39 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264428 - head/sys/boot/fdt/dts/arm
Message-ID:  <201404132235.s3DMZdbZ077938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Sun Apr 13 22:35:39 2014
New Revision: 264428
URL: http://svnweb.freebsd.org/changeset/base/264428

Log:
  Improve the i.MX53 / Digi DTS:
  
  * Fix the IPU address.
  * Fix the PATA definition.
  * Add another I2C.
  * Add more UARTs.
  * Add SATA.

Modified:
  head/sys/boot/fdt/dts/arm/digi-ccwmx53.dts
  head/sys/boot/fdt/dts/arm/imx53x.dtsi

Modified: head/sys/boot/fdt/dts/arm/digi-ccwmx53.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/digi-ccwmx53.dts	Sun Apr 13 22:32:46 2014	(r264427)
+++ head/sys/boot/fdt/dts/arm/digi-ccwmx53.dts	Sun Apr 13 22:35:39 2014	(r264428)
@@ -45,7 +45,10 @@
 		       0xB0000000 0x10000000>;
 	};
 
-	localbus@18000000 {
+	localbus@10000000 {
+		sata@10000000 {
+			status = "okay";
+		};
 		ipu3@1E000000 {
 			status = "okay";
 		};
@@ -69,13 +72,19 @@
 			timer@53fa0000 {
 				status = "okay";
 			};
-
 			/* UART1, console */
 			console: serial@53fbc000 {
 				status = "okay";
 				clock-frequency = <0>; /* won't load w/o this */
 			};
-
+			serial@53fc0000 {
+				status = "okay";
+				clock-frequency = <0>; /* won't load w/o this */
+			};
+			serial@53ff0000 {
+				status = "okay";
+				clock-frequency = <0>; /* won't load w/o this */
+			};
 			clock@53fd4000 {
 				status = "okay";
 			};
@@ -100,6 +109,14 @@
 			wdog@53f98000 {
 				status = "okay";
 			};
+			i2c@53fec000 {
+				status = "okay";
+				rtc@68 {
+					compatible = "dialog,ds9052";
+					reg = <0x48>;
+					interrupts = <0x1 0x1 0 0>;
+				};
+			};
 		};
 		aips@60000000 {
 			ethernet@63fec000 {
@@ -118,6 +135,9 @@
 			ide@63fe0000 {
 				status = "okay";
 			};
+			serial@63f90000 {
+				status = "okay";
+			};
 		};
 	};
 

Modified: head/sys/boot/fdt/dts/arm/imx53x.dtsi
==============================================================================
--- head/sys/boot/fdt/dts/arm/imx53x.dtsi	Sun Apr 13 22:32:46 2014	(r264427)
+++ head/sys/boot/fdt/dts/arm/imx53x.dtsi	Sun Apr 13 22:35:39 2014	(r264428)
@@ -282,7 +282,13 @@
 				/* 50028000 0x4000 SPDIF */
 				/* 91 SPDIF */
 
-				/* 50030000 0x4000 PATA (PORT UDMA) irq70 */
+				pata@50030000 {
+					compatible = "fsl,imx53-ata";
+					reg = <0x50030000 0x4000>;
+					interrupt-parent = <&tzic>;
+					interrupts = <70>;
+					status = "disabled";
+				};
 
 				/* 50034000 0x4000 SLM */
 				/* 50038000 0x4000 HSI2C */
@@ -444,7 +450,7 @@
 				status = "disabled";
 			};
 
-			/* 53FC0000 0x4000 UART 4 */
+			/* 53FF0000 0x4000 UART 4 */
 			uart4: serial@53ff0000 {
 				compatible = "fsl,imx53-uart", "fsl,imx-uart";
 				reg = <0x53ff0000 0x4000>;
@@ -469,17 +475,16 @@
 				interrupts = <73 74>;
 				status = "disabled";
 			};
-
-			/* 53FE8000 0x4000 PATA (PORT PIO) */
-			/* 70 PATA Parallel ATA host controller interrupt */
-			ide@53fe8000 {
-				compatible = "fsl,imx53-ata";
-				reg = <0x83fe0000 0x4000>;
+			i2c@53fec000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "fsl,imx53-i2c", "fsl,imx1-i2c",
+					   "fsl,imx-i2c";
+				reg = <0x53fec000 0x4000>;
 				interrupt-parent = <&tzic>;
-				interrupts = <70>;
+				interrupts = <64>;
 				status = "disabled";
 			};
-
 		};
 
 		aips@60000000 { /* AIPS2 */
@@ -489,7 +494,7 @@
     			interrupt-parent = <&tzic>;
 			ranges;
 
-			/* 53FC0000 0x4000 UART 5 */
+			/* 63F90000 0x4000 UART 5 */
 			uart5: serial@63f90000 {
 				compatible = "fsl,imx53-uart", "fsl,imx-uart";
 				reg = <0x63f90000 0x4000>;
@@ -650,13 +655,20 @@
 		};
 	};
 
-	localbus@18000000 {
+	localbus@10000000 {
 		compatible = "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;
-
 		ranges;
 
+		sata@10000000 {
+			compatible = "fsl,imx53-ata";
+			reg = <0x10000000 0x4000>;
+			interrupt-parent = <&tzic>;
+			interrupts = <28>;
+			status = "disabled";
+		};
+
 		vga: ipu3@1E000000 {
 			compatible = "fsl,ipu3";
 			reg = <



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404132235.s3DMZdbZ077938>