[PATCH] ARM: dts: i.MX27: Add Secondary AHB Port definitions

Alexander Shiyan shc_work at mail.ru
Sat Jun 29 02:28:45 EDT 2013


Patch adds Secondary AHB Port definitions for i.MX27 SOC and
moves NAND Flash Controller (NFC) under AHB Slave Port 1.

Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/boot/dts/imx27.dtsi | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index 86b6f5f..7c0179e 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -399,14 +399,30 @@
 			};
 		};
 
-		nfc: nand at d8000000 {
+		ahb1: ahb at 80000000 { /* Secondary AHB Slave Port 1 */
+			compatible = "fsl,ahb-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
-			compatible = "fsl,imx27-nand";
-			reg = <0xd8000000 0x1000>;
-			interrupts = <29>;
-			clocks = <&clks 54>;
-			status = "disabled";
+			reg = <0x80000000 0x20000000>;
+			ranges;
+		};
+
+		ahb2: ahb at a0000000 { /* Secondary AHB Slave Port 2 */
+			compatible = "fsl,ahb-bus", "simple-bus";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			reg = <0xa0000000 0x40000000>;
+			ranges;
+
+			nfc: nand at d8000000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
+				compatible = "fsl,imx27-nand";
+				reg = <0xd8000000 0x1000>;
+				interrupts = <29>;
+				clocks = <&clks 54>;
+				status = "disabled";
+			};
 		};
 
 		iram: iram at ffff4c00 {
-- 
1.8.1.5




More information about the linux-arm-kernel mailing list