From patchwork Thu Mar 24 12:44:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 12790663 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83AE7C433EF for ; Thu, 24 Mar 2022 12:46:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zPdn80rM2B4SVN0ATKitOvy/WmsH6PaWCKgvwKi1pbg=; b=12JZkaLTdU5ySB 9TiTxVm8BxW6HnJ2FBOOrfpYKjiw82Z2IHHytaNzl6HIsbP3SmHJ+l4fzYoWFYzr+R+HyYEHkmugf WwHQ3/G3p4RRa6m6xC5g86WGAkNJWn9cjgnQ5vmGDrRFKB+e8Z1ZOeWTpmAZVIksvMfd5aLawnNw3 Z293/MODUgPnXUqCMwcqDJG/NqlUHxrmD/fQadjKnoysf7dwG+e26ycjsyN8ZYqKjwMIinF/c04pQ Cs/d04311gL9/axbPCMyo9/Cx04OAZ3/1TwpksdDTA1LO5zcnkaIbmsqYM0cChYpcYjdxNcvEYwia F8/jMGO7RaI2bqvESrBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXMqF-00GcGA-Oa; Thu, 24 Mar 2022 12:45:28 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXMpN-00Gbyv-Gq for linux-arm-kernel@lists.infradead.org; Thu, 24 Mar 2022 12:44:35 +0000 Received: by mail-pl1-x629.google.com with SMTP id g3so4577712plo.6 for ; Thu, 24 Mar 2022 05:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V3tFbH35BFupdR5bw1hQ7Wrji66feBlGYcQAWCV7aQM=; b=ceyT+O0AlPmogMlbBEf0jmw/Z26cnyOFpgkiYjvQXlXJoHkP8J4lAjcaMJIqY+EBTY y5AYcKxoM0O+vEtt4C60iahHShQ9MeHn7EVXj4LTs4JIfw9c9et361Uhy/nUAXJW+/xT +sbe0c9Tzke8XuUiPnnO6pXrp0TwLsjlFskgA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V3tFbH35BFupdR5bw1hQ7Wrji66feBlGYcQAWCV7aQM=; b=UghUpcBJvn3fcdJtiQGL4PuAWaZGIbiexPOkpgKhDU8uNfKPpDGUP1lLo++MGK9zJc cQIXcxIwVj5LAg+1gzwgqo5pF/g7SrSfDl+x4iqHMHgf1G89iT8/o9cvUoUB44npvnw9 X364L8X3qWTp9HsQFwzO73daPiTILVrPVeGJ9Yvm60d9jq/eS0hFlPlTjYiWuJ5WrhhW p/bvptJSLJEDurFkg5bd8m5P3Pnk9Vjgh8uEW46uJiQOmuxICN8w9miX29zLK2HOng4n ejV9u+DaA1M5JlsRV/vNeV9Ebf0jxOzPEdXC0Y8m/tOVY1U6fpJmcjOCZ/LobAVVbCOi F3zg== X-Gm-Message-State: AOAM532dzntMNTisQDsmdJMf3mkzRAtYBn3sl/u60gmD1Pvaa0R7gAIV 1fqnH4XaoazT0gSmHBWbpXmW4w== X-Google-Smtp-Source: ABdhPJxP42NMb0GQrTrXWtdr66SfCJdveNo9QEKIWJol7H+ZIpB+Eao3a8ALGd36qKQJGXCtv+cUHA== X-Received: by 2002:a17:902:f291:b0:153:caaf:17fd with SMTP id k17-20020a170902f29100b00153caaf17fdmr5655877plc.89.1648125872376; Thu, 24 Mar 2022 05:44:32 -0700 (PDT) Received: from shiro.work ([2400:4162:2428:2f01:7285:c2ff:fe8e:66d7]) by smtp.googlemail.com with ESMTPSA id t10-20020a056a00138a00b004fa9c9fda44sm3786924pfg.89.2022.03.24.05.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Mar 2022 05:44:32 -0700 (PDT) From: Daniel Palmer To: devicetree@vger.kernel.org, linux-serial@vger.kernel.org, robh+dt@kernel.org, andriy.shevchenko@linux.intel.com, jirislaby@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, romain.perier@gmail.com, Daniel Palmer Subject: [PATCH 4/4] ARM: dts: mstar: Add second UART to base dtsi. Date: Thu, 24 Mar 2022 21:44:02 +0900 Message-Id: <20220324124402.3631379-5-daniel@0x0f.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220324124402.3631379-1-daniel@0x0f.com> References: <20220324124402.3631379-1-daniel@0x0f.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220324_054433_605591_A61C0576 X-CRM114-Status: GOOD ( 10.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the second UART to the base dtsi. Signed-off-by: Daniel Palmer Reviewed-by: Romain Perier --- arch/arm/boot/dts/mstar-v7.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index 8464a8f1b136..baf2422b9854 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -182,6 +182,14 @@ pm_uart: uart@221000 { clock-frequency = <172000000>; status = "disabled"; }; + + uart1: uart@221200 { + compatible = "mstar,msc313-uart", "snps,dw-apb-uart"; + reg = <0x221200 0x100>; + reg-shift = <3>; + interrupts-extended = <&intc_irq GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; }; imi: sram@a0000000 {