Skip to contentSkip to conversation

ARM: dts: exynos4: Add support for Exynos4x12 SoCs

PATCH New Tomasz Figa 2 participants 5 messages Oct 24, 2012 – Nov 8, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: exynos4: Add support for Exynos4x12 SoCs

This patch adds device tree sources for Exynos4x12 SoC series (currently Exynos4212 and Exynos4412) and enables mach-exynos4-dt to support these SoCs.

---
 arch/arm/boot/dts/exynos4212.dtsi      | 28 ++++++++++++++++++++++++++++
 arch/arm/boot/dts/exynos4412.dtsi      | 28 ++++++++++++++++++++++++++++
 arch/arm/boot/dts/exynos4x12.dtsi      | 31 +++++++++++++++++++++++++++++++
 arch/arm/mach-exynos/mach-exynos4-dt.c |  2 ++
 4 files changed, 89 insertions(+)
 create mode 100644 arch/arm/boot/dts/exynos4212.dtsi
 create mode 100644 arch/arm/boot/dts/exynos4412.dtsi
 create mode 100644 arch/arm/boot/dts/exynos4x12.dtsi
arch/arm/boot/dts/exynos4212.dtsi new file +28 -0
new file mode 100644
index 0000000..c6ae200
@@ -0,0 +1,28 @@
+/*
+ * Samsung's Exynos4212 SoC device tree source
+ *
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com
+ *
+ * Samsung's Exynos4212 SoC device nodes are listed in this file. Exynos4212
+ * based board files can include this file and provide values for board specfic
+ * bindings.
+ *
+ * Note: This file does not include device nodes for all the controllers in
+ * Exynos4212 SoC. As device tree coverage for Exynos4212 increases, additional
+ * nodes can be added to this file.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/include/ "exynos4x12.dtsi"
+
+/ {
+	compatible = "samsung,exynos4212";
+
+	gic:interrupt-controller at 10490000 {
+		cpu-offset = <0x8000>;
+	};
+};
arch/arm/boot/dts/exynos4412.dtsi new file +28 -0
new file mode 100644
index 0000000..d7dfe31
@@ -0,0 +1,28 @@
+/*
+ * Samsung's Exynos4412 SoC device tree source
+ *
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com
+ *
+ * Samsung's Exynos4412 SoC device nodes are listed in this file. Exynos4412
+ * based board files can include this file and provide values for board specfic
+ * bindings.
+ *
+ * Note: This file does not include device nodes for all the controllers in
+ * Exynos4412 SoC. As device tree coverage for Exynos4412 increases, additional
+ * nodes can be added to this file.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/include/ "exynos4x12.dtsi"
+
+/ {
+	compatible = "samsung,exynos4412";
+
+	gic:interrupt-controller at 10490000 {
+		cpu-offset = <0x4000>;
+	};
+};
arch/arm/boot/dts/exynos4x12.dtsi new file +31 -0
new file mode 100644
index 0000000..b6a66f4
@@ -0,0 +1,31 @@
+/*
+ * Samsung's Exynos4x12 SoCs device tree source
+ *
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com
+ *
+ * Samsung's Exynos4x12 SoCs device nodes are listed in this file. Exynos4x12
+ * based board files can include this file and provide values for board specfic
+ * bindings.
+ *
+ * Note: This file does not include device nodes for all the controllers in
+ * Exynos4x12 SoC. As device tree coverage for Exynos4x12 increases, additional
+ * nodes can be added to this file.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/include/ "exynos4.dtsi"
+/include/ "exynos4x12-pinctrl.dtsi"
+
+/ {
+	combiner:interrupt-controller at 10440000 {
+		interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
+			     <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
+			     <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
+			     <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
+			     <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>;
+	};
+};
arch/arm/mach-exynos/mach-exynos4-dt.c +2 -0
index 977bd39..b2b9cc1 100644
@@ -94,6 +94,8 @@ static void __init exynos4_dt_machine_init(void)
 
 static char const *exynos4_dt_compat[] __initdata = {
 	"samsung,exynos4210",
+	"samsung,exynos4212",
+	"samsung,exynos4412",
 	NULL
 };
 
Signature · 1 line
1.7.12
#1 lore raw

PATCH 1/1 ARM: dts: exynos4: Add support for Exynos4x12 SoCs

Quoted 7 lines · Tomasz Figa

This patch adds device tree sources for Exynos4x12 SoC series (currently Exynos4212 and Exynos4412) and enables mach-exynos4-dt to support these SoCs.

Quoted 11 lines
---
 arch/arm/boot/dts/exynos4212.dtsi      | 28 ++++++++++++++++++++++++++++
 arch/arm/boot/dts/exynos4412.dtsi      | 28 ++++++++++++++++++++++++++++
 arch/arm/boot/dts/exynos4x12.dtsi      | 31
+++++++++++++++++++++++++++++++
 arch/arm/mach-exynos/mach-exynos4-dt.c |  2 ++
 4 files changed, 89 insertions(+)
 create mode 100644 arch/arm/boot/dts/exynos4212.dtsi
 create mode 100644 arch/arm/boot/dts/exynos4412.dtsi
 create mode 100644 arch/arm/boot/dts/exynos4x12.dtsi

Looks good to me, applied.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

#2 lore raw

PATCH 1/1 ARM: dts: exynos4: Add support for Exynos4x12 SoCs

In reply to Tomasz Figa
Quoted 11 lines · Kukjin Kim
Quoted 9 lines · Tomasz Figa

This patch adds device tree sources for Exynos4x12 SoC series (currently Exynos4212 and Exynos4412) and enables mach-exynos4-dt to support these SoCs.

---
 arch/arm/boot/dts/exynos4212.dtsi      | 28

++++++++++++++++++++++++++++

Quoted 1 line
Quoted 1 line
 arch/arm/boot/dts/exynos4412.dtsi      | 28

++++++++++++++++++++++++++++

Quoted 11 lines
Quoted 8 lines
 arch/arm/boot/dts/exynos4x12.dtsi      | 31
+++++++++++++++++++++++++++++++
 arch/arm/mach-exynos/mach-exynos4-dt.c |  2 ++
 4 files changed, 89 insertions(+)
 create mode 100644 arch/arm/boot/dts/exynos4212.dtsi
 create mode 100644 arch/arm/boot/dts/exynos4412.dtsi
 create mode 100644 arch/arm/boot/dts/exynos4x12.dtsi

Looks good to me, applied.

[...]

Quoted 1 line

+/include/ "exynos4x12-pinctrl.dtsi"

BTW, I think, above line should be added when exynos4x12-pinctrl patches applied.

[...]

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

#3 lore raw

PATCH 1/1 ARM: dts: exynos4: Add support for Exynos4x12 SoCs

Hi Kgene,

Quoted 28 lines · On Wednesday 07 of November 2012 11:26:42 Kukjin Kim wrote:
Quoted 10 lines · Kukjin Kim
Quoted 9 lines · Tomasz Figa

This patch adds device tree sources for Exynos4x12 SoC series (currently Exynos4212 and Exynos4412) and enables mach-exynos4-dt to support these SoCs.

---

 arch/arm/boot/dts/exynos4212.dtsi      | 28

++++++++++++++++++++++++++++

Quoted 1 line
Quoted 1 line
 arch/arm/boot/dts/exynos4412.dtsi      | 28

++++++++++++++++++++++++++++

Quoted 10 lines
Quoted 9 lines
 arch/arm/boot/dts/exynos4x12.dtsi      | 31

+++++++++++++++++++++++++++++++

 arch/arm/mach-exynos/mach-exynos4-dt.c |  2 ++
 4 files changed, 89 insertions(+)
 create mode 100644 arch/arm/boot/dts/exynos4212.dtsi
 create mode 100644 arch/arm/boot/dts/exynos4412.dtsi
 create mode 100644 arch/arm/boot/dts/exynos4x12.dtsi
Quoted 8 lines
Quoted 1 line

Looks good to me, applied.

[...]

Quoted 1 line

+/include/ "exynos4x12-pinctrl.dtsi"

BTW, I think, above line should be added when exynos4x12-pinctrl patches applied.

Yes, you are right. Seems like a rebase error on my side. Can you fix it or should I send a fixed version?

Best regards,

Signature · 3 lines
Tomasz Figa
Samsung Poland R&D Center
SW Solution Development, Linux Platform
#4 lore raw

PATCH 1/1 ARM: dts: exynos4: Add support for Exynos4x12 SoCs

Quoted 11 lines · Tomasz Figa
Quoted 7 lines

[...]

Quoted 1 line

+/include/ "exynos4x12-pinctrl.dtsi"

BTW, I think, above line should be added when exynos4x12-pinctrl patches applied.

Yes, you are right. Seems like a rebase error on my side. Can you fix it or should I send a fixed version?

I did, thanks ;-)

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.