From patchwork Wed Jan 14 11:35:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 5630351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 235439F2ED for ; Wed, 14 Jan 2015 11:38:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3345D2015A for ; Wed, 14 Jan 2015 11:38:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 65C5620122 for ; Wed, 14 Jan 2015 11:38:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YBMFl-00027y-5K; Wed, 14 Jan 2015 11:36:49 +0000 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YBMFR-0001k7-M0 for linux-arm-kernel@lists.infradead.org; Wed, 14 Jan 2015 11:36:30 +0000 Received: by mail-wi0-f172.google.com with SMTP id n3so27441870wiv.5 for ; Wed, 14 Jan 2015 03:36:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3qe8KRaDhXkF34Ygyhgmwl9vXs+VazosFrFC+SvhbWs=; b=pxd85dOsRKLlEm5Iv8wdkhOCJSqa25uK6aVLtFhO/NaCSuNzPvYHlJ1jvojCDLUYWF Fbpk+K+6j0cNvDh64pdfv87o52vYIpOinbjyL9qa6m0HPjYslzu3wwPUuQlNgBs+iAiI OjV8X1iBjhEL/520X04vUQ+CJAhCeJNs3hUeFhzmnla9TIxwo3X4vNoRP4BbR4TBJgog VSer4Uok1tO1gFzpsnIXR2bV3bQBz+3v9fEdfs/SelRWgFYpAQuDWI485rMFu/deRUBc Ofu5R8jiIu44gtryPl0wvAEE6lJvdOOWnKCri6M80U4NS9AvBqWvJxUhhxL5o6dhwWEC YtnA== X-Received: by 10.180.206.79 with SMTP id lm15mr14285493wic.67.1421235367863; Wed, 14 Jan 2015 03:36:07 -0800 (PST) Received: from localhost.localdomain (219.Red-83-45-4.dynamicIP.rima-tde.net. [83.45.4.219]) by mx.google.com with ESMTPSA id jp3sm18282231wid.9.2015.01.14.03.36.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jan 2015 03:36:06 -0800 (PST) From: Matthias Brugger To: linux@arm.linux.org.uk, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, matthias.bgg@gmail.com Subject: [PATCH 2/2] ARM: mediatek: dts: Add uart to mt6592 Date: Wed, 14 Jan 2015 12:35:56 +0100 Message-Id: <1421235356-6631-2-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1421235356-6631-1-git-send-email-matthias.bgg@gmail.com> References: <1421235356-6631-1-git-send-email-matthias.bgg@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150114_033629_876832_5F7009E4 X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: devicetree@vger.kernel.org, howard.chen@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the uart ports and the uart clock to Mediateks mt6592 SoC. Signed-off-by: Matthias Brugger --- arch/arm/boot/dts/mt6592.dtsi | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/mt6592.dtsi b/arch/arm/boot/dts/mt6592.dtsi index 67c8174..c69201f 100644 --- a/arch/arm/boot/dts/mt6592.dtsi +++ b/arch/arm/boot/dts/mt6592.dtsi @@ -78,6 +78,12 @@ #clock-cells = <0>; }; + uart_clk: dummy26m { + compatible = "fixed-clock"; + clock-frequency = <26000000>; + #clock-cells = <0>; + }; + timer: timer@10008000 { compatible = "mediatek,mt6577-timer"; reg = <0x10008000 0x80>; @@ -102,4 +108,36 @@ reg = <0x10211000 0x1000>, <0x10212000 0x1000>; }; + + uart0: serial@11002000 { + compatible = "mediatek,mt6577-uart"; + reg = <0x11002000 0x400>; + interrupts = ; + clocks = <&uart_clk>; + status = "disabled"; + }; + + uart1: serial@11003000 { + compatible = "mediatek,mt6577-uart"; + reg = <0x11003000 0x400>; + interrupts = ; + clocks = <&uart_clk>; + status = "disabled"; + }; + + uart2: serial@11004000 { + compatible = "mediatek,mt6577-uart"; + reg = <0x11004000 0x400>; + interrupts = ; + clocks = <&uart_clk>; + status = "disabled"; + }; + + uart3: serial@11005000 { + compatible = "mediatek,mt6577-uart"; + reg = <0x11005000 0x400>; + interrupts = ; + clocks = <&uart_clk>; + status = "disabled"; + }; };