]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: Add initial support for Prestigio PMT5008 3G tablet
authorMaxim Kutnij <gtk3@inbox.ru>
Sun, 19 Dec 2021 18:31:33 +0000 (23:31 +0500)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 24 Jan 2022 17:09:02 +0000 (18:09 +0100)
Add initial support for Prestigio PMT5008 3G tablet

Signed-off-by: Maxim Kutnij <gtk3@inbox.ru>
Link: https://lore.kernel.org/r/20211219183134.3849-2-gtk3@inbox.ru
[mb: fix commit subject line]
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt6582-prestigio-pmt5008-3g.dts [new file with mode: 0644]

diff --git a/arch/arm/boot/dts/mt6582-prestigio-pmt5008-3g.dts b/arch/arm/boot/dts/mt6582-prestigio-pmt5008-3g.dts
new file mode 100644 (file)
index 0000000..b057e03
--- /dev/null
@@ -0,0 +1,43 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2021 Maxim Kutnij <gtk3@inbox.ru>
+ */
+
+/dts-v1/;
+#include "mt6582.dtsi"
+
+/ {
+       model = "Prestigio PMT5008 3G";
+       compatible = "prestigio,pmt5008-3g", "mediatek,mt6582";
+
+       aliases {
+               bootargs = "console=ttyS0,921600n8 earlyprintk";
+               serial0 = &uart0;
+               serial3 = &uart3;
+       };
+
+       chosen {
+               stdout-path = "serial0:921600n8";
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x80000000 0x40000000>;
+       };
+};
+
+&uart0 {
+       status = "okay";
+};
+
+&uart1 {
+       status = "okay";
+};
+
+&uart2 {
+       status = "okay";
+};
+
+&uart3 {
+       status = "okay";
+};