Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3560842pxb; Sun, 26 Sep 2021 19:34:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEFA6a2zhXx7qsht5qeI3BFSCVnkmex04/2SIlLy9WJFqNvn8hwVho+DK9U+L52H5CdKfo X-Received: by 2002:a17:90b:4c09:: with SMTP id na9mr17008572pjb.172.1632710079443; Sun, 26 Sep 2021 19:34:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632710079; cv=none; d=google.com; s=arc-20160816; b=cz0YGZ7DmtvMV6MrKuwwo2n5XOuzXxDZers03cO7HaTDKVxc4RKyxma/aq2LODz317 nTalnXnZtr75rBlBk6sBW0IdRt/Nh/JSMORfEZMzZtIVOUegyGg64vJ+38dGLeBMyDmW co+1Ws+MmWXMZCw6uLQAarlWrT+ZyEfwkunL2S8pQjv13fQlv57+pMXQmIZWyPqyWPqt kDwkvrsnPUWzIKO1RWp64+tIXY8QgcG2eDQHUW/hz64K+KurdinIh8cJ44zFXRo3fZc5 cko2IpzUuv+TwT18sLlAXfM8DOpD/3PQpIe312a4UrzgTgo8cOylHKPrGHMDDmOBebjK pY3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=a8CKICqY2oODw8xFj0pxOG8tatzGin6krfY2nkktS/E=; b=eBjpDPch2jhynvcjrhmObaOBDZAtfh42pV/rNixJxQhCx85lpFmpmUDfYpBthKUhCy lOi723AIGXa8QzYBCLAjEQi3RAWOTzGbOwpTbYm6+8NUthLEicEOdCXFvFfnelo5BcwM 4F7PD3rsc21ma2v1Olkww0dIRXwuMbNlCO7d8wBUT+UzLKB2VnMBF8Du8NhvNnvG98R1 8TCWXh2wKZ0PkvyhEGWswR4wsPBMzzAi25ugJ4NTiwel3c54PJjRdoZAKatrRUj+xzS0 ykVxYULffpvb8TUUe4awPB1w28R0Pkxnr2xCrjWGjZbpY4g9FkV4tVxQsbkmJt1X02EV MzNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d23si19833587pgv.55.2021.09.26.19.34.27; Sun, 26 Sep 2021 19:34:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232561AbhI0CdY (ORCPT + 99 others); Sun, 26 Sep 2021 22:33:24 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:14280 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232520AbhI0CdV (ORCPT ); Sun, 26 Sep 2021 22:33:21 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 18R2AIvw038750; Mon, 27 Sep 2021 10:10:20 +0800 (GMT-8) (envelope-from chiawei_wang@aspeedtech.com) Received: from ChiaWeiWang-PC.aspeed.com (192.168.2.66) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 27 Sep 2021 10:30:56 +0800 From: Chia-Wei Wang To: , , , , , , , CC: Subject: [PATCH v7 5/5] ARM: dts: aspeed: Add uart routing to device tree Date: Mon, 27 Sep 2021 10:30:53 +0800 Message-ID: <20210927023053.6728-6-chiawei_wang@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210927023053.6728-1-chiawei_wang@aspeedtech.com> References: <20210927023053.6728-1-chiawei_wang@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.2.66] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 18R2AIvw038750 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add LPC uart routing to the device tree for Aspeed SoCs. Signed-off-by: Oskar Senft Signed-off-by: Chia-Wei Wang Tested-by: Lei YU --- arch/arm/boot/dts/aspeed-g4.dtsi | 6 ++++++ arch/arm/boot/dts/aspeed-g5.dtsi | 6 ++++++ arch/arm/boot/dts/aspeed-g6.dtsi | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 45a25eb4baa4..f0eb599e90f1 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -382,6 +382,12 @@ interrupts = <8>; status = "disabled"; }; + + uart_routing: uart-routing@9c { + compatible = "aspeed,ast2400-uart-routing"; + reg = <0x9c 0x4>; + status = "disabled"; + }; }; uart2: serial@1e78d000 { diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 8e1d00d8445e..c72f9aa13cea 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -490,6 +490,12 @@ #reset-cells = <1>; }; + uart_routing: uart-routing@9c { + compatible = "aspeed,ast2500-uart-routing"; + reg = <0x9c 0x4>; + status = "disabled"; + }; + lhc: lhc@a0 { compatible = "aspeed,ast2500-lhc"; reg = <0xa0 0x24 0xc8 0x8>; diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index 0d1aae6887cd..136273984b5e 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -550,6 +550,12 @@ #reset-cells = <1>; }; + uart_routing: uart-routing@98 { + compatible = "aspeed,ast2600-uart-routing"; + reg = <0x98 0x8>; + status = "disabled"; + }; + ibt: ibt@140 { compatible = "aspeed,ast2600-ibt-bmc"; reg = <0x140 0x18>; -- 2.17.1