]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: meson-g12a: add U-Boot specific DT for graphics
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 30 Aug 2019 12:09:27 +0000 (14:09 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 18 Oct 2019 09:51:22 +0000 (11:51 +0200)
Like the meson-gx support, add the U-Boot specific bits in DT
to support graphics on G12A SoCs.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
arch/arm/dts/meson-g12a-sei510-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/meson-g12a-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/meson-g12a-u200-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/meson-g12b-odroid-n2-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/meson-g12a-sei510-u-boot.dtsi b/arch/arm/dts/meson-g12a-sei510-u-boot.dtsi
new file mode 100644 (file)
index 0000000..fddffd6
--- /dev/null
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2019 BayLibre, SAS.
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#include "meson-g12a-u-boot.dtsi"
diff --git a/arch/arm/dts/meson-g12a-u-boot.dtsi b/arch/arm/dts/meson-g12a-u-boot.dtsi
new file mode 100644 (file)
index 0000000..38fd3d3
--- /dev/null
@@ -0,0 +1,29 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2019 BayLibre, SAS.
+ * Author: Maxime Jourdan <mjourdan@baylibre.com>
+ */
+
+/ {
+       soc {
+               u-boot,dm-pre-reloc;
+       };
+};
+
+&canvas {
+       status = "disabled";
+};
+
+&vpu {
+       reg = <0x0 0xff900000 0x0 0x100000>,
+             <0x0 0xff63c000 0x0 0x1000>,
+             <0x0 0xff638000 0x0 0x400>;
+       reg-names = "vpu", "hhi", "dmc";
+       u-boot,dm-pre-reloc;
+};
+
+&hdmi_tx {
+       reg = <0x0 0x0 0x0 0x10000>,
+             <0x0 0x3c000 0x0 0x1000>;
+       reg-names = "hdmitx", "hhi";
+};
diff --git a/arch/arm/dts/meson-g12a-u200-u-boot.dtsi b/arch/arm/dts/meson-g12a-u200-u-boot.dtsi
new file mode 100644 (file)
index 0000000..fddffd6
--- /dev/null
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2019 BayLibre, SAS.
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#include "meson-g12a-u-boot.dtsi"
diff --git a/arch/arm/dts/meson-g12b-odroid-n2-u-boot.dtsi b/arch/arm/dts/meson-g12b-odroid-n2-u-boot.dtsi
new file mode 100644 (file)
index 0000000..fddffd6
--- /dev/null
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2019 BayLibre, SAS.
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#include "meson-g12a-u-boot.dtsi"