From patchwork Thu Jan 24 18:22:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 10778647 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8EF7713BF for ; Thu, 24 Jan 2019 10:17:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AD5F2E372 for ; Thu, 24 Jan 2019 10:17:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6AF512E5FF; Thu, 24 Jan 2019 10:17:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=2.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, MAILING_LIST_MULTI,RCVD_DOUBLE_IP_LOOSE,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 093002E372 for ; Thu, 24 Jan 2019 10:17:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726012AbfAXKRK (ORCPT ); Thu, 24 Jan 2019 05:17:10 -0500 Received: from [182.148.157.197] ([182.148.157.197]:34958 "HELO eyou.net" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with SMTP id S1726034AbfAXKRK (ORCPT ); Thu, 24 Jan 2019 05:17:10 -0500 X-EYOU-SPAMVALUE: 0 X-EMDG-ORIGINAL-FROM: X-EMDG-ORIGINAL-TO: X-EMDG-ORIGINAL-IP: 125.71.5.39 X-EMDG-VER: 4.1.1 X-EMDG-ABROAD: no Received: (eyou anti_spam gateway 4.1.0); Thu, 24 Jan 2019 18:17:39 +0800 X-EMDG-MID: <748325059.28198@eyou.net> Received: from 125.71.5.39 by 182.148.157.197 with SMTP; Thu, 24 Jan 2019 18:17:39 +0800 Received: from localhost ([127.0.0.1]) by cduestc.cn with sendmail id 3424c98d8beab29e2781ee3693d74600; Fri, 25 Jan 2019 02:22:15 +0800 Date: Fri, 25 Jan 2019 02:22:15 +0800 From: "Zhou Yanjie" Subject: [PATCH] DTS: CI20: Fix bugs in ci20's device tree. To: "linux-mips" Cc: "linux-kernel" , devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, ralf@linux-mips.org, jhogan@kernel.org, mark.rutland@arm.com, malat@debian.org, ezequiel@collabora.co.uk, ulf.hansson@linaro.org, "syq" , "jiaxun.yang" Message-Id: <190125022215331921004107@cduestc.edu.cn> MIME-Version: 1.0 X-Mailer: eYou WebMail 8.13.6 X-Eyou-Client: 171.209.85.48 X-Eyou-Is-Onercpt: 0 X-Eyou-Sender: Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Zhou Yanjie According to the Schematic, the hardware of ci20 leads to uart3, but not to uart2. Uart2 is miswritten in the original code. Signed-off-by: Zhou Yanjie --- arch/mips/boot/dts/ingenic/ci20.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index 50cff3c..4f7b1fa 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -76,7 +76,7 @@ status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&pins_uart2>; + pinctrl-0 = <&pins_uart3>; }; &uart4 { @@ -196,9 +196,9 @@ bias-disable; }; - pins_uart2: uart2 { - function = "uart2"; - groups = "uart2-data", "uart2-hwflow"; + pins_uart3: uart3 { + function = "uart3"; + groups = "uart3-data", "uart3-hwflow"; bias-disable; };