Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4346818rwe; Tue, 30 Aug 2022 08:33:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR6D6aOH6OJPOfLGoluuLUJO90YJbiCjy3dQBGaq/md4NIXo8O1Bycb7TEV1HTntEyBWbnvr X-Received: by 2002:a17:90b:3509:b0:1fb:35ed:6fd4 with SMTP id ls9-20020a17090b350900b001fb35ed6fd4mr24644021pjb.1.1661873616720; Tue, 30 Aug 2022 08:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661873616; cv=none; d=google.com; s=arc-20160816; b=SRDEk5MzTC+vU74N90R/G6PiKGpDOaYkqgvAmwvh4XCLOy0nFPm7aHmi1mwsqXDvcs bPH0MhzyL2zFfjN28WVCZoADHQA0UorYvhyCGTjK81Qq/aX1WxAIflL3dzXeWEUYd9R+ b69SFlrj2mpiKXJ4N2RLk4I3nRILmkjd7hEk46YjKlytMuU/WhUNCPVL/jW5HIxxjwKC XYLRWCHeoPYVIc+jRKvvw+iU+3NEq3KJxqbDlLC68aZFm21TNvJKbzwjNTgzKx2KuIui cqOjXcFp/OmpE0hatgudPSCn15kT0/y/jplU8Ye3CkMy7anQ/p3aTU0VXiNJWQYTT9Kh Qu4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ROF0Y4wg0BLmi5g289S/LaRsolm+9iZFnvQNTeolLN0=; b=JTOcJCdsba893fBhvpg0/OAWIEA4jCVxhw615T+DGnAzTLGant4SiS0BAnDZ7wOehm i/mkzfI0N5yCrz8VVkMqRFMaZ75s6SJhVFDcdeYEDjdEGqsyY7FQKF8bmbRp0xEg47gw zk9lRnM1TPoqascjXtlBg4a4kJJZoFuu3Yngech1YOotKmcCY0wV3iVjRJMhC7R+lOXV TY1MsUmMtrkH0zxpj4sixB25o5E982LwearRLH1L4TedY9GSjlOOD3TsRXCaGp7wo0uc i78OwK0FiJs2p5r0IbRtELbZ1ZQI0bybZyung2eCjwy0RfFqCJPY5WLDpdL7M6yORRD2 xAlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="p/awq9Zh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c7-20020a170902b68700b0016d67ef8943si11639133pls.187.2022.08.30.08.33.25; Tue, 30 Aug 2022 08:33:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="p/awq9Zh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230411AbiH3PWU (ORCPT + 99 others); Tue, 30 Aug 2022 11:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbiH3PWC (ORCPT ); Tue, 30 Aug 2022 11:22:02 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEFA5B81E4; Tue, 30 Aug 2022 08:21:54 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 27UFLc8a039724; Tue, 30 Aug 2022 10:21:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1661872898; bh=ROF0Y4wg0BLmi5g289S/LaRsolm+9iZFnvQNTeolLN0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=p/awq9Zh9J+gpATR61W0yJZUGENyEfohicJXwx7jfuuYpgFwatRZT76cu2EUoSCuf mp/bsWKYY5VEcVPMTEnAa2GkK1mfJGWewVXTEF1K+i+R6vWHoOp42Q0DBQ66dq355+ jcBr1U/tH0gWbccOjsT4395MHbQ/4qcFUMMUIsfs= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 27UFLcsm019920 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 30 Aug 2022 10:21:38 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 30 Aug 2022 10:21:38 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 30 Aug 2022 10:21:38 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 27UFLcUC065463; Tue, 30 Aug 2022 10:21:38 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra CC: Tero Kristo , Nishanth Menon , Daniel Thompson , , , Subject: [PATCH 3/4] arm64: dts: ti: j7200*: Define aliases in board files Date: Tue, 30 Aug 2022 10:21:31 -0500 Message-ID: <20220830152132.23916-4-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220830152132.23916-1-nm@ti.com> References: <20220830152132.23916-1-nm@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define aliases in board files, instead of in the SoC dtsi file. Reported-by: Daniel Thompson Signed-off-by: Nishanth Menon --- .../boot/dts/ti/k3-j7200-common-proc-board.dts | 17 +++++++++++++++++ arch/arm64/boot/dts/ti/k3-j7200.dtsi | 17 ----------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index 121975dc8239..5d4dbaad17e8 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -15,6 +15,23 @@ / { compatible = "ti,j7200-evm", "ti,j7200"; model = "Texas Instruments J7200 EVM"; + aliases { + serial0 = &wkup_uart0; + serial1 = &mcu_uart0; + serial2 = &main_uart0; + serial3 = &main_uart1; + serial4 = &main_uart2; + serial5 = &main_uart3; + serial6 = &main_uart4; + serial7 = &main_uart5; + serial8 = &main_uart6; + serial9 = &main_uart7; + serial10 = &main_uart8; + serial11 = &main_uart9; + mmc0 = &main_sdhci0; + mmc1 = &main_sdhci1; + }; + chosen { stdout-path = "serial2:115200n8"; bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; diff --git a/arch/arm64/boot/dts/ti/k3-j7200.dtsi b/arch/arm64/boot/dts/ti/k3-j7200.dtsi index b6da0454cc5b..05ffc2de7017 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200.dtsi @@ -17,23 +17,6 @@ / { #address-cells = <2>; #size-cells = <2>; - aliases { - serial0 = &wkup_uart0; - serial1 = &mcu_uart0; - serial2 = &main_uart0; - serial3 = &main_uart1; - serial4 = &main_uart2; - serial5 = &main_uart3; - serial6 = &main_uart4; - serial7 = &main_uart5; - serial8 = &main_uart6; - serial9 = &main_uart7; - serial10 = &main_uart8; - serial11 = &main_uart9; - mmc0 = &main_sdhci0; - mmc1 = &main_sdhci1; - }; - chosen { }; cpus { -- 2.31.1