From patchwork Tue Jul 5 17:26:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12906908 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 7E1C3C43334 for ; Tue, 5 Jul 2022 17:29:03 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=teY8P3gOB/Rfnp+YzB6zbN3Hxkri434RYcpUyXcAB7Y=; b=ApkGcWwuW7IDC5vYvbua4xHBYE A+5AbI1YgCOvkpKxcSiyFyJnJU5ka9DlLBupB/9IyFNYKk2DVKqPo833erdmkIZhtO4CU1PE2Bx10 scFCuwyXocRrETHQ7UYtDg16DcGQ0av4VQTY4YpXGQjtfR37QjDSnPpKC7RYYUscnA7tBT+g6LElp I/4V47APk7ObGcyt7LmAUHon2P3WdC/TXcJBUj1ZpjXJCo56elgpRyiU2J+FMj+mP7U/a5cfkr7Qu fm56mDf2s54hp2iO1OuhLrtvxg2XgFmL4f2eGgYtTAlk0oc9oGKzobFVcb55ibNWW43qAxgul1OHn tnz208JA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8mLB-001rlR-DM; Tue, 05 Jul 2022 17:28:01 +0000 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8mKu-001rey-9u for linux-arm-kernel@lists.infradead.org; Tue, 05 Jul 2022 17:27:45 +0000 Received: by mail-qt1-x833.google.com with SMTP id ay10so14679030qtb.1 for ; Tue, 05 Jul 2022 10:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=N8GdoH+kMDzb9jZJ8T0UyLAOOdodS/QmHz4NpGICq/8=; b=dW6qszVWnJa32H+n8/y8Ay53yN99olYIqDzRWY5fpMWmdEn4eLsAVEFMbdoP6g0MV5 R/O19KTzKqKLxexgARLEfqI4qeNFp2s+rlyMswWI46ARSl+3qiPxKDEoXphZOzPWyi/I SDsOrvKCYzBDSTAOPeS5nw37eZBauhUPnN7cU= 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; bh=N8GdoH+kMDzb9jZJ8T0UyLAOOdodS/QmHz4NpGICq/8=; b=Cmzp+ds5lgQd4tYuUAMgHlFWwljzuQcRHRaRrxPJrkqbcss0W0/Bd7rEIqhIS9oHYP y2SqlbPQv5QGdX4Xm3Lb1mOxSiAgBKRlRKiHsoZ+Lk+Jb+y26HYRYQGiNrX8seerccfM jRj+P33LgkwK+06q1/h8TLv+rLn+hrelQK6XCHXHv0e6YTnnbXQ/Id4cb3PxHxFHqm5e 8ZeOPySCSUU8wjsAp5ODakWxL15mee/S/qmOxrV2TCrHZ21pClMcMC+U9sFu7B1clRGO SHD8K92eX/NRotCPTWa5KYUzjm56taspUxqkl+GYHA89xjLaqaHIs5kI3w47aaG9FtVF WiGg== X-Gm-Message-State: AJIora/4MECH1bUBABmcYvtM4o5l70ZFZZz8pthUqZ4iaL+iy3UiRQh6 PQgwQGgKyRqt0/RarsFEEziFKrMrNYJyPYmqpgxso12iXMQftbeBy9uIe1EczwVrnk74i3UuCUN aujCtpt1/d8uByHYvMzeaEJ8FNilJz7/+jbSkFDmHoDdEv0e+hZCt5WcgJ3svChmESxxPC4z9fU nilAjTyacLiAWDlkPaGU4= X-Google-Smtp-Source: AGRyM1vBMJvdYW+fIsNWMhPiycCxHuKdGy59LpZD/IK1OT+hUNPx/jLjbQgVO6/jhIPedYqakW332A== X-Received: by 2002:ac8:7d44:0:b0:31d:29a1:1cf7 with SMTP id h4-20020ac87d44000000b0031d29a11cf7mr27027709qtb.355.1657042062166; Tue, 05 Jul 2022 10:27:42 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id d8-20020ac85ac8000000b00304e70585f9sm24439851qtd.72.2022.07.05.10.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 10:27:41 -0700 (PDT) From: William Zhang To: Linux ARM List Cc: joel.peshkin@broadcom.com, kursad.oney@broadcom.com, f.fainelli@gmail.com, anand.gore@broadcom.com, Broadcom Kernel List , philippe.reynes@softathome.com, dan.beygelman@broadcom.com, William Zhang , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/9] ARM: dts: update dts files for bcmbca SoC BCM63138 Date: Tue, 5 Jul 2022 10:26:07 -0700 Message-Id: <20220705172613.21152-4-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705172613.21152-1-william.zhang@broadcom.com> References: <20220705172613.21152-1-william.zhang@broadcom.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220705_102744_392794_D0202966 X-CRM114-Status: GOOD ( 14.38 ) 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 Update compatible string and UART node and clock name based on device tree binding documents. Signed-off-by: William Zhang --- arch/arm/boot/dts/bcm63138.dtsi | 18 +++++++++--------- arch/arm/boot/dts/bcm963138dvt.dts | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/bcm63138.dtsi b/arch/arm/boot/dts/bcm63138.dtsi index cca49a2e2d62..bec13ed9f73b 100644 --- a/arch/arm/boot/dts/bcm63138.dtsi +++ b/arch/arm/boot/dts/bcm63138.dtsi @@ -9,13 +9,13 @@ / { #address-cells = <1>; #size-cells = <1>; - compatible = "brcm,bcm63138"; - model = "Broadcom BCM63138 DSL SoC"; + compatible = "brcm,bcm63138", "brcm,bcmbca"; + model = "Broadcom BCM963138 Reference Board"; interrupt-parent = <&gic>; aliases { - uart0 = &serial0; - uart1 = &serial1; + serial0 = &uart0; + serial1 = &uart1; }; cpus { @@ -174,7 +174,7 @@ sata_phy0: sata-phy@0 { }; /* Legacy UBUS base */ - ubus@fffe8000 { + bus@fffe8000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; @@ -185,21 +185,21 @@ timer: timer@80 { reg = <0x80 0x3c>; }; - serial0: serial@600 { + uart0: serial@600 { compatible = "brcm,bcm6345-uart"; reg = <0x600 0x1b>; interrupts = ; clocks = <&periph_clk>; - clock-names = "periph"; + clock-names = "refclk"; status = "disabled"; }; - serial1: serial@620 { + uart1: serial@620 { compatible = "brcm,bcm6345-uart"; reg = <0x620 0x1b>; interrupts = ; clocks = <&periph_clk>; - clock-names = "periph"; + clock-names = "refclk"; status = "disabled"; }; diff --git a/arch/arm/boot/dts/bcm963138dvt.dts b/arch/arm/boot/dts/bcm963138dvt.dts index df5c8ab90627..3fe10c062ba4 100644 --- a/arch/arm/boot/dts/bcm963138dvt.dts +++ b/arch/arm/boot/dts/bcm963138dvt.dts @@ -8,12 +8,12 @@ #include "bcm63138.dtsi" / { - compatible = "brcm,BCM963138DVT", "brcm,bcm63138"; + compatible = "brcm,BCM963138DVT", "brcm,bcm63138", "brcm,bcmbca"; model = "Broadcom BCM963138DVT"; chosen { bootargs = "console=ttyS0,115200"; - stdout-path = &serial0; + stdout-path = &uart0; }; memory@0 { @@ -23,11 +23,11 @@ memory@0 { }; -&serial0 { +&uart0 { status = "okay"; }; -&serial1 { +&uart1 { status = "okay"; };