rockchip: add u-boot specific dts for rk3368 based boards
authorAndy Yan <andy.yan@rock-chips.com>
Wed, 2 Aug 2017 13:08:59 +0000 (21:08 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:36 +0000 (17:12 +0200)
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 [new file with mode: 0644]
arch/arm/dts/rk3368-px5-evb-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/rk3368-sheep-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/rk3368-geekbox-u-boot.dtsi b/arch/arm/dts/rk3368-geekbox-u-boot.dtsi
new file mode 100644 (file)
index 0000000..764b3e4
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * (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 (file)
index 0000000..3a5e30e
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * (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 (file)
index 0000000..764b3e4
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * (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;
+};