[U-Boot] [PATCH 2/4 V7] EXYNOS5: FDT: Add serial device node values

Rajeshwari Shinde rajeshwari.s at samsung.com
Mon Jun 24 13:17:21 CEST 2013


This patch adds the device node required for serial driver

Signed-off-by: Abhilash Kesavan <a.kesavan at samsung.com>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>
---
Changes in V2:
        - Changed the compatible string to "samsung,exynos4210-uart"
Changes in V3:
        - Added a alias console as we will support one at any point of time.
Changes in V4:
        - Rebased on latest u-boot-samsung tree.
Changes in V5:
        - Added device node for Snow board.
Changes in V6:
	- Rebased on latest u-boot-samsung branch.
Changes in V7:
	- Removed an extra line.
 arch/arm/dts/exynos5250.dtsi              |   27 +++++++++++++++++++++++++++
 board/samsung/dts/exynos5250-smdk5250.dts |    2 ++
 board/samsung/dts/exynos5250-snow.dts     |    2 ++
 3 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
index cee4fe8..f98243c 100644
--- a/arch/arm/dts/exynos5250.dtsi
+++ b/arch/arm/dts/exynos5250.dtsi
@@ -202,4 +202,31 @@
 		interrupts = <0 78 0>;
 	};
 
+	serial at 12C00000 {
+		compatible = "samsung,exynos4210-uart";
+		reg = <0x12C00000 0x100>;
+		interrupts = <0 51 0>;
+		id = <0>;
+	};
+
+	serial at 12C10000 {
+		compatible = "samsung,exynos4210-uart";
+		reg = <0x12C10000 0x100>;
+		interrupts = <0 52 0>;
+		id = <1>;
+	};
+
+	serial at 12C20000 {
+		compatible = "samsung,exynos4210-uart";
+		reg = <0x12C20000 0x100>;
+		interrupts = <0 53 0>;
+		id = <2>;
+	};
+
+	serial at 12C30000 {
+		compatible = "samsung,exynos4210-uart";
+		reg = <0x12C30000 0x100>;
+		interrupts = <0 54 0>;
+		id = <3>;
+	};
 };
diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
index 93375a6..80ffe30 100644
--- a/board/samsung/dts/exynos5250-smdk5250.dts
+++ b/board/samsung/dts/exynos5250-smdk5250.dts
@@ -34,6 +34,8 @@
 		mmc1 = "/mmc at 12210000";
 		mmc2 = "/mmc at 12220000";
 		mmc3 = "/mmc at 12230000";
+		serial0 = "/serial at 12C30000";
+		console = "/serial at 12C30000";
 	};
 
 	sromc at 12250000 {
diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
index d167df9..fdc047a 100644
--- a/board/samsung/dts/exynos5250-snow.dts
+++ b/board/samsung/dts/exynos5250-snow.dts
@@ -34,6 +34,8 @@
 		mmc1 = "/mmc at 12210000";
 		mmc2 = "/mmc at 12220000";
 		mmc3 = "/mmc at 12230000";
+		serial0 = "/serial at 12C30000";
+		console = "/serial at 12C30000";
 	};
 
 	sound at 12d60000 {
-- 
1.7.4.4



More information about the U-Boot mailing list