devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxim Kutnij <gtk3@inbox.ru>
To: linux-mediatek@lists.infradead.org
Cc: robh+dt@kernel.org, matthias.bgg@gmail.com,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, Maxim Kutnij <gtk3@inbox.ru>
Subject: [PATCH 2/3] Add initial support for Prestigio PMT5008 3G tablet
Date: Sun, 19 Dec 2021 23:31:33 +0500	[thread overview]
Message-ID: <20211219183134.3849-2-gtk3@inbox.ru> (raw)
In-Reply-To: <20211219183134.3849-1-gtk3@inbox.ru>

Add initial support for Prestigio PMT5008 3G tablet

Signed-off-by: Maxim Kutnij <gtk3@inbox.ru>
---
 .../boot/dts/mt6582-prestigio-pmt5008-3g.dts  | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 arch/arm/boot/dts/mt6582-prestigio-pmt5008-3g.dts

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
index 00000000000..6e7db2a9819
--- /dev/null
+++ b/arch/arm/boot/dts/mt6582-prestigio-pmt5008-3g.dts
@@ -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";
+};
-- 
2.34.1


  reply	other threads:[~2021-12-19 15:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19 18:31 [PATCH 1/3] Add initial support for Mediatek mt6582 Maxim Kutnij
2021-12-19 18:31 ` Maxim Kutnij [this message]
2021-12-19 18:31 ` [PATCH 3/3] This adds a DT binding documentation for the MT6582 SoC Maxim Kutnij
2021-12-22 17:32   ` Rob Herring
2021-12-28 15:56     ` Matthias Brugger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211219183134.3849-2-gtk3@inbox.ru \
    --to=gtk3@inbox.ru \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).