Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp899573rdb; Fri, 19 Jan 2024 02:12:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFK5scCEWEL3nHJil5smIRnoXzSQSiDYTLA7q4Y2aOezpI2LDam2qnuF043vuWZ+8QyUIKl X-Received: by 2002:a05:620a:112b:b0:783:758c:a726 with SMTP id p11-20020a05620a112b00b00783758ca726mr1120179qkk.69.1705659142619; Fri, 19 Jan 2024 02:12:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705659142; cv=pass; d=google.com; s=arc-20160816; b=ob0pbzWMmENdLYxy52HTNZ2qJo1Quyqw/uucYZrhjYr4QjzFkvrnEqMvPC9bQmR3BW DT4GK73I1Dc0jvwo+UzDG98zl4R+uMUoAdR1zMXVgW4/ZJcFGm1GZq4JW0Z/GyM1zodG 0Oke6eKgJm2ax6KDD5cVvR18kuob6ltDNew98voARBerjK50GOSfH0nijFbCps5vnWqf 6gcV3x1xKkG8EveB3szciKQjmbEbf4immd3cg7Zn6afDAXbTSfqYx5cHKFSOKu8e61V0 1aIdE6nFd7SxDDDt8xjfmwPGkTAtuw5d4ia4UdgvVKrwqqEMFvWiYpy/ZRTr20psl659 obdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=K+cAdGvd/9G+U9MwtE1iuoYQubhQjhEu9k6nSbWr7P4=; fh=Pou3S4HiTE0ZBbuGGblD+ehvAcIADaQS/IWVU1ZHD4M=; b=dsALOSIDXKEBKC9s5zKL7kc1AjB2+MIghul/1jLSouiX64FxyGnUH6PXLTu7lbuC+U eJY4JbtIMGptxGukT7Y858f9fPA/V8C3Blxo0NL6LU9sAUuTo53Y8czNrWfMCd3/QBL3 PqZjklDZcweS1yeCKnT5vvSB+fZsbaydLwO+hXCtycbM10OiVv3BNztdm8Mk28scKJnM X009N0Bdx1a4q4KtA5kXiwM5vKSY5JligKOElgPVdm6jQ0n+7n4/4Aw3JdSaIQcEtn5g 9slUMwmcaSkmXVKYT6x7OpYgGm6kCiD8F/wzknN41ZNUErFqv8r+BVppsOhOQaRzDrYk Db9g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=S5mpO+Pn; arc=pass (i=1 spf=pass spfdomain=gmx.net dkim=pass dkdomain=gmx.net dmarc=pass fromdomain=gmx.net); spf=pass (google.com: domain of linux-kernel+bounces-31007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31007-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k7-20020a05620a07e700b0077f445f685dsi15566256qkk.656.2024.01.19.02.12.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 02:12:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=S5mpO+Pn; arc=pass (i=1 spf=pass spfdomain=gmx.net dkim=pass dkdomain=gmx.net dmarc=pass fromdomain=gmx.net); spf=pass (google.com: domain of linux-kernel+bounces-31007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31007-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 556E71C22728 for ; Fri, 19 Jan 2024 10:12:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B2CE3C47B; Fri, 19 Jan 2024 10:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.net header.i=wahrenst@gmx.net header.b="S5mpO+Pn" Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC52633CE9; Fri, 19 Jan 2024 10:12:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705659134; cv=none; b=X0QyMt2g115W1egxqa54b5ArUPniKW6cXW+ESQG37x4flJJ9F3D/CMzxJ72vf8KVsC8k0Apv1yqxwqMHH+fk8uuigRvlXQ7WxoJq4Z01j0oJ43tLMB8VwFMM620FpqcBS/hmTlnlbym5uxE3rpi7IZTlNff62OqjGR8ZezEJkXU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705659134; c=relaxed/simple; bh=pPgdHvSriwxHc/qVKbO7UzGkeDKyDZRe4cbhpzTYujQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=b/xwuTg2Vv5mt/TbB+rol2P/1vwNL8ega3EGvivBvf8W2Qti8F0SUmYSGatwCrVZVQLio+GGZpusFYj4bYtGCjZQHkWJFrE5KVTFxO54P41I3/Bhym0oheVx4FKOpnWM28vX6gvoemgPZt2OaU49aeQZXBQUixUd4IJ39AdN4xo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net; spf=pass smtp.mailfrom=gmx.net; dkim=pass (2048-bit key) header.d=gmx.net header.i=wahrenst@gmx.net header.b=S5mpO+Pn; arc=none smtp.client-ip=212.227.15.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1705659100; x=1706263900; i=wahrenst@gmx.net; bh=pPgdHvSriwxHc/qVKbO7UzGkeDKyDZRe4cbhpzTYujQ=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=S5mpO+PnwG2hFcGzc90ZiRlYzYU4zCusfEU5m7C2Z17IHlU6QQUZvfWeIOUoq1ge YqCU2dmsrDBJUIdbYSY597dqcOFEvL0Lg6e0r0hIbd54jnwpnvul13F2KeJRz02Cq wmR/K1f/mWuDGOw85T26gDv9KwlayImmPXl2KrxGzzepatLER9Tz7E+Qa+J98I9Vm bbNiwCqrqWu32o2Q0P9/6un1Rrg6hC25q8K19f5h6Z9pk1cjb71i53zl3B31odssq OU//86i40/APPMVRmJhHptQZ+UqQjRfaZXutyx3zZZYIQJjDN45RwqD1HNrQS6bfL egqJAANzndpeZRx2hA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.167] ([37.4.248.43]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M6UZv-1rTFsj0SZl-006sRa; Fri, 19 Jan 2024 11:11:40 +0100 Message-ID: <282689a1-a189-4320-9d70-c6d38dc56d9d@gmx.net> Date: Fri, 19 Jan 2024 11:11:39 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/2] arm64: dts: imx93: Add phyBOARD-Segin-i.MX93 support Content-Language: en-US To: Mathieu Othacehe , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Li Yang , Primoz Fiser , Christoph Stoidner , Wadim Egorov Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20240119092835.21462-1-othacehe@gnu.org> <20240119092835.21462-3-othacehe@gnu.org> From: Stefan Wahren In-Reply-To: <20240119092835.21462-3-othacehe@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:XOZBdDM+fVsaVwg8mdmPffxeAkal+bFknzlkGv95cPyWXEqgHPJ V2Vdkd+cYo7if3xGXmrqaDgyefzSWUB7/5SyZFGsaJSXxQMeHVKXmEqObHXfZx+BD8g6Lsz 3rfrep1o+Nn/mQ/hOi7aO3sK/Ef3npvIll98YPWnub1Z4sPuUjUwFT11L8cDmVTdlDHwkGP 6mbuJ2P5utz53OLrKy7uw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Dl2WFl0MeEI=;p9I/P7lWP6yIw/ADFPDR+TyYgHO /jvBROKifOTUzs0/8+bFoD29xshg3ypyJVtRHMe6D6nmPClI0GjFBd4KDwL055IhN3oCfE2Jh yNvIUdW6dI2LelRE6BpsJwLe+JtjpLPYYSik2i1rREB6j2/9Fq/dKVxrKJZB00ANshiuBDylu qqm5jciz6F5OTFs5Vavmgmy09q0MvF/4C9qmGg5UwW2Frg9llUTUP9LWda1f4bRc7v432si8S ClmGwgV/2MqFAYnwl8zmpBWrYUWaFSSoCyVJBH5PFsVtc6UvyCojbTJQobHvsM+cQZh0gjnfX v3FkUIXQXWRvc4fZkWYUH0uvAl8SllJ7DcYRrfudicdi+jkFVjaxZpsCLP07bj1J1NooQMIyS PtT9oa31Cin4+szWd49ompWq4ajayA5eLz0llsTMUll370Yez1kbp2pTxjmIkBnaRyNnVakh3 /pzvY2rI6foBFJ6gy/xq05BBRCK5ao6KVIgINknZ6tXGohbw6LCBtfacuhzUxqqID6dawjFOR /+1YfyWXHRDVfh6OF363sKlZPInRIRkY/FocN7JBd7sw3VU4UDvXhAUpJcquEgkmkWqqvgRRw /Tkimu4kWdPNmaKFQmwTPUSf4PLUnFMzMsffCRrYWrzWpc4m/rCkKEAzEkbC48wHqtGBvV4Yt KZGxMGG3476qJA/l8VFvEMx1lFnJTFjrUdLIWluR+ZTFERQWkNWxAZMk81KQA60q/sUPT5QbS HpptbctXgtutRiJQXAeUTHR8JH9vYNvAk3AHQko+b0+9svBRqqLmBwrxiO4+ul8Kc8l0ce+ra gV1RaYn7JY53mu847J1pDQ5fevxBfVNdEiHZG/RegEya/8q/Rwm7Se/Bdwcub0wPJsbAXlUgw AXnCJwl/o7hGSVrkVfd20/pAtyrA1s1klHby0Dxyy2/RA9F80bqw273znVZPiXXkgUMfahl7u FKtHow== Hi Mathieu, [dropped upstream@list.phytec.de because of unavailability] Am 19.01.24 um 10:28 schrieb Mathieu Othacehe: > Add basic support for phyBOARD-Segin-i.MX93. > Main features are: > * SD-Card > * UART > * I2C > * eMMC > > Signed-off-by: Mathieu Othacehe > --- > arch/arm64/boot/dts/freescale/Makefile | 1 + > .../dts/freescale/imx93-phyboard-segin.dts | 119 ++++++++++++++++++ > .../boot/dts/freescale/imx93-phycore-som.dtsi | 56 +++++++++ > 3 files changed, 176 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/imx93-phyboard-segin.= dts > create mode 100644 arch/arm64/boot/dts/freescale/imx93-phycore-som.dts= i > > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dt= s/freescale/Makefile > index 2e027675d7bb..65db918c821c 100644 > --- a/arch/arm64/boot/dts/freescale/Makefile > +++ b/arch/arm64/boot/dts/freescale/Makefile > @@ -201,6 +201,7 @@ dtb-$(CONFIG_ARCH_MXC) +=3D imx8qxp-colibri-iris-v2.= dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx8qxp-mek.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx8ulp-evk.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx93-11x11-evk.dtb > +dtb-$(CONFIG_ARCH_MXC) +=3D imx93-phyboard-segin.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx93-tqma9352-mba93xxca.dtb > dtb-$(CONFIG_ARCH_MXC) +=3D imx93-tqma9352-mba93xxla.dtb > > diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts b/ar= ch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts > new file mode 100644 > index 000000000000..b256c5e42550 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts > @@ -0,0 +1,119 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (C) 2023 PHYTEC Messtechnik GmbH > + * Christoph Stoidner > + * Copyright (C) 2024 Mathieu Othacehe > + * > + */ > +/dts-v1/; > + > +#include "imx93-phycore-som.dtsi" > + > +/{ > + model =3D "PHYTEC phyBOARD-Segin-i.MX93"; > + compatible =3D "phytec,imx93-phyboard-segin", "phytec,imx93-phycore-so= m", > + "fsl,imx93"; > + > + chosen { > + stdout-path =3D &lpuart1; > + }; > + > + reg_usdhc2_vmmc: regulator-usdhc2 { > + compatible =3D "regulator-fixed"; > + enable-active-high; > + gpio =3D <&gpio3 7 GPIO_ACTIVE_HIGH>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pinctrl_reg_usdhc2_vmmc>; > + regulator-min-microvolt =3D <3300000>; > + regulator-max-microvolt =3D <3300000>; > + regulator-name =3D "VSD_3V3"; > + }; > +}; > + > +/* Console */ > +&lpuart1 { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pinctrl_uart1>; > + status =3D "okay"; > +}; > + > +/* eMMC */ > +&usdhc1 { > + no-1-8-v; > +}; > + > +/* SD-Card */ > +&usdhc2 { > + pinctrl-names =3D "default", "state_100mhz", "state_200mhz"; > + pinctrl-0 =3D <&pinctrl_usdhc2_default>, <&pinctrl_usdhc2_cd>; > + pinctrl-1 =3D <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_cd>; > + pinctrl-2 =3D <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>; > + bus-width =3D <4>; > + cd-gpios =3D <&gpio3 00 GPIO_ACTIVE_LOW>; just a nit: s/00/0/ > + no-mmc; > + no-sdio; > + vmmc-supply =3D <®_usdhc2_vmmc>; > + status =3D "okay"; > +}; > + > According to the documentation there are GPIOs accessible. Those on the expansion header X16 could be named via gpio-line-name this makes it easier to access via libgpiod. Also there seems to be LEDs and switches on the phyBOARD. Best regards