From patchwork Tue Mar 14 10:23:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69440 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1673918wrd; Tue, 14 Mar 2023 03:26:55 -0700 (PDT) X-Google-Smtp-Source: AK7set/CxtLSdVzkXZjZ5Q24MYzR1I3gzAFC5dE9zXwfX9WktGQrH23/G22zapK/zKCkqNoW0xcV X-Received: by 2002:a17:90b:1b08:b0:234:148:4b27 with SMTP id nu8-20020a17090b1b0800b0023401484b27mr38292064pjb.17.1678789615415; Tue, 14 Mar 2023 03:26:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678789615; cv=none; d=google.com; s=arc-20160816; b=ElpQN9ReGGvD62zKVLKOz973e4ijbZ9ipRksSuxVBVhWIYHInFpKnEFBLUCRh/meKs 1hTDwgxO2HzAtRFjuKb8Ow8g3rn1yiM/F/U1fmPvxrZ8fqKOVgjbQyTDR7KCJMiGXlRK KhbDejp6LgCI6Vzd/rxrAFzemHc9UoXg+V+LnNvUKFGgOgEPlsdQNI8+7w3m6+9YEJA7 hA+qRYAjS85TZVnGp6fq+1Vrv9O58kOffSSc5sB+BlACT6O2nAaNK8yIovqh3Aq/S82j wp6J6IoYRhdWDfG5v2TzR/wVc14yvZBT5XFjueAWyZosthaC/XCaevSENm+U2gLkP8r/ WnwA== 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=2EckLAAdf4Gxn7HhFNeazTQUHRbeaUFT9VvIkgqIql0=; b=JPndLqgFMtTzsBOEXDDvuAckAqhvMWFEAaFaeelim7i5POngn7E2iFJmk7+baWKYWw dmmNY+0LRjNEjKe+IkRyt8sskO7iTtLGLhgXjfvhYjKgT9N6bYK6XvJIYhjvLjskzQwB n80kU1/WSdGnWSWM8GXSgUPRmInhED2CRHnYA/u9M3JLZq7wNg1WXYsec0lWKR+xxBW/ jrCyXiILUypgcLjEPdH4KBQEL+lDxKfmIEA6pyfWS7x9DJwtoat4KjO6AlM1iWSF5g8q HHUMKpymYBimbvOPxvFF8Fq9CwbC8+ouCdc61E+n5hl2FBSUlor8WlD7XmZzUN2U5BBc DkHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=mGX7gPbv; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x9-20020a17090ab00900b0023b4e4bc44asi2047564pjq.149.2023.03.14.03.26.40; Tue, 14 Mar 2023 03:26:55 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=mGX7gPbv; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229479AbjCNKZv (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230426AbjCNKY4 (ORCPT ); Tue, 14 Mar 2023 06:24:56 -0400 Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [IPv6:2001:1600:4:17::42a8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2A2634000 for ; Tue, 14 Mar 2023 03:24:25 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4j4TZDzMqPwD; Tue, 14 Mar 2023 11:24:21 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4j15jhz2MRH; Tue, 14 Mar 2023 11:24:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789461; bh=ivRs2GHkwnrQ5rdbQjRytUD71Zv1gi/nSuClFYldTuY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mGX7gPbv+GjQKCPwJClYn1QDaUD9wi6sP8U+Yj8Sxt0orhQxlYa64XXx5ib74QJ/+ AJL0un+LGlqYA9ukLoR1gICbJ/jnABR+kYVyBlwqf8OZI9DH5w8XC4orloYZw4EGFA 9mOBuiY592oG213Ficoyfc+eZy/SyyWGBwL8IElo= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 01/23] arm64: dts: colibri-imx8x: Prepare for qxp and dx variants Date: Tue, 14 Mar 2023 11:23:47 +0100 Message-Id: <20230314102410.424773-2-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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?1760338499890296899?= X-GMAIL-MSGID: =?utf-8?q?1760338499890296899?= From: Philippe Schenker Toradex sells the Colibri iMX8X module in variants with the i.MX 8QXP and i.MX8DX SoC. Prepare for this by moving majority of stuff from imx8qxp-colibri.dtsi into imx8x-colibri.dtsi. Remove DX from the model string. This commit intends no functional change. Signed-off-by: Philippe Schenker --- Changes in v2: - Add -B flag to format-patch for readability .../dts/freescale/imx8qxp-colibri-eval-v3.dts | 4 +- .../boot/dts/freescale/imx8qxp-colibri.dtsi | 610 +----------------- ...val-v3.dtsi => imx8x-colibri-eval-v3.dtsi} | 0 ...mx8qxp-colibri.dtsi => imx8x-colibri.dtsi} | 5 - 4 files changed, 14 insertions(+), 605 deletions(-) rewrite arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi (99%) rename arch/arm64/boot/dts/freescale/{imx8qxp-colibri-eval-v3.dtsi => imx8x-colibri-eval-v3.dtsi} (100%) copy arch/arm64/boot/dts/freescale/{imx8qxp-colibri.dtsi => imx8x-colibri.dtsi} (99%) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts index 6b21a295c126..413a9e9d6c28 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts @@ -6,10 +6,10 @@ /dts-v1/; #include "imx8qxp-colibri.dtsi" -#include "imx8qxp-colibri-eval-v3.dtsi" +#include "imx8x-colibri-eval-v3.dtsi" / { - model = "Toradex Colibri iMX8QXP/DX on Colibri Evaluation Board V3"; + model = "Toradex Colibri iMX8QXP on Colibri Evaluation Board V3"; compatible = "toradex,colibri-imx8x-eval-v3", "toradex,colibri-imx8x", "fsl,imx8qxp"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi dissimilarity index 99% index 89d70e030433..1ffc42f4a4b3 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi @@ -1,598 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Copyright 2019 Toradex - */ - -#include "imx8qxp.dtsi" - -/ { - model = "Toradex Colibri iMX8QXP/DX Module"; - compatible = "toradex,colibri-imx8x", "fsl,imx8qxp"; - - chosen { - stdout-path = &lpuart3; - }; - - reg_module_3v3: regulator-module-3v3 { - compatible = "regulator-fixed"; - regulator-name = "+V3.3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; -}; - -/* On-module I2C */ -&i2c0 { - #address-cells = <1>; - #size-cells = <0>; - clock-frequency = <100000>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c0>, <&pinctrl_sgtl5000_usb_clk>; - status = "okay"; - - /* Touch controller */ - touchscreen@2c { - compatible = "adi,ad7879-1"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ad7879_int>; - reg = <0x2c>; - interrupt-parent = <&lsio_gpio3>; - interrupts = <5 IRQ_TYPE_EDGE_FALLING>; - touchscreen-max-pressure = <4096>; - adi,resistance-plate-x = <120>; - adi,first-conversion-delay = /bits/ 8 <3>; - adi,acquisition-time = /bits/ 8 <1>; - adi,median-filter-size = /bits/ 8 <2>; - adi,averaging = /bits/ 8 <1>; - adi,conversion-interval = /bits/ 8 <255>; - }; -}; - -/* Colibri I2C */ -&i2c1 { - #address-cells = <1>; - #size-cells = <0>; - clock-frequency = <100000>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c1>; -}; - -/* Colibri UART_B */ -&lpuart0 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lpuart0>; -}; - -/* Colibri UART_C */ -&lpuart2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lpuart2>; -}; - -/* Colibri UART_A */ -&lpuart3 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lpuart3>, <&pinctrl_lpuart3_ctrl>; -}; - -/* Colibri FastEthernet */ -&fec1 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&pinctrl_fec1>; - pinctrl-1 = <&pinctrl_fec1_sleep>; - phy-mode = "rmii"; - phy-handle = <ðphy0>; - fsl,magic-packet; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - - ethphy0: ethernet-phy@2 { - compatible = "ethernet-phy-ieee802.3-c22"; - max-speed = <100>; - reg = <2>; - }; - }; -}; - -/* On-module eMMC */ -&usdhc1 { - bus-width = <8>; - non-removable; - no-sd; - no-sdio; - pinctrl-names = "default", "state_100mhz", "state_200mhz"; - pinctrl-0 = <&pinctrl_usdhc1>; - pinctrl-1 = <&pinctrl_usdhc1_100mhz>; - pinctrl-2 = <&pinctrl_usdhc1_200mhz>; - status = "okay"; -}; - -/* Colibri SD/MMC Card */ -&usdhc2 { - bus-width = <4>; - cd-gpios = <&lsio_gpio3 9 GPIO_ACTIVE_LOW>; - vmmc-supply = <®_module_3v3>; - pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; - pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; - pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; - pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; - pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>; - disable-wp; -}; - -&iomuxc { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>; - - /* On-module touch pen-down interrupt */ - pinctrl_ad7879_int: ad7879intgrp { - fsl,pins = < - IMX8QXP_MIPI_CSI0_I2C0_SCL_LSIO_GPIO3_IO05 0x21 - >; - }; - - /* Colibri Analogue Inputs */ - pinctrl_adc0: adc0grp { - fsl,pins = < - IMX8QXP_ADC_IN0_ADMA_ADC_IN0 0x60 /* SODIMM 8 */ - IMX8QXP_ADC_IN1_ADMA_ADC_IN1 0x60 /* SODIMM 6 */ - IMX8QXP_ADC_IN4_ADMA_ADC_IN4 0x60 /* SODIMM 4 */ - IMX8QXP_ADC_IN5_ADMA_ADC_IN5 0x60 /* SODIMM 2 */ - >; - }; - - pinctrl_can_int: canintgrp { - fsl,pins = < - IMX8QXP_QSPI0A_DQS_LSIO_GPIO3_IO13 0x40 /* SODIMM 73 */ - >; - }; - - pinctrl_csi_ctl: csictlgrp { - fsl,pins = < - IMX8QXP_QSPI0A_SS0_B_LSIO_GPIO3_IO14 0x20 /* SODIMM 77 */ - IMX8QXP_QSPI0A_SS1_B_LSIO_GPIO3_IO15 0x20 /* SODIMM 89 */ - >; - }; - - pinctrl_ext_io0: extio0grp { - fsl,pins = < - IMX8QXP_ENET0_RGMII_RXD3_LSIO_GPIO5_IO08 0x06000040 /* SODIMM 135 */ - >; - }; - - /* Colibri Ethernet: On-module 100Mbps PHY Micrel KSZ8041 */ - pinctrl_fec1: fec1grp { - fsl,pins = < - IMX8QXP_ENET0_MDC_CONN_ENET0_MDC 0x06000020 - IMX8QXP_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020 - IMX8QXP_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x61 - IMX8QXP_ENET0_RGMII_TXC_CONN_ENET0_RCLK50M_OUT 0x06000061 - IMX8QXP_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0 0x61 - IMX8QXP_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1 0x61 - IMX8QXP_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL 0x61 - IMX8QXP_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0 0x61 - IMX8QXP_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1 0x61 - IMX8QXP_ENET0_RGMII_RXD2_CONN_ENET0_RMII_RX_ER 0x61 - >; - }; - - pinctrl_fec1_sleep: fec1slpgrp { - fsl,pins = < - IMX8QXP_ENET0_MDC_LSIO_GPIO5_IO11 0x06000041 - IMX8QXP_ENET0_MDIO_LSIO_GPIO5_IO10 0x06000041 - IMX8QXP_ENET0_RGMII_TX_CTL_LSIO_GPIO4_IO30 0x41 - IMX8QXP_ENET0_RGMII_TXC_LSIO_GPIO4_IO29 0x41 - IMX8QXP_ENET0_RGMII_TXD0_LSIO_GPIO4_IO31 0x41 - IMX8QXP_ENET0_RGMII_TXD1_LSIO_GPIO5_IO00 0x41 - IMX8QXP_ENET0_RGMII_RX_CTL_LSIO_GPIO5_IO04 0x41 - IMX8QXP_ENET0_RGMII_RXD0_LSIO_GPIO5_IO05 0x41 - IMX8QXP_ENET0_RGMII_RXD1_LSIO_GPIO5_IO06 0x41 - IMX8QXP_ENET0_RGMII_RXD2_LSIO_GPIO5_IO07 0x41 - >; - }; - - /* Colibri optional CAN on UART_B RTS/CTS */ - pinctrl_flexcan1: flexcan0grp { - fsl,pins = < - IMX8QXP_FLEXCAN0_TX_ADMA_FLEXCAN0_TX 0x21 /* SODIMM 32 */ - IMX8QXP_FLEXCAN0_RX_ADMA_FLEXCAN0_RX 0x21 /* SODIMM 34 */ - >; - }; - - /* Colibri optional CAN on PS2 */ - pinctrl_flexcan2: flexcan1grp { - fsl,pins = < - IMX8QXP_FLEXCAN1_TX_ADMA_FLEXCAN1_TX 0x21 /* SODIMM 55 */ - IMX8QXP_FLEXCAN1_RX_ADMA_FLEXCAN1_RX 0x21 /* SODIMM 63 */ - >; - }; - - /* Colibri optional CAN on UART_A TXD/RXD */ - pinctrl_flexcan3: flexcan2grp { - fsl,pins = < - IMX8QXP_FLEXCAN2_TX_ADMA_FLEXCAN2_TX 0x21 /* SODIMM 35 */ - IMX8QXP_FLEXCAN2_RX_ADMA_FLEXCAN2_RX 0x21 /* SODIMM 33 */ - >; - }; - - /* Colibri LCD Back-Light GPIO */ - pinctrl_gpio_bl_on: gpioblongrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA3_LSIO_GPIO3_IO12 0x60 /* SODIMM 71 */ - >; - }; - - pinctrl_gpiokeys: gpiokeysgrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA1_LSIO_GPIO3_IO10 0x06700041 /* SODIMM 45 */ - >; - }; - - pinctrl_hog0: hog0grp { - fsl,pins = < - IMX8QXP_ENET0_RGMII_TXD3_LSIO_GPIO5_IO02 0x06000020 /* SODIMM 65 */ - IMX8QXP_CSI_D07_CI_PI_D09 0x61 /* SODIMM 65 */ - IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11 0x20 /* SODIMM 69 */ - IMX8QXP_SAI0_TXC_LSIO_GPIO0_IO26 0x20 /* SODIMM 79 */ - IMX8QXP_CSI_D02_CI_PI_D04 0x61 /* SODIMM 79 */ - IMX8QXP_ENET0_RGMII_RXC_LSIO_GPIO5_IO03 0x06000020 /* SODIMM 85 */ - IMX8QXP_CSI_D06_CI_PI_D08 0x61 /* SODIMM 85 */ - IMX8QXP_QSPI0B_SCLK_LSIO_GPIO3_IO17 0x20 /* SODIMM 95 */ - IMX8QXP_SAI0_RXD_LSIO_GPIO0_IO27 0x20 /* SODIMM 97 */ - IMX8QXP_CSI_D03_CI_PI_D05 0x61 /* SODIMM 97 */ - IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x20 /* SODIMM 99 */ - IMX8QXP_SAI0_TXFS_LSIO_GPIO0_IO28 0x20 /* SODIMM 101 */ - IMX8QXP_CSI_D00_CI_PI_D02 0x61 /* SODIMM 101 */ - IMX8QXP_SAI0_TXD_LSIO_GPIO0_IO25 0x20 /* SODIMM 103 */ - IMX8QXP_CSI_D01_CI_PI_D03 0x61 /* SODIMM 103 */ - IMX8QXP_QSPI0B_DATA1_LSIO_GPIO3_IO19 0x20 /* SODIMM 105 */ - IMX8QXP_QSPI0B_DATA2_LSIO_GPIO3_IO20 0x20 /* SODIMM 107 */ - IMX8QXP_USB_SS3_TC2_LSIO_GPIO4_IO05 0x20 /* SODIMM 127 */ - IMX8QXP_USB_SS3_TC3_LSIO_GPIO4_IO06 0x20 /* SODIMM 131 */ - IMX8QXP_USB_SS3_TC1_LSIO_GPIO4_IO04 0x20 /* SODIMM 133 */ - IMX8QXP_CSI_PCLK_LSIO_GPIO3_IO00 0x20 /* SODIMM 96 */ - IMX8QXP_QSPI0B_DATA3_LSIO_GPIO3_IO21 0x20 /* SODIMM 98 */ - IMX8QXP_SAI1_RXFS_LSIO_GPIO0_IO31 0x20 /* SODIMM 100 */ - IMX8QXP_QSPI0B_DQS_LSIO_GPIO3_IO22 0x20 /* SODIMM 102 */ - IMX8QXP_QSPI0B_SS0_B_LSIO_GPIO3_IO23 0x20 /* SODIMM 104 */ - IMX8QXP_QSPI0B_SS1_B_LSIO_GPIO3_IO24 0x20 /* SODIMM 106 */ - >; - }; - - pinctrl_hog1: hog1grp { - fsl,pins = < - IMX8QXP_CSI_MCLK_LSIO_GPIO3_IO01 0x20 /* SODIMM 75 */ - IMX8QXP_QSPI0A_SCLK_LSIO_GPIO3_IO16 0x20 /* SODIMM 93 */ - >; - }; - - /* - * This pin is used in the SCFW as a UART. Using it from - * Linux would require rewritting the SCFW board file. - */ - pinctrl_hog_scfw: hogscfwgrp { - fsl,pins = < - IMX8QXP_SCU_GPIO0_00_LSIO_GPIO2_IO03 0x20 /* SODIMM 144 */ - >; - }; - - /* On Module I2C */ - pinctrl_i2c0: i2c0grp { - fsl,pins = < - IMX8QXP_MIPI_CSI0_GPIO0_00_ADMA_I2C0_SCL 0x06000021 - IMX8QXP_MIPI_CSI0_GPIO0_01_ADMA_I2C0_SDA 0x06000021 - >; - }; - - /* MIPI DSI I2C accessible on SODIMM (X1) and FFC (X2) */ - pinctrl_i2c0_mipi_lvds0: i2c0mipilvds0grp { - fsl,pins = < - IMX8QXP_MIPI_DSI0_I2C0_SCL_MIPI_DSI0_I2C0_SCL 0xc6000020 /* SODIMM 140 */ - IMX8QXP_MIPI_DSI0_I2C0_SDA_MIPI_DSI0_I2C0_SDA 0xc6000020 /* SODIMM 142 */ - >; - }; - - /* MIPI CSI I2C accessible on SODIMM (X1) and FFC (X3) */ - pinctrl_i2c0_mipi_lvds1: i2c0mipilvds1grp { - fsl,pins = < - IMX8QXP_MIPI_DSI1_I2C0_SCL_MIPI_DSI1_I2C0_SCL 0xc6000020 /* SODIMM 186 */ - IMX8QXP_MIPI_DSI1_I2C0_SDA_MIPI_DSI1_I2C0_SDA 0xc6000020 /* SODIMM 188 */ - >; - }; - - /* Colibri I2C */ - pinctrl_i2c1: i2c1grp { - fsl,pins = < - IMX8QXP_MIPI_DSI0_GPIO0_00_ADMA_I2C1_SCL 0x06000021 /* SODIMM 196 */ - IMX8QXP_MIPI_DSI0_GPIO0_01_ADMA_I2C1_SDA 0x06000021 /* SODIMM 194 */ - >; - }; - - /* Colibri Parallel RGB LCD Interface */ - pinctrl_lcdif: lcdifgrp { - fsl,pins = < - IMX8QXP_MCLK_OUT0_ADMA_LCDIF_CLK 0x60 /* SODIMM 56 */ - IMX8QXP_SPI3_CS0_ADMA_LCDIF_HSYNC 0x60 /* SODIMM 68 */ - IMX8QXP_MCLK_IN0_ADMA_LCDIF_VSYNC 0x60 /* SODIMM 82 */ - IMX8QXP_MCLK_IN1_ADMA_LCDIF_EN 0x60 /* SODIMM 44 */ - IMX8QXP_USDHC1_RESET_B_LSIO_GPIO4_IO19 0x60 /* SODIMM 44 */ - IMX8QXP_ESAI0_FSR_ADMA_LCDIF_D00 0x60 /* SODIMM 76 */ - IMX8QXP_USDHC1_WP_LSIO_GPIO4_IO21 0x60 /* SODIMM 76 */ - IMX8QXP_ESAI0_FST_ADMA_LCDIF_D01 0x60 /* SODIMM 70 */ - IMX8QXP_ESAI0_SCKR_ADMA_LCDIF_D02 0x60 /* SODIMM 60 */ - IMX8QXP_ESAI0_SCKT_ADMA_LCDIF_D03 0x60 /* SODIMM 58 */ - IMX8QXP_ESAI0_TX0_ADMA_LCDIF_D04 0x60 /* SODIMM 78 */ - IMX8QXP_ESAI0_TX1_ADMA_LCDIF_D05 0x60 /* SODIMM 72 */ - IMX8QXP_ESAI0_TX2_RX3_ADMA_LCDIF_D06 0x60 /* SODIMM 80 */ - IMX8QXP_ESAI0_TX3_RX2_ADMA_LCDIF_D07 0x60 /* SODIMM 46 */ - IMX8QXP_ESAI0_TX4_RX1_ADMA_LCDIF_D08 0x60 /* SODIMM 62 */ - IMX8QXP_ESAI0_TX5_RX0_ADMA_LCDIF_D09 0x60 /* SODIMM 48 */ - IMX8QXP_SPDIF0_RX_ADMA_LCDIF_D10 0x60 /* SODIMM 74 */ - IMX8QXP_SPDIF0_TX_ADMA_LCDIF_D11 0x60 /* SODIMM 50 */ - IMX8QXP_SPDIF0_EXT_CLK_ADMA_LCDIF_D12 0x60 /* SODIMM 52 */ - IMX8QXP_SPI3_SCK_ADMA_LCDIF_D13 0x60 /* SODIMM 54 */ - IMX8QXP_SPI3_SDO_ADMA_LCDIF_D14 0x60 /* SODIMM 66 */ - IMX8QXP_SPI3_SDI_ADMA_LCDIF_D15 0x60 /* SODIMM 64 */ - IMX8QXP_SPI3_CS1_ADMA_LCDIF_D16 0x60 /* SODIMM 57 */ - IMX8QXP_ENET0_RGMII_TXD2_LSIO_GPIO5_IO01 0x60 /* SODIMM 57 */ - IMX8QXP_UART1_CTS_B_ADMA_LCDIF_D17 0x60 /* SODIMM 61 */ - >; - }; - - /* Colibri SPI */ - pinctrl_lpspi2: lpspi2grp { - fsl,pins = < - IMX8QXP_SPI2_CS0_LSIO_GPIO1_IO00 0x21 /* SODIMM 86 */ - IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO 0x06000040 /* SODIMM 92 */ - IMX8QXP_SPI2_SDI_ADMA_SPI2_SDI 0x06000040 /* SODIMM 90 */ - IMX8QXP_SPI2_SCK_ADMA_SPI2_SCK 0x06000040 /* SODIMM 88 */ - >; - }; - - /* Colibri UART_B */ - pinctrl_lpuart0: lpuart0grp { - fsl,pins = < - IMX8QXP_UART0_RX_ADMA_UART0_RX 0x06000020 /* SODIMM 36 */ - IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020 /* SODIMM 38 */ - IMX8QXP_FLEXCAN0_RX_ADMA_UART0_RTS_B 0x06000020 /* SODIMM 34 */ - IMX8QXP_FLEXCAN0_TX_ADMA_UART0_CTS_B 0x06000020 /* SODIMM 32 */ - >; - }; - - /* Colibri UART_C */ - pinctrl_lpuart2: lpuart2grp { - fsl,pins = < - IMX8QXP_UART2_RX_ADMA_UART2_RX 0x06000020 /* SODIMM 19 */ - IMX8QXP_UART2_TX_ADMA_UART2_TX 0x06000020 /* SODIMM 21 */ - >; - }; - - /* Colibri UART_A */ - pinctrl_lpuart3: lpuart3grp { - fsl,pins = < - IMX8QXP_FLEXCAN2_RX_ADMA_UART3_RX 0x06000020 /* SODIMM 33 */ - IMX8QXP_FLEXCAN2_TX_ADMA_UART3_TX 0x06000020 /* SODIMM 35 */ - >; - }; - - /* Colibri UART_A Control */ - pinctrl_lpuart3_ctrl: lpuart3ctrlgrp { - fsl,pins = < - IMX8QXP_MIPI_DSI1_GPIO0_01_LSIO_GPIO2_IO00 0x20 /* SODIMM 23 */ - IMX8QXP_SAI1_RXD_LSIO_GPIO0_IO29 0x20 /* SODIMM 25 */ - IMX8QXP_SAI1_RXC_LSIO_GPIO0_IO30 0x20 /* SODIMM 27 */ - IMX8QXP_CSI_RESET_LSIO_GPIO3_IO03 0x20 /* SODIMM 29 */ - IMX8QXP_USDHC1_CD_B_LSIO_GPIO4_IO22 0x20 /* SODIMM 31 */ - IMX8QXP_CSI_EN_LSIO_GPIO3_IO02 0x20 /* SODIMM 37 */ - >; - }; - - /* On module wifi module */ - pinctrl_pcieb: pciebgrp { - fsl,pins = < - IMX8QXP_PCIE_CTRL0_CLKREQ_B_LSIO_GPIO4_IO01 0x04000061 /* SODIMM 178 */ - IMX8QXP_PCIE_CTRL0_WAKE_B_LSIO_GPIO4_IO02 0x04000061 /* SODIMM 94 */ - IMX8QXP_PCIE_CTRL0_PERST_B_LSIO_GPIO4_IO00 0x60 /* SODIMM 81 */ - >; - }; - - /* Colibri PWM_A */ - pinctrl_pwm_a: pwmagrp { - /* both pins are connected together, reserve the unused CSI_D05 */ - fsl,pins = < - IMX8QXP_CSI_D05_CI_PI_D07 0x61 /* SODIMM 59 */ - IMX8QXP_SPI0_CS1_ADMA_LCD_PWM0_OUT 0x60 /* SODIMM 59 */ - >; - }; - - /* Colibri PWM_B */ - pinctrl_pwm_b: pwmbgrp { - fsl,pins = < - IMX8QXP_UART1_TX_LSIO_PWM0_OUT 0x60 /* SODIMM 28 */ - >; - }; - - /* Colibri PWM_C */ - pinctrl_pwm_c: pwmcgrp { - fsl,pins = < - IMX8QXP_UART1_RX_LSIO_PWM1_OUT 0x60 /* SODIMM 30 */ - >; - }; - - /* Colibri PWM_D */ - pinctrl_pwm_d: pwmdgrp { - /* both pins are connected together, reserve the unused CSI_D04 */ - fsl,pins = < - IMX8QXP_CSI_D04_CI_PI_D06 0x61 /* SODIMM 67 */ - IMX8QXP_UART1_RTS_B_LSIO_PWM2_OUT 0x60 /* SODIMM 67 */ - >; - }; - - /* On-module I2S */ - pinctrl_sai0: sai0grp { - fsl,pins = < - IMX8QXP_SPI0_SDI_ADMA_SAI0_TXD 0x06000040 - IMX8QXP_SPI0_CS0_ADMA_SAI0_RXD 0x06000040 - IMX8QXP_SPI0_SCK_ADMA_SAI0_TXC 0x06000040 - IMX8QXP_SPI0_SDO_ADMA_SAI0_TXFS 0x06000040 - >; - }; - - /* Colibri Audio Analogue Microphone GND */ - pinctrl_sgtl5000: sgtl5000grp { - fsl,pins = < - /* MIC GND EN */ - IMX8QXP_MIPI_CSI0_I2C0_SDA_LSIO_GPIO3_IO06 0x41 - >; - }; - - /* On-module SGTL5000 clock */ - pinctrl_sgtl5000_usb_clk: sgtl5000usbclkgrp { - fsl,pins = < - IMX8QXP_ADC_IN3_ADMA_ACM_MCLK_OUT0 0x21 - >; - }; - - /* On-module USB interrupt */ - pinctrl_usb3503a: usb3503agrp { - fsl,pins = < - IMX8QXP_MIPI_CSI0_MCLK_OUT_LSIO_GPIO3_IO04 0x61 - >; - }; - - /* Colibri USB Client Cable Detect */ - pinctrl_usbc_det: usbcdetgrp { - fsl,pins = < - IMX8QXP_ENET0_REFCLK_125M_25M_LSIO_GPIO5_IO09 0x06000040 /* SODIMM 137 */ - >; - }; - - /* USB Host Power Enable */ - pinctrl_usbh1_reg: usbh1reggrp { - fsl,pins = < - IMX8QXP_USB_SS3_TC0_LSIO_GPIO4_IO03 0x06000040 /* SODIMM 129 */ - >; - }; - - /* On-module eMMC */ - pinctrl_usdhc1: usdhc1grp { - fsl,pins = < - IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 - IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x21 - IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x21 - IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x21 - IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x21 - IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x21 - IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x21 - IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x21 - IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x21 - IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x21 - >; - }; - - pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { - fsl,pins = < - IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 - IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x21 - IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x21 - IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x21 - IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x21 - IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x21 - IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x21 - IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x21 - IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x21 - IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x21 - >; - }; - - pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { - fsl,pins = < - IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 - IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x21 - IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x21 - IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x21 - IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x21 - IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x21 - IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x21 - IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x21 - IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x21 - IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x21 - >; - }; - - /* Colibri SD/MMC Card Detect */ - pinctrl_usdhc2_gpio: usdhc2gpiogrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA0_LSIO_GPIO3_IO09 0x06000021 /* SODIMM 43 */ - >; - }; - - pinctrl_usdhc2_gpio_sleep: usdhc2gpioslpgrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA0_LSIO_GPIO3_IO09 0x60 /* SODIMM 43 */ - >; - }; - - /* Colibri SD/MMC Card */ - pinctrl_usdhc2: usdhc2grp { - fsl,pins = < - IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041 /* SODIMM 47 */ - IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x21 /* SODIMM 190 */ - IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x21 /* SODIMM 192 */ - IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x21 /* SODIMM 49 */ - IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x21 /* SODIMM 51 */ - IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x21 /* SODIMM 53 */ - IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x21 - >; - }; - - pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { - fsl,pins = < - IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041 /* SODIMM 47 */ - IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x21 /* SODIMM 190 */ - IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x21 /* SODIMM 192 */ - IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x21 /* SODIMM 49 */ - IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x21 /* SODIMM 51 */ - IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x21 /* SODIMM 53 */ - IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x21 - >; - }; - - pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { - fsl,pins = < - IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041 /* SODIMM 47 */ - IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x21 /* SODIMM 190 */ - IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x21 /* SODIMM 192 */ - IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x21 /* SODIMM 49 */ - IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x21 /* SODIMM 51 */ - IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x21 /* SODIMM 53 */ - IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x21 - >; - }; - - pinctrl_usdhc2_sleep: usdhc2slpgrp { - fsl,pins = < - IMX8QXP_USDHC1_CLK_LSIO_GPIO4_IO23 0x60 /* SODIMM 47 */ - IMX8QXP_USDHC1_CMD_LSIO_GPIO4_IO24 0x60 /* SODIMM 190 */ - IMX8QXP_USDHC1_DATA0_LSIO_GPIO4_IO25 0x60 /* SODIMM 192 */ - IMX8QXP_USDHC1_DATA1_LSIO_GPIO4_IO26 0x60 /* SODIMM 49 */ - IMX8QXP_USDHC1_DATA2_LSIO_GPIO4_IO27 0x60 /* SODIMM 51 */ - IMX8QXP_USDHC1_DATA3_LSIO_GPIO4_IO28 0x60 /* SODIMM 53 */ - IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x21 - >; - }; - - pinctrl_wifi: wifigrp { - fsl,pins = < - IMX8QXP_SCU_BOOT_MODE3_SCU_DSC_RTC_CLOCK_OUTPUT_32K 0x20 - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Copyright 2019 Toradex + */ + +#include "imx8qxp.dtsi" +#include "imx8x-colibri.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP Module"; + compatible = "toradex,colibri-imx8x", "fsl,imx8qxp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi similarity index 100% rename from arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dtsi rename to arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi similarity index 99% copy from arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi copy to arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 89d70e030433..cb22bde19ea0 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -3,12 +3,7 @@ * Copyright 2019 Toradex */ -#include "imx8qxp.dtsi" - / { - model = "Toradex Colibri iMX8QXP/DX Module"; - compatible = "toradex,colibri-imx8x", "fsl,imx8qxp"; - chosen { stdout-path = &lpuart3; }; From patchwork Tue Mar 14 10:23:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69442 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1674869wrd; Tue, 14 Mar 2023 03:29:56 -0700 (PDT) X-Google-Smtp-Source: AK7set+lQmAGBYVam/Pd7vR3CPWzvVCC2JJKXCSZPFz1jeshCGqTeYlyyeZYQCwIx0zoGasL84Vj X-Received: by 2002:a17:90a:df8a:b0:23b:5106:50fb with SMTP id p10-20020a17090adf8a00b0023b510650fbmr7924156pjv.41.1678789796275; Tue, 14 Mar 2023 03:29:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678789796; cv=none; d=google.com; s=arc-20160816; b=v24O6Kqo+2tV+642iIksLbZcljh2nFl/xWlvnTuxqTxy4sMLRrmbvPw+HbQNZmv+2w Ene3VWuydNqU6LWj/oke/WwGln2+YqYiH3zLAhhvnYI0jMI8l/kPIRCALBNXWSV5KZ7j aUwnKlF/zIMELxpMfCbNosH97fwEzMRi9u5oJj7L14Ss08FPhYPUo35hQp5kcWqBHF8q pJITXiqEYrpbfBmXStSleZgnnw1H4CHXgvPDtb9lSXc3cgoI0W2PCUPVaruL8Q3MCJAE SQjxUkkAI2LEjG+GB92hvAC+FtfpNtmnyLoNCHpx89WT2BNk9D/PqHzvmdWXYLrrNvTJ +ohg== 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=RpYoS8lqVejiqrARbJJui7v9BBx9xd00hmAoQDtbbos=; b=KKjrkfre4DA1ktFrwIv3q1VOlyxEELXuxD49MmoW1AUOidRNXRyrkiJAdorBzAbMVc edauA0coDcJD7L+w18b9gTbSqvPeMK//gUG1UmpJN1CcitQ4mKJfdQnfw2O93OE4vJ09 lw0yIzj7meNCXnKnFi3yJGecwvibrQVnCgbvPfsUh3LmLZ3ZgFficTMVCfF5+HUtCu6y qQGW9AFwnuJfb2qRh6uOZTA4ERvlMN8yHqy0nfIG7guZ+NxJ+TqBSnZoSCHzlDPO362i bazs01Ve3Sld0A70+wliwu5RIsL3T6XbC+dYHqg2G+00XNV5OrlYnfgy15vMyANIFCi/ QimQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=tecOmwpn; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a17090a974500b002301345a517si2108841pjw.17.2023.03.14.03.29.40; Tue, 14 Mar 2023 03:29:56 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=tecOmwpn; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231196AbjCNK0z (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbjCNKZl (ORCPT ); Tue, 14 Mar 2023 06:25:41 -0400 Received: from smtp-bc0e.mail.infomaniak.ch (smtp-bc0e.mail.infomaniak.ch [45.157.188.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A6369AFD7 for ; Tue, 14 Mar 2023 03:25:13 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4k20q0zMqJDK; Tue, 14 Mar 2023 11:24:22 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4j5Fnyz2N3w; Tue, 14 Mar 2023 11:24:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789462; bh=/4dEeuZhDRUKDZi+e+g1n/LToFNUcSMkMAOslGOl27A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tecOmwpnp9TCHHmOFjHKW9i/SKulOV4lp8XhwiXo+ckYJSLNY6p+wbiLT/La5JICY HIWmZQHy19+myoEeSTC1rrSy6idXxWC3GzdMC2CatWHVzHdjgU7Uj1o7OGTww4nn31 dzEzpbcozolYTo06V2hqnSLMy1vFd14EyBQhegc8= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 02/23] arm64: dts: colibri-imx8x: Update spdx license Date: Tue, 14 Mar 2023 11:23:48 +0100 Message-Id: <20230314102410.424773-3-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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?1760338689424953117?= X-GMAIL-MSGID: =?utf-8?q?1760338689424953117?= From: Philippe Schenker GPL-2.0+ is deprecated, update it to GPL-2.0-or-later. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts | 2 +- arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts index 413a9e9d6c28..fe4597a6f7e0 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright 2019 Toradex */ diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi index 1ffc42f4a4b3..0f1aa31dd3e5 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright 2019 Toradex */ diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 7c334b93db3b..dc0339b35a3c 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright 2019 Toradex */ diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index cb22bde19ea0..12056b77d22e 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright 2019 Toradex */ From patchwork Tue Mar 14 10:23:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69439 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1673867wrd; Tue, 14 Mar 2023 03:26:48 -0700 (PDT) X-Google-Smtp-Source: AK7set8cX3+gDDDH5HEznwwtubwachApeODDhMV67mfF4N37LxpVkmHcISOux9D0+iSiltlRTRzT X-Received: by 2002:a17:90b:1e0a:b0:234:c07f:c04d with SMTP id pg10-20020a17090b1e0a00b00234c07fc04dmr36843215pjb.49.1678789608013; Tue, 14 Mar 2023 03:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678789607; cv=none; d=google.com; s=arc-20160816; b=jolB/DOgsfK+PUSTB7jtEVwtDp+/WzFXwkjT5aEOHvxwt6X6FNmxOgWawefklIH5AO Qop2Qce1uVkIxoTGtfl18g9DMxNkM0Wkc8F3LYEuDZYcxU0dXxcFlebfVHWyBCszRsb/ T9WoB2k0FT4nzd7hmzeBtVO7DLrwvW/1PC0I3n6aOsJurSOFPTqQc5j0UA4OCpWfOYjg njRDXN2Jzd7mh5H++nUEsUzzmtdj56uulchpJokaFp+tDyCkDA3OyMVIJvOgM2pfu0Ws ViG2mmmLjcahSbKWJeo7fKzUk5V6rOkuY+Gh8TlyklUy01Ir0q/vLe0UL8RvKWNwXy1l qcfQ== 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=aPHP7enlrNZyJeD0Mw0N5poj6I2MA9ZmF4EMaHBihiM=; b=d5vslYWyE1vpFjn4NQiQrYjbG05WYQdyBc//IbTWLqtwFV0OLGWdiQAa7UCX25akuj 4BoiSjdYJ9CFJ+9PDkNXlaYz5Awc4k1y1j1q9qcXlvmgauQA4/0WGNqhFICAeWytXcbx 7t2fFYUX3e7+x4BjX3qQiQVJd+7tqRn8A7YUJOj85TedJ2n+3EBdTDTZTaU6tyMVVt98 R6TJm7emdKPSpLz9hDYMJWA59F87cR/dzR1LA85qE+776zBm2JwxA8RbBiX9IA0V76mJ wcYHsLHnB9CAqOA7MlxSJ8qrvF5RUSFEOE+R8HRuCjDWmwrgm8YQExFJD4AKc/1uGImB qSdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=s7EKu6Pj; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a63e70f000000b0050bcfe66805si741343pgi.240.2023.03.14.03.26.32; Tue, 14 Mar 2023 03:26:47 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=s7EKu6Pj; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229687AbjCNKZU (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbjCNKZA (ORCPT ); Tue, 14 Mar 2023 06:25:00 -0400 Received: from smtp-bc0a.mail.infomaniak.ch (smtp-bc0a.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc0a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AE679BA65 for ; Tue, 14 Mar 2023 03:24:27 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4k6LyLzMqPNd; Tue, 14 Mar 2023 11:24:22 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4k2kgxz2MSQ; Tue, 14 Mar 2023 11:24:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789462; bh=93/t+o4m0ePc4DptyddWmquqDPH2DPr+LMx813JT6zI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s7EKu6PjfcOj9lARzi95+tn9rz6q95cFVW5I9zfvLi2/ysPX5wd+lHGpq6nkHvewF 0Sqhmqu3l5q9chE1i6q1KzGHUhyN0+kWXs4vbn55o27Hz+1ARLI1xHizP/bS7zJstc mfqONJMYeb8ZOmcyv9a31qKM2jmLKsRpJXeRfGeg= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 03/23] arm64: dts: colibri-imx8x: Use new bracket format Date: Tue, 14 Mar 2023 11:23:49 +0100 Message-Id: <20230314102410.424773-4-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760338492037547081?= X-GMAIL-MSGID: =?utf-8?q?1760338492037547081?= From: Philippe Schenker Use the new bracket format as described by Rob since this seems the format that we're heading in the future. https://lore.kernel.org/all/CAL_JsqKqQdRZC08-BGJqTjzJZ8aWA41LHMbv0QyyVePVm0co7A@mail.gmail.com/ Signed-off-by: Philippe Schenker --- (no changes since v1) .../boot/dts/freescale/imx8x-colibri.dtsi | 1093 ++++++++--------- 1 file changed, 500 insertions(+), 593 deletions(-) rewrite arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi (68%) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi dissimilarity index 68% index 12056b77d22e..4e0d5762b76c 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -1,593 +1,500 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2019 Toradex - */ - -/ { - chosen { - stdout-path = &lpuart3; - }; - - reg_module_3v3: regulator-module-3v3 { - compatible = "regulator-fixed"; - regulator-name = "+V3.3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; -}; - -/* On-module I2C */ -&i2c0 { - #address-cells = <1>; - #size-cells = <0>; - clock-frequency = <100000>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c0>, <&pinctrl_sgtl5000_usb_clk>; - status = "okay"; - - /* Touch controller */ - touchscreen@2c { - compatible = "adi,ad7879-1"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ad7879_int>; - reg = <0x2c>; - interrupt-parent = <&lsio_gpio3>; - interrupts = <5 IRQ_TYPE_EDGE_FALLING>; - touchscreen-max-pressure = <4096>; - adi,resistance-plate-x = <120>; - adi,first-conversion-delay = /bits/ 8 <3>; - adi,acquisition-time = /bits/ 8 <1>; - adi,median-filter-size = /bits/ 8 <2>; - adi,averaging = /bits/ 8 <1>; - adi,conversion-interval = /bits/ 8 <255>; - }; -}; - -/* Colibri I2C */ -&i2c1 { - #address-cells = <1>; - #size-cells = <0>; - clock-frequency = <100000>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c1>; -}; - -/* Colibri UART_B */ -&lpuart0 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lpuart0>; -}; - -/* Colibri UART_C */ -&lpuart2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lpuart2>; -}; - -/* Colibri UART_A */ -&lpuart3 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lpuart3>, <&pinctrl_lpuart3_ctrl>; -}; - -/* Colibri FastEthernet */ -&fec1 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&pinctrl_fec1>; - pinctrl-1 = <&pinctrl_fec1_sleep>; - phy-mode = "rmii"; - phy-handle = <ðphy0>; - fsl,magic-packet; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - - ethphy0: ethernet-phy@2 { - compatible = "ethernet-phy-ieee802.3-c22"; - max-speed = <100>; - reg = <2>; - }; - }; -}; - -/* On-module eMMC */ -&usdhc1 { - bus-width = <8>; - non-removable; - no-sd; - no-sdio; - pinctrl-names = "default", "state_100mhz", "state_200mhz"; - pinctrl-0 = <&pinctrl_usdhc1>; - pinctrl-1 = <&pinctrl_usdhc1_100mhz>; - pinctrl-2 = <&pinctrl_usdhc1_200mhz>; - status = "okay"; -}; - -/* Colibri SD/MMC Card */ -&usdhc2 { - bus-width = <4>; - cd-gpios = <&lsio_gpio3 9 GPIO_ACTIVE_LOW>; - vmmc-supply = <®_module_3v3>; - pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; - pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; - pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; - pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; - pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>; - disable-wp; -}; - -&iomuxc { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>; - - /* On-module touch pen-down interrupt */ - pinctrl_ad7879_int: ad7879intgrp { - fsl,pins = < - IMX8QXP_MIPI_CSI0_I2C0_SCL_LSIO_GPIO3_IO05 0x21 - >; - }; - - /* Colibri Analogue Inputs */ - pinctrl_adc0: adc0grp { - fsl,pins = < - IMX8QXP_ADC_IN0_ADMA_ADC_IN0 0x60 /* SODIMM 8 */ - IMX8QXP_ADC_IN1_ADMA_ADC_IN1 0x60 /* SODIMM 6 */ - IMX8QXP_ADC_IN4_ADMA_ADC_IN4 0x60 /* SODIMM 4 */ - IMX8QXP_ADC_IN5_ADMA_ADC_IN5 0x60 /* SODIMM 2 */ - >; - }; - - pinctrl_can_int: canintgrp { - fsl,pins = < - IMX8QXP_QSPI0A_DQS_LSIO_GPIO3_IO13 0x40 /* SODIMM 73 */ - >; - }; - - pinctrl_csi_ctl: csictlgrp { - fsl,pins = < - IMX8QXP_QSPI0A_SS0_B_LSIO_GPIO3_IO14 0x20 /* SODIMM 77 */ - IMX8QXP_QSPI0A_SS1_B_LSIO_GPIO3_IO15 0x20 /* SODIMM 89 */ - >; - }; - - pinctrl_ext_io0: extio0grp { - fsl,pins = < - IMX8QXP_ENET0_RGMII_RXD3_LSIO_GPIO5_IO08 0x06000040 /* SODIMM 135 */ - >; - }; - - /* Colibri Ethernet: On-module 100Mbps PHY Micrel KSZ8041 */ - pinctrl_fec1: fec1grp { - fsl,pins = < - IMX8QXP_ENET0_MDC_CONN_ENET0_MDC 0x06000020 - IMX8QXP_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020 - IMX8QXP_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x61 - IMX8QXP_ENET0_RGMII_TXC_CONN_ENET0_RCLK50M_OUT 0x06000061 - IMX8QXP_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0 0x61 - IMX8QXP_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1 0x61 - IMX8QXP_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL 0x61 - IMX8QXP_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0 0x61 - IMX8QXP_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1 0x61 - IMX8QXP_ENET0_RGMII_RXD2_CONN_ENET0_RMII_RX_ER 0x61 - >; - }; - - pinctrl_fec1_sleep: fec1slpgrp { - fsl,pins = < - IMX8QXP_ENET0_MDC_LSIO_GPIO5_IO11 0x06000041 - IMX8QXP_ENET0_MDIO_LSIO_GPIO5_IO10 0x06000041 - IMX8QXP_ENET0_RGMII_TX_CTL_LSIO_GPIO4_IO30 0x41 - IMX8QXP_ENET0_RGMII_TXC_LSIO_GPIO4_IO29 0x41 - IMX8QXP_ENET0_RGMII_TXD0_LSIO_GPIO4_IO31 0x41 - IMX8QXP_ENET0_RGMII_TXD1_LSIO_GPIO5_IO00 0x41 - IMX8QXP_ENET0_RGMII_RX_CTL_LSIO_GPIO5_IO04 0x41 - IMX8QXP_ENET0_RGMII_RXD0_LSIO_GPIO5_IO05 0x41 - IMX8QXP_ENET0_RGMII_RXD1_LSIO_GPIO5_IO06 0x41 - IMX8QXP_ENET0_RGMII_RXD2_LSIO_GPIO5_IO07 0x41 - >; - }; - - /* Colibri optional CAN on UART_B RTS/CTS */ - pinctrl_flexcan1: flexcan0grp { - fsl,pins = < - IMX8QXP_FLEXCAN0_TX_ADMA_FLEXCAN0_TX 0x21 /* SODIMM 32 */ - IMX8QXP_FLEXCAN0_RX_ADMA_FLEXCAN0_RX 0x21 /* SODIMM 34 */ - >; - }; - - /* Colibri optional CAN on PS2 */ - pinctrl_flexcan2: flexcan1grp { - fsl,pins = < - IMX8QXP_FLEXCAN1_TX_ADMA_FLEXCAN1_TX 0x21 /* SODIMM 55 */ - IMX8QXP_FLEXCAN1_RX_ADMA_FLEXCAN1_RX 0x21 /* SODIMM 63 */ - >; - }; - - /* Colibri optional CAN on UART_A TXD/RXD */ - pinctrl_flexcan3: flexcan2grp { - fsl,pins = < - IMX8QXP_FLEXCAN2_TX_ADMA_FLEXCAN2_TX 0x21 /* SODIMM 35 */ - IMX8QXP_FLEXCAN2_RX_ADMA_FLEXCAN2_RX 0x21 /* SODIMM 33 */ - >; - }; - - /* Colibri LCD Back-Light GPIO */ - pinctrl_gpio_bl_on: gpioblongrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA3_LSIO_GPIO3_IO12 0x60 /* SODIMM 71 */ - >; - }; - - pinctrl_gpiokeys: gpiokeysgrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA1_LSIO_GPIO3_IO10 0x06700041 /* SODIMM 45 */ - >; - }; - - pinctrl_hog0: hog0grp { - fsl,pins = < - IMX8QXP_ENET0_RGMII_TXD3_LSIO_GPIO5_IO02 0x06000020 /* SODIMM 65 */ - IMX8QXP_CSI_D07_CI_PI_D09 0x61 /* SODIMM 65 */ - IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11 0x20 /* SODIMM 69 */ - IMX8QXP_SAI0_TXC_LSIO_GPIO0_IO26 0x20 /* SODIMM 79 */ - IMX8QXP_CSI_D02_CI_PI_D04 0x61 /* SODIMM 79 */ - IMX8QXP_ENET0_RGMII_RXC_LSIO_GPIO5_IO03 0x06000020 /* SODIMM 85 */ - IMX8QXP_CSI_D06_CI_PI_D08 0x61 /* SODIMM 85 */ - IMX8QXP_QSPI0B_SCLK_LSIO_GPIO3_IO17 0x20 /* SODIMM 95 */ - IMX8QXP_SAI0_RXD_LSIO_GPIO0_IO27 0x20 /* SODIMM 97 */ - IMX8QXP_CSI_D03_CI_PI_D05 0x61 /* SODIMM 97 */ - IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x20 /* SODIMM 99 */ - IMX8QXP_SAI0_TXFS_LSIO_GPIO0_IO28 0x20 /* SODIMM 101 */ - IMX8QXP_CSI_D00_CI_PI_D02 0x61 /* SODIMM 101 */ - IMX8QXP_SAI0_TXD_LSIO_GPIO0_IO25 0x20 /* SODIMM 103 */ - IMX8QXP_CSI_D01_CI_PI_D03 0x61 /* SODIMM 103 */ - IMX8QXP_QSPI0B_DATA1_LSIO_GPIO3_IO19 0x20 /* SODIMM 105 */ - IMX8QXP_QSPI0B_DATA2_LSIO_GPIO3_IO20 0x20 /* SODIMM 107 */ - IMX8QXP_USB_SS3_TC2_LSIO_GPIO4_IO05 0x20 /* SODIMM 127 */ - IMX8QXP_USB_SS3_TC3_LSIO_GPIO4_IO06 0x20 /* SODIMM 131 */ - IMX8QXP_USB_SS3_TC1_LSIO_GPIO4_IO04 0x20 /* SODIMM 133 */ - IMX8QXP_CSI_PCLK_LSIO_GPIO3_IO00 0x20 /* SODIMM 96 */ - IMX8QXP_QSPI0B_DATA3_LSIO_GPIO3_IO21 0x20 /* SODIMM 98 */ - IMX8QXP_SAI1_RXFS_LSIO_GPIO0_IO31 0x20 /* SODIMM 100 */ - IMX8QXP_QSPI0B_DQS_LSIO_GPIO3_IO22 0x20 /* SODIMM 102 */ - IMX8QXP_QSPI0B_SS0_B_LSIO_GPIO3_IO23 0x20 /* SODIMM 104 */ - IMX8QXP_QSPI0B_SS1_B_LSIO_GPIO3_IO24 0x20 /* SODIMM 106 */ - >; - }; - - pinctrl_hog1: hog1grp { - fsl,pins = < - IMX8QXP_CSI_MCLK_LSIO_GPIO3_IO01 0x20 /* SODIMM 75 */ - IMX8QXP_QSPI0A_SCLK_LSIO_GPIO3_IO16 0x20 /* SODIMM 93 */ - >; - }; - - /* - * This pin is used in the SCFW as a UART. Using it from - * Linux would require rewritting the SCFW board file. - */ - pinctrl_hog_scfw: hogscfwgrp { - fsl,pins = < - IMX8QXP_SCU_GPIO0_00_LSIO_GPIO2_IO03 0x20 /* SODIMM 144 */ - >; - }; - - /* On Module I2C */ - pinctrl_i2c0: i2c0grp { - fsl,pins = < - IMX8QXP_MIPI_CSI0_GPIO0_00_ADMA_I2C0_SCL 0x06000021 - IMX8QXP_MIPI_CSI0_GPIO0_01_ADMA_I2C0_SDA 0x06000021 - >; - }; - - /* MIPI DSI I2C accessible on SODIMM (X1) and FFC (X2) */ - pinctrl_i2c0_mipi_lvds0: i2c0mipilvds0grp { - fsl,pins = < - IMX8QXP_MIPI_DSI0_I2C0_SCL_MIPI_DSI0_I2C0_SCL 0xc6000020 /* SODIMM 140 */ - IMX8QXP_MIPI_DSI0_I2C0_SDA_MIPI_DSI0_I2C0_SDA 0xc6000020 /* SODIMM 142 */ - >; - }; - - /* MIPI CSI I2C accessible on SODIMM (X1) and FFC (X3) */ - pinctrl_i2c0_mipi_lvds1: i2c0mipilvds1grp { - fsl,pins = < - IMX8QXP_MIPI_DSI1_I2C0_SCL_MIPI_DSI1_I2C0_SCL 0xc6000020 /* SODIMM 186 */ - IMX8QXP_MIPI_DSI1_I2C0_SDA_MIPI_DSI1_I2C0_SDA 0xc6000020 /* SODIMM 188 */ - >; - }; - - /* Colibri I2C */ - pinctrl_i2c1: i2c1grp { - fsl,pins = < - IMX8QXP_MIPI_DSI0_GPIO0_00_ADMA_I2C1_SCL 0x06000021 /* SODIMM 196 */ - IMX8QXP_MIPI_DSI0_GPIO0_01_ADMA_I2C1_SDA 0x06000021 /* SODIMM 194 */ - >; - }; - - /* Colibri Parallel RGB LCD Interface */ - pinctrl_lcdif: lcdifgrp { - fsl,pins = < - IMX8QXP_MCLK_OUT0_ADMA_LCDIF_CLK 0x60 /* SODIMM 56 */ - IMX8QXP_SPI3_CS0_ADMA_LCDIF_HSYNC 0x60 /* SODIMM 68 */ - IMX8QXP_MCLK_IN0_ADMA_LCDIF_VSYNC 0x60 /* SODIMM 82 */ - IMX8QXP_MCLK_IN1_ADMA_LCDIF_EN 0x60 /* SODIMM 44 */ - IMX8QXP_USDHC1_RESET_B_LSIO_GPIO4_IO19 0x60 /* SODIMM 44 */ - IMX8QXP_ESAI0_FSR_ADMA_LCDIF_D00 0x60 /* SODIMM 76 */ - IMX8QXP_USDHC1_WP_LSIO_GPIO4_IO21 0x60 /* SODIMM 76 */ - IMX8QXP_ESAI0_FST_ADMA_LCDIF_D01 0x60 /* SODIMM 70 */ - IMX8QXP_ESAI0_SCKR_ADMA_LCDIF_D02 0x60 /* SODIMM 60 */ - IMX8QXP_ESAI0_SCKT_ADMA_LCDIF_D03 0x60 /* SODIMM 58 */ - IMX8QXP_ESAI0_TX0_ADMA_LCDIF_D04 0x60 /* SODIMM 78 */ - IMX8QXP_ESAI0_TX1_ADMA_LCDIF_D05 0x60 /* SODIMM 72 */ - IMX8QXP_ESAI0_TX2_RX3_ADMA_LCDIF_D06 0x60 /* SODIMM 80 */ - IMX8QXP_ESAI0_TX3_RX2_ADMA_LCDIF_D07 0x60 /* SODIMM 46 */ - IMX8QXP_ESAI0_TX4_RX1_ADMA_LCDIF_D08 0x60 /* SODIMM 62 */ - IMX8QXP_ESAI0_TX5_RX0_ADMA_LCDIF_D09 0x60 /* SODIMM 48 */ - IMX8QXP_SPDIF0_RX_ADMA_LCDIF_D10 0x60 /* SODIMM 74 */ - IMX8QXP_SPDIF0_TX_ADMA_LCDIF_D11 0x60 /* SODIMM 50 */ - IMX8QXP_SPDIF0_EXT_CLK_ADMA_LCDIF_D12 0x60 /* SODIMM 52 */ - IMX8QXP_SPI3_SCK_ADMA_LCDIF_D13 0x60 /* SODIMM 54 */ - IMX8QXP_SPI3_SDO_ADMA_LCDIF_D14 0x60 /* SODIMM 66 */ - IMX8QXP_SPI3_SDI_ADMA_LCDIF_D15 0x60 /* SODIMM 64 */ - IMX8QXP_SPI3_CS1_ADMA_LCDIF_D16 0x60 /* SODIMM 57 */ - IMX8QXP_ENET0_RGMII_TXD2_LSIO_GPIO5_IO01 0x60 /* SODIMM 57 */ - IMX8QXP_UART1_CTS_B_ADMA_LCDIF_D17 0x60 /* SODIMM 61 */ - >; - }; - - /* Colibri SPI */ - pinctrl_lpspi2: lpspi2grp { - fsl,pins = < - IMX8QXP_SPI2_CS0_LSIO_GPIO1_IO00 0x21 /* SODIMM 86 */ - IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO 0x06000040 /* SODIMM 92 */ - IMX8QXP_SPI2_SDI_ADMA_SPI2_SDI 0x06000040 /* SODIMM 90 */ - IMX8QXP_SPI2_SCK_ADMA_SPI2_SCK 0x06000040 /* SODIMM 88 */ - >; - }; - - /* Colibri UART_B */ - pinctrl_lpuart0: lpuart0grp { - fsl,pins = < - IMX8QXP_UART0_RX_ADMA_UART0_RX 0x06000020 /* SODIMM 36 */ - IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020 /* SODIMM 38 */ - IMX8QXP_FLEXCAN0_RX_ADMA_UART0_RTS_B 0x06000020 /* SODIMM 34 */ - IMX8QXP_FLEXCAN0_TX_ADMA_UART0_CTS_B 0x06000020 /* SODIMM 32 */ - >; - }; - - /* Colibri UART_C */ - pinctrl_lpuart2: lpuart2grp { - fsl,pins = < - IMX8QXP_UART2_RX_ADMA_UART2_RX 0x06000020 /* SODIMM 19 */ - IMX8QXP_UART2_TX_ADMA_UART2_TX 0x06000020 /* SODIMM 21 */ - >; - }; - - /* Colibri UART_A */ - pinctrl_lpuart3: lpuart3grp { - fsl,pins = < - IMX8QXP_FLEXCAN2_RX_ADMA_UART3_RX 0x06000020 /* SODIMM 33 */ - IMX8QXP_FLEXCAN2_TX_ADMA_UART3_TX 0x06000020 /* SODIMM 35 */ - >; - }; - - /* Colibri UART_A Control */ - pinctrl_lpuart3_ctrl: lpuart3ctrlgrp { - fsl,pins = < - IMX8QXP_MIPI_DSI1_GPIO0_01_LSIO_GPIO2_IO00 0x20 /* SODIMM 23 */ - IMX8QXP_SAI1_RXD_LSIO_GPIO0_IO29 0x20 /* SODIMM 25 */ - IMX8QXP_SAI1_RXC_LSIO_GPIO0_IO30 0x20 /* SODIMM 27 */ - IMX8QXP_CSI_RESET_LSIO_GPIO3_IO03 0x20 /* SODIMM 29 */ - IMX8QXP_USDHC1_CD_B_LSIO_GPIO4_IO22 0x20 /* SODIMM 31 */ - IMX8QXP_CSI_EN_LSIO_GPIO3_IO02 0x20 /* SODIMM 37 */ - >; - }; - - /* On module wifi module */ - pinctrl_pcieb: pciebgrp { - fsl,pins = < - IMX8QXP_PCIE_CTRL0_CLKREQ_B_LSIO_GPIO4_IO01 0x04000061 /* SODIMM 178 */ - IMX8QXP_PCIE_CTRL0_WAKE_B_LSIO_GPIO4_IO02 0x04000061 /* SODIMM 94 */ - IMX8QXP_PCIE_CTRL0_PERST_B_LSIO_GPIO4_IO00 0x60 /* SODIMM 81 */ - >; - }; - - /* Colibri PWM_A */ - pinctrl_pwm_a: pwmagrp { - /* both pins are connected together, reserve the unused CSI_D05 */ - fsl,pins = < - IMX8QXP_CSI_D05_CI_PI_D07 0x61 /* SODIMM 59 */ - IMX8QXP_SPI0_CS1_ADMA_LCD_PWM0_OUT 0x60 /* SODIMM 59 */ - >; - }; - - /* Colibri PWM_B */ - pinctrl_pwm_b: pwmbgrp { - fsl,pins = < - IMX8QXP_UART1_TX_LSIO_PWM0_OUT 0x60 /* SODIMM 28 */ - >; - }; - - /* Colibri PWM_C */ - pinctrl_pwm_c: pwmcgrp { - fsl,pins = < - IMX8QXP_UART1_RX_LSIO_PWM1_OUT 0x60 /* SODIMM 30 */ - >; - }; - - /* Colibri PWM_D */ - pinctrl_pwm_d: pwmdgrp { - /* both pins are connected together, reserve the unused CSI_D04 */ - fsl,pins = < - IMX8QXP_CSI_D04_CI_PI_D06 0x61 /* SODIMM 67 */ - IMX8QXP_UART1_RTS_B_LSIO_PWM2_OUT 0x60 /* SODIMM 67 */ - >; - }; - - /* On-module I2S */ - pinctrl_sai0: sai0grp { - fsl,pins = < - IMX8QXP_SPI0_SDI_ADMA_SAI0_TXD 0x06000040 - IMX8QXP_SPI0_CS0_ADMA_SAI0_RXD 0x06000040 - IMX8QXP_SPI0_SCK_ADMA_SAI0_TXC 0x06000040 - IMX8QXP_SPI0_SDO_ADMA_SAI0_TXFS 0x06000040 - >; - }; - - /* Colibri Audio Analogue Microphone GND */ - pinctrl_sgtl5000: sgtl5000grp { - fsl,pins = < - /* MIC GND EN */ - IMX8QXP_MIPI_CSI0_I2C0_SDA_LSIO_GPIO3_IO06 0x41 - >; - }; - - /* On-module SGTL5000 clock */ - pinctrl_sgtl5000_usb_clk: sgtl5000usbclkgrp { - fsl,pins = < - IMX8QXP_ADC_IN3_ADMA_ACM_MCLK_OUT0 0x21 - >; - }; - - /* On-module USB interrupt */ - pinctrl_usb3503a: usb3503agrp { - fsl,pins = < - IMX8QXP_MIPI_CSI0_MCLK_OUT_LSIO_GPIO3_IO04 0x61 - >; - }; - - /* Colibri USB Client Cable Detect */ - pinctrl_usbc_det: usbcdetgrp { - fsl,pins = < - IMX8QXP_ENET0_REFCLK_125M_25M_LSIO_GPIO5_IO09 0x06000040 /* SODIMM 137 */ - >; - }; - - /* USB Host Power Enable */ - pinctrl_usbh1_reg: usbh1reggrp { - fsl,pins = < - IMX8QXP_USB_SS3_TC0_LSIO_GPIO4_IO03 0x06000040 /* SODIMM 129 */ - >; - }; - - /* On-module eMMC */ - pinctrl_usdhc1: usdhc1grp { - fsl,pins = < - IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 - IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x21 - IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x21 - IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x21 - IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x21 - IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x21 - IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x21 - IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x21 - IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x21 - IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x21 - >; - }; - - pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { - fsl,pins = < - IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 - IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x21 - IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x21 - IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x21 - IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x21 - IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x21 - IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x21 - IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x21 - IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x21 - IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x21 - >; - }; - - pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { - fsl,pins = < - IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 - IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x21 - IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x21 - IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x21 - IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x21 - IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x21 - IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x21 - IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x21 - IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x21 - IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B 0x21 - >; - }; - - /* Colibri SD/MMC Card Detect */ - pinctrl_usdhc2_gpio: usdhc2gpiogrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA0_LSIO_GPIO3_IO09 0x06000021 /* SODIMM 43 */ - >; - }; - - pinctrl_usdhc2_gpio_sleep: usdhc2gpioslpgrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA0_LSIO_GPIO3_IO09 0x60 /* SODIMM 43 */ - >; - }; - - /* Colibri SD/MMC Card */ - pinctrl_usdhc2: usdhc2grp { - fsl,pins = < - IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041 /* SODIMM 47 */ - IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x21 /* SODIMM 190 */ - IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x21 /* SODIMM 192 */ - IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x21 /* SODIMM 49 */ - IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x21 /* SODIMM 51 */ - IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x21 /* SODIMM 53 */ - IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x21 - >; - }; - - pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { - fsl,pins = < - IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041 /* SODIMM 47 */ - IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x21 /* SODIMM 190 */ - IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x21 /* SODIMM 192 */ - IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x21 /* SODIMM 49 */ - IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x21 /* SODIMM 51 */ - IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x21 /* SODIMM 53 */ - IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x21 - >; - }; - - pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { - fsl,pins = < - IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041 /* SODIMM 47 */ - IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x21 /* SODIMM 190 */ - IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x21 /* SODIMM 192 */ - IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x21 /* SODIMM 49 */ - IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x21 /* SODIMM 51 */ - IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x21 /* SODIMM 53 */ - IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x21 - >; - }; - - pinctrl_usdhc2_sleep: usdhc2slpgrp { - fsl,pins = < - IMX8QXP_USDHC1_CLK_LSIO_GPIO4_IO23 0x60 /* SODIMM 47 */ - IMX8QXP_USDHC1_CMD_LSIO_GPIO4_IO24 0x60 /* SODIMM 190 */ - IMX8QXP_USDHC1_DATA0_LSIO_GPIO4_IO25 0x60 /* SODIMM 192 */ - IMX8QXP_USDHC1_DATA1_LSIO_GPIO4_IO26 0x60 /* SODIMM 49 */ - IMX8QXP_USDHC1_DATA2_LSIO_GPIO4_IO27 0x60 /* SODIMM 51 */ - IMX8QXP_USDHC1_DATA3_LSIO_GPIO4_IO28 0x60 /* SODIMM 53 */ - IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x21 - >; - }; - - pinctrl_wifi: wifigrp { - fsl,pins = < - IMX8QXP_SCU_BOOT_MODE3_SCU_DSC_RTC_CLOCK_OUTPUT_32K 0x20 - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2019 Toradex + */ + +/ { + chosen { + stdout-path = &lpuart3; + }; + + reg_module_3v3: regulator-module-3v3 { + compatible = "regulator-fixed"; + regulator-name = "+V3.3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +/* On-module I2C */ +&i2c0 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c0>, <&pinctrl_sgtl5000_usb_clk>; + status = "okay"; + + /* Touch controller */ + touchscreen@2c { + compatible = "adi,ad7879-1"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ad7879_int>; + reg = <0x2c>; + interrupt-parent = <&lsio_gpio3>; + interrupts = <5 IRQ_TYPE_EDGE_FALLING>; + touchscreen-max-pressure = <4096>; + adi,resistance-plate-x = <120>; + adi,first-conversion-delay = /bits/ 8 <3>; + adi,acquisition-time = /bits/ 8 <1>; + adi,median-filter-size = /bits/ 8 <2>; + adi,averaging = /bits/ 8 <1>; + adi,conversion-interval = /bits/ 8 <255>; + }; +}; + +/* Colibri I2C */ +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; +}; + +/* Colibri UART_B */ +&lpuart0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart0>; +}; + +/* Colibri UART_C */ +&lpuart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart2>; +}; + +/* Colibri UART_A */ +&lpuart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart3>, <&pinctrl_lpuart3_ctrl>; +}; + +/* Colibri FastEthernet */ +&fec1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_fec1>; + pinctrl-1 = <&pinctrl_fec1_sleep>; + phy-mode = "rmii"; + phy-handle = <ðphy0>; + fsl,magic-packet; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@2 { + compatible = "ethernet-phy-ieee802.3-c22"; + max-speed = <100>; + reg = <2>; + }; + }; +}; + +/* On-module eMMC */ +&usdhc1 { + bus-width = <8>; + non-removable; + no-sd; + no-sdio; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>; + status = "okay"; +}; + +/* Colibri SD/MMC Card */ +&usdhc2 { + bus-width = <4>; + cd-gpios = <&lsio_gpio3 9 GPIO_ACTIVE_LOW>; + vmmc-supply = <®_module_3v3>; + pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; + pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; + pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; + pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; + pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>; + disable-wp; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>; + + /* On-module touch pen-down interrupt */ + pinctrl_ad7879_int: ad7879intgrp { + fsl,pins = ; + }; + + /* Colibri Analogue Inputs */ + pinctrl_adc0: adc0grp { + fsl,pins = , /* SODIMM 8 */ + , /* SODIMM 6 */ + , /* SODIMM 4 */ + ; /* SODIMM 2 */ + }; + + pinctrl_can_int: canintgrp { + fsl,pins = ; /* SODIMM 73 */ + }; + + pinctrl_csi_ctl: csictlgrp { + fsl,pins = , /* SODIMM 77 */ + ; /* SODIMM 89 */ + }; + + pinctrl_ext_io0: extio0grp { + fsl,pins = ; /* SODIMM 135 */ + }; + + /* Colibri Ethernet: On-module 100Mbps PHY Micrel KSZ8041 */ + pinctrl_fec1: fec1grp { + fsl,pins = , + , + , + , + , + , + , + , + , + ; + }; + + pinctrl_fec1_sleep: fec1slpgrp { + fsl,pins = , + , + , + , + , + , + , + , + , + ; + }; + + /* Colibri optional CAN on UART_B RTS/CTS */ + pinctrl_flexcan1: flexcan0grp { + fsl,pins = , /* SODIMM 32 */ + ; /* SODIMM 34 */ + }; + + /* Colibri optional CAN on PS2 */ + pinctrl_flexcan2: flexcan1grp { + fsl,pins = , /* SODIMM 55 */ + ; /* SODIMM 63 */ + }; + + /* Colibri optional CAN on UART_A TXD/RXD */ + pinctrl_flexcan3: flexcan2grp { + fsl,pins = , /* SODIMM 35 */ + ; /* SODIMM 33 */ + }; + + /* Colibri LCD Back-Light GPIO */ + pinctrl_gpio_bl_on: gpioblongrp { + fsl,pins = ; /* SODIMM 71 */ + }; + + pinctrl_gpiokeys: gpiokeysgrp { + fsl,pins = ; /* SODIMM 45 */ + }; + + pinctrl_hog0: hog0grp { + fsl,pins = , /* SODIMM 65 */ + , /* SODIMM 65 */ + , /* SODIMM 69 */ + , /* SODIMM 79 */ + , /* SODIMM 79 */ + , /* SODIMM 85 */ + , /* SODIMM 85 */ + , /* SODIMM 95 */ + , /* SODIMM 97 */ + , /* SODIMM 97 */ + , /* SODIMM 99 */ + , /* SODIMM 101 */ + , /* SODIMM 101 */ + , /* SODIMM 103 */ + , /* SODIMM 103 */ + , /* SODIMM 105 */ + , /* SODIMM 107 */ + , /* SODIMM 127 */ + , /* SODIMM 131 */ + , /* SODIMM 133 */ + , /* SODIMM 96 */ + , /* SODIMM 98 */ + , /* SODIMM 100 */ + , /* SODIMM 102 */ + , /* SODIMM 104 */ + ; /* SODIMM 106 */ + }; + + pinctrl_hog1: hog1grp { + fsl,pins = , /* SODIMM 75 */ + ; /* SODIMM 93 */ + }; + + /* + * This pin is used in the SCFW as a UART. Using it from + * Linux would require rewritting the SCFW board file. + */ + pinctrl_hog_scfw: hogscfwgrp { + fsl,pins = ; /* SODIMM 144 */ + }; + + /* On Module I2C */ + pinctrl_i2c0: i2c0grp { + fsl,pins = , + ; + }; + + /* MIPI DSI I2C accessible on SODIMM (X1) and FFC (X2) */ + pinctrl_i2c0_mipi_lvds0: i2c0mipilvds0grp { + fsl,pins = , /* SODIMM 140 */ + ; /* SODIMM 142 */ + }; + + /* MIPI CSI I2C accessible on SODIMM (X1) and FFC (X3) */ + pinctrl_i2c0_mipi_lvds1: i2c0mipilvds1grp { + fsl,pins = , /* SODIMM 186 */ + ; /* SODIMM 188 */ + }; + + /* Colibri I2C */ + pinctrl_i2c1: i2c1grp { + fsl,pins = , /* SODIMM 196 */ + ; /* SODIMM 194 */ + }; + + /* Colibri Parallel RGB LCD Interface */ + pinctrl_lcdif: lcdifgrp { + fsl,pins = , /* SODIMM 56 */ + , /* SODIMM 68 */ + , /* SODIMM 82 */ + , /* SODIMM 44 */ + , /* SODIMM 44 */ + , /* SODIMM 76 */ + , /* SODIMM 76 */ + , /* SODIMM 70 */ + , /* SODIMM 60 */ + , /* SODIMM 58 */ + , /* SODIMM 78 */ + , /* SODIMM 72 */ + , /* SODIMM 80 */ + , /* SODIMM 46 */ + , /* SODIMM 62 */ + , /* SODIMM 48 */ + , /* SODIMM 74 */ + , /* SODIMM 50 */ + , /* SODIMM 52 */ + , /* SODIMM 54 */ + , /* SODIMM 66 */ + , /* SODIMM 64 */ + , /* SODIMM 57 */ + , /* SODIMM 57 */ + ; /* SODIMM 61 */ + }; + + /* Colibri SPI */ + pinctrl_lpspi2: lpspi2grp { + fsl,pins = , /* SODIMM 86 */ + , /* SODIMM 92 */ + , /* SODIMM 90 */ + ; /* SODIMM 88 */ + }; + + /* Colibri UART_B */ + pinctrl_lpuart0: lpuart0grp { + fsl,pins = , /* SODIMM 36 */ + , /* SODIMM 38 */ + , /* SODIMM 34 */ + ; /* SODIMM 32 */ + }; + + /* Colibri UART_C */ + pinctrl_lpuart2: lpuart2grp { + fsl,pins = , /* SODIMM 19 */ + ; /* SODIMM 21 */ + }; + + /* Colibri UART_A */ + pinctrl_lpuart3: lpuart3grp { + fsl,pins = , /* SODIMM 33 */ + ; /* SODIMM 35 */ + }; + + /* Colibri UART_A Control */ + pinctrl_lpuart3_ctrl: lpuart3ctrlgrp { + fsl,pins = , /* SODIMM 23 */ + , /* SODIMM 25 */ + , /* SODIMM 27 */ + , /* SODIMM 29 */ + , /* SODIMM 31 */ + ; /* SODIMM 37 */ + }; + + /* On module wifi module */ + pinctrl_pcieb: pciebgrp { + fsl,pins = , /* SODIMM 178 */ + , /* SODIMM 94 */ + ; /* SODIMM 81 */ + }; + + /* Colibri PWM_A */ + pinctrl_pwm_a: pwmagrp { + /* both pins are connected together, reserve the unused CSI_D05 */ + fsl,pins = , /* SODIMM 59 */ + ; /* SODIMM 59 */ + }; + + /* Colibri PWM_B */ + pinctrl_pwm_b: pwmbgrp { + fsl,pins = ; /* SODIMM 28 */ + }; + + /* Colibri PWM_C */ + pinctrl_pwm_c: pwmcgrp { + fsl,pins = ; /* SODIMM 30 */ + }; + + /* Colibri PWM_D */ + pinctrl_pwm_d: pwmdgrp { + /* both pins are connected together, reserve the unused CSI_D04 */ + fsl,pins = , /* SODIMM 67 */ + ; /* SODIMM 67 */ + }; + + /* On-module I2S */ + pinctrl_sai0: sai0grp { + fsl,pins = , + , + , + ; + }; + + /* Colibri Audio Analogue Microphone GND */ + pinctrl_sgtl5000: sgtl5000grp { + fsl,pins = ; + }; + + /* On-module SGTL5000 clock */ + pinctrl_sgtl5000_usb_clk: sgtl5000usbclkgrp { + fsl,pins = ; + }; + + /* On-module USB interrupt */ + pinctrl_usb3503a: usb3503agrp { + fsl,pins = ; + }; + + /* Colibri USB Client Cable Detect */ + pinctrl_usbc_det: usbcdetgrp { + fsl,pins = ; /* SODIMM 137 */ + }; + + /* USB Host Power Enable */ + pinctrl_usbh1_reg: usbh1reggrp { + fsl,pins = ; /* SODIMM 129 */ + }; + + /* On-module eMMC */ + pinctrl_usdhc1: usdhc1grp { + fsl,pins = , + , + , + , + , + , + , + , + , + , + , + ; + }; + + pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { + fsl,pins = , + , + , + , + , + , + , + , + , + , + , + ; + }; + + pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { + fsl,pins = , + , + , + , + , + , + , + , + , + , + , + ; + }; + + /* Colibri SD/MMC Card Detect */ + pinctrl_usdhc2_gpio: usdhc2gpiogrp { + fsl,pins = ; /* SODIMM 43 */ + }; + + pinctrl_usdhc2_gpio_sleep: usdhc2gpioslpgrp { + fsl,pins = ; /* SODIMM 43 */ + }; + + /* Colibri SD/MMC Card */ + pinctrl_usdhc2: usdhc2grp { + fsl,pins = , /* SODIMM 47 */ + , /* SODIMM 190 */ + , /* SODIMM 192 */ + , /* SODIMM 49 */ + , /* SODIMM 51 */ + , /* SODIMM 53 */ + ; + }; + + pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { + fsl,pins = , /* SODIMM 47 */ + , /* SODIMM 190 */ + , /* SODIMM 192 */ + , /* SODIMM 49 */ + , /* SODIMM 51 */ + , /* SODIMM 53 */ + ; + }; + + pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { + fsl,pins = , /* SODIMM 47 */ + , /* SODIMM 190 */ + , /* SODIMM 192 */ + , /* SODIMM 49 */ + , /* SODIMM 51 */ + , /* SODIMM 53 */ + ; + }; + + pinctrl_usdhc2_sleep: usdhc2slpgrp { + fsl,pins = , /* SODIMM 47 */ + , /* SODIMM 190 */ + , /* SODIMM 192 */ + , /* SODIMM 49 */ + , /* SODIMM 51 */ + , /* SODIMM 53 */ + ; + }; + + pinctrl_wifi: wifigrp { + fsl,pins = ; + }; +}; From patchwork Tue Mar 14 10:23:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69468 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677970wrd; Tue, 14 Mar 2023 03:37:14 -0700 (PDT) X-Google-Smtp-Source: AK7set/7gmB3FQu9yNistNUQ6UOcMk9cgzXAyOQdE18SNu0MWsezlmpQXI1/8kpgALGBzS/FjHAi X-Received: by 2002:a05:6a20:748c:b0:cf:71ee:6326 with SMTP id p12-20020a056a20748c00b000cf71ee6326mr32589829pzd.5.1678790233992; Tue, 14 Mar 2023 03:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790233; cv=none; d=google.com; s=arc-20160816; b=RicVTMz6dYxI700HdkVrZFYjSwJnbmnBtn14yze3sjUMyjln9sQaH9gsBdn03Je4CV rdcpRcWcfMUhxf9LQr3eTr7iV/CV5WFcphmT7rN+vpUDfXaYf3NZorvYrkXorA2LjV64 HNi0gQ/8vY/SziZZXy4Bf3DgvG5OXEVMKjWBcspwWaCxpcvswI6p05vNtqHFCR2uzYo4 OGFn5BkjScqPex3WUYdeQyyfvVZDpjySBJLeEi3Qh+dvq2fV1hdOGXn2JO8xn8JpB1Tg gli3jp3TMxfN8LIpW6nHb8pYnzmoQohMEFNw082AzPlDehDHyK7jA9BsbJuDOzXG5gDr UFQw== 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=O5cxUS3trPv+ZlNoCTE4QA0Cw6BXkzUpvyv4hCduGs8=; b=B7de2mKsdNyO3Mfqm3ipdO7Wy8lCeEfxnw0LisndvFEwcVck0Rll2nhdLDEMeYU11U lkGcBbyQrciWkUybyaInvj4CCrsQOeToy+GaTmpxfODIu2XeDWSAW2ZGgSgOjcy67HX6 1cp7CocNt6lhZJboSUBlt5PS/ZE8VZYDJqPh+MVnTBE5rgLR36yGFzxmO5ZHnnObXKHH IQFo/C84F4EJnRn+fxJGTlCAfybsTfcjRJbUNtEyNdyZBV24YQyc8sQl/Jm4v8rON5DB 3EEgvAqgsA+95XIA85UMcqgMMNYGk8r59xSpKBTgjZgsnSgM72QQE9HF6MH5NHiKwHaI 2KNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=hcqGCqir; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b00503a029385asi1986642pgh.849.2023.03.14.03.37.00; Tue, 14 Mar 2023 03:37:13 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=hcqGCqir; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbjCNKZY (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbjCNKY7 (ORCPT ); Tue, 14 Mar 2023 06:24:59 -0400 Received: from smtp-1908.mail.infomaniak.ch (smtp-1908.mail.infomaniak.ch [IPv6:2001:1600:4:17::1908]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F1BA1910B for ; Tue, 14 Mar 2023 03:24:28 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4l3jbmzMqQFy; Tue, 14 Mar 2023 11:24:23 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4k75l7z2MRS; Tue, 14 Mar 2023 11:24:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789463; bh=y97wbsSaRyy+Xz4CVOlEJ3O6/XMepnOV1BZM10kNFE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hcqGCqirFY5cm9vhY2Ck4gPkYKEqPHJA4qc7/RSehas1upzFejTmyHVfzYQu+g2HS O3znZ18cNONB7wGmUqy0qzhisjVMQtLZ14S9ieDet8e3PV/OaC/IgRZW5cX5oHh7hR XMqfFXMklDC8DN4r7wH4YU9b6CGAY4urjG9kf9Jk= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 04/23] arm64: dts: colibri-imx8x: Add atmel pinctrl groups Date: Tue, 14 Mar 2023 11:23:50 +0100 Message-Id: <20230314102410.424773-5-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760339148285236885?= X-GMAIL-MSGID: =?utf-8?q?1760339148285236885?= From: Philippe Schenker Add pinctrl groups for enabling atmel touchscreen support. Remove the pads out of pinctrl_hog0 as they now can be enabled more specific using pinctrl_atmel_conn label. Signed-off-by: Philippe Schenker --- (no changes since v1) .../boot/dts/freescale/imx8x-colibri.dtsi | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 4e0d5762b76c..5019439a3a75 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -134,6 +134,22 @@ pinctrl_adc0: adc0grp { ; /* SODIMM 2 */ }; + /* Atmel MXT touchsceen + Capacitive Touch Adapter */ + /* NOTE: This pingroup conflicts with pingroups + * pinctrl_pwm_b/pinctrl_pwm_c. Don't enable them + * simultaneously. + */ + pinctrl_atmel_adap: atmeladaptergrp { + fsl,pins = , /* SODIMM 30 */ + ; /* SODIMM 28 */ + }; + + /* Atmel MXT touchsceen + boards with built-in Capacitive Touch Connector */ + pinctrl_atmel_conn: atmelconnectorgrp { + fsl,pins = , /* SODIMM 107 */ + ; /* SODIMM 106 */ + }; + pinctrl_can_int: canintgrp { fsl,pins = ; /* SODIMM 73 */ }; @@ -218,7 +234,6 @@ pinctrl_hog0: hog0grp { , /* SODIMM 103 */ , /* SODIMM 103 */ , /* SODIMM 105 */ - , /* SODIMM 107 */ , /* SODIMM 127 */ , /* SODIMM 131 */ , /* SODIMM 133 */ @@ -226,8 +241,7 @@ pinctrl_hog0: hog0grp { , /* SODIMM 98 */ , /* SODIMM 100 */ , /* SODIMM 102 */ - , /* SODIMM 104 */ - ; /* SODIMM 106 */ + ; /* SODIMM 104 */ }; pinctrl_hog1: hog1grp { From patchwork Tue Mar 14 10:23:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69464 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677794wrd; Tue, 14 Mar 2023 03:36:49 -0700 (PDT) X-Google-Smtp-Source: AK7set/57/AATDJjbd4vtaKmRRFs/zUiPhJNLBsFTGCSy6Nl6l+JQAYNuEFcB09eON+MVS6aYSBi X-Received: by 2002:a17:903:484:b0:19c:a3be:da10 with SMTP id jj4-20020a170903048400b0019ca3beda10mr32141064plb.12.1678790209596; Tue, 14 Mar 2023 03:36:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790209; cv=none; d=google.com; s=arc-20160816; b=YBD4Jj+SHwtwPBUY5FihViiaOSZYLkrLRm97pikC6pKFAi7s9Wan8iV/asnF+dQ9ur cfDyCQqJlSKKVj8UBn/n6DFaZj20BR/nyPNFV5BS0WKaAFCDCSZeY78Rd8s9kbcB9n4Q Qg6zNjalE5CbHB76N01yPBuOZ+ssfRislS6xI5/VwKEiILGVtHTSrOAfYoJPJ/CO3ot2 mG30TjyQlRGl/r8ojdQtkAA0sDPlpVd/gJHJKd44P/X1o1ZGuZK576nMVRIVXhTQbzMx mzeqhMFeCR6/ZssD6cxeRbfJiAkt+MDkkq+uCqjg2vW18h7WRgGdrjyyJaJ7sPGkvO3D JBpg== 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=ggIXucweSjPCtbSOxJ6DGJmEP0awnGN5LMj0+g3Exdk=; b=VfXsMbU19UR7xR3yznSKge62l4/CqHES1V3iIomd3DBrjhKyTHbiX76ioTZcXjiz3J fhKrOyGEppjC5KpsikAcmMgoDvz6mRbPVsKwDprFz5qMrYCxHkehLCx+jkjLMG8Xa2+N tWt6JTiN85lJPfDmBpanvQKpd4pErf07xYDRQXbsE8e3bvghyLvejAD1aFvvSmBIJas0 8r+vmHb4hFVN4s4B78nUp78NQVhU4HoM/iIVsMWnpQ0KsfqNpbag3yyN0tB62yuppMXy MMZO6UunvP3lNKulxPWHedygy67/3j+UIXLWSjgvrVR2hBP2VFc56MxJGP202faNzfTM QTXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=Zcn6rfFX; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i35-20020a631323000000b0050920f7af29si1842549pgl.786.2023.03.14.03.36.35; Tue, 14 Mar 2023 03:36:49 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=Zcn6rfFX; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231281AbjCNK0a (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230229AbjCNKZ0 (ORCPT ); Tue, 14 Mar 2023 06:25:26 -0400 Received: from smtp-8faa.mail.infomaniak.ch (smtp-8faa.mail.infomaniak.ch [IPv6:2001:1600:4:17::8faa]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43D3F7F020 for ; Tue, 14 Mar 2023 03:25:03 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4m0YLxzMqPNc; Tue, 14 Mar 2023 11:24:24 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4l4SJbz2MRr; Tue, 14 Mar 2023 11:24:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789463; bh=I0KeS8ugAQYe9CD2SmZqCUD+uUthjX5OaJZElwBkz60=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zcn6rfFXQg8xqtwoS0HZLpSO0yRDZO5OQ9RPWaDIxFnKlcCYxKEGVU2wwNCj9v2np wX/TMsxAc+zKffj6XIsXKimwl5/bosn5IsMtJ/SByxPG/Ge4Tf2nxNzxeqOvmKfciU b7uKuMgK+sP/e5DATmRD8PWDBfyqHc0JMmDxSy+U= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 05/23] arm64: dts: colibri-imx8x: Add pinctrl group for csi_mclk Date: Tue, 14 Mar 2023 11:23:51 +0100 Message-Id: <20230314102410.424773-6-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable 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?1760339123138197540?= X-GMAIL-MSGID: =?utf-8?q?1760339123138197540?= From: Philippe Schenker Add missing pinctrl groups that can be used to enable the correct muxing if csi_mclk is needed on SODIMM 75. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 5019439a3a75..a352246aa1f3 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -159,6 +159,10 @@ pinctrl_csi_ctl: csictlgrp { ; /* SODIMM 89 */ }; + pinctrl_csi_mclk: csimclkgrp { + fsl,pins = ; /* SODIMM 75 / X3-12 */ + }; + pinctrl_ext_io0: extio0grp { fsl,pins = ; /* SODIMM 135 */ }; From patchwork Tue Mar 14 10:23:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69444 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1675989wrd; Tue, 14 Mar 2023 03:32:19 -0700 (PDT) X-Google-Smtp-Source: AK7set+NYllBd8nFyV3H8J5wURaso0v/1FchFscFQUt8ipW0vUJhJPsqpH8lDy6d0zwXt/9Sc0K5 X-Received: by 2002:a17:90b:164a:b0:234:a88e:d67e with SMTP id il10-20020a17090b164a00b00234a88ed67emr38924333pjb.34.1678789939598; Tue, 14 Mar 2023 03:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678789939; cv=none; d=google.com; s=arc-20160816; b=cIzeF77ParmsQ//Taqn/TMxJtXwcush6gyEz9EFppv1605NXmwqMfy8j1bOi/9bKkx OHqqYhb6K6T8AB/EZ9R9wYw+Jzlzf3t6F+YkRgO3YZ7zHnEo3NSSg6zZuMjFmXo3BukK Wx4GSzNnEcGXOLL1D2C28xvML3egESE5O4vCaAeeUdPbd8dIN2WV4MR8sbYvnso5z6+p 4YpPGuztOKs64Xibz6gu5yTxqSHJ104X1/6c/Sgt1WG3DDIdQZmLY9NJ3ZPv0JeTitcV gWoKK5Q+qDLE6xhOjQzk29Y3mX9nUtrYzE1TBveddm5WQXghME6STsva8idmjzqZtlvt GC1g== 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=Maz7krUQkidn1qOgSt7pI72OvuoTILOZkPWCbMAOQhA=; b=afvjEMRyv++rY2QaEk7PIarm7kXFGLp3YmkFajIHcAPXFvPaWtZv6eADqhKDGgOhqi fraUj2My35A1DhBScurE0WPGPsiIah7G4Exs0G3wqVjJVWU2EVHEr2MnIzrJp/89IWMV qdrCaIEZs21euKal9XdxmWpuaYX2Ab4FYlHNGIfLi3M/zPssUyH7ZQNOnm9JQAtX2O86 B54+IgAR4x6aPrNg32HSRXRxSf1wG89pRjmvMudSsxGDm2InlaYEEbCqk4BXZxyZxoOY Hz7dvibnYZfuF7dcXYd/kTLS30Yms0zXna6w4LtIYmJAl0cyLs8gwYLVxzSVWV4nVQZZ +n9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=a7e8l1v3; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a17090a974500b002301345a517si2108841pjw.17.2023.03.14.03.32.04; Tue, 14 Mar 2023 03:32:19 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=a7e8l1v3; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231238AbjCNK1J (ORCPT + 99 others); Tue, 14 Mar 2023 06:27:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbjCNK0N (ORCPT ); Tue, 14 Mar 2023 06:26:13 -0400 Received: from smtp-8fa8.mail.infomaniak.ch (smtp-8fa8.mail.infomaniak.ch [83.166.143.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6142A2799E for ; Tue, 14 Mar 2023 03:25:21 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4m4tFdzMqPvm; Tue, 14 Mar 2023 11:24:24 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4m1JcSz2N3f; Tue, 14 Mar 2023 11:24:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789464; bh=HIHduv343O/RfhGallEGN58ltkLdGgRfwOahZt9TG1w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a7e8l1v34pvPTt4I0WPFXow4DQk+XHDkfDER61PaIpFDZvcriA5QBtA0GPI0vTlbB xi9d8RStN38aBII5E0UcMF2MMmygwIYUcGDLUG4eyTKGyXSgKvGi0xQLRIP9YUjVp0 m4/KPm+GlBLSKYuHn0eyQXEfzkNZQlq1kkiVxbqo= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 06/23] arm64: dts: colibri-imx8x: Split pinctrl_hog1 Date: Tue, 14 Mar 2023 11:23:52 +0100 Message-Id: <20230314102410.424773-7-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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?1760338839288596388?= X-GMAIL-MSGID: =?utf-8?q?1760338839288596388?= From: Philippe Schenker Split pinctrl_hog1 into a second group so CSI_MCLK can be muxed to a gpio on its own. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index a352246aa1f3..10dce84dc153 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -119,7 +119,8 @@ &usdhc2 { &iomuxc { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>; + pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>, + <&pinctrl_hog2>; /* On-module touch pen-down interrupt */ pinctrl_ad7879_int: ad7879intgrp { @@ -253,6 +254,10 @@ pinctrl_hog1: hog1grp { ; /* SODIMM 93 */ }; + pinctrl_hog2: hog2grp { + fsl,pins = ; /* SODIMM 75 */ + }; + /* * This pin is used in the SCFW as a UART. Using it from * Linux would require rewritting the SCFW board file. From patchwork Tue Mar 14 10:23:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69456 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677519wrd; Tue, 14 Mar 2023 03:36:16 -0700 (PDT) X-Google-Smtp-Source: AK7set/vyZ6TwH/eOsON1IPdhHEzJyCRfQ77OSL5rGwMkJzqNmDQD6+IxEgIPKy9H4VZ6KNpi6Hg X-Received: by 2002:a17:902:cec1:b0:19c:a86d:b34e with SMTP id d1-20020a170902cec100b0019ca86db34emr47401240plg.4.1678790176008; Tue, 14 Mar 2023 03:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790175; cv=none; d=google.com; s=arc-20160816; b=lPI13EANM0s5s6o6pWkqC+pbe21y27IEIh5ptYDRCYdjuHcqEjwfV4UlPWEqRNC+la 5ad9JJd1Q/JCN5unUnwVuPAqj50CAjxhfkFyEuMZ5RdrELAyCi+hixSIO2IK98VbSo7S sAhx2l3WOd7tRDmsDLD+zF5+8d987M2xCtZZPDN9VvrzlWOET/UqbaxV8VxwCY9tLuqE LQHFq/tEVXkJ3cWXBFxFMes5eAUZ3A2olok5tUZSLXntakIn4HtSrbDg21nexlvm0hFA ZtotWKIlMJEY8nObhROjgGymVUPdrBWxNjPACfxJr96psTtUpn/yr7aWTazrauXi7cm5 7FLw== 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=9IY/dK5kOzZ02jfeZ1tj8Q+hfg4u3AaoWfHaUfJVZ1g=; b=sg4JjN+ddHIEiTMEkbTxGwhflqs9rczgWBzNmsHgVMg5HRnycTPir91bYmhC97JYMh +Qnx36HNvy1WBzNBFdQMPAA0xdAMI5ALZ9Mog1rIes0Ce3f2GLhPpQUcoq1uPEWiEPs8 LDUYzy/woNob1sg2W9d6sTbB4RO71mxmYYG+ZJHVv5x6SGe0IPLJbIXybS/mbclhxc+J W5JT58rZ4Wh9ehhi6OJyezhdRIuqT6V7jtIjURb3d5qtSECXE6s2RcEyM0QdX2JeXy2l C3NWT+Y8WzPIqSHyCoBv3uEGc3O8ohHQcKKo7+SEQ0y2/73aotEAUCwXNt1z6gBzjlyX IBpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=FRjiPwcf; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 31-20020a630c5f000000b00508ef6ce863si1855824pgm.581.2023.03.14.03.36.03; Tue, 14 Mar 2023 03:36:15 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=FRjiPwcf; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231221AbjCNKZo (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230487AbjCNKZA (ORCPT ); Tue, 14 Mar 2023 06:25:00 -0400 Received: from smtp-190e.mail.infomaniak.ch (smtp-190e.mail.infomaniak.ch [IPv6:2001:1600:4:17::190e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA60D9BE29 for ; Tue, 14 Mar 2023 03:24:28 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4n2FcRzMqQGx; Tue, 14 Mar 2023 11:24:25 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4m5cgrz2N3w; Tue, 14 Mar 2023 11:24:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789465; bh=+onK7eaGZ380BYytwnmLdj2VsO+vJYYJ0pcAXmCDRfA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FRjiPwcfZZ8Qo7EL+fb94f8qOiWDvtu3U2sBdAl6X4s5SVgpq38m2/piy5u3q9RA9 2UlRZC+Rh7hYApN8aJs9UQSih3W4WdvTOtLe5BKkYLdJeHY0J8vZtbWQ9ao/i9Rp49 yjglz+EC3Andzl02sxS0fft3/A8vkYupayQx+J+c= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 07/23] arm64: dts: colibri-imx8x: Correct pull on lcdif Date: Tue, 14 Mar 2023 11:23:53 +0100 Message-Id: <20230314102410.424773-8-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable 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?1760339087641598920?= X-GMAIL-MSGID: =?utf-8?q?1760339087641598920?= From: Philippe Schenker The pads USDHC1_RESET_B and MCLK_IN1 need a pull-down instead of pull-disabled. Correct this. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 10dce84dc153..26bf14cf5343 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -295,8 +295,8 @@ pinctrl_lcdif: lcdifgrp { fsl,pins = , /* SODIMM 56 */ , /* SODIMM 68 */ , /* SODIMM 82 */ - , /* SODIMM 44 */ - , /* SODIMM 44 */ + , /* SODIMM 44 */ + , /* SODIMM 44 */ , /* SODIMM 76 */ , /* SODIMM 76 */ , /* SODIMM 70 */ From patchwork Tue Mar 14 10:23:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69472 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1678051wrd; Tue, 14 Mar 2023 03:37:28 -0700 (PDT) X-Google-Smtp-Source: AK7set8mRAlAwkaB3wyciZK1GMn9T8BD+SSFSuocQNlVfxtpyHbhrqbG0XZqDamakkaxGBHLDTNZ X-Received: by 2002:a17:902:e543:b0:19d:1ffd:148d with SMTP id n3-20020a170902e54300b0019d1ffd148dmr44136403plf.46.1678790247894; Tue, 14 Mar 2023 03:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790247; cv=none; d=google.com; s=arc-20160816; b=LkxrFxJv3tdJnMrZsX6VhabildJXxNIETNN/RqUNxeoXTlTEV9ByEBJQ9O8IEkF8bV /vhRrr81Go0IERgSrvvJ6CH/B61DPVUpoTOmN9ML8sGT0DT2PoSrXsR/IuWCm5EEVxCX +yUZKQLr7Z8tgi1BqJClTNao9lCIGQ3RfspaDbN35z+sm4t45EClmrwp6oZXwVNQLuFY fI89gyi8bJt3/sw5YX+sW/IeeACl4NU7qf+EWLrcbdx1J6XvoOBGuB2m2bbxd0IdzjG8 rnnubJ0KPmPE7vlSgFKCViwnNFUDUd5PzRQjzfUIRSX7GgdsD41MhapS6RNdtZ+kXiLh j1jw== 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=nVrP/motMarBBYETZNbGrTj4SGAcpthzaa4ox330S9o=; b=dNmdkC7bTzaVbbgaA7xyFJKIL/knqczQf9IDrO8/pvigAXHrxxIPQCtoTvWTABOqeV MIXdb3+W95l5xdLpxgkRj18HUtvBRePNThlg8QfI4hMEwc6hv9uJNcx8HPFzwKJQ13SN uQREEUOOQVax3b3mMOGODT8rnOYgVzqYZ5uMLYYRIjjQQUywpmWgqWahmMqvKpclZ+NU +TC/RHeOpeIJbnejsNzypDb1nDJ5Uz7NCdr9z8LYLz8mr0iQp/z/4+4qHIKPA4mQIqPW CxqWr1WBBD1pEPbl4vdhpYrAJ7gmU5u4lpGqbJx77xB9VwcqZ+hXjOZY4zXH3SEyeZNW qFLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=LB8EZjRG; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c6-20020a170903234600b0019e6a6c8cfbsi2268137plh.549.2023.03.14.03.37.15; Tue, 14 Mar 2023 03:37:27 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=LB8EZjRG; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230521AbjCNKZg (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230491AbjCNKZC (ORCPT ); Tue, 14 Mar 2023 06:25:02 -0400 Received: from smtp-8fae.mail.infomaniak.ch (smtp-8fae.mail.infomaniak.ch [IPv6:2001:1600:4:17::8fae]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9282EC14A for ; Tue, 14 Mar 2023 03:24:30 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4n6YldzMqQFl; Tue, 14 Mar 2023 11:24:25 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4n34Mfz2MSK; Tue, 14 Mar 2023 11:24:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789465; bh=2xjbI6a1WqgCjyvEIZ/djew2Pp6WJIdI/TFBsRr1UDw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LB8EZjRGirZRcvTLbpmKfRuubkUl34V/z00AQGdz6Zf9MpEAMOSvjRlpejBYcn+EA 4e5FvsSYFXODsjjdpgfbfIVk6TH29dyvmOWlyZ2fvq8oTN+xSXq66kD1FJ3hxYu9tq NiuXNWdzXMilIOMovg4YHGliKG5YHMMNvnho/yh0= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 08/23] arm64: dts: colibri-imx8x: Add separate pinctrl group for cs2 Date: Tue, 14 Mar 2023 11:23:54 +0100 Message-Id: <20230314102410.424773-9-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760339162805380842?= X-GMAIL-MSGID: =?utf-8?q?1760339162805380842?= From: Philippe Schenker Add a separate pinctrl group for chip-select 2 for Colibri SPI. That way one is able to use it separately. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 26bf14cf5343..1d4e127ffa7e 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -120,7 +120,7 @@ &usdhc2 { &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>, - <&pinctrl_hog2>; + <&pinctrl_hog2>, <&pinctrl_lpspi2_cs2>; /* On-module touch pen-down interrupt */ pinctrl_ad7879_int: ad7879intgrp { @@ -223,8 +223,7 @@ pinctrl_gpiokeys: gpiokeysgrp { }; pinctrl_hog0: hog0grp { - fsl,pins = , /* SODIMM 65 */ - , /* SODIMM 65 */ + fsl,pins = , /* SODIMM 65 */ , /* SODIMM 69 */ , /* SODIMM 79 */ , /* SODIMM 79 */ @@ -327,6 +326,10 @@ pinctrl_lpspi2: lpspi2grp { ; /* SODIMM 88 */ }; + pinctrl_lpspi2_cs2: lpspi2cs2grp { + fsl,pins = ; /* SODIMM 65 */ + }; + /* Colibri UART_B */ pinctrl_lpuart0: lpuart0grp { fsl,pins = , /* SODIMM 36 */ From patchwork Tue Mar 14 10:23:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69459 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677642wrd; Tue, 14 Mar 2023 03:36:31 -0700 (PDT) X-Google-Smtp-Source: AK7set+f+uY7tZC8GJJFfiUug5ufZZRdC+rojjzOfSTCcODlHNIcCDe+FqOKtejXSvp01cyjtvnv X-Received: by 2002:a17:903:190:b0:19d:2542:96a4 with SMTP id z16-20020a170903019000b0019d254296a4mr48120367plg.4.1678790191470; Tue, 14 Mar 2023 03:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790191; cv=none; d=google.com; s=arc-20160816; b=B1nDF9uqwzyQMwRucwtMnmw5fvUmmUpLu6OuoRfa+9LJbWsuKDdEfHGGJfnBke1Gn8 8P8lfhO4h3QtqVjd6FDESnwkNUIvegG7YbJeGZe5Xv0d9u3VgNsgb8MBVodvhJGNjSnK 69gBvDv/BXmpjgt2F49A263QbDI7o2od8dTlua6ZzDFL5qS5ztyUNoibCb6ts2MkEe/Z mYrvLZ61KNG4TIE9MCJqKJuf1JEitVpZkCDow9Zm2jO2et+hdnRohBDXvdFtoATAyG/N vI8cUHS3dOrgQctHaYzRIMoOK0cHfsz4aCt/Gc9YdSmRoqmAgRCJq8RzHljHCiFq+yde VzRQ== 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=xUMXRwVmPDe1Sy/ZeLc6k/mzvaTJMWFiT4FK3VHYMY4=; b=Az9kMk0fzdgAWZbL3Pu54lY62Gp1yB9uFwbW9igIUKGjiLfxWsBgL1E/KBmwJdBjLW epMEkjnQwYAIBrPp0ZStKOJT5Dr8dTZskygEVWvpWMYsZLVrVtileGKNPeX+MtuZE5b7 z5+uZoFvutIgbXRtY/bYg0Ro3w0GqndZ3K6ic3vlU+ZX9LDgT7ttPc2PLXEfQu2a3STY 5epjYE62/liBWVKPGK9nkz/vRwJE2UDpTBqeCrgYyuTlhddyACjrAayesjKzfzoDctRL p9kSIKRuGoDWFYlIPvXVGx3rw21f4I8JxfoprQV9nm3TT77hGbrShr5w9zRHcDs0JkDF k6vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=jA6PDwLv; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kt8-20020a170903088800b0019f24ac470bsi2097721plb.559.2023.03.14.03.36.19; Tue, 14 Mar 2023 03:36:31 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=jA6PDwLv; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231247AbjCNK0V (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230191AbjCNKZY (ORCPT ); Tue, 14 Mar 2023 06:25:24 -0400 Received: from smtp-bc08.mail.infomaniak.ch (smtp-bc08.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc08]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC35A23C59 for ; Tue, 14 Mar 2023 03:25:02 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4p3Z36zMqPvs; Tue, 14 Mar 2023 11:24:26 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4p0DJRz2N3f; Tue, 14 Mar 2023 11:24:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789466; bh=LMCwVVSZb/2ruE9hHglUvviPdNE8OxkWFLUjNRx9xdY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jA6PDwLvFN4+Wm7sm0Rtu+NR5/XK9skOnIAT/d9sODx3xelUM0K7qzQGaF/LG6Cnv 9x0vuPurGbm8tQ7g/TZrWTIBfU/Q7QyJEaT5fcmjw70dL/p4N9AOTRsZYTY/eGcG4z rf96/BU8Pw9lJNgy0LeeO1mRx6wbjn/pOZfj4r1s= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 09/23] arm64: dts: colibri-imx8x: Add pinctrl group for hdmi hpd Date: Tue, 14 Mar 2023 11:23:55 +0100 Message-Id: <20230314102410.424773-10-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable 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?1760339103821858405?= X-GMAIL-MSGID: =?utf-8?q?1760339103821858405?= From: Philippe Schenker The colibri imx8x contains a dedicated gpio meant for HDMI hot-plug-detect. Add a pinctrl group to make this usable. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 1d4e127ffa7e..cd7de71c6d73 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -218,6 +218,11 @@ pinctrl_gpio_bl_on: gpioblongrp { fsl,pins = ; /* SODIMM 71 */ }; + /* HDMI Hot Plug Detect on FFC (X2) */ + pinctrl_gpio_hpd: gpiohpdgrp { + fsl,pins = ; /* SODIMM 138 */ + }; + pinctrl_gpiokeys: gpiokeysgrp { fsl,pins = ; /* SODIMM 45 */ }; From patchwork Tue Mar 14 10:23:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69465 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677906wrd; Tue, 14 Mar 2023 03:37:05 -0700 (PDT) X-Google-Smtp-Source: AK7set9VJFWBBgI7dDTJkAhl1Qy6F5zYNqRciSXoarZncvoNw2JGvZVHLjGmE5ADCbNOBGygQGSH X-Received: by 2002:a17:902:ec8a:b0:19c:f2d5:5830 with SMTP id x10-20020a170902ec8a00b0019cf2d55830mr45373999plg.44.1678790225116; Tue, 14 Mar 2023 03:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790225; cv=none; d=google.com; s=arc-20160816; b=B+AgUBavLDrqnkNHLNR45OYOBbiirUpJnhnnCv3F85BU1f0TRYStEoxkRIKMeTT5TQ 3fW6krRikYrAEeNZgAptnlV0QhzT7Fi9O2KZe17lRraUb+oWebwzCrmG8VAvIi7egSS3 L6F++G91b9ytjk7koiGQl8saMdQz+hMS3eiGbEZVXKs3iFdbtLzXHtVhNZdipsoP0cUJ qM3s/UF+GAGIcOQgiEYi14ttaOqImm7aEz/a85i1kn9TqL0YEHohRIhUAvBtWFg7KN8V RtfHyjJjT+lUPhlHbHghy88vQbP5fer74iQNG6D7ii0mNs9w366rcH1xexMHJ9evvqKZ w6Ww== 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=HfpfcOLcTsEDXcRFmO6CzuZSlSmAD6s+0i9UBQ7bS/s=; b=MoCDe2j6x5r375pTZEXr6DKEKzH2YKuvFYaUxy1tAdP9gRbj/pevXWvqM42NFgF6HY wH0p1FxeIVtyl/ltycbjP83h26eSMJtkI8EQUevNfiorzwqD/RO9DGNDRh4bL+EAVoVK ehP27HOyjOGMrhnnowwWfvo2lfspaco6PN1wkV6PDizLqqHdUE6viajMGisHzQ9w2Xo0 jYYPBIsrRfrzHAoa9Gbhm2NQE3EbT3oXOnJg8H6yyFCXdn19d1WSFTY02BXQqnQPdRCp K0bMwjEbCIwNmdoyB8gGNMKSqbDVh0uAPrGmOcowxoHF9cvZq+r2p4eLntFIqibB8UqA G5jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b="O7/wHODL"; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a17090a764400b002239c987051si2073166pjl.128.2023.03.14.03.36.52; Tue, 14 Mar 2023 03:37:05 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b="O7/wHODL"; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230454AbjCNKZa (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230510AbjCNKZE (ORCPT ); Tue, 14 Mar 2023 06:25:04 -0400 Received: from smtp-bc0a.mail.infomaniak.ch (smtp-bc0a.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc0a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7414D19F1E for ; Tue, 14 Mar 2023 03:24:33 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4q0k4hzMqPwM; Tue, 14 Mar 2023 11:24:27 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4p4Kb6z2MSL; Tue, 14 Mar 2023 11:24:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789467; bh=9EjrjkcAseiSuH4XNzAuihLCa8ybEi2XPdLoIDXTnhQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O7/wHODLXJJVDx7N0cvUOM8iELn1DHe2vGklOA3hoXpiQ/1UeYlOIlPsZL2XRvKpy ixiFmqfMhdzutVJhkFdjQG5BY+BNC0cw0OAiJEr2mtD8B1FlS0h+gBiC7IlWs/Eemd Os8e6dAUwD5ucSBXUGnLe8bkyIRzloaUcqVP48uA= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 10/23] arm64: dts: colibri-imx8x: Add SPI Date: Tue, 14 Mar 2023 11:23:56 +0100 Message-Id: <20230314102410.424773-11-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760339138952641623?= X-GMAIL-MSGID: =?utf-8?q?1760339138952641623?= From: Philippe Schenker Add Colibri SPI to the board. lpspi2 is being exposed on the SoM edge. Add settings to the module-level but finally enable it on the eval-board dtsi. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index dc0339b35a3c..1d0bad085ad4 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -36,6 +36,11 @@ rtc_i2c: rtc@68 { }; }; +/* Colibri SPI */ +&lpspi2 { + status = "okay"; +}; + /* Colibri UART_B */ &lpuart0 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index cd7de71c6d73..a2364845e976 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -91,6 +91,13 @@ ethphy0: ethernet-phy@2 { }; }; +/* Colibri SPI */ +&lpspi2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpspi2>; + cs-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_LOW>; +}; + /* On-module eMMC */ &usdhc1 { bus-width = <8>; From patchwork Tue Mar 14 10:23:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69448 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677256wrd; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) X-Google-Smtp-Source: AK7set8UFM8ImGZ0S+P0g6GpGpnoOHf/NIooQh30tCznvHSS1RUZst3u666Mnag9Y67qZfL8DITt X-Received: by 2002:a17:902:e54c:b0:1a0:6721:6cdb with SMTP id n12-20020a170902e54c00b001a067216cdbmr1997688plf.40.1678790139444; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790139; cv=none; d=google.com; s=arc-20160816; b=0iMB8A3FQN+QbdYP3z08xqebJnqZZH6rTsNRyYmBHwND0zBtbVXsLp6oUqMRH0CoQG ptvTVN3EEi3Wa+rrb+XurYh0PHTfdFd7Xffpf/YS4GT8ppcLwVLU7VaZL5i7j8cZyDPD EQgY+TaYCo/7P0jRUtKyBYtVDT7CtCsyeEMIuzVW5+BjN2Uc1W4vZDa62Vn8FSi9/dSY cgEbh7cd1fLy9yDFS7dhxOUsSjNnpU0kHrYqMGvJyhm02uAHrQdQRFkdS0lKmx3Q1pdJ xgeMlbc7U10JOoGYEixwEHCux1omUhYyZ+Rb73v1LZLY8w3l/F7UGLnKqUnvKpMQ6F+6 vwsg== 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=ZnD347+1NJvYygK06+myw5A8ptwU3tK8Fuk6R6HsA7Q=; b=N4/5uXlIU94hzxQ8ElEGwDCWDAmAfng5K6wxi7FWmpWPsrieMI9j0kkorde0Bclwky 2ZQGk7LPYwiNhgi4V/N/78RGaZaGDCkLjGg90vx8j8t2lBqe1Q0dSBXxfh+QIz0oX3NT j2mlctR3LYE6Yi5kXEWC0+gKF2SD0fA/ybF+4SmkbXyrDXBih4hdGKiby+0T8MXrJ0/P 3QtPV9ayegaNY3+PYE5seQHy0YexQV2lgQfRibWAOE5qIYo8JwvLVPFQkIQJY0K1bULY j6ENSWpHK8YAbXSnUMfE4TEaKMsUfU+MBlN9askrP//Icgd6PCUeTRpfLnbqLpAsANop WZ1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=hcd5AUeA; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kh15-20020a170903064f00b001949b544e31si2104211plb.601.2023.03.14.03.35.26; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=hcd5AUeA; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231234AbjCNKZs (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230503AbjCNKZE (ORCPT ); Tue, 14 Mar 2023 06:25:04 -0400 Received: from smtp-bc0a.mail.infomaniak.ch (smtp-bc0a.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc0a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F53962D85 for ; Tue, 14 Mar 2023 03:24:34 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4q4nQfzMqL8l; Tue, 14 Mar 2023 11:24:27 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4q1TkDz2N3w; Tue, 14 Mar 2023 11:24:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789467; bh=ubrRREFJbi3avGa42t5b/PaZc2QNbUiTuZfC6xd4sFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hcd5AUeA+XNtjjj+Q86TBCDos3hExErBQLNn2SGuvRcU5W+t9WwLEWtz2uzSYYsYG LvZTN2Q4eBvBvmbSCZlQdJZbCOZp8N4enNfDfCMS2UatyqcIHguAL6yIZlht7vDIsL wCPUjL/6yLZ2+fQI6HYvch/n3gHdYdSsZ4Z87u3A= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 11/23] arm64: dts: colibri-imx8x: Add gpio-line-names Date: Tue, 14 Mar 2023 11:23:57 +0100 Message-Id: <20230314102410.424773-12-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760339049211215564?= X-GMAIL-MSGID: =?utf-8?q?1760339049211215564?= From: Philippe Schenker This commit adds gpio-line-names in line with other SoM from Toradex. Signed-off-by: Philippe Schenker --- (no changes since v1) .../boot/dts/freescale/imx8x-colibri.dtsi | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index a2364845e976..26f46fe56aa2 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -98,6 +98,158 @@ &lpspi2 { cs-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_LOW>; }; +&lsio_gpio0 { + gpio-line-names = "", + "SODIMM_70", + "SODIMM_60", + "SODIMM_58", + "SODIMM_78", + "SODIMM_72", + "SODIMM_80", + "SODIMM_46", + "SODIMM_62", + "SODIMM_48", + "SODIMM_74", + "SODIMM_50", + "SODIMM_52", + "SODIMM_54", + "SODIMM_66", + "SODIMM_64", + "SODIMM_68", + "", + "", + "SODIMM_82", + "SODIMM_56", + "SODIMM_28", + "SODIMM_30", + "", + "SODIMM_61", + "SODIMM_103", + "", + "", + "", + "SODIMM_25", + "SODIMM_27", + "SODIMM_100"; +}; + +&lsio_gpio1 { + gpio-line-names = "SODIMM_86", + "SODIMM_92", + "SODIMM_90", + "SODIMM_88", + "", + "", + "", + "SODIMM_59", + "", + "SODIMM_6", + "SODIMM_8", + "", + "", + "SODIMM_2", + "SODIMM_4", + "SODIMM_34", + "SODIMM_32", + "SODIMM_63", + "SODIMM_55", + "SODIMM_33", + "SODIMM_35", + "SODIMM_36", + "SODIMM_38", + "SODIMM_21", + "SODIMM_19", + "SODIMM_140", + "SODIMM_142", + "SODIMM_196", + "SODIMM_194", + "SODIMM_186", + "SODIMM_188", + "SODIMM_138"; +}; + +&lsio_gpio2 { + gpio-line-names = "SODIMM_23", + "", + "", + "SODIMM_144"; +}; + +&lsio_gpio3 { + gpio-line-names = "SODIMM_96", + "SODIMM_75", + "SODIMM_37", + "SODIMM_29", + "", + "", + "", + "", + "", + "SODIMM_43", + "SODIMM_45", + "SODIMM_69", + "SODIMM_71", + "SODIMM_73", + "SODIMM_77", + "SODIMM_89", + "SODIMM_93", + "SODIMM_95", + "SODIMM_99", + "SODIMM_105", + "SODIMM_107", + "SODIMM_98", + "SODIMM_102", + "SODIMM_104", + "SODIMM_106"; +}; + +&lsio_gpio4 { + gpio-line-names = "", + "", + "", + "SODIMM_129", + "SODIMM_133", + "SODIMM_127", + "SODIMM_131", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "SODIMM_44", + "", + "SODIMM_76", + "SODIMM_31", + "SODIMM_47", + "SODIMM_190", + "SODIMM_192", + "SODIMM_49", + "SODIMM_51", + "SODIMM_53"; +}; + +&lsio_gpio5 { + gpio-line-names = "", + "SODIMM_57", + "SODIMM_65", + "SODIMM_85", + "", + "", + "", + "", + "SODIMM_135", + "SODIMM_137", + "UNUSABLE_SODIMM_180", + "UNUSABLE_SODIMM_184"; +}; + /* On-module eMMC */ &usdhc1 { bus-width = <8>; From patchwork Tue Mar 14 10:23:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69474 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1678123wrd; Tue, 14 Mar 2023 03:37:39 -0700 (PDT) X-Google-Smtp-Source: AK7set/VUNxZ6unG1dZj7qUqaRTlHIQTozUW6jzbvTRj1OsFDID93C/zf4hi8TEY/j+MVBXnicxm X-Received: by 2002:a05:6a00:10d3:b0:622:6cc8:2393 with SMTP id d19-20020a056a0010d300b006226cc82393mr12635904pfu.5.1678790259420; Tue, 14 Mar 2023 03:37:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790259; cv=none; d=google.com; s=arc-20160816; b=PFeMWttmxG58NXqbruKMCGGWmfvd+HaIV78KATrOQT2KQcqWhOYYOdf1HXpq2xA40i V6Yw4x01TGfYBvpxvanleVowgyupr7DGHNUfG3rpisbsLX6233+piWlWVTWpKdWqI1M4 vwN8laXGqQkYxhk8YRmkepW9/Hj9TZD39q1ncFD6CdKO5ek+lrkHjdVLpQycWMINJVp9 NIAvSpC9eM3fciU6HUZSfiMZI57YoX/a+gAAKbKO5L6ZnNRUAP5CgDz44eEoU4e3GnRM fSb5IYiPY286+lrwWZH+MDo9X6aD6SInXFdY3k2VXeuLMvvJpLpABXPPdayPJvlXKFIi uxDA== 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=+3UwLqlu/85PJtxxqZc84PuOOAEHmj9W6qOdzmAoFPw=; b=BIv0pgomclaYh/w8Ir0K0OW+54608CSOJqKq5cgxxzWmFDjZLGw8kdS94ZJOIu1OOC i84u0u+Oxiy5l13znXQNEUosMjP3xIojif+1MbuDuf5zYLsEh4nSpQKk+Up9AylWGBvI tX+XVXm8itOF9HfiPNmixcPNFC2H4pt51cbFAy2gvn50YsHIZ0H3ciGYBcZsha7W30my ivAcbANbPAuf/nsaDjg4xskSKf8lbp1+LgO5QqZbZ3zaGfYtzCyMmzhAZ8tblxnLooQQ ypBI00vrVx6JmY3T/hAN+Ly+BEimdKYkSdgoGiz+aPd9GcctDlD/SCLWMLq3Vf1N0x55 aQpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=qKG1ie52; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w9-20020aa79a09000000b005a9c2c4657fsi1862550pfj.191.2023.03.14.03.37.27; Tue, 14 Mar 2023 03:37:39 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=qKG1ie52; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231260AbjCNK02 (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230228AbjCNKZ0 (ORCPT ); Tue, 14 Mar 2023 06:25:26 -0400 Received: from smtp-8fac.mail.infomaniak.ch (smtp-8fac.mail.infomaniak.ch [IPv6:2001:1600:4:17::8fac]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC56A4345C for ; Tue, 14 Mar 2023 03:25:03 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4r1vyfzMqQFw; Tue, 14 Mar 2023 11:24:28 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4q5VcMz2MRr; Tue, 14 Mar 2023 11:24:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789468; bh=2280h5yKDh1Do1lnEMHsty6z99uggkN1tc75OR/LLqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qKG1ie52pgJDtCGwL+HaNmF8saw36cS5oep2BPttPPatvOHiyou5+c9H+jwed0KAI RDkmUi9R50Y5tsXenZqFGPJmoXsLEUam3siSavQodGb0H/yHRUCteF9si4c1i2mmdq qeYQe2sM19r4HmaK+XdCgryV9zX/Vh8aLRsTyBr4= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 12/23] arm64: dts: colibri-imx8x: Disable touchscreen by default Date: Tue, 14 Mar 2023 11:23:58 +0100 Message-Id: <20230314102410.424773-13-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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?1760339175280476282?= X-GMAIL-MSGID: =?utf-8?q?1760339175280476282?= From: Philippe Schenker Do not enable the touchscreen. By default it is not used but should be kept to enable it from a file that includes imx8x-colibri.dtsi. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 26f46fe56aa2..2fd7f3483b3a 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -40,6 +40,7 @@ touchscreen@2c { adi,median-filter-size = /bits/ 8 <2>; adi,averaging = /bits/ 8 <1>; adi,conversion-interval = /bits/ 8 <255>; + status = "disabled"; }; }; From patchwork Tue Mar 14 10:23:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69470 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677992wrd; Tue, 14 Mar 2023 03:37:18 -0700 (PDT) X-Google-Smtp-Source: AK7set+rDl+wPtfnvGYkPuIE0UvtdJ8Nm+/H/fQ20qMCqA8h6TDVuP5ZgzTIv4emM7/8ficrh5AX X-Received: by 2002:a17:902:e801:b0:19e:839e:49d8 with SMTP id u1-20020a170902e80100b0019e839e49d8mr45362602plg.59.1678790238146; Tue, 14 Mar 2023 03:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790238; cv=none; d=google.com; s=arc-20160816; b=wlFH+2qeb254mV/KvgdfK0p1Tg23eL+7FyJxOPuTM3OTxJDSQifGuX4wRESnLGdqyw T0UUK+jFG0eO8wFLqqR88kFx8Qe+c6F9nrr7zaG9t1+GRrcjyn7DrrVmcSEr1d/SZY8z O4hKLEedC4TbcZEzPtznUSlNAmplOQTuVWKA1SpzsfxcqSlIX//EEZ4Q+w3QV5eonASB +Lc0exbufSQzkX02cmsXMQ9XL8oFr0CPiKA/WANFaLSe9BAoNx7fn4O2J5mhehqSOaIP eIIh2ibBezJNfO/71h2m249yrluf/XjQ2monAYA4pcOGPZ+i5pLCdk64wvTglqBDyABX 7lAw== 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=nPEJftoijBu7LMCQAzZEmPSc4MBSzsA2KEmlWWfpZSk=; b=leMqn/nN5MPKPlJfpDZ/zTd6lEwkJBtXm7XFhCL9x+gpglZyRpuHBebBLBCwKwk/j8 80Jp73FVeNqfT4ytZjGL0AXc2YsLCBUioJE2Yg+1iV44xsqxIHa9eAhaHtPxUEvumbTu RJFGYA7eDw4gx9SyALjwZrk336Z03GP7vve2b2xKjyDzh5y6RQRwtHT/EIi77haQYbZ8 etQBVNjbjqX0+GG0ZpA5aFXJyRxJKLoLD1D/vM8rpPOhX/CvHuoKAqP9EkNGRBHsJcOq scB38PDT6mQb1IJK6JmwekhEn+QS0Cagw7B5SHze2Z4B6QCQjjiru//2HFw3NI1tskZ+ SLrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=OKBIfFhr; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kt8-20020a170903088800b0019f24ac470bsi2097721plb.559.2023.03.14.03.37.05; Tue, 14 Mar 2023 03:37:18 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=OKBIfFhr; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231191AbjCNKZy (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbjCNKZE (ORCPT ); Tue, 14 Mar 2023 06:25:04 -0400 Received: from smtp-190e.mail.infomaniak.ch (smtp-190e.mail.infomaniak.ch [IPv6:2001:1600:4:17::190e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FA009224D for ; Tue, 14 Mar 2023 03:24:34 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4r6CJBzMqQGj; Tue, 14 Mar 2023 11:24:28 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4r2gkmz2N45; Tue, 14 Mar 2023 11:24:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789468; bh=0VwtUlqDsiiH7eBNGmI+n8uAT1MX4x0mNO/mm+3badA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OKBIfFhrYs1T+VeWg6uE/PB/2Zq27QfVHqz3/htZv7C/6jbCx5aBQMbmnCtecGSpX cJZ7KaGdh9WmUXZ3VdqxuvpEeW1ojJVQNrws6hf2jgNvZWWeu//0RPMBzTy4bqem2j tJ9Tf96peeWLBiK7EPx/whBwV+neSppFr+loh+NE= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 13/23] arm64: dts: colibri-imx8x: Add jpegenc/dec Date: Tue, 14 Mar 2023 11:23:59 +0100 Message-Id: <20230314102410.424773-14-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760339152685142913?= X-GMAIL-MSGID: =?utf-8?q?1760339152685142913?= From: Philippe Schenker jpeg encoder and decoder are available. Do enable them in the module level device-tree since those are self-contained. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 2fd7f3483b3a..778f2f43a8c0 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -53,6 +53,14 @@ &i2c1 { pinctrl-0 = <&pinctrl_i2c1>; }; +&jpegdec { + status = "okay"; +}; + +&jpegenc { + status = "okay"; +}; + /* Colibri UART_B */ &lpuart0 { pinctrl-names = "default"; From patchwork Tue Mar 14 10:24:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69451 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677294wrd; Tue, 14 Mar 2023 03:35:44 -0700 (PDT) X-Google-Smtp-Source: AK7set8Mhvid9+94jV4Kg+YycAUtWpxSDA/wHwhBR/j+2sCiGldzcMRwNvHucPhn4JeBN1JBfyee X-Received: by 2002:a17:90b:3a88:b0:23a:6d16:8e36 with SMTP id om8-20020a17090b3a8800b0023a6d168e36mr12652444pjb.12.1678790144109; Tue, 14 Mar 2023 03:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790144; cv=none; d=google.com; s=arc-20160816; b=AKlgosjYnFYpgv98BQMVW1PIThJET6Tiwf8/5h/MKgP8LL0QjwGcvR6Y1hjtNlWWc4 H53RJeL0toZychOzDt03DPMrvwMxN108LQEklJ7nSWr0ulMRl7398pz6VS691I/Y2rNQ 1U15LPDkxtXCBVeiBoqDr7Q3m9Fsgl29FpZOMdw0kMXEcMitvn2QLgXIOx/CmIzcMIM2 t0nBLY/ydNOk7y+Cu0oASuMlD/5KQv0tFZB1XzLaEwEkvMvyDQb8jysgR4KyJtslMxsw dn1fD8jRdAxpIetAzRgqUvuztujK+q97GwS7r8YnNPSieEmCzQKJj5nbgwWKxeHN6DSw Yjyw== 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=qJ9eQBW66UtMPsk+/Ck9tULVYZPBdGhEYnjmfxhAeeY=; b=NZ/rYczpn3lxMI+EfQ0jk8c7T5v7f99Mb3Q2yL3+e0k688BbE62WJq58zjACEGG+OI zsiJmKl7oOPcR/PGj6Ok9bbab6oNjL741M2z+vjrfzeY1FOhL8dxwyxIedPJMOjEhmmy PJ3iiUTX+Mo+frkQmfCdk0yj6HwjikUGdTp+9tKQzFNZVIWxtlVJA59PgEBC1xGhnAb5 GgAtQp5aOlU/v9W1PhYCr2Hh5SnOsGGiXhhP5CaFaa/UmU5rYyBnMlyAPZ306I4cA2Yj XAW3fh0feMC9DT9TdKkyuQWav7LuvNq2qF05+45P1+nwbA2dgyjW6kSltSQE+e8aLTHy rZZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=jajtVam3; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi14-20020a17090b1e4e00b0022c9594aaf4si2232471pjb.184.2023.03.14.03.35.31; Tue, 14 Mar 2023 03:35:44 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=jajtVam3; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbjCNKZ6 (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230523AbjCNKZE (ORCPT ); Tue, 14 Mar 2023 06:25:04 -0400 Received: from smtp-190e.mail.infomaniak.ch (smtp-190e.mail.infomaniak.ch [IPv6:2001:1600:4:17::190e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E01A97FF2 for ; Tue, 14 Mar 2023 03:24:35 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4s3XKTzMqPFr; Tue, 14 Mar 2023 11:24:29 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4r6zXWz2N45; Tue, 14 Mar 2023 11:24:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789469; bh=LudF0hu2w2JADBbt/W9Ar1NM5GzhCrjnoA+Nvc91nGM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jajtVam3AXdw6lYvxWAmL7cURTDlcgqhk58f87e1lEKi+XebpeMAbLSrVNF+9rvlx /Vgfps2mFSNKuSyOn/DUI9z0t9WlFTwAx5OqVuboWTmDPRWTMl6Djv340PfA4JaI9b iCVc6saS14YlazKm61QXbrx7mS3BOUpjo6fOZM08= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 14/23] arm64: dts: colibri-imx8x: Add colibri pwm b, c, d Date: Tue, 14 Mar 2023 11:24:00 +0100 Message-Id: <20230314102410.424773-15-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable 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?1760339054520283137?= X-GMAIL-MSGID: =?utf-8?q?1760339054520283137?= From: Philippe Schenker Add Colibri PWM_B, PWM_C, PWM_D to the module-level device-tree and set the status to ok on the eval-board. Signed-off-by: Philippe Schenker --- (no changes since v1) .../dts/freescale/imx8x-colibri-eval-v3.dtsi | 15 +++++++++++++ .../boot/dts/freescale/imx8x-colibri.dtsi | 21 +++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 1d0bad085ad4..68e34516961a 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -51,6 +51,21 @@ &lpuart2 { status = "okay"; }; +/* Colibri PWM_B */ +&lsio_pwm0 { + status = "okay"; +}; + +/* Colibri PWM_C */ +&lsio_pwm1 { + status = "okay"; +}; + +/* Colibri PWM_D */ +&lsio_pwm2 { + status = "okay"; +}; + /* Colibri UART_A */ &lpuart3 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 778f2f43a8c0..61033b79e44e 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -259,6 +259,27 @@ &lsio_gpio5 { "UNUSABLE_SODIMM_184"; }; +/* Colibri PWM_B */ +&lsio_pwm0 { + #pwm-cells = <3>; + pinctrl-0 = <&pinctrl_pwm_b>; + pinctrl-names = "default"; +}; + +/* Colibri PWM_C */ +&lsio_pwm1 { + #pwm-cells = <3>; + pinctrl-0 = <&pinctrl_pwm_c>; + pinctrl-names = "default"; +}; + +/* Colibri PWM_D */ +&lsio_pwm2 { + #pwm-cells = <3>; + pinctrl-0 = <&pinctrl_pwm_d>; + pinctrl-names = "default"; +}; + /* On-module eMMC */ &usdhc1 { bus-width = <8>; From patchwork Tue Mar 14 10:24:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69467 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677965wrd; Tue, 14 Mar 2023 03:37:13 -0700 (PDT) X-Google-Smtp-Source: AK7set+3Ah3AXu1GeD/zAMNIOfDbNbLkaswggtFIziKGYFJdctjbllxL5g87PQqvzIf9gGDLSEDL X-Received: by 2002:a05:6a20:a692:b0:be:22c5:92df with SMTP id ba18-20020a056a20a69200b000be22c592dfmr36387413pzb.16.1678790233340; Tue, 14 Mar 2023 03:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790233; cv=none; d=google.com; s=arc-20160816; b=0q4yMm4qNuAXjbYUT1PDTO3TTBMeR6R7Ll0PlLaeQ3aiGuIrQ6LGAhXajrW6ijoNMC uWPK4BfUiMOuJCYJrHZUjYOjaIX54Quvr0+ZPdS8kWYPLfIDIpoUJ81pG2sGMPYi0Pal 0dV+3XKLXRgHAIueos4O8z4HPcJdYQUZrTU750NIM3cl+Guc2NEfgjYo5OPmoUF3OWem ohAwbggwuMAjIlnNZ4xbI6hHyUGA8we3yucBS86xebZx+ZBwPhKdLm2y8YMY4dk91WpS gWAdDtZOiu3+0uCKoF7+noJWvYKcyZ4HIN5DFsggXQ68qhozU8APi7DFJWmbuK6bqUQj bcNQ== 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=FTX9b3U7eLqvab28VygC2daLg7pQioWAbX1JgNVvgcc=; b=DVIW4Ei7Kp4BUWG9H3HLO8Y/hiQ1IHE2FXO0Api3afnL3Pi1zG3B0c46fJw7f/5RIl i7/h+YYWCwARzeGMlXOlsXocYWy/hWmU0mcY4cYNzZ+jOaTtywatznSwBaz4g+imXcFl M/1HwjST8BM2xfxsW5IeLPEab3F/YABt0E1op3L2I5DNjyTJFno8lyfQxDyXwrIixmHI awkoaHPwiqNDTLC4ivlAz+IXgYIs0DE9vjBkoI9PWanaksrq4Lc7TmawiYSpVVHbiejl 2H5MgkPulb6DTNiLXV11h62ujhkfNld1lpC3CAZ5uZwnScrglktsPnckPS64bOFAnPVP TJyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=rAqVQT59; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w9-20020aa79a09000000b005a9c2c4657fsi1862550pfj.191.2023.03.14.03.37.00; Tue, 14 Mar 2023 03:37:13 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=rAqVQT59; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231318AbjCNK1E (ORCPT + 99 others); Tue, 14 Mar 2023 06:27:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231214AbjCNKZn (ORCPT ); Tue, 14 Mar 2023 06:25:43 -0400 Received: from smtp-1908.mail.infomaniak.ch (smtp-1908.mail.infomaniak.ch [185.125.25.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72AE5C14A for ; Tue, 14 Mar 2023 03:25:16 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4t0pXgzMqQG6; Tue, 14 Mar 2023 11:24:30 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4s4JQPz2MRm; Tue, 14 Mar 2023 11:24:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789470; bh=aeN02gbGVsJ9TQ+Q8lY6g/jfYyUsHYo+ngOj0QJxr6U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rAqVQT59CsBGWcaDzKj+1suRX8CI4GXvVYqjBeCXs/ARGNCZVgG9LvRGOVn/gCuUw vZ2ViIi8mcHPbme7d9pxAGpYjy9MI1NG7QKluPpHXEobN7Akqd0l7nag883MtX3SA9 ++z55K31OwCpGtXoVYwcJHY1J+oITUyW8ateGqDA= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 15/23] arm64: dts: colibri-imx8x: eval: Add spi-to-can Date: Tue, 14 Mar 2023 11:24:01 +0100 Message-Id: <20230314102410.424773-16-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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?1760339147461060769?= X-GMAIL-MSGID: =?utf-8?q?1760339147461060769?= From: Philippe Schenker Add mcp2515 spi-to-can to &lpspi2. Signed-off-by: Philippe Schenker --- Changes in v2: - Change clock-16mhz-fixed to clock-16mhz - Remove status="okay" .../dts/freescale/imx8x-colibri-eval-v3.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 68e34516961a..14d479b50656 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -11,6 +11,13 @@ aliases { rtc1 = &rtc; }; + /* fixed crystal dedicated to mcp25xx */ + clk16m: clock-16mhz { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <16000000>; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default"; @@ -39,6 +46,17 @@ rtc_i2c: rtc@68 { /* Colibri SPI */ &lpspi2 { status = "okay"; + + mcp2515: can@0 { + compatible = "microchip,mcp2515"; + reg = <0>; + interrupt-parent = <&lsio_gpio3>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + pinctrl-0 = <&pinctrl_can_int>; + pinctrl-names = "default"; + clocks = <&clk16m>; + spi-max-frequency = <10000000>; + }; }; /* Colibri UART_B */ From patchwork Tue Mar 14 10:24:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69462 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677706wrd; Tue, 14 Mar 2023 03:36:40 -0700 (PDT) X-Google-Smtp-Source: AK7set//TnohwA8w7fb1IJaQI5Vn3rBU7CjSxMVN/SHvbRK2MtXwZxuEiNYdcchLB84hZ+g4q+WA X-Received: by 2002:a05:6a20:7faa:b0:c7:7afa:5016 with SMTP id d42-20020a056a207faa00b000c77afa5016mr43683235pzj.9.1678790199767; Tue, 14 Mar 2023 03:36:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790199; cv=none; d=google.com; s=arc-20160816; b=WnUHhvmAC+elTTEydIuWlPlVlZ2QgkQq6/+eI9CfqC3sdMEAEjLerI7CSs9dA/wmOr ahO8rx1Y5uy5vaDGrWQyAZhZYtp4anKki4htzLS4icUJVPPRwl/FSHMsUSxMAPxtsaPu X5OuvBLnkKfIOEHd+5hUhIUiDX2qlDkXRe+uMDiHpNq82hIf/acy+PJNki/KQTFgyo/h AjnhS1/19RlEwEZ7PiMg9CE5c2pERxiKFG3JltqGGsw6lZETZrfSJIRYbFBuYUa7dfa7 7F6NkzMKiPhLsuYgGu/LSbF1Hu84gf84Sz3efuI2mUGcoT5QU9Jl99agxP0LIZHe47Q+ +PUQ== 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=4X2WG/dH/qyVV+tsIWdQLthEpM5ZEHNIMg7XRm9a9nQ=; b=CnfCgYQutDrf8JBZ1623b9SAXyGURmEnoRuwD/LVR8o2hEv41uyNPvcOka+LvkFlvu h3hjo40xMp/IkHQnxTA+iTOMDzTUrb7u5gkPV6SwxmNJroRfhbYt97EIckzJ7MN54Fwt svb5OPsHfP4GrTpc0ygdS7e0AJQ4f/3dlkdx5BRoJ5G1DMj14QPYf2SPOdfmAG/yTChr ouHDn/Av1MYz5Q7fHMHJh8xndz4vAC3LbjSZvJhk9yurunai524R4U2qzQb1CJUhi8IU SZ5TvjhldYwCoNVPtrMes5iMzBeFDaQkEl/xaIZgxAFW00yIBaZATIWot05UQJngXbll riow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=N9wk8Hvd; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w9-20020aa79a09000000b005a9c2c4657fsi1862550pfj.191.2023.03.14.03.36.27; Tue, 14 Mar 2023 03:36:39 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=N9wk8Hvd; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231285AbjCNK0e (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230238AbjCNKZ0 (ORCPT ); Tue, 14 Mar 2023 06:25:26 -0400 Received: from smtp-190e.mail.infomaniak.ch (smtp-190e.mail.infomaniak.ch [IPv6:2001:1600:4:17::190e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CCDF83155 for ; Tue, 14 Mar 2023 03:25:03 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4t52dNzMqQVP; Tue, 14 Mar 2023 11:24:30 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4t1cnKz2N3f; Tue, 14 Mar 2023 11:24:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789470; bh=XoICBn4As/5V0SL4TBgyOhcxjic8KbgqFqoLIAh1uoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N9wk8HvdqUIjOlZsqz7iR/vLfEc56F2D/1DKl5FC5+gCgpJX8timrjBqdArPwJ8rX nkAbRTnSeNom1I6c57gI2qRh1iIKMpLftHyRg8M0o7huTlIj8idRwI44LXJCh1QIqz UsWdeYb0+ClQyDtmPR0NiETSSn7brPM5ss1s+2Ck= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 16/23] arm64: dts: colibri-imx8x: Add no-1-8-v to sd-card Date: Tue, 14 Mar 2023 11:24:02 +0100 Message-Id: <20230314102410.424773-17-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760339112377374748?= X-GMAIL-MSGID: =?utf-8?q?1760339112377374748?= From: Philippe Schenker Many Colibri carrier boards are using 3.3V pull-up resistors on the SD-Card connector. Letting it switch to 1.8V is an invalid state. Do prevent this from happening by keeping the signaling voltage at 3.3V. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 61033b79e44e..2e228c5b8109 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -304,6 +304,7 @@ &usdhc2 { pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>; disable-wp; + no-1-8-v; }; &iomuxc { From patchwork Tue Mar 14 10:24:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69449 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677257wrd; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) X-Google-Smtp-Source: AK7set/H1zLD3n8/RsYMTiiYMQh+v/8iwADlLaYZPLip8vLce0IU5RcP0FYAo8O4Ri3znqdGxxpN X-Received: by 2002:a17:90b:2390:b0:23b:32e5:9036 with SMTP id mr16-20020a17090b239000b0023b32e59036mr11109897pjb.17.1678790139416; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790139; cv=none; d=google.com; s=arc-20160816; b=RTYGS6RtHbcOudE6I+/9qw6UgzE7Sau0FY7mVTg/JNN6s9ALqH13x13vNYVzXuV9e/ WYqmL3gFJScgENTZSPDZNUmrA3JgiHGoP7gIlZ0CY2J+gZuc6hr6NtjIrJfe2iYSomy+ 5r4G28xjZ7brhqt8QBuPy+SPXDXWmXGSWBlgjgT5FDft6u2iucbLnz73qQt0D3wTrHWt z4FPkfYjVvj+SOrxmXN/xE6O6gFWxsQKx9AVXvFf21jZlxiCcokX+nhte9WoDL7LcnIF dkGrnqaNUBpGaaactKbgPkNe37Z/3vofyVKJmxNGr8piF2WJFtPw3zEhUm4yu4RugoAi l4Qw== 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=KAVmrX22cxOZ+bGCn0Rwx9dmOTGJWa/OgCfOrhXF/KM=; b=ay8sSXIUj/qriGQOBfo6E+qOrpQn0mMWcaWqyLdnUawAjYeqcpi2FVRUeHJYafbwXa ZDZbkWYEu+1jjXuX0s7XCjIySrB2pAkV5FABPBv01ApiJ4fNIA8csxRpSP2onsnRIRf4 NikZbUGQUBDuxprSOi6Zbn+X2J/6oNBi0PpUPYMTLSmPCMRR/JHgexdX0Bs1LikW/vvw IultO8gjuIt4bE8/sd6WNx2DTRpjzXkxz8BFFSLIuNZFhgXKdH5cWTZ0ojbqf0GYhZ6m gaNOqvVU+cK2JQfN4zCn3rjUBYospsz+73gGePBxWmW3T/mx0Rdl9QpMq5ew6RX8hJRy EsOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=vXP4QWHL; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a17090a9bc700b0023d422d08c6si527270pjw.27.2023.03.14.03.35.26; Tue, 14 Mar 2023 03:35:39 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=vXP4QWHL; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230423AbjCNK0A (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231178AbjCNKZI (ORCPT ); Tue, 14 Mar 2023 06:25:08 -0400 Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [IPv6:2001:1600:4:17::42a8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBFD5D51A for ; Tue, 14 Mar 2023 03:24:39 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4v24kpzMqQVx; Tue, 14 Mar 2023 11:24:31 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4t5pvqz2MRS; Tue, 14 Mar 2023 11:24:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789471; bh=yjauXskh+CkHXfC8KZ7Eeurcqsbo5x0x4cTYoo6F1jE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vXP4QWHLa9idoqMDT5/Ep/tX56a1L2TqWewujneSIf8HeWd17eArxMxYTX80qdI+Q MgFR5aDovTBT8VVEq+5Uc/zN3rR55RrDeRfZ2m0kLqzVhdEszFDRWTuJFGI5NZalXs EaVjiMDDy6aenl54y04XJaVeW/E5asuoAePa4dbg= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 17/23] arm64: dts: colibri-imx8x: Set thermal thresholds Date: Tue, 14 Mar 2023 11:24:03 +0100 Message-Id: <20230314102410.424773-18-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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?1760339049256103094?= X-GMAIL-MSGID: =?utf-8?q?1760339049256103094?= From: Philippe Schenker Set critical/alert thermal thresholds for all relevant SOC temperature trips to the IT value (max T_junction 105 degree Celsius) in accordance with the IT grade of the SOM. Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 2e228c5b8109..1e41965e2d01 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -16,6 +16,18 @@ reg_module_3v3: regulator-module-3v3 { }; }; +&cpu_alert0 { + hysteresis = <2000>; + temperature = <90000>; + type = "passive"; +}; + +&cpu_crit0 { + hysteresis = <2000>; + temperature = <105000>; + type = "critical"; +}; + /* On-module I2C */ &i2c0 { #address-cells = <1>; From patchwork Tue Mar 14 10:24:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69455 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677436wrd; Tue, 14 Mar 2023 03:36:05 -0700 (PDT) X-Google-Smtp-Source: AK7set8Vt9Rul60eUcZ9GqyzGhP4xI9XBGuSqelC8Jic8V0MG1k+b18Sgh8354bEe2pPFO0EZeMG X-Received: by 2002:a05:6a20:3c9f:b0:d4:964d:34f3 with SMTP id b31-20020a056a203c9f00b000d4964d34f3mr5277335pzj.7.1678790165088; Tue, 14 Mar 2023 03:36:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790165; cv=none; d=google.com; s=arc-20160816; b=dV8I8HoQb5MbF/soIkUHHST/OhF7Q8iVD/4FKHKBpHz7aNjHttYi3dE/w9281fM7qk y1MVfV8OxoAUWTg9DV184p+PDpnZdJJQL8pRtuuvJZ71YVV0c+KPqsrwNDOEyWWSktbP fCaY7EVGA0ri0hhmMzoeaM71WIXQUw/58b1u/NmT2MKjs8rsxemii+9ZsKmlRQHtzXlt gNkZYRPnFri7oEcnl1VgR3OSuqbbqfsD8y2JmMh68u6dE4T/5KFEJlYbK4AXY9EY9x00 Ki+qsC74AsHibDZngwq1cClTEs7hbvvRmbElB5FV1U86dYtS6BdOzdkJN5IwaLBL24iM GpFg== 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=mrqWtKMa0XagJo/WFIgUduzr3YpcZlGbwK1+FcUyjMw=; b=Nji5o11DSbDa3jotg3VetIQHwbNdYG6e9Z9h+u4jlxeMrl+Hc8C4Umt2Q9zHCkPo+b SS/+q6btY/9MIKXM6dNG829jEjtIizIP1cecBe50eiMTu/91/CaN2J602t3M2G6Nt681 OkON+lhsP6m+JW/w4znqasCjyeacUyA38tg5jIDr8Oc2QSfJs7r4WVfq35/jCiOpg4/v /wo/hy+mHq1+zCQPPbovG8RGd3upEDNrsnjIESa8aRxtBbNQMwmVXuT9Ae0EmHcVVinu k0/nvzGoryQGxQVcANT/k+G06ETN93hwd2lMDHQ2aOEZ8tLzafm9QNKNLVMNeWIi2jdh vyuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=Xqcfc8pz; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020aa78ec3000000b005a81866ff8csi1899807pfr.319.2023.03.14.03.35.52; Tue, 14 Mar 2023 03:36:05 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=Xqcfc8pz; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231303AbjCNK0q (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229832AbjCNKZ2 (ORCPT ); Tue, 14 Mar 2023 06:25:28 -0400 Received: from smtp-190a.mail.infomaniak.ch (smtp-190a.mail.infomaniak.ch [IPv6:2001:1600:4:17::190a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6905562868 for ; Tue, 14 Mar 2023 03:25:06 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4v6YwjzMqQWF; Tue, 14 Mar 2023 11:24:31 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4v2qyjz2N4G; Tue, 14 Mar 2023 11:24:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789471; bh=oDmzZoOyBIwUWooe1ysmdzU43k7yTVJ0y76naMMCSc8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xqcfc8pzlw3nVLalZ5+XdRNpmrKGfarIZjlHjR2JE4dM8VdIjWCcpl3XMdn0JEdFt PcpQfJQac63WZ9F+wjwpVDRVMmqV2PHibEbmTKlaESlCf8MjzmOTkkkJko9cCRm1VI 0HuolR6VBirKJfpa3XuH2wmMm/3Rq+AwsgZTlma0= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 18/23] arm64: dts: colibri-imx8x: Move gpio-keys to som level Date: Tue, 14 Mar 2023 11:24:04 +0100 Message-Id: <20230314102410.424773-19-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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?1760339076388592789?= X-GMAIL-MSGID: =?utf-8?q?1760339076388592789?= From: Philippe Schenker SODIMM_45 that is connected to "&lsio_gpio3 10" is defined in the Colibri standard to be a wakeup pin. Move this to the SoM level device-tree and keep it disabled by default but do enable it again on the carrier-board. Signed-off-by: Philippe Schenker --- (no changes since v1) .../dts/freescale/imx8x-colibri-eval-v3.dtsi | 16 +++------------- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 14d479b50656..7264d784ae72 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -17,20 +17,10 @@ clk16m: clock-16mhz { #clock-cells = <0>; clock-frequency = <16000000>; }; +}; - gpio-keys { - compatible = "gpio-keys"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpiokeys>; - - key-wakeup { - label = "Wake-Up"; - gpios = <&lsio_gpio3 10 GPIO_ACTIVE_HIGH>; - linux,code = ; - debounce-interval = <10>; - wakeup-source; - }; - }; +&colibri_gpio_keys { + status = "okay"; }; &i2c1 { diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 1e41965e2d01..ff5ad88febc8 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -8,6 +8,21 @@ chosen { stdout-path = &lpuart3; }; + colibri_gpio_keys: gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiokeys>; + status = "disabled"; + + key-wakeup { + debounce-interval = <10>; + gpios = <&lsio_gpio3 10 GPIO_ACTIVE_HIGH>; + label = "Wake-Up"; + linux,code = ; + wakeup-source; + }; + }; + reg_module_3v3: regulator-module-3v3 { compatible = "regulator-fixed"; regulator-name = "+V3.3"; From patchwork Tue Mar 14 10:24:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677419wrd; Tue, 14 Mar 2023 03:36:01 -0700 (PDT) X-Google-Smtp-Source: AK7set8QuExbjH2/kffwk0dM8ogSlE0BjdpxUZS2coV5uPPTvh8NFvHySdQfroIpDZhKlD8jvzSn X-Received: by 2002:a17:90b:1041:b0:23c:61f:2be5 with SMTP id gq1-20020a17090b104100b0023c061f2be5mr7608148pjb.18.1678790161193; Tue, 14 Mar 2023 03:36:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790161; cv=none; d=google.com; s=arc-20160816; b=ipI2GQx/6nfF7sdmVM6i7AC2mn19oh2YdrbXx95sSbSwQ2h4Alg3Lxt4ugqhFpKDhG R8luWUywQi1CPuHWo0N7zHNWw3OdeA9lkzpqcqK6A3J/W6y681ts2ah2DymCVa3frrg2 aRRxlP6xfDqB4xOeItk0T0A9O5N8IDwqSaSFHrSGiSiCtIxYM1rOvr57YIy3CXj5XpTs 0V17wxe6Gm44hul17ylnz7JSahM3tCiQntDhDMtAhcTluyVJ1Zx5UBCg0hubfxMroPe5 t9gQ0EYEDYJL5qGvjYBlzzY42ORrmTHYbokQKW4d/sjSlWB33WQtKOBxAbG4UrZR84Rk p5Iw== 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=oSJNd0lJV0YPzIfw4sZ1SyXpgIzJJgaToPmPpF7lVFQ=; b=Fo8FxaJcIpXtByaVZTOORLLp2Z/Nv2BUUD+2KCzREq3eIZO9JKNVkD8ANpBtLaF54r 1U4ECr8LqYMXHUjKc0vm37f+21ja4wJ8Ks7mh78MHKGvNmPKngRwlDTjASEHpIRBNc/b cc0Ld/H/KWNnZNhTElDWlJElBUoBPQxuHZ+Cg6S1yORFdVS7nz9HpYRRmjsU4MmQ/a1/ P25egXmi7BUYHeeTfVr+DzGIcTJavA5cvxO2t5hqwaIJtZWtDJtS6x1aVL1GGId2ecty tRcU5yR76yXipdfs2R/In0EMPIok8J32Q+d0MvwFMXUv03wbldIPxjZQ14Z9Uefn5PDN sAQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=XgXBmHmy; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i35-20020a631323000000b0050920f7af29si1842549pgl.786.2023.03.14.03.35.31; Tue, 14 Mar 2023 03:36:01 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=XgXBmHmy; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230488AbjCNK0t (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230452AbjCNKZ3 (ORCPT ); Tue, 14 Mar 2023 06:25:29 -0400 Received: from smtp-190e.mail.infomaniak.ch (smtp-190e.mail.infomaniak.ch [IPv6:2001:1600:4:17::190e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41DE097B54 for ; Tue, 14 Mar 2023 03:25:07 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4w3qJBzMqQW6; Tue, 14 Mar 2023 11:24:32 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4w0BJTz2N4D; Tue, 14 Mar 2023 11:24:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789472; bh=3mHH+vmW/2jGkiLn5nJ61l+JVuDF6ZCRwQPg1RNWSc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XgXBmHmyN6bxsdt8G+dGlfIF+iwbYc1K7hvB/8rlenwAlD3GDq6NjX/mopfgdj0im TRcjfiNvw9o1r+YgfITw39xB7u94HgEvp52zClobFVoeIODxBT+We64HgJbrph16iM mPxIZCEVGkId72ZH7maquVdURtFxZb5MyOA5D9tQ= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 19/23] arm64: dts: colibri-imx8x: Add todo comments Date: Tue, 14 Mar 2023 11:24:05 +0100 Message-Id: <20230314102410.424773-20-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable 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?1760339071858555093?= X-GMAIL-MSGID: =?utf-8?q?1760339071858555093?= From: Philippe Schenker Highlight what is still missing. Signed-off-by: Philippe Schenker --- (no changes since v1) .../boot/dts/freescale/imx8x-colibri.dtsi | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index ff5ad88febc8..7cad79102e1a 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -31,6 +31,10 @@ reg_module_3v3: regulator-module-3v3 { }; }; +/* TODO Analogue Inputs */ + +/* TODO Cooling maps for DX */ + &cpu_alert0 { hysteresis = <2000>; temperature = <90000>; @@ -43,6 +47,10 @@ &cpu_crit0 { type = "critical"; }; +/* TODO flexcan1 - 3 */ + +/* TODO GPU */ + /* On-module I2C */ &i2c0 { #address-cells = <1>; @@ -71,6 +79,10 @@ touchscreen@2c { }; }; +/* TODO i2c lvds0 accessible on FFC (X2) */ + +/* TODO i2c lvds1 accessible on FFC (X3) */ + /* Colibri I2C */ &i2c1 { #address-cells = <1>; @@ -88,6 +100,8 @@ &jpegenc { status = "okay"; }; +/* TODO Parallel RRB */ + /* Colibri UART_B */ &lpuart0 { pinctrl-names = "default"; @@ -307,6 +321,14 @@ &lsio_pwm2 { pinctrl-names = "default"; }; +/* TODO MIPI CSI */ + +/* TODO MIPI DSI with DSI-to-HDMI bridge lt8912 */ + +/* TODO on-module PCIe for Wi-Fi */ + +/* TODO On-module i2s / Audio */ + /* On-module eMMC */ &usdhc1 { bus-width = <8>; @@ -334,6 +356,12 @@ &usdhc2 { no-1-8-v; }; +/* TODO USB Client/Host */ + +/* TODO USB Host */ + +/* TODO VPU Encoder/Decoder */ + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>, From patchwork Tue Mar 14 10:24:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69441 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1673987wrd; Tue, 14 Mar 2023 03:27:06 -0700 (PDT) X-Google-Smtp-Source: AK7set+Ie1clXTQ+cWbQY0bG4dOodyZlPGlPmQ0+VhqNefvQIt+lPBoDX7CZ5kvEM4/M5+o1hD01 X-Received: by 2002:a05:6a21:33a2:b0:cc:606a:4349 with SMTP id yy34-20020a056a2133a200b000cc606a4349mr45657209pzb.8.1678789626701; Tue, 14 Mar 2023 03:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678789626; cv=none; d=google.com; s=arc-20160816; b=xAZ+DMQlrPQZUjyjbT8nEWhQ+kme0tNy+WWdC4U9hn1Hh7Z9N3+hq3xWKoaN2fHTDC 1Q1NcsqFeD1ZiN1CBAcMECQmcXWDqvtsVes16luWN9fnZoR0l7LOB1h4+hQF3H41ZC1/ w/hdy470WaEuXgBT9u+i3j8gEZ86kvYGr3h6ceJPDFtaNHYBs6KJGyEESP0A7GQYQC/h Wp2VQvCDvLewDbnGbxKJI7kmaujpeu3epziCPyQS62Oadwgq5D56jqwhWayd81+cdMZO HLT2/tixKQB1ECNnuUMqTGBzM/GZGc+md0zB+Y/qT5qV1cyzvAueQAFCXuRF3hPcRfjY 5vEg== 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=Hki1sxvowkQa9uMvH1ME5uiU2bHlYYDs0NfhPFv2AYc=; b=QEH+iQLpD1weUkhD0qb3qapq8QJp6MhWRpxzk0m9fcTOkEckfRlHrJUdRJZPEXVFsJ 2KwKlZu3pcy7FAwvuqR8k1pr13mT66OrVPwvRtNh/jw6KGJ4eFquAna0YXxl+dxF8vnO AQ3fg2VI/DfJHHdGOHaJbfNXoDi/Aa0WHpTSXvRN6YnXZNgssg65bUAM7VUN9RQGvy9C 7k5K5QidChGBSpChMOsOQWvRuSeQY6b7NEUWYOfmblxvuulbb5EUwIYEFd5CrcndVgki 1f52aw41CqhtodEXIQGc/NKySEb9iYkR2LSzwE+YB3g+foQOHf+G+UufcK75zDYYKpqM +o5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=ta5cCO9d; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 26-20020a63145a000000b004fbba5bc71csi1889616pgu.75.2023.03.14.03.26.52; Tue, 14 Mar 2023 03:27:06 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=ta5cCO9d; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230489AbjCNK0E (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231231AbjCNKZM (ORCPT ); Tue, 14 Mar 2023 06:25:12 -0400 Received: from smtp-1908.mail.infomaniak.ch (smtp-1908.mail.infomaniak.ch [IPv6:2001:1600:4:17::1908]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E403113FE for ; Tue, 14 Mar 2023 03:24:45 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4x1xQmzMqQGL; Tue, 14 Mar 2023 11:24:33 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4w4Z9Kz2N3k; Tue, 14 Mar 2023 11:24:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789473; bh=X4/Hp0n5u3CXahOF9AJ2CShTezdyjc/3NlBOWzdXARQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ta5cCO9dciY3PFgXzMaRnyUfmW1Pnv6qMCFUhOEYFTa8bQRF0oJQbn4Sjv6FIXZ8T GmJVX3CW+n5tcRtx07J7PIckqMH9Hk0nce5mvIJjpqAlLUJ8LgJiggyn5Ej55aaxy6 qvPcgLqhXyO/nGIX4s0fTA/y3YxF1l+3eECFdw18= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , Krzysztof Kozlowski , Denys Drozdov , Fabio Estevam , Frieder Schrempf , Li Yang , Marcel Ziswiler , Marek Vasut , Matthias Schiffer , Max Krummenacher , Stefan Wahren , linux-kernel@vger.kernel.org Subject: [PATCH v2 20/23] dt-bindings: arm: fsl: Add colibri-imx8x carrier boards Date: Tue, 14 Mar 2023 11:24:06 +0100 Message-Id: <20230314102410.424773-21-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760338511714827726?= X-GMAIL-MSGID: =?utf-8?q?1760338511714827726?= From: Philippe Schenker Prepare the dt-bindings for the new colibri-imx8x carrier-boards Aster and Iris. The Toradex SoM standard is called Colibri, fix the typo. Signed-off-by: Philippe Schenker Acked-by: Krzysztof Kozlowski --- Changes in v2: - Added Krzysztof's Acked-by, thanks! Documentation/devicetree/bindings/arm/fsl.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 2c90455722f0..750b8b949219 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -1154,10 +1154,13 @@ properties: - fsl,imx8dxl-evk # i.MX8DXL EVK Board - const: fsl,imx8dxl - - description: i.MX8QXP Boards with Toradex Coilbri iMX8X Modules + - description: i.MX8QXP Boards with Toradex Colibri iMX8X Modules items: - enum: + - toradex,colibri-imx8x-aster # Colibri iMX8X Module on Aster Board - toradex,colibri-imx8x-eval-v3 # Colibri iMX8X Module on Colibri Evaluation Board V3 + - toradex,colibri-imx8x-iris # Colibri iMX8X Module on Iris Board + - toradex,colibri-imx8x-iris-v2 # Colibri iMX8X Module on Iris Board V2 - const: toradex,colibri-imx8x - const: fsl,imx8qxp From patchwork Tue Mar 14 10:24:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69473 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1678113wrd; Tue, 14 Mar 2023 03:37:37 -0700 (PDT) X-Google-Smtp-Source: AK7set822/mJZfLLNGF1X83ZpYGXrTkYYfAbYA3gFZ1OnqFy3TxGSiItBG8ZG5JfmhwS4+EsMyK9 X-Received: by 2002:a05:6a20:4930:b0:d4:78f7:c4e8 with SMTP id ft48-20020a056a20493000b000d478f7c4e8mr5124824pzb.25.1678790257295; Tue, 14 Mar 2023 03:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790257; cv=none; d=google.com; s=arc-20160816; b=P4zhDaPL/wghhDsuv+r7vuQNtFshwh2eDqyHWje/YQp6Bk0Ewywd+IGqTEtzjz2FvY CByeExJnAugwJYbCAKkaN/ZR2fzQWlijpJALq0Cs3WsLL1Dj1wbGhlfqYDeekVK1518Q OBlbO/b+9etis+T8yPLfrZg0jEDuNx3kwX/t5S+YZ/FAEZs3RxEFx58GQC6kd7VxDLSP mzC2F32fZ2eWHJuwQ9Ax/RxrTylPUd+/horHlG2fFjqfTf+HT1ksjPSM0GWBsstYZ60Q OhRC4nMmsQabSxTKWuWD/kQXM0QjhHTZZ+jzANQrmaPE8dGhmTB4P+eAUoOWGN4iVtlP I8lQ== 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=Rvw6Ss1iSovYGmOxOZ2P6r2KgO0dR/YX/TQZxvGvecQ=; b=yTDK4mvG9pRWV4J4DH6byx9WvSa26EAzxAvCMow2Pe88rF8UE/3IJ1B9/ngoP9cFdN JpYKglCTr1Oz9Maimwky/EPJdBFJEu5tw++ZBxx1vroopXPDLyzCmcON4qQaF4XRLSJM 3kkzO5pD0noP2zZpEYAcHTzweyGPRDea0KW8cLQDHTbe374Wq5LsfVmxYo/IRK8sXfHe 1eo10OQJckIO45p5o25IBqex2EyiyOCz6tqcRvqXhh6xH7OcH2VkL4CBgIP7VtgABiGm F3ywoTUxzo7IpcWI7funDE9M0WJvDk5vTE2ZpZDFsCAmvhhjOw8nSyHv3nzU6/SbQT0s 6HXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=QiDB0svj; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020aa78ec3000000b005a81866ff8csi1899807pfr.319.2023.03.14.03.37.25; Tue, 14 Mar 2023 03:37:37 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=QiDB0svj; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231157AbjCNK0I (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231239AbjCNKZN (ORCPT ); Tue, 14 Mar 2023 06:25:13 -0400 Received: from smtp-bc0a.mail.infomaniak.ch (smtp-bc0a.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc0a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D6C470401 for ; Tue, 14 Mar 2023 03:24:46 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4x6J1SzMqQVs; Tue, 14 Mar 2023 11:24:33 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4x2kg7z2MSL; Tue, 14 Mar 2023 11:24:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789473; bh=WiIb9AvUiUqyquXRI5uWbc8955AquS+8qtMHW7WxdAY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QiDB0svjHVhBuRe+fVzL1CxrFgz3SKOyVMoWTDE8zd7PQuiL2lR36c3kPKXgaC8Pm uLcmLGdRsq/L+tU/ooWjWC6Q4HfXHXAxMzgS03DYc6XIn4FjNPolK2dEN8YenxBBsO m/x8KblWpIFmOZXJCSB4Bs28tEedBgsrkkn6ralk= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 21/23] arm64: dts: colibri-imx8x: Add aster carrier board Date: Tue, 14 Mar 2023 11:24:07 +0100 Message-Id: <20230314102410.424773-22-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760339173184420486?= X-GMAIL-MSGID: =?utf-8?q?1760339173184420486?= From: Philippe Schenker Add the Toradex Aster Carrier Board for Colibri iMX8X, small form-factor with header compatible with Arduino Uno and Raspberry Pi (RPi) maker boards. Additional details available at: https://www.toradex.com/products/carrier-boards/aster-carrier-board Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8qxp-colibri-aster.dts | 16 +++++++ .../dts/freescale/imx8x-colibri-aster.dtsi | 44 +++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 836dcc501e6f..9f49e47589ab 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -129,6 +129,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qm-apalis-v1.1-ixora-v1.1.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qm-apalis-v1.1-ixora-v1.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-ai_ml.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-aster.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts new file mode 100644 index 000000000000..966ecfb2a17e --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8qxp-colibri.dtsi" +#include "imx8x-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP on Aster Board"; + compatible = "toradex,colibri-imx8x-aster", + "toradex,colibri-imx8x", + "fsl,imx8qxp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi new file mode 100644 index 000000000000..aab655931cde --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +&colibri_gpio_keys { + status = "okay"; +}; + +/* Colibri Ethernet */ +&fec1 { + status = "okay"; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog0>; +}; + +/* Colibri SPI */ +&lpspi2 { + cs-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_LOW>, + <&lsio_gpio5 2 GPIO_ACTIVE_LOW>; +}; + +/* Colibri UART_B */ +&lpuart0 { + status = "okay"; +}; + +/* Colibri UART_C */ +&lpuart2 { + status = "okay"; +}; + +/* Colibri UART_A */ +&lpuart3 { + status= "okay"; +}; + +/* Colibri SDCard */ +&usdhc2 { + status = "okay"; +}; From patchwork Tue Mar 14 10:24:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69457 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677606wrd; Tue, 14 Mar 2023 03:36:27 -0700 (PDT) X-Google-Smtp-Source: AK7set8sXnS73m7ATkklCa2/fysO87U5hKWNTnIJlIUpbZT/hRmiEBYhfBSy2koP+/DBGFNy00sZ X-Received: by 2002:a62:1c87:0:b0:622:dd9b:e2d8 with SMTP id c129-20020a621c87000000b00622dd9be2d8mr6201154pfc.3.1678790187068; Tue, 14 Mar 2023 03:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790187; cv=none; d=google.com; s=arc-20160816; b=KN687qsSYp74Ig9X+cEz6nH6Ca01ljy04VqGThB6JnnNjIIHIzqsl1N/o/IihkoCS8 QNvOzu8vSnH6KCkJP/fIH0wTmPEZ91oFJGKhEMXlf7sTHRNwfYQekly7XkXZMlzK5pxA ztHwajVxvqG4NrhO4O/5nMi/WOEzMYLG7Q/Tc6C06rFFiJ051SDJlQvrBuAw1tWn5t+f 7r49Plkf8YLBjajrBJtN24rGbPXkUy5W22+/UhQr4E9kMNCr/m7Y6eVnyFbgGCKTcN5A JfO5tp6wQ78uDjEVF7YsdC5P0YPhqyekkbT15VGOjBBpb8IdXcR0xQfIxws5iL92XE4n iNJA== 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=xm6yVyfUsYhxKkvcrJHJ0+m1dMEH7DzYJrL23uGTF1k=; b=EKrN4E5UHWEatOYaquh2pjsCC2zmlHJKdzoNKlMiWwHfOcmFL5xbI3C7VCYcVtaAct deMrtHQXdbpMhMjlW/DcqyXH8/hE9CfWTy64oqQPhnBUGypHq7bPcJz7gW+gbA23HHMl rOvjWaMcPx9/PJif+vo9i5sXOno0QPA+knZZYeH6YlF/X7TaqFzfNWlbXNOcra5IAbGd Q9FnPoeTISbahffqOBD5W50fCgHCUfvaqb1R2GhC9Prxsqah54tIMJmZqB8f8L/2mBH/ cs/NrV1j7ijT7wZ3AH7grCShOdPg3c0O9+ITOpbTSDbbEtrdr+ADm51tTafI51woa6XO rloQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=dmmEseyP; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y5-20020a63fa05000000b00502e4103888si1943937pgh.801.2023.03.14.03.36.14; Tue, 14 Mar 2023 03:36:27 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=dmmEseyP; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231231AbjCNK0N (ORCPT + 99 others); Tue, 14 Mar 2023 06:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231245AbjCNKZO (ORCPT ); Tue, 14 Mar 2023 06:25:14 -0400 Received: from smtp-1908.mail.infomaniak.ch (smtp-1908.mail.infomaniak.ch [IPv6:2001:1600:4:17::1908]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD97173ADE for ; Tue, 14 Mar 2023 03:24:47 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4y3RsszMqHjx; Tue, 14 Mar 2023 11:24:34 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4x72XDz2MRh; Tue, 14 Mar 2023 11:24:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789474; bh=IhnvIMbVFoOPFBSGeTNsTYN1/UNZ+m4+0iZvLb6cAiY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dmmEseyPmyBRZo3xy+KeBMDl/upb2KnWVMtUhQNjVBdpOaifwF+jSwgjLoaw/KLn1 xi4cIBxXRaJpvGNoCVRV9W2epY5ZJT4pKb5n1+fmlLwW5lorpPwtybzPVgvGs3WgvG 9CUA0wzvXmzGa6CdcFX9cp9E9O/W/PUhWiMfYPSg= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 22/23] arm64: dts: colibri-imx8x: Add iris carrier board Date: Tue, 14 Mar 2023 11:24:08 +0100 Message-Id: <20230314102410.424773-23-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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?1760339099450510886?= X-GMAIL-MSGID: =?utf-8?q?1760339099450510886?= From: Philippe Schenker Add the Toradex Iris Carrier Board for Colibri iMX8X, small form-factor production ready board. Additional details available at: https://www.toradex.com/products/carrier-boards/iris-carrier-board Signed-off-by: Philippe Schenker --- (no changes since v1) arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8qxp-colibri-iris.dts | 16 +++ .../dts/freescale/imx8x-colibri-iris.dtsi | 115 ++++++++++++++++++ 3 files changed, 132 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 9f49e47589ab..48bb0fe4a616 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -131,6 +131,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-ai_ml.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-aster.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-iris.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts new file mode 100644 index 000000000000..fed75b5d4a1c --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8qxp-colibri.dtsi" +#include "imx8x-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP on Colibri Iris Board"; + compatible = "toradex,colibri-imx8x-iris", + "toradex,colibri-imx8x", + "fsl,imx8qxp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi new file mode 100644 index 000000000000..5f30c88855e7 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi @@ -0,0 +1,115 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/ { + aliases { + rtc0 = &rtc_i2c; + rtc1 = &rtc; + }; + + reg_3v3: regulator-3v3 { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "3.3V"; + }; +}; + +&colibri_gpio_keys { + status = "okay"; +}; + +/* Colibri FastEthernet */ +&fec1 { + status = "okay"; +}; + +/* Colibri I2C */ +&i2c1 { + status = "okay"; + + /* M41T0M6 real time clock on carrier board */ + rtc_i2c: rtc@68 { + compatible = "st,m41t0"; + reg = <0x68>; + }; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_iris>; + + pinctrl_gpio_iris: gpioirisgrp { + fsl,pins = , /* SODIMM 98 */ + , /* SODIMM 133 */ + , /* SODIMM 103 */ + , /* SODIMM 101 */ + , /* SODIMM 97 */ + , /* SODIMM 85 */ + , /* SODIMM 79 */ + ; /* SODIMM 45 */ + }; + + pinctrl_uart1_forceoff: uart1forceoffgrp { + fsl,pins = ; /* SODIMM 22 */ + }; + + pinctrl_uart23_forceoff: uart23forceoffgrp { + fsl,pins = ; /* SODIMM 23 */ + }; +}; + +/* Colibri SPI */ +&lpspi2 { + status = "okay"; +}; + +/* Colibri UART_B */ +&lpuart0 { + status = "okay"; +}; + +/* Colibri UART_C */ +&lpuart2 { + status = "okay"; +}; + +/* Colibri UART_A */ +&lpuart3 { + status= "okay"; +}; + +&lsio_gpio3 { + /* + * This turns the LVDS transceiver on. If one wants to turn the + * transceiver off, that property has to be deleted and the gpio handled + * in userspace. + */ + lvds-tx-on-hog { + gpio-hog; + gpios = <18 0>; + output-high; + }; +}; + +/* Colibri PWM_B */ +&lsio_pwm0 { + status = "okay"; +}; + +/* Colibri PWM_C */ +&lsio_pwm1 { + status = "okay"; +}; + +/* Colibri PWM_D */ +&lsio_pwm2 { + status = "okay"; +}; + +/* Colibri SD/MMC Card */ +&usdhc2 { + status = "okay"; +}; From patchwork Tue Mar 14 10:24:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 69471 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1678031wrd; Tue, 14 Mar 2023 03:37:24 -0700 (PDT) X-Google-Smtp-Source: AK7set+645QS5G2oZHcRif0NsCL/LnudPsy2pNkCYYjyDsTqm7wbsOzSjJo6927fOvgEk5WIny23 X-Received: by 2002:a05:6a20:aea5:b0:d5:1c74:27af with SMTP id do37-20020a056a20aea500b000d51c7427afmr2743340pzb.29.1678790244650; Tue, 14 Mar 2023 03:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790244; cv=none; d=google.com; s=arc-20160816; b=EPxOOn/ZIMfZP3ArIP21dL3847Gs5kEFnBYY2WfWhw9YsRFXxkUm34u4pVx/zkD4GY QGu+aNxYWeJLAabmS5O3cHRXNeCQomkn1ss+cy1UAotLeNuxdRRSpCv55Gt1V2CljJBe IS1vvqJJdW6bm6GyIDRmYzF/NBRueBOcDDKnr3bISpso+b+AaorJJfpRL+je61kw8HOO jn8yMQPOgjaSZrC1tYT79WxI7hrqU4NscCaSGwS9okgPm334ALTMOoDnHZOxSOEmF7nL xCxRSETbAwzPSPVnRYpYcZvFQMogUY925MUACnTeJ2sV2lRCAF/AVetZg1Ot0NxdKhwe QHXQ== 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=4L4GVfMyhps44Sut3L0tkoD4XqAJOdTYYsQvGay/1bQ=; b=pWQ2xJsbhGEdum5Y6H5u9nT3hPhI6N0E2GWi3ssnFAjWgeDH2sjT4wkGgJzwl+YS5s HRgKqaS0SivYT3BYYzoNkxrVhSuylYgdMf5R8VkaBWjcOvo7UMl1vx8m+aBKBJfQCl5p SHurxhbdlTvQqn+csWAli9efNpxzkj4EUZqatnkMJO2264e/zlrB3b6fzE7KyGswvLGp lbOvauup9BVg/gIsED4+7Byl4iMXoAN/MQ3QCzaPZ005hDjQXrmx8+ep0PcwgBhpVmd3 hhi/R32UCbyzMKUOV6S/2KmQi/ap2Ii0CafD5EeXGajWxHWD/TvL0N7S2RMhTTkZXPLs AJ8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=HMthhfpu; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o19-20020aa79793000000b005e7dc5d1b1bsi2020883pfp.82.2023.03.14.03.37.11; Tue, 14 Mar 2023 03:37:24 -0700 (PDT) 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=@pschenker.ch header.s=20220412 header.b=HMthhfpu; 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=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231301AbjCNK1O (ORCPT + 99 others); Tue, 14 Mar 2023 06:27:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229757AbjCNK0j (ORCPT ); Tue, 14 Mar 2023 06:26:39 -0400 Received: from smtp-190e.mail.infomaniak.ch (smtp-190e.mail.infomaniak.ch [185.125.25.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 372A689F1D for ; Tue, 14 Mar 2023 03:25:27 -0700 (PDT) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4z0C4szMqPvK; Tue, 14 Mar 2023 11:24:35 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4y4BZMz2MRr; Tue, 14 Mar 2023 11:24:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789474; bh=N9TaQZgXOplTwIw4xVY9z8/sZs7dNHHPPmg5EH3mb2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HMthhfpukpRI2pdo6RsKFnrBR3GKqgja9kBkuqEaiLZ/P/ofKIT+au6GT41C0Qp02 CzSAGGu05aeWWe3EF5QOwvoff/DkAvN1PLXn6exRI6HPQF0TZf3E4QQmsiPK5lyE6q bL2MLVBhEV71zl0np6dHZVNT80PtRXLP4fieS9bc= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 23/23] arm64: dts: colibri-imx8x: Add iris v2 carrier board Date: Tue, 14 Mar 2023 11:24:09 +0100 Message-Id: <20230314102410.424773-24-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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?1760339159771394891?= X-GMAIL-MSGID: =?utf-8?q?1760339159771394891?= From: Philippe Schenker Add the Toradex Iris V2 Carrier Board for Colibri iMX8X, small form-factor production ready board. Additional details available at: https://www.toradex.com/products/carrier-boards/iris-carrier-board Signed-off-by: Philippe Schenker --- Changes in v2: - Drop patch "arm64: dts: colibri-imx8x: Sort fec1 node alphabetically" - Drop patch "arm64: dts: colibri-imx8x: Sort properties" - Adapted cover-letter arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8qxp-colibri-iris-v2.dts | 16 +++++++ .../dts/freescale/imx8x-colibri-iris-v2.dtsi | 45 +++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri-iris-v2.dtsi diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 48bb0fe4a616..2eb746f6a2c2 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -132,6 +132,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-ai_ml.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-aster.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-iris.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-iris-v2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts new file mode 100644 index 000000000000..cca33213fa9b --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +/dts-v1/; + +#include "imx8qxp-colibri.dtsi" +#include "imx8x-colibri-iris-v2.dtsi" + +/ { + model = "Toradex Colibri iMX8QXP on Colibri Iris V2 Board"; + compatible = "toradex,colibri-imx8x-iris-v2", + "toradex,colibri-imx8x", + "fsl,imx8qxp"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris-v2.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris-v2.dtsi new file mode 100644 index 000000000000..98202a437040 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris-v2.dtsi @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +#include "imx8x-colibri-iris.dtsi" + +/ { + reg_3v3_vmmc: regulator-3v3-vmmc { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enable_3v3_vmmc>; + enable-active-high; + gpio = <&lsio_gpio0 31 GPIO_ACTIVE_HIGH>; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "3v3_vmmc"; + startup-delay-us = <100>; + }; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lvds_converter &pinctrl_gpio_iris>; + + pinctrl_enable_3v3_vmmc: enable_3v3_vmmc { + fsl,pins = ; /* SODIMM 100 */ + }; + + pinctrl_lvds_converter: lcd-lvds { + fsl,pins = , /* SODIMM 55 */ + /* 6B/8B mode. Select LOW - 8B mode (24bit) */ + , /* SODIMM 63 */ + , /* SODIMM 95 */ + ; /* SODIMM 99 */ + }; +}; + +/* Colibri SD/MMC Card */ +&usdhc2 { + cap-power-off-card; + /delete-property/ no-1-8-v; + vmmc-supply = <®_3v3_vmmc>; + status = "okay"; +};