From patchwork Thu Jan 12 11:02:01 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: 42374 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3824513wrt; Thu, 12 Jan 2023 03:21:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXvTyBYT2UfskM7qSytEF/vsURPLFuHdRVQpplqWXX2w+N3D9yIMG18CKFenEa5HhNT9i90p X-Received: by 2002:a05:6a20:4e15:b0:b6:345:2a1d with SMTP id gk21-20020a056a204e1500b000b603452a1dmr11118162pzb.39.1673522502223; Thu, 12 Jan 2023 03:21:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673522502; cv=none; d=google.com; s=arc-20160816; b=xnnSqo/oywJfgyP28mJJ/zI81X5u8X/CEfMYRVGh0zzzqMfGvJZPrgqJkAsVRLyIgr ViGWpvEEvQH7ey5MsDezvTRAcuFT13M3RWjtT9NL/KhJuwvnr94EV8Vcyf73lslk9900 6Jj6Lmsm0LbIjoDTn9sRfq5UbbyOzZZHgX/4mgIsUxPEvLykAKE8TW61qOv9USHu0/9c 3cI9DMg83qGXF+xcz6KYg3qFyig8uLCQFJlfIfF5d5nFxVJMJxpzVJbFhkkrxueG19+J Z52QKByrgE+bAPf3KE2xye+hBp9/XnmjUNGvvVtaXBEFLLX5S+UP/+2wXu4lEG+VihN7 eVgw== 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=OrP2VuBnYStY0QzLC9uj1ovdsQUpFknsLhJtZnLyb/I=; b=Xeaey1TDzzfJP1XEd7bgIXOfEqYgZKTC/Q9aZzc1eZSpKuip/EVw4vPxWwOqZL+7/A 83DTkZNlIdDRBFbhKCc+llzl2jgMS8nFcTgrEOMiRhp6gUpittPlV57qaXVzBanclHzx yJaKU2OBzOr7NwuRNyTTQ+YYcuXJ//yfbRJW6tugvXGIp/PeMdghoAzpop0Eh/CiaIvH 95FTcrio1BNs9cmdj4LGLUkxurdKnSokUqBnyb2RiKmyXCbQalpu5C1Y7xkD5AeBl18c Kcvel4BbmHPqBB94ma5vG59ERGUZf9Z3fvidK34lDRFXbyk2LJtNy4mwD4fckjcKwIwI nN4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=dmD4HM4o; 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 s35-20020a056a0017a300b005818164ef32si17230847pfg.291.2023.01.12.03.21.29; Thu, 12 Jan 2023 03:21:42 -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=dmD4HM4o; 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 S235365AbjALLLj (ORCPT + 99 others); Thu, 12 Jan 2023 06:11:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235405AbjALLK5 (ORCPT ); Thu, 12 Jan 2023 06:10:57 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF1E852773; Thu, 12 Jan 2023 03:02:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1673521366; x=1705057366; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1AkioPAmaGGCya2gZ7629DIo0jjKlLKAh9uNoP/tX6M=; b=dmD4HM4oy4YiAx+h7VGNBmgi0w68VGj6chhxh/ZW1H0GgbFrWneE6Ud9 yuF3yQuwQJaKg8rfyUKUXM1nsbRORggXH9BizArD820GhIjAWDg0giSaH BlXlUyYHkY7IOidS1vPfomuVieoin8e+77f9+J9RuhYml4NU51K7VRJZw eVGNmMGCzDnUa3NuS0uoHWopYb+72ETU+3pjgi0hstmsQ3nputTPen1fY YWJ2KS/HTx/Yxo0Eh9jYUEqQj5C9qP+h71qlng6OU2dDXjH37j2DblHbS WxZY+ocNRK5vqMXis2upiSR4VPYxJRn6SAxJpPNvScZNejm7dTa4+jDwB Q==; X-IronPort-AV: E=Sophos;i="5.96,319,1665471600"; d="scan'208";a="191903670" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 12 Jan 2023 04:02:46 -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; Thu, 12 Jan 2023 04:02:45 -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; Thu, 12 Jan 2023 04:02:37 -0700 From: Durai Manickam KR To: , , , , , , , , , , , , , , , , , , , , , , , , CC: Durai Manickam KR Subject: [PATCH v4 1/8] ARM: dts: at91: sam9x60: Fix the label numbering for the flexcom functions Date: Thu, 12 Jan 2023 16:32:01 +0530 Message-ID: <20230112110208.97946-2-durai.manickamkr@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230112110208.97946-1-durai.manickamkr@microchip.com> References: <20230112110208.97946-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?1754815531297101511?= X-GMAIL-MSGID: =?utf-8?q?1754815531297101511?= 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 --- 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 =