Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4352362rwe; Tue, 30 Aug 2022 08:39:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR5AQ+C8lfKQWfNpFsnpZsKJLfi+BL7l4rsNg87KogrTIDhpJT+MO5JP59kg0RohSTC3nsKu X-Received: by 2002:a63:43c7:0:b0:429:7abb:aaf7 with SMTP id q190-20020a6343c7000000b004297abbaaf7mr18176648pga.204.1661873940568; Tue, 30 Aug 2022 08:39:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661873940; cv=none; d=google.com; s=arc-20160816; b=ufqvAyohKaH29dqs8yKQ864+uAC2BsplunFLDKrfH1tVYaIvlMf5z+uYydIj2AhgHm NUKdG5gtJd4wKDHAeW7gL70VRwGvlxmwTGnr52BGa5bPmtL3t9z8Uv9xvIRtd8XlijyT 21bRLULhzc6m22IipP8TAzYyYjQlT6jQl8dB62ZU0R2j8jzOOZwu3Lzod5EXE52EoeWa NEHIBKeTveq5INV4fJonG6v6keOdzdhm5pYdPiUjERzcuwljIFPatuauQPNNXm0S5g2g H+4msqm3MKVwV9YRZmnNRijIjedMi/B9lRDXIQuPgLMVvCSlVdJy5LcgyeD9pcB6rdEA BYjQ== 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=secVNftM85ekE/jpsmMFiAgn/cbSg5ncZ9m6WYwQ3NM=; b=Qd1viDppaT1OSU3phk8hQMnGz6glmo9AHpaY/u9YeTNe4tJmaxPsNCGOj7Oi6hS1JT FoNts0HsTrX7vvgb+5QGzsKjSR6Y1QWztOU67tGBVpvLYO1C2w9fSMdBRRlKjkOWWOEB i80T5HmtVBntGHP4dSZjyjPdWmwCbbR248YNIZBOvRjMAVDMyOSpLl5yv+cO5Ij5gv83 tFZL84Dwh2NvXMLL3C4PrUrKNBu7AgmTp9XI3l3xP7KQBfjwBUN9K/tU0Q6z46eCBXMl nCRpYIZQFq923NQwjZSr90SpZ4pgUwwrnrKifIg3OFRMcZvi1S9ibyBSoYrGQVoYDT1+ XTCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=V4aiv4Jh; 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 n37-20020a635c65000000b00410ac395252si2393554pgm.512.2022.08.30.08.38.48; Tue, 30 Aug 2022 08:39:00 -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=V4aiv4Jh; 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 S230012AbiH3PWD (ORCPT + 99 others); Tue, 30 Aug 2022 11:22:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229594AbiH3PVz (ORCPT ); Tue, 30 Aug 2022 11:21:55 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BB01B728D; Tue, 30 Aug 2022 08:21:53 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 27UFLcf6048474; 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=secVNftM85ekE/jpsmMFiAgn/cbSg5ncZ9m6WYwQ3NM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=V4aiv4Jh40ZUNx7p3k3jtu0akJbkFGWt+ZJTAiILaYJQPEccCUUKr9wkqeKCn4vXa oMMq13PMHz/SkRkv0tK0W6oRQ6696ycO2Hyay3tgAufsWJI/J2Sw+o6ZVYPZFxTOkr 6Qd6MWYJBSeDBZWHUKigvGhzNvts7qYWLcyarDUI= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 27UFLcSK018000 (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 DFLE107.ent.ti.com (10.64.6.28) 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 lelv0326.itg.ti.com (10.180.67.84) 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 lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 27UFLcf5022771; 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 4/4] arm64: dts: ti: am64*: Define aliases in board files Date: Tue, 30 Aug 2022 10:21:32 -0500 Message-ID: <20220830152132.23916-5-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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 --- arch/arm64/boot/dts/ti/k3-am64.dtsi | 16 ---------------- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 16 ++++++++++++++++ arch/arm64/boot/dts/ti/k3-am642-sk.dts | 16 ++++++++++++++++ 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am64.dtsi b/arch/arm64/boot/dts/ti/k3-am64.dtsi index 016dd8511ca6..ffe7578e553b 100644 --- a/arch/arm64/boot/dts/ti/k3-am64.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64.dtsi @@ -18,22 +18,6 @@ / { #address-cells = <2>; #size-cells = <2>; - aliases { - serial0 = &mcu_uart0; - serial1 = &mcu_uart1; - serial2 = &main_uart0; - serial3 = &main_uart1; - serial4 = &main_uart2; - serial5 = &main_uart3; - serial6 = &main_uart4; - serial7 = &main_uart5; - serial8 = &main_uart6; - ethernet0 = &cpsw_port1; - ethernet1 = &cpsw_port2; - mmc0 = &sdhci0; - mmc1 = &sdhci1; - }; - chosen { }; firmware { diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts index ad150c704623..076e21e3d261 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts @@ -16,6 +16,22 @@ / { compatible = "ti,am642-evm", "ti,am642"; model = "Texas Instruments AM642 EVM"; + aliases { + serial0 = &mcu_uart0; + serial1 = &mcu_uart1; + serial2 = &main_uart0; + serial3 = &main_uart1; + serial4 = &main_uart2; + serial5 = &main_uart3; + serial6 = &main_uart4; + serial7 = &main_uart5; + serial8 = &main_uart6; + ethernet0 = &cpsw_port1; + ethernet1 = &cpsw_port2; + mmc0 = &sdhci0; + mmc1 = &sdhci1; + }; + chosen { stdout-path = "serial2:115200n8"; bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts index 2620469a7517..70432a9ac485 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -15,6 +15,22 @@ / { compatible = "ti,am642-sk", "ti,am642"; model = "Texas Instruments AM642 SK"; + aliases { + serial0 = &mcu_uart0; + serial1 = &mcu_uart1; + serial2 = &main_uart0; + serial3 = &main_uart1; + serial4 = &main_uart2; + serial5 = &main_uart3; + serial6 = &main_uart4; + serial7 = &main_uart5; + serial8 = &main_uart6; + ethernet0 = &cpsw_port1; + ethernet1 = &cpsw_port2; + mmc0 = &sdhci0; + mmc1 = &sdhci1; + }; + chosen { stdout-path = "serial2:115200n8"; bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; -- 2.31.1