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 52DC9C32772 for ; Tue, 23 Aug 2022 11:18:26 +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: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:CC:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/nsM1/w4F7OVAXbhQzIOCtC/AWPPVTgv27hIeN9MlZw=; b=stp8hPxHsZ+OrT WEy5IYuHjjLkWaQlmPZ1CJrVf7/BelpYe8n6o8CKf6rRWLldjamcU7C62s0cKDvJP05QCHJu/pIUn Nsk5ys2/F5CPbb2KNYLzE9BjIWN/6wbSRVHd27MlwV6I/5wV2BRjuRvMN8G9TWexCKW3B/3PlFGaa 7/xjsqERMGxsCwfGnbPJlQZ3TKiLJrczrfWWbPyMHHk1wDSPVKy2VV48pu91Y/5OrTQJtS4sWGI6h TOvV63+c3Cibu8DVOpT5ls0hn8qKdEer67D9q4fznLhzc7153KwYlRK8IzKthuyfQzboglZ5riNt2 HmsNNjiVdLiCrhc5VNcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQRu6-005Hq4-8D; Tue, 23 Aug 2022 11:17:06 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQRu2-005HnE-Fc for linux-arm-kernel@lists.infradead.org; Tue, 23 Aug 2022 11:17:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1661253422; x=1692789422; h=message-id:date:mime-version:subject:to:references:from: cc:in-reply-to:content-transfer-encoding; bh=xtDNU8UiOB8VZnhym+s1uLfNOjHCLSoYSsA83kkfttk=; b=H9r7DACUAA+SNY6X2Nk/5p7rC0cfgkvVZJ8yE/Py5YpKaa/00jWusTrE t7M3jxAzof9pJXQuUgfPIv1foRRlorVqgHLUUiH5bxJc+TiV2/NBOf4JP rASPQydm9AE226SoUxpqZIRPKJNRdXELg4d1EOsAF62KV4TcpggKcMdLr uZjhdy8x6z3SsqorQFi6/H2vvjNHNA5k9VXHYXBoa7YB9NzTnlWNe5rKV o1Wf1sOoD81CDltOOcw0XmMTVtx4T7Jr+A21jnvG3sVHdp2esNyiOiyrP I4YQ3LEU3ZPw30ZPMHjqLi6z1dZSXSdkJvA1zICmJdD5UrJAyY5/5JtiL g==; X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="173692075" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 Aug 2022 04:16:55 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 23 Aug 2022 04:16:55 -0700 Received: from [10.159.205.135] (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 23 Aug 2022 04:16:53 -0700 Message-ID: <6482df4e-ec7b-04fc-f2a3-f75a67a69eff@microchip.com> Date: Tue, 23 Aug 2022 13:16:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [linux][PATCH v2 2/2] dts: arm: at91: Add SAMA5D3-EDS Board Content-Language: en-US To: Claudiu Beznea - M18063 , Jerry Ray - C33025 , Rob Herring , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" References: <20220822181314.8325-1-jerry.ray@microchip.com> <20220822181314.8325-2-jerry.ray@microchip.com> <59d1675d-89ae-787d-9743-e19c19ba0f97@microchip.com> From: Nicolas Ferre Organization: microchip CC: "linux-kernel@vger.kernel.org" , "Alexandre Belloni" , Ludovic Desroches In-Reply-To: <59d1675d-89ae-787d-9743-e19c19ba0f97@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220823_041702_682354_7BF4D5E8 X-CRM114-Status: GOOD ( 18.26 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Jerry, On 23/08/2022 at 09:28, Claudiu Beznea - M18063 wrote: > On 22.08.2022 21:13, Jerry Ray wrote: >> The SAMA5D3-EDS board is an Ethernet Development Platform allowing for >> evaluating many Microchip ethernet switch and PHY products. Various >> daughter cards can connect up via an RGMII connector or an RMII connector. >> >> The EDS board is not intended for stand-alone use and has no ethernet >> capabilities when no daughter board is connected. As such, this device >> tree is intended to be used with a DT overlay defining the add-on board. >> To better ensure consistency, some items are defined here as a form of >> documentation so that all add-on overlays will use the same terms. >> >> Google search keywords: "Microchip SAMA5D3-EDS" >> >> Signed-off-by: Jerry Ray >> --- >> v1->v2: >> - Modified the compatible field in the device tree to reflect Microchip >> Ethernet Development System Board. >> --- >> arch/arm/boot/dts/at91-sama5d3_eds.dts | 314 +++++++++++++++++++++++++ >> 1 file changed, 314 insertions(+) >> create mode 100644 arch/arm/boot/dts/at91-sama5d3_eds.dts >> >> diff --git a/arch/arm/boot/dts/at91-sama5d3_eds.dts b/arch/arm/boot/dts/at91-sama5d3_eds.dts >> new file mode 100644 > > You have to add this file to Makefile to be compiled. > >> index 000000000000..626f7bbe0164 >> --- /dev/null >> +++ b/arch/arm/boot/dts/at91-sama5d3_eds.dts >> @@ -0,0 +1,314 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later I would prefer that we also allow MIT: // SPDX-License-Identifier: (GPL-2.0+ OR MIT) >> +/* >> + * at91-sama5d3_eds.dts - Device Tree file for the SAMA5D3 Ethernet >> + * Development System board. >> + * >> + * Copyright (C) 2022 Microchip Technology, Inc. and its subsidiarie >> + * 2022 Jerry Ray Let's have only Microchip as a copyright holder and add yourself as Author like: // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Brief description goes here. * * Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries * * Author: John Doe * * Longer description goes here. * Even on multiple lines. */ >> + */ >> +/dts-v1/; >> +#include "sama5d36.dtsi" >> + >> +/ { >> + model = "SAMA5D3 Ethernet Development System"; >> + compatible = "microchip,sama5d3-eds", "atmel,sama5d3", "atmel,sama5"; >> + [..] >> +&pinctrl { >> + board { >> + pinctrl_i2c0_pu: i2c0_pu { >> + atmel,pins = >> + , >> + ; >> + }; >> + >> + pinctrl_i2c2_pu: i2c2_pu { >> + atmel,pins = >> + , >> + ; >> + }; >> + >> + pinctrl_key_gpio: key_gpio_0 { >> + atmel,pins = >> + ; >> + }; >> + >> + pinctrl_mmc0_cd: mmc0_cd { >> + atmel,pins = >> + ; >> + }; >> + >> + pinctrl_spi0_cs: spi0_cs_default { >> + atmel,pins = >> + > + AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; >> + }; >> + >> + pinctrl_spi1_cs: spi1_cs_default { >> + atmel,pins = > + AT91_PIOC 28 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; >> + }; >> + >> + pinctrl_usba_vbus: usba_vbus { >> + atmel,pins = >> + ; >> + }; >> + >> + pinctrl_usb_default: usb_default { >> + atmel,pins = >> + > + AT91_PIOE 4 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; >> + }; >> + >> + pinctrl_vcc_mmc0_reg_gpio: vcc_mmc0_reg_gpio_default { >> + atmel,pins = ; >> + }; >> + >> + /* Reserved for reset signal to the RGMII connector. */ >> + pinctrl_rgmii_rstn: rgmii_rstn { It's better if you sort these nodes alphabetically: please rearrange the end of this list of pinctrl nodes. >> + atmel,pins = >> + ; >> + }; >> + >> + /* Reserved for an interrupt line from the RMII and RGMII connectors. */ >> + pinctrl_spi_irqn: spi_irqn { >> + atmel,pins = >> + ; >> + }; >> + >> + /* Reserved for VBUS fault interrupt. */ >> + pinctrl_vbusfault_irqn: vbusfault_irqn { >> + atmel,pins = >> + ; >> + }; >> + }; >> +}; Thanks for your patch Jerry. Best regards, Nicolas -- Nicolas Ferre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel