From patchwork Tue Feb 7 11:06:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Durai Manickam KR X-Patchwork-Id: 53834 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2787113wrn; Tue, 7 Feb 2023 03:13:55 -0800 (PST) X-Google-Smtp-Source: AK7set9KQ+WEGtFnMcFlM1j7p2fcgZfmMAGx/VexIMOJyn9Z00+O4ucktmhIEHx75LbvXYa1Kggv X-Received: by 2002:a17:90b:4b4a:b0:230:2052:1c2 with SMTP id mi10-20020a17090b4b4a00b00230205201c2mr3627212pjb.42.1675768435218; Tue, 07 Feb 2023 03:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675768435; cv=none; d=google.com; s=arc-20160816; b=bCq0A/CEfRerb0v4lMM93Fmi+VrnU5vDQMgzXfmqAHL6BAfQY1jgIhYiUmmwI87THk n8rGzOOepn3PUXcoC2dfTYjIpvoTq92j3WBVman5srcPoqc0klJczXqYgQT6qY+uxyQE bGSQ5X1FympsWHHax9b+QCoRIr5zqVdGXMpOjTlGLNiXh/zsfd5Hi1epgdism2L4V7bN J/AN1pDHjxVI37OZeRhmw0kmr0ikyjXjkCnU/g+t+I1WtMdwyq9EIhpyPyXq+RGgVJ8f 6MGyk/Y0/uvvqdmUkG4mHi8/jyC6huENaTMCyFh0d1tI9t2cXhtp5rSq/WX89YTAFZpx Nc3g== 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=0kAkpw5vPM7miB0kLtJkaQp6X+tNnNRXI+XGjc1HpSU=; b=QG46ixWjU4asAR+lldgyaVsVoK2WvjxLut5Tm/YSkkZ0aVa6SqYfZC02f7GbP45Mnb /kL38u+zz1N5RoBMk1IQESee5c/IdrsrzYm8PESRE6tmtJCQfUfo5j3cK1FQv/t4DcBD DmAKb+fUQ+Z548foUARp9OI5m5uVQaaOfMzcno9yJICpUQ3LJ3y01HjR0qJskbqU6D5d 8+JkDJJlLDMg0i4pdikCIzBYO5hRuVvG4zg1CWJLeghRb5Qz0unwm8PgVi03E21sb81i rWm6c5Jp6lRH2z0kDtbrMmtFFdv1cE8Y5kZcJMjxku55YwJ4sk5lanx3w6XpLgtn8S8+ kj8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=P1h8kazB; 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=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a63744b000000b004faf6b8bb99si4110436pgn.637.2023.02.07.03.13.42; Tue, 07 Feb 2023 03:13:55 -0800 (PST) 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=@microchip.com header.s=mchp header.b=P1h8kazB; 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=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231924AbjBGLHa (ORCPT + 99 others); Tue, 7 Feb 2023 06:07:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230516AbjBGLHY (ORCPT ); Tue, 7 Feb 2023 06:07:24 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAAA13866E; Tue, 7 Feb 2023 03:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1675768040; x=1707304040; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rueJZQaYj5/OCL0rhwE4IQRQNJdQeur4XqdJx6V7odE=; b=P1h8kazBf2WJwCQqoXalOfVX0QWwn9RkfPqTIIWheQbILOE+Uujtjrja o45g0uWZxM/qm+bPY8ZGzi/0zfDTGQkI2UCtBcwhBGQ2/hWb/dWvQDUw2 B8bBEVTJKTw2Ius7sAFOX0T6rCIBDNUWW8jk9xuXLU/7QdN0iKTz0B1D8 0VQWM4Hnstmt+cRAakHLTWzm8N7J2yYpct4SqzJfFCH5iaJcHm78mKYN4 X8JrvuLujSSiZbrB4LuByJKfatd3HTGyuNI3UmKTv+GtYSSpVIro4TXIz gQz5qTqmfajtyYn8NMAKAHnxIt/13L+ZcyTZsfvktgrvQPE1BvwTo/18P w==; X-IronPort-AV: E=Sophos;i="5.97,278,1669100400"; d="scan'208";a="135929117" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Feb 2023 04:07:19 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 7 Feb 2023 04:07:16 -0700 Received: from che-lt-i66125lx.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Tue, 7 Feb 2023 04:07:07 -0700 From: Durai Manickam KR To: , , , , , , , , , , , , , , , , , , , , , , , , CC: Durai Manickam KR Subject: [PATCH v6 1/8] ARM: dts: at91: sam9x60: Fix the label numbering for the flexcom functions Date: Tue, 7 Feb 2023 16:36:44 +0530 Message-ID: <20230207110651.197268-2-durai.manickamkr@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230207110651.197268-1-durai.manickamkr@microchip.com> References: <20230207110651.197268-1-durai.manickamkr@microchip.com> MIME-Version: 1.0 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, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757170562647927031?= X-GMAIL-MSGID: =?utf-8?q?1757170562647927031?= From: Manikandan Muralidharan Fixed the label numbering of the flexcom functions so that all 13 flexcom functions of sam9x60 are in the following order when the missing flexcom functions are added: flx0: uart0, spi0, i2c0 flx1: uart1, spi1, i2c1 flx2: uart2, spi2, i2c2 flx3: uart3, spi3, i2c3 flx4: uart4, spi4, i2c4 flx5: uart5, spi5, i2c5 flx6: uart6, i2c6 flx7: uart7, i2c7 flx8: uart8, i2c8 flx9: uart9, i2c9 flx10: uart10, i2c10 flx11: uart11, i2c11 flx12: uart12, i2c12 Signed-off-by: Manikandan Muralidharan Signed-off-by: Durai Manickam KR Reviewed-by: Claudiu Beznea --- arch/arm/boot/dts/at91-sam9x60ek.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index d929c1ba5789..cf5d786531f2 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -16,8 +16,8 @@ / { aliases { i2c0 = &i2c0; - i2c1 = &i2c1; - serial1 = &uart1; + i2c1 = &i2c6; + serial1 = &uart5; }; chosen { @@ -234,7 +234,7 @@ &flx4 { atmel,flexcom-mode = ; status = "disabled"; - spi0: spi@400 { + spi4: spi@400 { compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi"; reg = <0x400 0x200>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>; @@ -253,7 +253,7 @@ &flx5 { atmel,flexcom-mode = ; status = "okay"; - uart1: serial@200 { + uart5: serial@200 { compatible = "microchip,sam9x60-dbgu", "microchip,sam9x60-usart", "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart"; reg = <0x200 0x200>; atmel,usart-mode = ; @@ -279,7 +279,7 @@ &flx6 { atmel,flexcom-mode = ; status = "okay"; - i2c1: i2c@600 { + i2c6: i2c@600 { compatible = "microchip,sam9x60-i2c"; reg = <0x600 0x200>; interrupts = <9 IRQ_TYPE_LEVEL_HIGH 7>; @@ -439,7 +439,7 @@ AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE>; }; - pinctrl_flx5_default: flx_uart { + pinctrl_flx5_default: flx5_uart { atmel,pins =