From nobody Mon Nov 25 09:56:03 2024 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D01061922FC; Mon, 28 Oct 2024 08:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730103826; cv=none; b=mSrH3hb2pZLxVSRT0zJGBUOZZRiVJD0O7fAI3z6Esl/duxpoNBtFWH8jD1OmFTp0QoF6gYgFqG9pMRMn3JgUrpBCL0dtonx7UYByTkScN70XGZEB5/J0jBG5TI6Bbznt7WSg18taBGrG2KsSUtO/x6vOYou4JC1JoKIm5vuR65Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730103826; c=relaxed/simple; bh=VbVGk8yHINzn5tu+DGeibVD9tHHDPBEDnUMANo4xhqs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rHPPM6FOO7L8JhbDrIGrrFbQWMQwJ9BnB5KyYLmv33v84iRBcbMrwNRgCPeT92+3XOkkLLwYjBHq5jaRrgUimg7+0ych7VPD9MCkhNeUXOECgsASLvTyTCKJdY53ZEudQ0tZrMqPVzbggMn+uO+hwQChuch4KaGe0xRMEMD+j5Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=RXBqu2z/; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="RXBqu2z/" Received: from localhost.localdomain (89-186-114-4.pool.digikabel.hu [89.186.114.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: hs@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 4534489079; Mon, 28 Oct 2024 09:23:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1730103823; bh=HNvX6ZbwPyB4/shxX6Hc7XKr5awJSCQ19OWnRHT5kcw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RXBqu2z/Kt6ToKBnoKyDSzXgs0Jw/DH+Hy1YjgSm1AjCTMgfbpvK+HDCnn7rbBawM mSWWzAfCRDNOEJORDK4pA+l3L98IGhoht93LuTaTtZWMCr72QjfSPgKAOYQJXP7z5E YvvrvzvUVeIyRF5nhKjjx1H19xtVHkBSlhF57/THkqTPW5t+/+qucGW4UkGOpEde0N qa+yZSyzssVvJ1oxz7XmhTvAXs1uODo10s2bNEQzOuy9hyEZ5Gr4WpbIOJ0NYNbvLE k098gljQcxfhyWSk3i3RzFV2NcI/BxOc9oJyjXje549x4kWF4I92Q+JzC2NzOx34Ez kKkzi09LrAoIw== From: Heiko Schocher To: linux-kernel@vger.kernel.org Cc: Heiko Schocher , Alexander Stein , Conor Dooley , Gregor Herburger , Hiago De Franco , Hugo Villeneuve , Joao Paulo Goncalves , Krzysztof Kozlowski , Mathieu Othacehe , Max Merchel , Michael Walle , Peng Fan , Rob Herring , Shawn Guo , Tim Harvey , devicetree@vger.kernel.org Subject: [PATCH v1 1/2] dt-bindings: arm: fsl: Add ABB SoM and carrier Date: Mon, 28 Oct 2024 09:23:31 +0100 Message-Id: <20241028082332.21672-2-hs@denx.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20241028082332.21672-1-hs@denx.de> References: <20241028082332.21672-1-hs@denx.de> 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-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Content-Type: text/plain; charset="utf-8" add support for the i.MX8MP based SoM and carrier from ABB. Signed-off-by: Heiko Schocher --- Documentation/devicetree/bindings/arm/fsl.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation= /devicetree/bindings/arm/fsl.yaml index b39a7e031177..96b0eaa3b80f 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -1073,6 +1073,8 @@ properties: - description: i.MX8MP based Boards items: - enum: + - abb,imx8mp-aristianetos3 # i.MX8MP ABB Board + - abb,imx8mp-aristianetos3-som # i.MX8MP ABB Board SoM - beacon,imx8mp-beacon-kit # i.MX8MP Beacon Development Kit - dmo,imx8mp-data-modul-edm-sbc # i.MX8MP eDM SBC - emcraft,imx8mp-navqp # i.MX8MP Emcraft Systems NavQ+ = Kit --=20 2.20.1 From nobody Mon Nov 25 09:56:03 2024 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE5581917F6; Mon, 28 Oct 2024 08:23:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730103832; cv=none; b=Wgnw6GMcnzyqrGESW3ljMe0D4cILBD2cbzUddvf9lZDbz/rhUarZ5rG4K/S41TI4Sx6K7r/5KNR5EssBZbdogqkMTWppacmfblrA5I7Rt2bf+oSl0Wkpdkgp2OzUUNPyi0iqR/TbNhr1jGt0Nl3sQseKHCPnERzyvkVeImSHqy8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730103832; c=relaxed/simple; bh=kiK6t80OBsOq7Gu5GluXEInndT70qijOC/jMVkY4mks=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VLnwO8n6bB6Iv36iNVgaN0p/5HmaBkDc/EoqulvjlPM1EcjLjpsFqwsfm1laYbq6Hu0OVmdWdXB71DR+3MWomUqRenXAMET3SEtPugZhE1vuqhv7xJ1Xur5jimVJdnidPb7u8axpaY5MTiQ7FEp47EoQ2dQlY3GAtmtZw3MN7cA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=tZVZdQda; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="tZVZdQda" Received: from localhost.localdomain (89-186-114-4.pool.digikabel.hu [89.186.114.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: hs@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 53B3189085; Mon, 28 Oct 2024 09:23:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1730103825; bh=VBoM2nWkP9SCwtwpDG9rqfiUQXiFZC9n9aLNw6j0mLw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tZVZdQdaYpSWm+G/HT2r+2zP3nFYfSnm3ngGXa4atcP40F9zxYQlsoKvv0OtDq9qR tdYXrvwH/9w6tBXUofEoh0q6wYOaUK6UeB+nqQg3xQdn8oOnPgZCHkK0fdpP0a00q+ 2KS07WS9ZBfbnRX334zkVwgfiOylHe/C9ce7dEpfOmCEwN1GdFm24GqW9ES8FJZoR8 1avjBVHOIixruNF6duZQjqkv3kRd9e9G/xLABOFqsiwx5eJB2+GlJdVR+IlCU7zzLN njvQeB/oX/qG78i8Fmmxd9YNMJ9IEuAtV+uksCMyg4MNIkoD179OXTmz7Q7LLfsCyM RDjG8MA9ZWFmQ== From: Heiko Schocher To: linux-kernel@vger.kernel.org Cc: Heiko Schocher , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 2/2] arm64: dts: imx8mp: add aristainetos3 board support Date: Mon, 28 Oct 2024 09:23:32 +0100 Message-Id: <20241028082332.21672-3-hs@denx.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20241028082332.21672-1-hs@denx.de> References: <20241028082332.21672-1-hs@denx.de> 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-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Content-Type: text/plain; charset="utf-8" Add support for the i.MX8MP based aristainetos3 boards from ABB. The board uses a ABB specific SoM from ADLink, based on NXP i.MX8MP SoC. The SoM is used on 3 different carrier boards, with small differences, which are all catched up in devicetree overlays. The kernel image, the basic dtb and all dtbos are collected in a fitimage. As bootloader is used U-Boot which detects in his SPL stage the carrier board by probing some i2c devices. When the correct carrier is probed, the SPL applies all needed dtbos to the dtb with which U-Boot gets loaded. Same principle later before linux image boot, U-Boot applies the dtbos needed for the carrier board before booting Linux. Signed-off-by: Heiko Schocher --- checkpatch dropped the following warnings: arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som-v1.dtsi:248: warnin= g: DT compatible string "ethernet-phy-id2000.a231" appears un-documented --= check ./Documentation/devicetree/bindings/ ignored, as this compatible string is usedin other dts too, for example in arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi arch/arm64/boot/dts/freescale/Makefile | 5 + .../imx8mp-aristainetos3-adpismarc.dtsi | 64 + .../imx8mp-aristainetos3-adpismarc.dtso | 14 + .../imx8mp-aristainetos3-helios-lvds.dtsi | 89 ++ .../imx8mp-aristainetos3-helios-lvds.dtso | 13 + .../imx8mp-aristainetos3-helios.dtsi | 103 ++ .../imx8mp-aristainetos3-helios.dtso | 13 + .../imx8mp-aristainetos3-proton2s.dtsi | 176 +++ .../imx8mp-aristainetos3-proton2s.dtso | 13 + .../imx8mp-aristainetos3a-som-v1.dts | 18 + .../imx8mp-aristainetos3a-som-v1.dtsi | 1210 +++++++++++++++++ 11 files changed, 1718 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-adpi= smarc.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-adpi= smarc.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-heli= os-lvds.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-heli= os-lvds.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-heli= os.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-heli= os.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-prot= on2s.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-prot= on2s.dtso create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som= -v1.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som= -v1.dtsi diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/f= reescale/Makefile index 9d3df8b218a2..7c3586509b8b 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -163,6 +163,11 @@ imx8mn-tqma8mqnl-mba8mx-usbotg-dtbs +=3D imx8mn-tqma8m= qnl-mba8mx.dtb imx8mn-tqma8m dtb-$(CONFIG_ARCH_MXC) +=3D imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mn-tqma8mqnl-mba8mx-usbotg.dtb =20 +dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-aristainetos3a-som-v1.dtb \ + imx8mp-aristainetos3-adpismarc.dtbo \ + imx8mp-aristainetos3-proton2s.dtbo \ + imx8mp-aristainetos3-helios.dtbo \ + imx8mp-aristainetos3-helios-lvds.dtbo dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-beacon-kit.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-data-modul-edm-sbc.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8mp-debix-model-a.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-adpismarc.d= tsi b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-adpismarc.dtsi new file mode 100644 index 000000000000..cc0cddaa33ea --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-adpismarc.dtsi @@ -0,0 +1,64 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + */ + +#include +#include + +&ecspi1 { + spidev0: spi@0 { + reg =3D <0>; + compatible =3D "rohm,dh2228fv"; + spi-max-frequency =3D <500000>; + }; +}; + +&ecspi2 { + spidev1: spi@0 { + reg =3D <0>; + compatible =3D "rohm,dh2228fv"; + spi-max-frequency =3D <500000>; + }; +}; + +&i2c2 { + /* SX1509(2) U1001@IPi SMARC Plus */ + gpio8: i2c2_gpioext0@3e { + /* GPIO Expander 2 Mapping : + * - 0: E_GPIO1_0 <=3D> IPi SMARC Plus CN101_PIN29: E_GPIO1_0 + * - 1: E_GPIO1_1 <=3D> IPi SMARC Plus CN101_PIN31: E_GPIO1_1 + * - 2: E_GPIO1_2 <=3D> IPi SMARC Plus CN101_PIN32: E_GPIO1_2 + * - 3: E_GPIO1_3 <=3D> IPi SMARC Plus CN101_PIN33: E_GPIO1_3 + * - 4: E_GPIO1_4 <=3D> IPi SMARC Plus CN101_PIN35: E_GPIO1_4 + * - 5: E_GPIO1_5 <=3D> IPi SMARC Plus CN101_PIN36: E_GPIO1_5 + * - 6: E_GPIO1_6 <=3D> IPi SMARC Plus CN101_PIN37: E_GPIO1_6 + * - 7: E_GPIO1_7 <=3D> IPi SMARC Plus CN101_PIN38: E_GPIO1_7 + * - 8: E_GPIO2_8 <=3D> IPi SMARC Plus CN101_PIN40: E_GPIO2_8 + * - 9: TP1002 <=3D> IPi SMARC Plus TP1002 (won't use) + * - 10: TP1003 <=3D> IPi SMARC Plus TP1003 (won't use) + * - 11: TP1004 <=3D> IPi SMARC Plus TP1004 (won't use) + * - 12: TP1005 <=3D> IPi SMARC Plus TP1005 (won't use) + * - 13: TP1006 <=3D> IPi SMARC Plus TP1006 (won't use) + * - 14: TP1007 <=3D> IPi SMARC Plus TP1007 (won't use) + * - 15: TP1008 <=3D> IPi SMARC Plus TP1008 (won't use) + * - 16: OSCIO <=3D> IPi SMARC Plus TP1001 (won't use) + */ + #gpio-cells =3D <2>; + #interrupt-cells =3D <2>; + compatible =3D "semtech,sx1509q"; + reg =3D <0x3e>; + + semtech,probe-reset; + gpio-controller; + interrupt-controller; + + interrupt-parent =3D <&gpio6>; + interrupts =3D <1 IRQ_TYPE_EDGE_FALLING>; + }; + +}; + +&flexcan1 { + status =3D "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-adpismarc.d= tso b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-adpismarc.dtso new file mode 100644 index 000000000000..5a9adccbf7cf --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-adpismarc.dtso @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + */ +/dts-v1/; +/plugin/; + +#include "imx8mp-aristainetos3-adpismarc.dtsi" + +&{/} { + model =3D "Aristainetos3 ADLink PI SMARC carrier"; + compatible =3D "abb,aristainetos3-adpismarc", "imx8mp-aristianetos3", + "abb,aristianetos3-som", "fsl,imx8mp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios-lvds= .dtsi b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios-lvds.dtsi new file mode 100644 index 000000000000..55aabd6fc1f7 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios-lvds.dtsi @@ -0,0 +1,89 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + */ + +#include +#include +#include +#include + +&{/} { + panel: panel { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_lcd0_vdd_en>; + compatible =3D "lg,lb070wv8"; + backlight =3D <&lvds_backlight>; + enable-gpios =3D <&gpio1 13 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint =3D <&ldb_lvds_ch0>; + }; + }; + }; +}; + +&gpio3 { + mipi_lvds_select { + gpio-hog; + gpios =3D <23 GPIO_ACTIVE_HIGH>; + output-low; + line-name =3D "mipi_lvds_select"; + }; +}; + +&hdmi_blk_ctrl { + status =3D "disabled"; +}; + +&hdmi_pvi { + status =3D "disabled"; +}; + +&hdmi_tx { + status =3D "disabled"; +}; + +&hdmi_tx_phy { + status =3D "disabled"; +}; + +&irqsteer_hdmi { + status =3D "disabled"; +}; + +&ldb_lvds_ch0 { + fsl,data-mapping =3D "jeida"; + fsl,data-width =3D <24>; + remote-endpoint =3D <&panel_in>; +}; + +&lcdif1 { + status =3D "disabled"; +}; + +&lcdif2 { + status =3D "okay"; +}; + +&lcdif3 { + status =3D "disabled"; +}; + +&lvds_backlight { + status =3D "okay"; +}; + +&lvds_bridge { + status =3D "okay"; +}; + +&media_blk_ctrl { + /* + * The internal divider will always divide the output LVDS clock by 7 + * so our display needs 33246000 Hz, so set VIDEO_PLL1 to + * 33246000 * 7 =3D 232722000 Hz + */ + assigned-clock-rates =3D <500000000>, <200000000>, <0>, <0>, <232722000>; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios-lvds= .dtso b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios-lvds.dtso new file mode 100644 index 000000000000..06d1883b962a --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios-lvds.dtso @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + */ +/dts-v1/; +/plugin/; + +#include "imx8mp-aristainetos3-helios-lvds.dtsi" + +&{/} { + model =3D "Aristainetos3 helios LVDS carrier"; + compatible =3D "abb,aristainetos3-helios-lvds", "abb,aristainetos3-helios= ", "abb,aristianetos3-som", "fsl,imx8mp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dtsi= b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dtsi new file mode 100644 index 000000000000..b4b1cb3b0cb3 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dtsi @@ -0,0 +1,103 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + */ + +#include + +&{/} { + helios_gpio_leds { + compatible =3D "gpio-leds"; + + helios_blue { + label =3D "helios:blue"; + gpios =3D <&helios_pca6416 15 GPIO_ACTIVE_LOW>; + default-state =3D "off"; + }; + + helios_green { + label =3D "helios:green"; + gpios =3D <&helios_pca6416 14 GPIO_ACTIVE_LOW>; + default-state =3D "off"; + }; + + helios_red { + label =3D "helios:red"; + gpios =3D <&helios_pca6416 12 GPIO_ACTIVE_LOW>; + default-state =3D "off"; + }; + + helios_yellow { + label =3D "helios:yellow"; + gpios =3D <&helios_pca6416 13 GPIO_ACTIVE_LOW>; + default-state =3D "off"; + }; + }; +}; + +&dp83867_0 { + status =3D "disabled"; +}; + +&ecspi1 { + spidev1_0: spi@0 { + compatible =3D "rohm,dh2228fv"; + reg =3D <0>; + spi-max-frequency =3D <54000000>; + }; + + spidev1_1: spi@1 { + compatible =3D "rohm,dh2228fv"; + reg =3D <1>; + spi-max-frequency =3D <54000000>; + }; +}; + +&ecspi2 { + spidev2_0: spi@0 { + compatible =3D "rohm,dh2228fv"; + reg =3D <0>; + spi-max-frequency =3D <54000000>; + }; +}; + +&fec { + status =3D "disabled"; +}; + +&i2c1 { + eeprom@57 { + compatible =3D "atmel,24c64"; + reg =3D <0x57>; + }; +}; + +&i2c3 { + helios_pca6416: gpio@20 { + compatible =3D "ti,tca6416"; + reg =3D <0x20>; + gpio-controller; + #gpio-cells =3D <2>; + gpio-line-names =3D "DIN0_CON", + "DIN1_CON", + "DIN2_CON", + "DIN3_CON", + "DIN4_CON", + "DIN5_CON", + "DIN6_CON", + "DIN7_CON", + "PM102_RES", + "COMx_RES", + "BPL_RES", + "PC_RES", + "LED_RED", + "LED_YELLOW", + "LED_GREEN", + "LED_BLUE"; + }; + + rtc@68 { + compatible =3D "st,m41t00"; + reg =3D <0x68>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dtso= b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dtso new file mode 100644 index 000000000000..e4f6cefe0d7e --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dtso @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + */ +/dts-v1/; +/plugin/; + +#include "imx8mp-aristainetos3-helios.dtsi" + +&{/} { + model =3D "Aristainetos3 helios carrier"; + compatible =3D "abb,aristainetos3-helios", "abb,aristianetos3-som", "fsl,= imx8mp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dt= si b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dtsi new file mode 100644 index 000000000000..31f244981580 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dtsi @@ -0,0 +1,176 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + */ + +#include + +&{/} { + gpio-leds { + compatible =3D "gpio-leds"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_gpio_led>; + + leda0 { + label =3D "leda0"; + gpios =3D <&gpio2 6 GPIO_ACTIVE_HIGH>; + default-state =3D "off"; + }; + leda1 { + label =3D "leda1"; + gpios =3D <&gpio2 7 GPIO_ACTIVE_HIGH>; + default-state =3D "off"; + }; + }; + + watchdog { + /* MAX6371KA */ + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_watchdog_gpio>; + compatible =3D "linux,wdt-gpio"; + always-running; + gpios =3D <&gpio1 6 GPIO_ACTIVE_HIGH>; + hw_algo =3D "level"; + /* Reset triggers in 3..9 seconds */ + hw_margin_ms =3D <1500>; + status =3D "okay"; + }; +}; + +&dp83867_0 { + status =3D "disabled"; +}; + +&eqos { + max-speed =3D <100>; +}; + +&fec { + status =3D "disabled"; +}; + +&ecspi1{ + fsl,spi-num-chipselects =3D <1>; + pinctrl-0 =3D <&pinctrl_ecspi1>; + cs-gpios =3D <&gpio5 9 GPIO_ACTIVE_LOW>; + + spidev1_0: spi@0 { + compatible =3D "rohm,dh2228fv"; + reg =3D <0>; + spi-max-frequency =3D <54000000>; + }; + +}; + +&ecspi2 { + spidev2_0: spi@0 { + compatible =3D "rohm,dh2228fv"; + reg =3D <0>; + spi-max-frequency =3D <54000000>; + }; +}; + +&gpio1 { + gpio-line-names =3D + "", "", "", "", "", "", "", "power", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", ""; +}; + +&gpio6 { + gpio-line-names =3D + "relay0", "relay1", "relay2", + "heater", "fan", "spare", + "clear", "fault"; +}; + +&i2c2 { + tlc59108@40 { + #address-cells =3D <1>; + #size-cells =3D <0>; + compatible =3D "ti,tlc59108"; + reg =3D <0x40>; + + system_red@0 { + label =3D "system:red"; + reg =3D <0x0>; + }; + + system_green@1 { + label =3D "system:green"; + reg =3D <0x1>; + }; + + hydrogen_green@2 { + label =3D "hydrogen:green"; + reg =3D <0x2>; + }; + + hydrogen_red@3 { + label =3D "hydrogen:red"; + reg =3D <0x3>; + }; + + hydrogen_blue@4 { + label =3D "hydrogen:blue"; + reg =3D <0x4>; + }; + + moisture_red@5 { + label =3D "moisture:red"; + reg =3D <0x5>; + }; + + moisture_green@6 { + label =3D "moisture:green"; + reg =3D <0x6>; + }; + + moisture_blue@7 { + label =3D "moisture:blue"; + reg =3D <0x7>; + }; + }; + + rtc1: rtc@68 { + compatible =3D "dallas,ds1339"; + reg =3D <0x68>; + }; +}; + +// SER3 +&uart1 { + pinctrl-0 =3D <&pinctrl_uart1>; +}; + +// SER0 +&uart2 { + pinctrl-0 =3D <&pinctrl_uart2>; +}; + +// SER1 +&uart3 { + pinctrl-0 =3D <&pinctrl_uart3>; +}; + +// SER2 +&uart4 { + linux,rs485-enabled-at-boot-time; + uart-has-rtscts; + rs485-rts-active-low; + rs485-rts-delay =3D <0 0>; + rts-gpios =3D <&gpio3 9 GPIO_ACTIVE_HIGH>; +}; + +&usdhc1 { + status =3D "disabled"; +}; + +&wdog1 { + status =3D "okay"; +}; + +&iomuxc { + pinctrl-0 =3D <&pinctrl_gpio_proton2s>; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dt= so b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dtso new file mode 100644 index 000000000000..6956059553d7 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dtso @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + */ +/dts-v1/; +/plugin/; + +#include "imx8mp-aristainetos3-proton2s.dtsi" + +&{/} { + model =3D "Aristainetos3 proton2s carrier"; + compatible =3D "abb,aristainetos3-proton2s", "abb,aristianetos3-som", "fs= l,imx8mp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som-v1.dts= b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som-v1.dts new file mode 100644 index 000000000000..b53a2f4eb0ff --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som-v1.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2024 Heiko Schocher + * + * IMX8MP ADLINK raw SoM carrier variant + */ + +/dts-v1/; + +#include +#include +#include "imx8mp-aristainetos3a-som-v1.dtsi" + +/ { + model =3D "Aristainetos3 raw SoM carrier"; + compatible =3D "abb,imx8mp-aristianetos3", "abb,imx8mp-aristianetos3-som", + "fsl,imx8mp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som-v1.dts= i b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som-v1.dtsi new file mode 100644 index 000000000000..903917bf0061 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3a-som-v1.dtsi @@ -0,0 +1,1210 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 Heiko Schocher + */ + +#include "imx8mp.dtsi" +#include + +/ { + model =3D "ADLINK LEC-iMX8MP-Q-N-4G-32G"; + compatible =3D "abb,imx8mp-aristianetos3-som", "fsl,imx8mp"; + + aliases { + mmc0 =3D &usdhc3; /* eMMC */ + mmc1 =3D &usdhc2; /* MicroSD */ + ethernet0 =3D &eqos; + ethernet1 =3D &fec; + }; + + chosen { + bootargs =3D "console=3Dttymxc1,115200 earlycon=3Dec_imx6q,0x30890000,11= 5200"; + stdout-path =3D &uart2; + }; + + connector { + compatible =3D "usb-c-connector"; + label =3D "USB-C"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_c_0_hs_ep: endpoint { + remote-endpoint =3D <&dwc3_0_hs_ep>; + }; + }; + }; + }; + + fixed-regulators { + compatible =3D "simple-bus"; + device_type =3D "fixed-regulators"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + dp83867_2v5: regulator-enet { + compatible =3D "regulator-fixed"; + regulator-name =3D "enet-2v5"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + gpio =3D <&gpio7 15 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + regulator-always-on; + enable-active-high; + }; + }; + + gpio-leds { + compatible =3D "gpio-leds"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_gpio_led>; + + status { + label =3D "yellow:status"; + gpios =3D <&gpio3 16 GPIO_ACTIVE_HIGH>; + default-state =3D "on"; + }; + }; + + lvds_backlight: lvds_backlight { + compatible =3D "pwm-backlight"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_lvds_pwr_en>; + pwms =3D <&pwm2 0 100000>; + enable-gpios =3D <&gpio1 10 GPIO_ACTIVE_HIGH>; + status =3D "disabled"; + + brightness-levels =3D < 0 1 2 3 4 5 6 7 8 9 + 10 11 12 13 14 15 16 17 18 19 + 20 21 22 23 24 25 26 27 28 29 + 30 31 32 33 34 35 36 37 38 39 + 40 41 42 43 44 45 46 47 48 49 + 50 51 52 53 54 55 56 57 58 59 + 60 61 62 63 64 65 66 67 68 69 + 70 71 72 73 74 75 76 77 78 79 + 80 81 82 83 84 85 86 87 88 89 + 90 91 92 93 94 95 96 97 98 99 + 100>; + default-brightness-level =3D <80>; + }; + + memory@40000000 { + device_type =3D "memory"; + /* Memory size 512 MiB..8 GiB will be filled by U-Boot */ + reg =3D <0x0 0x40000000 0 0x08000000>; + }; + + pcie0_refclk: pcie0-refclk { + compatible =3D "fixed-clock"; + #clock-cells =3D <0>; + clock-frequency =3D <100000000>; + }; + + reg_can1_stby: regulator-can1-stby { + compatible =3D "regulator-fixed"; + regulator-name =3D "can1-stby"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flexcan1_reg>; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpio =3D <&gpio5 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_can2_stby: regulator-can2-stby { + compatible =3D "regulator-fixed"; + regulator-name =3D "can2-stby"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flexcan2_reg>; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpio =3D <&gpio4 27 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_usb1_host_vbus: regulator-usb1-vbus { + compatible =3D "regulator-fixed"; + regulator-name =3D "usb1_host_vbus"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_usb1_vbus>; + regulator-min-microvolt =3D <5000000>; + regulator-max-microvolt =3D <5000000>; + gpio =3D <&gpio1 14 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + reg_usdhc2_vmmc: regulator-usdhc2-vmmc { + compatible =3D "regulator-fixed"; + enable-active-high; + gpio =3D <&gpio2 19 0>; /* SD2_RESET */ + off-on-delay-us =3D <12000>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_usdhc2_vmmc>; + regulator-max-microvolt =3D <3300000>; + regulator-min-microvolt =3D <3300000>; + regulator-name =3D "VDD_3V3_SD"; + startup-delay-us =3D <100>; + vin-supply =3D <&buck4>; + }; + + reg_vdd_3p3v_awo: regulator-vdd-3p3v-awo { + compatible =3D "regulator-fixed"; + regulator-always-on; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + regulator-name =3D "VDD_3P3V_AWO"; + }; + + reserved-memory { + #address-cells =3D <2>; + #size-cells =3D <2>; + ranges; + + rpmsg_reserved: rpmsg@55800000 { + no-map; + reg =3D <0 0x55800000 0 0x800000>; + }; + }; +}; + +&A53_0 { + cpu-supply =3D <&buck2>; +}; + +&A53_1 { + cpu-supply =3D <&buck2>; +}; + +&A53_2 { + cpu-supply =3D <&buck2>; +}; + +&A53_3 { + cpu-supply =3D <&buck2>; +}; + +&clk { + init-on-array =3D ; + clocks =3D <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, + <&clk_ext3>, <&clk_ext4>; + clock-names =3D "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", + "clk_ext3", "clk_ext4"; + assigned-clocks =3D <&clk IMX8MP_CLK_A53_SRC>, + <&clk IMX8MP_CLK_A53_CORE>, + <&clk IMX8MP_CLK_NOC>, + <&clk IMX8MP_CLK_NOC_IO>, + <&clk IMX8MP_CLK_GIC>, + <&clk IMX8MP_CLK_AUDIO_AHB>, + <&clk IMX8MP_CLK_AUDIO_AXI_SRC>, + <&clk IMX8MP_AUDIO_PLL1>, + <&clk IMX8MP_AUDIO_PLL2>, + <&clk IMX8MP_VIDEO_PLL1>; +}; + +&ecspi1{ + #address-cells =3D <1>; + #size-cells =3D <0>; + + fsl,spi-num-chipselects =3D <2>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_ecspi1 &pinctrl_ecspi1_cs2>; + cs-gpios =3D <&gpio5 9 GPIO_ACTIVE_LOW &gpio1 6 GPIO_ACTIVE_LOW>; + status =3D "okay"; +}; + +&ecspi2 { + #address-cells =3D <1>; + #size-cells =3D <0>; + fsl,spi-num-chipselects =3D <1>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_ecspi2>; + cs-gpios =3D <&gpio5 13 GPIO_ACTIVE_LOW>; + status =3D "okay"; +}; + +/* eth0 */ +&eqos { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_eqos_rgmii>; + phy-handle =3D <&dp83867_1>; + phy-mode =3D "rgmii-id"; + snps,force_thresh_dma_mode; + snps,mtl-tx-config =3D <&mtl_tx_setup>; + snps,mtl-rx-config =3D <&mtl_rx_setup>; + status =3D "okay"; + + mdio { + compatible =3D "snps,dwmac-mdio"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + dp83867_1: eqos-ethernet-phy@0 { + compatible =3D "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; + reg =3D <0>; + ti,rx-internal-delay =3D ; + ti,tx-internal-delay =3D ; + ti,fifo-depth =3D ; + ti,min-output-impedance; + ti,dp83867-rxctrl-strap-quirk; + interrupt-parent =3D <&gpio4>; + interrupts =3D <21 IRQ_TYPE_EDGE_FALLING>; + reset-gpios =3D <&gpio4 22 GPIO_ACTIVE_LOW>; + }; + }; + + mtl_tx_setup: tx-queues-config { + snps,tx-queues-to-use =3D <5>; + snps,tx-sched-sp; + queue0 { + snps,dcb-algorithm; + snps,priority =3D <0x1>; + }; + queue1 { + snps,dcb-algorithm; + snps,priority =3D <0x2>; + }; + queue2 { + snps,dcb-algorithm; + snps,priority =3D <0x4>; + }; + queue3 { + snps,dcb-algorithm; + snps,priority =3D <0x8>; + }; + queue4 { + snps,dcb-algorithm; + snps,priority =3D <0xf0>; + }; + }; + + mtl_rx_setup: rx-queues-config { + snps,rx-queues-to-use =3D <5>; + snps,rx-sched-sp; + queue0 { + snps,dcb-algorithm; + snps,priority =3D <0x1>; + snps,map-to-dma-channel =3D <0>; + }; + queue1 { + snps,dcb-algorithm; + snps,priority =3D <0x2>; + snps,map-to-dma-channel =3D <1>; + }; + queue2 { + snps,dcb-algorithm; + snps,priority =3D <0x4>; + snps,map-to-dma-channel =3D <2>; + }; + queue3 { + snps,dcb-algorithm; + snps,priority =3D <0x8>; + snps,map-to-dma-channel =3D <3>; + }; + queue4 { + snps,dcb-algorithm; + snps,priority =3D <0xf0>; + snps,map-to-dma-channel =3D <4>; + }; + }; + +}; + +/* eth1 */ +&fec { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_fec_rgmii>; + phy-handle =3D <&dp83867_0>; + phy-mode =3D "rgmii-id"; + fsl,magic-packet; + status =3D "okay"; + + mdio { + #address-cells =3D <1>; + #size-cells =3D <0>; + + dp83867_0: ethernet-phy@1 { + compatible =3D "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; + reg =3D <1>; + interrupt-parent =3D <&gpio4>; + interrupts =3D <3 IRQ_TYPE_EDGE_FALLING>; + reset-gpio =3D <&gpio4 2 GPIO_ACTIVE_LOW>; + + ti,rx-internal-delay =3D ; + ti,tx-internal-delay =3D ; + ti,fifo-depth =3D ; + + ti,min-output-impedance; + ti,dp83867-rxctrl-strap-quirk; + eee-broken-1000t; + }; + }; +}; + +&flexcan1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flexcan1>; + xceiver-supply =3D <®_can1_stby>; + status =3D "disabled"; +}; + +&flexcan2 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flexcan2>; + xceiver-supply =3D <®_can1_stby>; + status =3D "disabled"; +}; + +&hdmi_blk_ctrl { + status =3D "okay"; +}; + +&hdmi_pvi { + status =3D "okay"; +}; + +&hdmi_tx { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_hdmi>; + status =3D "okay"; +}; + +&hdmi_tx_phy { + status =3D "okay"; +}; + +&i2c1 { + clock-frequency =3D <100000>; + pinctrl-names =3D "default", "gpio"; + pinctrl-0 =3D <&pinctrl_i2c1>; + pinctrl-1 =3D <&pinctrl_i2c1_gpio>; + scl-gpios =3D <&gpio5 14 GPIO_ACTIVE_HIGH>; + sda-gpios =3D <&gpio5 15 GPIO_ACTIVE_HIGH>; + status =3D "okay"; + + pmic: pmic@25 { + compatible =3D "nxp,pca9450c"; + reg =3D <0x25>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pmic>; + interrupt-parent =3D <&gpio1>; + interrupts =3D <3 IRQ_TYPE_LEVEL_LOW>; + + /* + * i.MX 8M Plus Data Sheet for Consumer Products + * 3.1.4 Operating ranges + * MIMX8ML8CVNKZAB + */ + regulators { + buck1: BUCK1 { /* VDD_SOC (dual-phase with BUCK3) */ + regulator-compatible =3D "BUCK1"; + regulator-min-microvolt =3D <600000>; + regulator-max-microvolt =3D <2187500>; + regulator-ramp-delay =3D <3125>; + regulator-always-on; + regulator-boot-on; + }; + + buck2: BUCK2 { /* VDD_ARM */ + nxp,dvs-run-voltage =3D <950000>; + nxp,dvs-standby-voltage =3D <850000>; + regulator-compatible =3D "BUCK2"; + regulator-min-microvolt =3D <600000>; + regulator-max-microvolt =3D <2187500>; + regulator-ramp-delay =3D <3125>; + regulator-always-on; + regulator-boot-on; + }; + + buck4: BUCK4 { /* VDD_3V3 */ + regulator-compatible =3D "BUCK4"; + regulator-min-microvolt =3D <600000>; + regulator-max-microvolt =3D <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + buck5: BUCK5 { /* VDD_1V8 */ + regulator-compatible =3D "BUCK5"; + regulator-min-microvolt =3D <600000>; + regulator-max-microvolt =3D <3400000>; + regulator-always-on; + regulator-boot-on; + }; + + buck6: BUCK6 { /* NVCC_DRAM_1V1 */ + regulator-compatible =3D "BUCK6"; + regulator-min-microvolt =3D <600000>; + regulator-max-microvolt =3D <3400000>; + regulator-always-on; + regulator-boot-on; + }; + + ldo1: LDO1 { /* NVCC_SNVS_1V8 */ + regulator-compatible =3D "LDO1"; + regulator-min-microvolt =3D <1600000>; + regulator-max-microvolt =3D <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + ldo2: LDO2 { /* VDDA_1V8 */ + regulator-compatible =3D "LDO2"; + regulator-min-microvolt =3D <800000>; + regulator-max-microvolt =3D <1150000>; + regulator-always-on; + regulator-boot-on; + }; + + ldo3: LDO3 { /* VDDA_1V8 */ + regulator-compatible =3D "LDO3"; + regulator-min-microvolt =3D <800000>; + regulator-max-microvolt =3D <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + ldo4: LDO4 { /* PMIC_LDO4 */ + regulator-compatible =3D "LDO4"; + regulator-min-microvolt =3D <800000>; + regulator-max-microvolt =3D <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + ldo5: LDO5 { /* NVCC_SD2 */ + regulator-compatible =3D "LDO5"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <3300000>; + }; + }; + }; +}; + +&i2c2 { + clock-frequency =3D <400000>; + pinctrl-names =3D "default", "gpio"; + pinctrl-0 =3D <&pinctrl_i2c2>; + pinctrl-1 =3D <&pinctrl_i2c2_gpio>; + scl-gpios =3D <&gpio5 16 GPIO_ACTIVE_HIGH>; + sda-gpios =3D <&gpio5 17 GPIO_ACTIVE_HIGH>; + status =3D "okay"; +}; + +&i2c3 { + clock-frequency =3D <100000>; + pinctrl-names =3D "default", "gpio"; + pinctrl-0 =3D <&pinctrl_i2c3>; + pinctrl-1 =3D <&pinctrl_i2c3_gpio>; + scl-gpios =3D <&gpio5 18 GPIO_ACTIVE_HIGH>; + sda-gpios =3D <&gpio5 19 GPIO_ACTIVE_HIGH>; + status =3D "okay"; +}; + +&i2c5 { + #address-cells =3D <1>; + clock-frequency =3D <100000>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_i2c5>; + status =3D "okay"; +}; + +&i2c6 { + clock-frequency =3D <100000>; + pinctrl-names =3D "default", "gpio"; + pinctrl-0 =3D <&pinctrl_i2c6>; + pinctrl-1 =3D <&pinctrl_i2c6_gpio>; + scl-gpios =3D <&gpio3 19 GPIO_ACTIVE_HIGH>; + sda-gpios =3D <&gpio3 20 GPIO_ACTIVE_HIGH>; + status =3D "okay"; + + /* TPM - ST33TPHF2XI2C U2301 */ + tpm: tpm@2e { + #gpio-cells =3D <2>; + #interrupt-cells =3D <2>; + compatible =3D "st,st33ktpm2xi2c"; + reg =3D <0x2e>; + + label =3D "tpm"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_i2c6_tpm_irq &pinctrl_tpm>; + interrupt-parent =3D <&gpio3>; + interrupts =3D <14 IRQ_TYPE_LEVEL_LOW>; + reset-gpio =3D <&gpio6 11 GPIO_ACTIVE_LOW>; + status =3D "okay"; + }; + + /* SX1509(0) U2605 */ + gpio6: i2c6_gpioext0@3f { + #gpio-cells =3D <2>; + #interrupt-cells =3D <2>; + compatible =3D "semtech,sx1509q"; + reg =3D <0x3f>; + + semtech,probe-reset; + gpio-controller; + interrupt-controller; + + interrupt-parent =3D <&gpio1>; + interrupts =3D <12 IRQ_TYPE_EDGE_FALLING>; + }; + + /* SX1509(1) U2606 */ + gpio7: i2c6_gpioext1@70 { + #gpio-cells =3D <2>; + #interrupt-cells =3D <2>; + compatible =3D "semtech,sx1509q"; + reg =3D <0x70>; + + semtech,probe-reset; + gpio-controller; + interrupt-controller; + + interrupt-parent =3D <&gpio4>; + interrupts =3D <19 IRQ_TYPE_EDGE_FALLING>; + + pinctrl_tpm: aristainetos3-tpm-grp { + pins =3D "gpio6","gpio7"; // TPM_PP, TPM_LP + output-high; + }; + }; + + /* RTC U2607 */ + rtc0: rtc@51 { + compatible =3D "nxp,pcf8563"; + reg =3D <0x51>; + #clock-cells =3D <0>; + }; +}; + +&irqsteer_hdmi { + status =3D "okay"; +}; + +&lcdif1 { + status =3D "disabled"; +}; + +&lcdif2 { + status =3D "disabled"; +}; + +/* HDMI */ +&lcdif3 { + status =3D "okay"; + +}; + +&lvds_bridge { + status =3D "disabled"; +}; + +&mipi_dsi { + status =3D "disabled"; +}; + +&pcie{ + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pcie>; + reset-gpio =3D <&gpio4 20 GPIO_ACTIVE_LOW>; + ext_osc =3D <0>; + clocks =3D <&clk IMX8MP_CLK_HSIO_ROOT>, + <&clk IMX8MP_CLK_PCIE_AUX>, + <&clk IMX8MP_CLK_HSIO_AXI>, + <&clk IMX8MP_CLK_PCIE_ROOT>; + clock-names =3D "pcie", "pcie_aux", "pcie_phy", "pcie_bus"; + assigned-clocks =3D <&clk IMX8MP_CLK_HSIO_AXI>, + <&clk IMX8MP_CLK_PCIE_AUX>; + assigned-clock-rates =3D <500000000>, <10000000>; + assigned-clock-parents =3D <&clk IMX8MP_SYS_PLL2_500M>, + <&clk IMX8MP_SYS_PLL2_50M>; + reserved-region =3D <&rpmsg_reserved>; + fsl,tx-deemph-gen1 =3D <0x1f>; + fsl,max-link-speed =3D <3>; + status =3D "okay"; +}; + +&pcie_phy{ + fsl,refclk-pad-mode =3D ; + clocks =3D <&pcie0_refclk>; + clock-names =3D "ref"; + status =3D "okay"; +}; + +&pwm1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pwm1>; + status =3D "okay"; +}; + +&pwm2 { + #pwm-cells =3D <2>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pwm2>; + status =3D "okay"; +}; + +&snvs_pwrkey { + status =3D "okay"; +}; + +&uart1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_uart1>; + status =3D "okay"; +}; + +&uart2 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_uart2>; + status =3D "okay"; +}; + +&uart3 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_uart3>; + status =3D "okay"; +}; + +&uart4 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_uart4>; + status =3D "okay"; +}; + +&usb3_phy0 { + fsl,phy-tx-vref-tune =3D <0xe>; + fsl,phy-tx-preemp-amp-tune =3D <3>; + fsl,phy-tx-vboost-level =3D <5>; + fsl,phy-comp-dis-tune =3D <7>; + fsl,pcs-tx-deemph-3p5db =3D <0x21>; + fsl,phy-pcs-tx-swing-full =3D <0x7f>; + status =3D "okay"; +}; + +&usb3_0 { + status =3D "okay"; +}; + +&usb_dwc3_0 { + dr_mode =3D "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + role-switch-default-mode =3D "peripheral"; + status =3D "okay"; + + port { + #address-cells =3D <1>; + #size-cells =3D <0>; + + dwc3_0_hs_ep: endpoint@0 { + reg =3D <0>; + remote-endpoint =3D <&usb_c_0_hs_ep>; + }; + }; +}; + +&usb3_phy1 { + fsl,phy-tx-preemp-amp-tune =3D <3>; + status =3D "okay"; +}; + +&usb3_1 { + status =3D "okay"; +}; + +&usb_dwc3_1 { + dr_mode =3D "host"; + status =3D "okay"; +}; + +&usdhc1 { + pinctrl-names =3D "default", "state_100mhz", "state_200mhz"; + pinctrl-0 =3D <&pinctrl_usdhc1>; + pinctrl-1 =3D <&pinctrl_usdhc1_100mhz>; + pinctrl-2 =3D <&pinctrl_usdhc1_200mhz>; + bus-width =3D <4>; + non-removable; + status =3D "okay"; +}; + +/* SD slot */ +&usdhc2 { + pinctrl-names =3D "default", "state_100mhz", "state_200mhz"; + pinctrl-0 =3D <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; + pinctrl-1 =3D <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; + pinctrl-2 =3D <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; + cd-gpios =3D <&gpio2 12 GPIO_ACTIVE_LOW>; + vmmc-supply =3D <®_usdhc2_vmmc>; + bus-width =3D <4>; + status =3D "okay"; +}; + +/* eMMC */ +&usdhc3 { + pinctrl-names =3D "default", "state_100mhz", "state_200mhz"; + pinctrl-0 =3D <&pinctrl_usdhc3>; + pinctrl-1 =3D <&pinctrl_usdhc3_100mhz>; + pinctrl-2 =3D <&pinctrl_usdhc3_200mhz>; + vmmc-supply =3D <&buck4>; + vqmmc-supply =3D <&buck5>; + bus-width =3D <8>; + non-removable; + status =3D "okay"; +}; + +&wdog1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_wdog>; + fsl,ext-reset-output; + status =3D "okay"; +}; + +&iomuxc { + pinctrl-names =3D "default"; + + pinctrl_disp_select: aristainetos3-dispselect-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SAI5_RXD2__GPIO3_IO23 0xd6 + >; + }; + + pinctrl_ecspi1: aristainetos3-ecspi1-grp { + fsl,pins =3D < + MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK 0x82 + MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI 0x82 + MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO 0x82 + MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09 0x40000 + >; + }; + + pinctrl_ecspi1_cs2: aristainetos3-ecspi1-cs2-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x40000 + >; + }; + + pinctrl_ecspi2: aristainetos3-ecspi2-grp { + fsl,pins =3D < + MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x82 + MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x82 + MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x82 + MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x40000 + >; + }; + + pinctrl_eqos_rgmii: aristainetos3-eqos-rgmii-grp { + fsl,pins =3D < + MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3 + MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3 + MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91 + MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91 + MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x91 + MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x91 + MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x91 + MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91 + MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f + MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f + MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x1f + MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x1f + MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f + MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x1f + MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x19 + >; + }; + + pinctrl_fec_rgmii: aristainetos3-fec-rgmii-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x3 + MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x3 + MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x91 + MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x91 + MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x91 + MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x91 + MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x91 + MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x91 + MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x1f + MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x1f + MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x1f + MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x1f + MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x1f + MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x1f + MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x19 + >; + }; + + pinctrl_flexcan1: aristainetos3-flexcan1-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SPDIF_RX__CAN1_RX 0x154 + MX8MP_IOMUXC_SPDIF_TX__CAN1_TX 0x154 + >; + }; + + pinctrl_flexcan2: aristainetos3-flexcan2-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX 0x154 + MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x154 + >; + }; + + pinctrl_flexcan1_reg: aristainetos3-flexcan1-reg-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x154 /* CAN1_STBY */ + >; + }; + + pinctrl_flexcan2_reg: aristainetos3-flexcan2-reg-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x154 /* CAN2_STBY */ + >; + }; + + pinctrl_gpio_led: aristainetos3-gpio-led-grp { + fsl,pins =3D < + MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x19 + >; + }; + + pinctrl_gpio_led_proton2s: aristainetos3-gpio-proton2s-led-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x19 + MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07 0x19 + >; + }; + + pinctrl_gpio_proton2s: aristainetos3-gpio-proton2s-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x19 + >; + }; + + pinctrl_hdmi: aristainetos3-hdmi-grp { + fsl,pins =3D < + MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c3 + MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c3 + MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000019 + MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000019 + >; + }; + + pinctrl_i2c1: aristainetos3-i2c1-grp { + fsl,pins =3D < + MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c3 + MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c3 + >; + }; + + pinctrl_i2c1_gpio: aristainetos3-i2c1-gpio-grp { + fsl,pins =3D < + MX8MP_IOMUXC_I2C1_SCL__GPIO5_IO14 0x1c3 + MX8MP_IOMUXC_I2C1_SDA__GPIO5_IO15 0x1c3 + >; + }; + + pinctrl_i2c2: aristainetos3-i2c2-grp { + fsl,pins =3D < + MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c3 + MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c3 + >; + }; + + pinctrl_i2c2_gpio: aristainetos3-i2c2-gpio-grp { + fsl,pins =3D < + MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16 0x1c3 + MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x1c3 + >; + }; + + pinctrl_i2c3: aristainetos3-i2c3-grp { + fsl,pins =3D < + MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c3 + MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA 0x400001c3 + >; + }; + + pinctrl_i2c3_gpio: aristainetos3-i2c3-gpio-grp { + fsl,pins =3D < + MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x1c3 + MX8MP_IOMUXC_I2C3_SDA__GPIO5_IO19 0x1c3 + >; + }; + + pinctrl_i2c5: aristainetos3-i2c5-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SAI5_RXD0__I2C5_SCL 0x400001c3 + MX8MP_IOMUXC_SAI5_MCLK__I2C5_SDA 0x400001c3 + >; + }; + + pinctrl_i2c6: aristainetos3-i2c6-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SAI5_RXFS__I2C6_SCL 0x400001c3 + MX8MP_IOMUXC_SAI5_RXC__I2C6_SDA 0x400001c3 + >; + }; + + pinctrl_i2c6_gpio: aristainetos3-i2c6-gpio-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x1c3 + MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x1c3 + >; + }; + + pinctrl_i2c6_rtc_irq: aristainetos3-i2c6-rtc-irq-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SAI5_RXD1__GPIO3_IO22 0xd6 + >; + }; + + pinctrl_i2c6_tpm_irq: aristainetos3-i2c6-tpm-irq-grp { + fsl,pins =3D < + MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0xd6 + >; + }; + + pinctrl_lcd0_vdd_en: aristainetos3-lcd0-vdden-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO13__GPIO1_IO13 0xd6 + >; + }; + + pinctrl_lcd1_vdd_en: aristainetos3-lcd1-vdden-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO05__GPIO1_IO05 0xd6 + >; + }; + + pinctrl_lvds_pwr_en: aristainetos3-lvds-pwren-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0xd6 + >; + }; + + pinctrl_pcie: aristainetos3-pcie-grp { + fsl,pins =3D < + MX8MP_IOMUXC_I2C4_SCL__PCIE_CLKREQ_B 0x61 + MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x41 + >; + }; + + pinctrl_pmic: aristainetos3-pmic-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x41 + >; + }; + + pinctrl_pwm1: aristainetos3-pwm1-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO01__PWM1_OUT 0x116 + >; + }; + + pinctrl_pwm2: aristainetos3-pwm2-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO11__PWM2_OUT 0x116 + >; + }; + + pinctrl_uart1: aristainetos3-uart1-grp { + fsl,pins =3D < + MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 + MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x140 + >; + }; + + pinctrl_uart1_rs485: aristainetos3-uart1-rs485-grp { + fsl,pins =3D < + MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 + MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x140 + MX8MP_IOMUXC_SD1_DATA0__GPIO2_IO02 0x140 + >; + }; + + pinctrl_uart2: aristainetos3-uart2-grp { + fsl,pins =3D < + MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x140 + MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x140 + MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x140 + MX8MP_IOMUXC_SD1_DATA5__UART2_DCE_CTS 0x140 + >; + }; + + pinctrl_uart3: aristainetos3-uart3-grp { + fsl,pins =3D < + MX8MP_IOMUXC_NAND_ALE__UART3_DCE_RX 0x140 + MX8MP_IOMUXC_NAND_CE0_B__UART3_DCE_TX 0x140 + >; + }; + + pinctrl_uart3_rs485: aristainetos3-uart3-rs485-grp { + fsl,pins =3D < + MX8MP_IOMUXC_NAND_ALE__UART3_DCE_RX 0x140 + MX8MP_IOMUXC_NAND_CE0_B__UART3_DCE_TX 0x140 + MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10 0x140 + >; + }; + + pinctrl_uart4: aristainetos3-uart4-grp { + fsl,pins =3D < + MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x140 + MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x140 + MX8MP_IOMUXC_NAND_DATA03__GPIO3_IO09 0x140 + MX8MP_IOMUXC_NAND_DATA02__UART4_DCE_CTS 0x140 + >; + }; + + pinctrl_usb1_vbus: aristainetos3-usb1-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x19 + >; + }; + + pinctrl_usdhc1: aristainetos3-usdhc1-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x190 + MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d0 + MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d0 + MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d0 + MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d0 + MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d0 + >; + }; + + pinctrl_usdhc1_100mhz: aristainetos3-usdhc1-100mhz-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x194 + MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d4 + MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d4 + MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d4 + MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d4 + MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d4 + >; + }; + + pinctrl_usdhc1_200mhz: aristainetos3-usdhc1-200mhz-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x196 + MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d6 + MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d6 + MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d6 + MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d6 + MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d6 + >; + }; + + pinctrl_usdhc2: aristainetos3-usdhc2-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190 + MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d0 + MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d0 + MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d0 + MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d0 + MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d0 + MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 + + >; + }; + + pinctrl_usdhc2_100mhz: aristainetos3-usdhc2-100mhz-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194 + MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4 + MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4 + MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4 + MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4 + MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4 + MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 + >; + }; + + pinctrl_usdhc2_200mhz: aristainetos3-usdhc2-200mhz-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x196 + MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d6 + MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d6 + MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d6 + MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d6 + MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d6 + MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 + >; + }; + + pinctrl_usdhc2_gpio: aristainetos3-usdhc2-gpio-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x40000080 + >; + }; + + pinctrl_usdhc2_vmmc: aristainetos3-usdhc2-vmmc-grp { + fsl,pins =3D < + MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41 + >; + }; + + pinctrl_usdhc3: aristainetos3-usdhc3-grp { + fsl,pins =3D < + MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190 + MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0 + MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0 + MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0 + MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0 + MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0 + MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0 + MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0 + MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0 + MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0 + MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190 + >; + }; + + pinctrl_usdhc3_100mhz: aristainetos3-usdhc3-100mhz-grp { + fsl,pins =3D < + MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194 + MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4 + MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4 + MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4 + MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4 + MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4 + MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4 + MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4 + MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4 + MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4 + MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194 + >; + }; + + pinctrl_usdhc3_200mhz: aristainetos3-usdhc3-200mhz-grp { + fsl,pins =3D < + MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196 + MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6 + MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d6 + MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d6 + MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d6 + MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d6 + MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d6 + MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d6 + MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d6 + MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d6 + MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196 + >; + }; + + pinctrl_watchdog_gpio: aristainetos3-wdog-gpio-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x19 + >; + }; + + pinctrl_wdog: aristainetos3-wdog-grp { + fsl,pins =3D < + MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B 0xc6 + >; + }; +}; --=20 2.20.1