diff mbox

[U-Boot,1/3] rockchip: add u-boot specific dts for rk3368 based boards

Message ID 1501679339-13466-1-git-send-email-andy.yan@rock-chips.com
State Accepted
Delegated to: Philipp Tomsich
Headers show

Commit Message

Andy Yan Aug. 2, 2017, 1:08 p.m. UTC
Device drivers like debug serial, dmc should be enabled before
relocation, so add u-boot.dtsi files to contain devices that
should be marked as dm-pre-reloc.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---

 arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
 arch/arm/dts/rk3368-sheep-u-boot.dtsi   | 35 +++++++++++++++++++++++++++++++++
 3 files changed, 105 insertions(+)
 create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi

Comments

Philipp Tomsich Aug. 3, 2017, 3:35 p.m. UTC | #1
> Device drivers like debug serial, dmc should be enabled before
> relocation, so add u-boot.dtsi files to contain devices that
> should be marked as dm-pre-reloc.
> 
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> ---
> 
>  arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
>  arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
>  arch/arm/dts/rk3368-sheep-u-boot.dtsi   | 35 +++++++++++++++++++++++++++++++++
>  3 files changed, 105 insertions(+)
>  create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi
>  create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
>  create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich Aug. 3, 2017, 3:42 p.m. UTC | #2
> Device drivers like debug serial, dmc should be enabled before
> relocation, so add u-boot.dtsi files to contain devices that
> should be marked as dm-pre-reloc.
> 
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
>  arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
>  arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
>  arch/arm/dts/rk3368-sheep-u-boot.dtsi   | 35 +++++++++++++++++++++++++++++++++
>  3 files changed, 105 insertions(+)
>  create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi
>  create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
>  create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi
> 

Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Simon Glass Aug. 6, 2017, 5:16 a.m. UTC | #3
On 2 August 2017 at 07:08, Andy Yan <andy.yan@rock-chips.com> wrote:
> Device drivers like debug serial, dmc should be enabled before
> relocation, so add u-boot.dtsi files to contain devices that
> should be marked as dm-pre-reloc.
>
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> ---
>
>  arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
>  arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
>  arch/arm/dts/rk3368-sheep-u-boot.dtsi   | 35 +++++++++++++++++++++++++++++++++
>  3 files changed, 105 insertions(+)
>  create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi
>  create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
>  create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi
>

Reviewed-by: Simon Glass <sjg@chromium.org>
Philipp Tomsich Aug. 6, 2017, 5:17 p.m. UTC | #4
> Device drivers like debug serial, dmc should be enabled before
> relocation, so add u-boot.dtsi files to contain devices that
> should be marked as dm-pre-reloc.
> 
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> ---
> 
>  arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
>  arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 35 +++++++++++++++++++++++++++++++++
>  arch/arm/dts/rk3368-sheep-u-boot.dtsi   | 35 +++++++++++++++++++++++++++++++++
>  3 files changed, 105 insertions(+)
>  create mode 100644 arch/arm/dts/rk3368-geekbox-u-boot.dtsi
>  create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
>  create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi
> 

Applied to u-boot-rockchip, thanks!
diff mbox

Patch

diff --git a/arch/arm/dts/rk3368-geekbox-u-boot.dtsi b/arch/arm/dts/rk3368-geekbox-u-boot.dtsi
new file mode 100644
index 0000000..7cf4a36
--- /dev/null
+++ b/arch/arm/dts/rk3368-geekbox-u-boot.dtsi
@@ -0,0 +1,35 @@ 
+/*
+ * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
+ *
+ * SPDX-License-Identifier:     GPL-2.0+	X11
+ */
+
+&pinctrl {
+	u-boot,dm-pre-reloc;
+};
+
+&service_msch {
+	u-boot,dm-pre-reloc;
+};
+
+&dmc {
+	u-boot,dm-pre-reloc;
+	status = "okay";
+};
+
+&pmugrf {
+	u-boot,dm-pre-reloc;
+};
+
+&cru {
+	u-boot,dm-pre-reloc;
+};
+
+&grf {
+	u-boot,dm-pre-reloc;
+};
+
+&uart2 {
+	u-boot,dm-pre-reloc;
+};
+
diff --git a/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi b/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
new file mode 100644
index 0000000..633dfe1
--- /dev/null
+++ b/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
@@ -0,0 +1,35 @@ 
+/*
+ * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
+ *
+ * SPDX-License-Identifier:     GPL-2.0+	X11
+ */
+
+&pinctrl {
+	u-boot,dm-pre-reloc;
+};
+
+&service_msch {
+	u-boot,dm-pre-reloc;
+};
+
+&dmc {
+	u-boot,dm-pre-reloc;
+	status = "okay";
+};
+
+&pmugrf {
+	u-boot,dm-pre-reloc;
+};
+
+&cru {
+	u-boot,dm-pre-reloc;
+};
+
+&grf {
+	u-boot,dm-pre-reloc;
+};
+
+&uart4 {
+	u-boot,dm-pre-reloc;
+};
+
diff --git a/arch/arm/dts/rk3368-sheep-u-boot.dtsi b/arch/arm/dts/rk3368-sheep-u-boot.dtsi
new file mode 100644
index 0000000..7cf4a36
--- /dev/null
+++ b/arch/arm/dts/rk3368-sheep-u-boot.dtsi
@@ -0,0 +1,35 @@ 
+/*
+ * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
+ *
+ * SPDX-License-Identifier:     GPL-2.0+	X11
+ */
+
+&pinctrl {
+	u-boot,dm-pre-reloc;
+};
+
+&service_msch {
+	u-boot,dm-pre-reloc;
+};
+
+&dmc {
+	u-boot,dm-pre-reloc;
+	status = "okay";
+};
+
+&pmugrf {
+	u-boot,dm-pre-reloc;
+};
+
+&cru {
+	u-boot,dm-pre-reloc;
+};
+
+&grf {
+	u-boot,dm-pre-reloc;
+};
+
+&uart2 {
+	u-boot,dm-pre-reloc;
+};
+