From nobody Fri Sep 5 18:16:33 2025 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (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 454D45103F; Mon, 25 Nov 2024 08:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522729; cv=none; b=SK4PLYbwuS8sMQBqHKKieWLTx0tRThD0JlPxWmojRMjVYG2KT6szoWbwwzmqsuY8NtBvUeSj1l7uGX3bfatdu80WagtB9WA5ab1Qe5mlPkY+HBc21+lozrJ543ASHo2HSp+HDlnoLHk6FSz0MklzVhs41NVSg/bQvIQTTA2OW9c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732522729; c=relaxed/simple; bh=KnqnM3EiiQIKMTCcAgbqYuwPpCHp8oCBSGnljYGYwy0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uP6YpAOUvWdE+SyBEBcD4fXEEsfwe/6Wi2sNZmwrYTnjQRx2pi9orDMwn+XfW/vXpZkO5lEknjSxr3rJuL4FOzZHGYqRJCIQUiQKk6cF6APpiTh1bZ0BzdtE7kTlnJeiX9GeGq0h2HuFfVKXnnghq/Ms+b4O0sL+6Ma5g9TWRT8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=IQhVL1qA; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="IQhVL1qA" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AeNTD5NpcQgE4jhk8SfjST6p9d7CjYjnHUOcQ0YjnOc=; b=IQhVL1qA0dtlfDO75GsFDcyV2H 8jUEGI0kNZZdtzVWu5Tr4OLZKMgE5WyPXqnCpG7l+bT1DP5jYPFMO1ARdJwuRxc2E+rK+ZjctvrX1 p5loEpjG4M/u3EJCaXmwh5rKkGUTzi2QP/No3yD53znNqSR7vWShHG4Gly9SeHXlL9E9xK2AIyi4E DIbxbNS0c9ZfVAEEs6NO0Muocc1zqsmmasrbLvB62XEnSvK5/t+1HDkH96ctCGnIQMgTFhOWnYvi+ RWawUu8PmlUcpgm/iXDzAk8adWsr2ZzEn4Ct9oqECS8m2tAb64HWCm9ZjwTCOwNT8AoKAc7ynfgJf c/a/E+cg==; Received: from [91.26.50.162] (port=58340 helo=and-HP-Z4..) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tFUIu-00Eq70-2u; Mon, 25 Nov 2024 09:18:44 +0100 From: Andrej Picej To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH 12/15] arm64: dts: imx8mm-phyboard-polis: Add overlay for PEB-EVAL-01 Date: Mon, 25 Nov 2024 09:18:11 +0100 Message-Id: <20241125081814.397352-13-andrej.picej@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125081814.397352-1-andrej.picej@norik.com> References: <20241125081814.397352-1-andrej.picej@norik.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset="utf-8" From: Janine Hagemann Add support for the PEB-EVAL-01 expansion board for phyBOARD-Polis-i.MX8MM. Signed-off-by: Janine Hagemann Signed-off-by: Andrej Picej --- arch/arm64/boot/dts/freescale/Makefile | 2 + .../imx8mm-phyboard-polis-peb-eval-01.dtso | 72 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb= -eval-01.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/f= reescale/Makefile index b411d76c3d1d..99be36a04db9 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -124,8 +124,10 @@ dtb-$(CONFIG_ARCH_MXC) +=3D imx8mm-phg.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mm-phyboard-polis-rdk.dtb =20 imx8mm-phyboard-polis-peb-av-10-dtbs +=3D imx8mm-phyboard-polis-rdk.dtb im= x8mm-phyboard-polis-peb-av-10.dtbo +imx8mm-phyboard-polis-peb-eval-01-dtbs +=3D imx8mm-phyboard-polis-rdk.dtb = imx8mm-phyboard-polis-peb-eval-01.dtbo =20 dtb-$(CONFIG_ARCH_MXC) +=3D imx8mm-phyboard-polis-peb-av-10.dtb +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mm-phyboard-polis-peb-eval-01.dtb =20 dtb-$(CONFIG_ARCH_MXC) +=3D imx8mm-phygate-tauri-l.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mm-prt8mm.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-0= 1.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dt= so new file mode 100644 index 000000000000..2ca4ae6e2bf2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-eval-01.dtso @@ -0,0 +1,72 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Janine Hagemann + */ + +/dts-v1/; +/plugin/; + +#include +#include +#include "imx8mm-pinfunc.h" + +&{/} { + gpio-keys { + compatible =3D "gpio-keys"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_gpio_keys>; + + button-0 { + label =3D "home"; + linux,code =3D ; + gpios =3D <&gpio4 17 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + button-1 { + label =3D "menu"; + linux,code =3D ; + gpios =3D <&gpio5 29 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; + + user-leds { + compatible =3D "gpio-leds"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_user_leds>; + + user-led1 { + gpios =3D <&gpio4 14 GPIO_ACTIVE_HIGH>; + default-state =3D "on"; + }; + + user-led2 { + gpios =3D <&gpio4 15 GPIO_ACTIVE_HIGH>; + default-state =3D "on"; + }; + + user-led3 { + gpios =3D <&gpio5 28 GPIO_ACTIVE_HIGH>; + default-state =3D "on"; + }; + }; +}; + +&iomuxc { + pinctrl_gpio_keys: gpio_keysgrp { + fsl,pins =3D < + MX8MM_IOMUXC_SAI1_TXD5_GPIO4_IO17 0x16 + MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29 0x16 + >; + }; + + pinctrl_user_leds: user_ledsgrp { + fsl,pins =3D < + MX8MM_IOMUXC_SAI1_TXD3_GPIO4_IO15 0x16 + MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28 0x16 + MX8MM_IOMUXC_SAI1_TXD2_GPIO4_IO14 0x16 + >; + }; +}; --=20 2.34.1