From patchwork Thu Sep 10 08:43:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 11767117 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 82A03746 for ; Thu, 10 Sep 2020 08:43:31 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 476B8206D4 for ; Thu, 10 Sep 2020 08:43:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fgKNwo2o"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Ddx81Q20" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 476B8206D4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=B+BliB8yw9+mVWXrJRkk3WKPdaUewwFOPifuSCPZtrg=; b=fgKNwo2oXz+dIWxmT9wAwYL+dm j8NQJXpe1aBjR0Lbs7B93YxYjwPsMaPducBsDs4a51wa0iGHGo5elh6EfmFkIodUlyah1vMEBQQxA mB9bDjfgPpArfPS/62k87MfJ6Q25rg0hHOgZHJstZwh8yyEzDVxk67pspSTo/oYJbvUbK46hRWx4K LmMCYxOQfUYjgVLghwhyFjeoPOnrBjQDGvL1/CUD5K3Wmaqi+hpPkAEDIBqdk41DXa1Z4/Qk3fDeA t0T+7Q1MFFIKVeH+g50rW4Y/8/TmFI6x6ftGX+3M4T8q/lilnFYI+KDEUZ3O9qBF0Ips6ugl2n2BO CrU0g4+g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGIAn-0000L2-6b; Thu, 10 Sep 2020 08:43:17 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGIAk-0000Jc-3w for linux-arm-kernel@lists.infradead.org; Thu, 10 Sep 2020 08:43:15 +0000 Received: by mail-pj1-x1043.google.com with SMTP id fa1so292001pjb.0 for ; Thu, 10 Sep 2020 01:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=L/4Xswe1tVbEt+VyZpLZ8Ecncq7V2PHXxgjqAkpGaWM=; b=Ddx81Q2028XCjXda3WQUN/JfV+7gvnOmVq07tcxMEZuH5m2W9lTVzg1qfm/tui6/y8 opDmSPbFMVgouFm7GUdLzZkvTwLlTiPQkxPk9Tr028N9kfVY3Tsz27OL8ndIU1KXI2ZX jqOQ8Bk4v6H040D3ts9qOQN/+ihrMvStIPOwA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=L/4Xswe1tVbEt+VyZpLZ8Ecncq7V2PHXxgjqAkpGaWM=; b=Nko82D9yoaAnTy/KnwJz9+pLTnrNwGoRpq3w+ZG70NW5KfekCh6ITWfA/28ZNU8Umu LVHd/fNLRSwe7ki62Ezy5r9S8EUsHxL1YkZdufXn01sNJqwR2duLUAhXBFnZw80CDztd FiS/rTnARLikcIA/ePhjbZ+x94zYJextE6K1kpmIz3/HOQLuF5RRbt/eilOUn+Ek5Pun OV50Q9Lgmf5anBmxKueoI3RyBH+VYnpjsIMWqnn0D9v58WRP4NClK0kVuVj6L+ZCMZuA mJ8c4lJH3/1+z/OiorxRqsLI/UM6TZsqciGjNC6W4KXIA+xFcihKO+dl+jP/ue1UW5ZN ndPg== X-Gm-Message-State: AOAM532GlPxKvfm9hMUk7+B6Pd18Pu56748WvURFIp4/ilY3lCOmomDy E2QarbxQ6+jMKssL9ghg77MRQA== X-Google-Smtp-Source: ABdhPJyEjD3DEgOoB0pkV8GVysZA4xYfdxxHJRksSsko7ICb4IzBqS75bczDOL25rNltJZ8HZ8ggmw== X-Received: by 2002:a17:902:aa4b:b029:d0:cbe1:e739 with SMTP id c11-20020a170902aa4bb02900d0cbe1e739mr4891936plr.20.1599727392093; Thu, 10 Sep 2020 01:43:12 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:1a60:24ff:fe89:3e93]) by smtp.gmail.com with ESMTPSA id x29sm4357645pga.23.2020.09.10.01.43.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 01:43:11 -0700 (PDT) From: Hsin-Yi Wang To: linux-mediatek@lists.infradead.org Subject: [PATCH v2 1/2] arm64: dts: mt8173: Set uart to mmio32 iotype Date: Thu, 10 Sep 2020 16:43:03 +0800 Message-Id: <20200910084304.3429494-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.28.0.526.ge36021eeef-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_044314_204159_099BB6D0 X-CRM114-Status: GOOD ( 12.06 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1043 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Enric Balletbo i Serra , Rob Herring , Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Set uart iotype to mmio32 to make earlycon work with stdout-path. Signed-off-by: Hsin-Yi Wang --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 5e046f9d48ce9..ca6ea71f5f435 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -613,6 +613,8 @@ uart0: serial@11002000 { interrupts = ; clocks = <&pericfg CLK_PERI_UART0_SEL>, <&pericfg CLK_PERI_UART0>; clock-names = "baud", "bus"; + reg-io-width = <4>; + reg-shift = <2>; status = "disabled"; }; @@ -623,6 +625,8 @@ uart1: serial@11003000 { interrupts = ; clocks = <&pericfg CLK_PERI_UART1_SEL>, <&pericfg CLK_PERI_UART1>; clock-names = "baud", "bus"; + reg-io-width = <4>; + reg-shift = <2>; status = "disabled"; }; @@ -633,6 +637,8 @@ uart2: serial@11004000 { interrupts = ; clocks = <&pericfg CLK_PERI_UART2_SEL>, <&pericfg CLK_PERI_UART2>; clock-names = "baud", "bus"; + reg-io-width = <4>; + reg-shift = <2>; status = "disabled"; }; @@ -643,6 +649,8 @@ uart3: serial@11005000 { interrupts = ; clocks = <&pericfg CLK_PERI_UART3_SEL>, <&pericfg CLK_PERI_UART3>; clock-names = "baud", "bus"; + reg-io-width = <4>; + reg-shift = <2>; status = "disabled"; };