Update Colibri iMX8X Devicetrees
Subsystems (2)
cover Update Colibri iMX8X Devicetrees
From: Philippe Schenker <[email protected]>
This patch series does update the device-trees for Colibri iMX8X to the latest state of development.
Adds the Carrier Board device-trees for:
- Aster
- Iris
- Iris v2
It as well changes ordering to be alphabetically and changes the pinmuxing bracket format together with some minor fixes.
Philippe Schenker (25):
arm64: dts: colibri-imx8x: Prepare for qxp and dx variants
arm64: dts: colibri-imx8x: Update spdx license
arm64: dts: colibri-imx8x: Sort properties
arm64: dts: colibri-imx8x: Use new bracket format
arm64: dts: colibri-imx8x: Add atmel pinctrl groups
arm64: dts: colibri-imx8x: Add pinctrl group for csi_mclk
arm64: dts: colibri-imx8x: Split pinctrl_hog1
arm64: dts: colibri-imx8x: Correct pull on lcdif
arm64: dts: colibri-imx8x: Add separate pinctrl group for cs2
arm64: dts: colibri-imx8x: Add pinctrl group for hdmi hpd
arm64: dts: colibri-imx8x: Sort fec1 node alphabetically
arm64: dts: colibri-imx8x: Add SPI
arm64: dts: colibri-imx8x: Add gpio-line-names
arm64: dts: colibri-imx8x: Disable touchscreen by default
arm64: dts: colibri-imx8x: Add jpegenc/dec
arm64: dts: colibri-imx8x: Add colibri pwm b, c, d
arm64: dts: colibri-imx8x: eval: Add spi-to-can
arm64: dts: colibri-imx8x: Add no-1-8-v to sd-card
arm64: dts: colibri-imx8x: Set thermal thresholds
arm64: dts: colibri-imx8x: Move gpio-keys to som level
arm64: dts: colibri-imx8x: Add todo comments
dt-bindings: arm: fsl: Add colibri-imx8x carrier boards
arm64: dts: colibri-imx8x: Add aster carrier board
arm64: dts: colibri-imx8x: Add iris carrier board
arm64: dts: colibri-imx8x: Add iris v2 carrier board
.../devicetree/bindings/arm/fsl.yaml | 5 +- arch/arm64/boot/dts/freescale/Makefile | 3 + .../dts/freescale/imx8qxp-colibri-aster.dts | 16 + .../dts/freescale/imx8qxp-colibri-eval-v3.dts | 6 +- .../freescale/imx8qxp-colibri-eval-v3.dtsi | 62 -- .../dts/freescale/imx8qxp-colibri-iris-v2.dts | 16 + .../dts/freescale/imx8qxp-colibri-iris.dts | 16 + .../boot/dts/freescale/imx8qxp-colibri.dtsi | 592 +------------ .../dts/freescale/imx8x-colibri-aster.dtsi | 44 + .../dts/freescale/imx8x-colibri-eval-v3.dtsi | 91 ++ .../dts/freescale/imx8x-colibri-iris-v2.dtsi | 45 + .../dts/freescale/imx8x-colibri-iris.dtsi | 115 +++ .../boot/dts/freescale/imx8x-colibri.dtsi | 776 ++++++++++++++++++ 13 files changed, 1132 insertions(+), 655 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts delete mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri-iris-v2.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
Signature · 1 line
2.39.2
PATCH 1/25 arm64: dts: colibri-imx8x: Prepare for qxp and dx variants
From: Philippe Schenker <[email protected]>
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.
---
.../dts/freescale/imx8qxp-colibri-eval-v3.dts | 4 +-
.../boot/dts/freescale/imx8qxp-colibri.dtsi | 590 +----------------
...val-v3.dtsi => imx8x-colibri-eval-v3.dtsi} | 0
.../boot/dts/freescale/imx8x-colibri.dtsi | 593 ++++++++++++++++++
4 files changed, 597 insertions(+), 590 deletions(-)
rename arch/arm64/boot/dts/freescale/{imx8qxp-colibri-eval-v3.dtsi => imx8x-colibri-eval-v3.dtsi} (100%)
create mode 100644 arch/arm64/boot/dts/freescale/imx8x-colibri.dtsiarch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts +2 -2
@@ -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"; };
arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi +2 -588
597 lines not on this page · raw message
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi renamed from arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dtsi +0 -0
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi new file +593 -0
593 lines not on this page · raw message
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH v1 01/25] arm64: dts: colibri-imx8x: Prepare for qxp and dx variants
Quoted 1 line · Philippe Schenker
From: Philippe Schenker <[email protected]>
Subject: Split? Or Rename? Because prepare is too vague.
Quoted 9 lines
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.dtsiintoimx8x-colibri.dtsi.Remove DX from the model string.
This commit intends no functional change.
Quoted 7 lines
Signed-off-by Philippe Schenker <[email protected]>---
.../dts/freescale/imx8qxp-colibri-eval-v3.dts | 4 +- .../boot/dts/freescale/imx8qxp-colibri.dtsi | 590 +---------------- ...val-v3.dtsi => imx8x-colibri-eval-v3.dtsi} | 0 .../boot/dts/freescale/imx8x-colibri.dtsi | 593 ++++++++++++++++++
Use proper -B/-C/-M settings so copy will be detected. It's not possible to review it otherwise.
Best regards,
Krzysztof
Re: [PATCH v1 01/25] arm64: dts: colibri-imx8x: Prepare for qxp and dx variants
Quoted 25 lines · Krzysztof Kozlowski
Quoted 1 line · Philippe Schenker
From: Philippe Schenker <[email protected]>
Subject: Split? Or Rename? Because prepare is too vague.
Quoted 11 lines
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 fromimx8qxp-colibri.dtsiintoimx8x-colibri.dtsi.Remove DX from the model string.
This commit intends no functional change.
Signed-off-by Philippe Schenker <[email protected]>Quoted 8 lines
---
.../dts/freescale/imx8qxp-colibri-eval-v3.dts | 4 +- .../boot/dts/freescale/imx8qxp-colibri.dtsi | 590 +-------------- --
...val-v3.dtsi =>imx8x-colibri-eval-v3.dtsi} | 0 .../boot/dts/freescale/imx8x-colibri.dtsi | 593
++++++++++++++++++
Quoted 3 lines
Use proper -B/-C/-M settings so copy will be detected. It's not possible
to review it otherwise.
Thank you! I wasn't aware of these options. They look nice, will try to make look it better in v2!
Quoted 6 lines
Best regards,
Krzysztof
PATCH 2/25 arm64: dts: colibri-imx8x: Update spdx license
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
GPL-2.0+ is deprecated, update it to GPL-2.0-or-later.
---
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(-)
arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dts +1 -1
@@ -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 */
arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi +1 -1
@@ -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 */
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +1 -1
@@ -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 */
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +1 -1
@@ -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 */
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 3/25 arm64: dts: colibri-imx8x: Sort properties
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
Sort properties according to the following order and inside these alphabetically.
1. compatible
2. reg
3. standard properties
4. specific properties
5. status
---
.../boot/dts/freescale/imx8x-colibri.dtsi | 142 +++++++++--------- 1 file changed, 71 insertions(+), 71 deletions(-)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +71 -71
@@ -10,9 +10,9 @@ chosen { reg_module_3v3: regulator-module-3v3 { compatible = "regulator-fixed"; - regulator-name = "+V3.3"; - regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3"; }; };
@@ -20,26 +20,26 @@ reg_module_3v3: regulator-module-3v3 { &i2c0 { #address-cells = <1>; #size-cells = <0>; - clock-frequency = <100000>; - pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c0>, <&pinctrl_sgtl5000_usb_clk>; + pinctrl-names = "default"; + clock-frequency = <100000>; 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>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ad7879_int>; adi,acquisition-time = /bits/ 8 <1>; - adi,median-filter-size = /bits/ 8 <2>; adi,averaging = /bits/ 8 <1>; adi,conversion-interval = /bits/ 8 <255>; + adi,first-conversion-delay = /bits/ 8 <3>; + adi,median-filter-size = /bits/ 8 <2>; + adi,resistance-plate-x = <120>; + touchscreen-max-pressure = <4096>; }; };
@@ -47,9 +47,9 @@ touchscreen@2c { &i2c1 { #address-cells = <1>; #size-cells = <0>; - clock-frequency = <100000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1>; + clock-frequency = <100000>; }; /* Colibri UART_B */
@@ -75,9 +75,9 @@ &fec1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_fec1>; pinctrl-1 = <&pinctrl_fec1_sleep>; - phy-mode = "rmii"; - phy-handle = <ðphy0>; fsl,magic-packet; + phy-handle = <ðphy0>; + phy-mode = "rmii"; mdio { #address-cells = <1>;
@@ -85,36 +85,36 @@ mdio { ethphy0: ethernet-phy@2 { compatible = "ethernet-phy-ieee802.3-c22"; - max-speed = <100>; reg = <2>; + max-speed = <100>; }; }; }; /* 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>; + bus-width = <8>; + no-sd; + no-sdio; + non-removable; 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>; + bus-width = <4>; + cd-gpios = <&lsio_gpio3 9 GPIO_ACTIVE_LOW>; disable-wp; + vmmc-supply = <®_module_3v3>; }; &iomuxc {
@@ -162,14 +162,14 @@ 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 + 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 >; };
@@ -177,38 +177,38 @@ 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 + 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 >; }; /* 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 */ + IMX8QXP_FLEXCAN0_TX_ADMA_FLEXCAN0_TX 0x21 /* SODIMM 32 */ >; }; /* 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 */ + IMX8QXP_FLEXCAN1_TX_ADMA_FLEXCAN1_TX 0x21 /* SODIMM 55 */ >; }; /* 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 */ + IMX8QXP_FLEXCAN2_TX_ADMA_FLEXCAN2_TX 0x21 /* SODIMM 35 */ >; };
@@ -227,32 +227,32 @@ 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_D00_CI_PI_D02 0x61 /* SODIMM 101 */ + IMX8QXP_CSI_D01_CI_PI_D03 0x61 /* SODIMM 103 */ 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_CSI_D06_CI_PI_D08 0x61 /* SODIMM 85 */ + IMX8QXP_CSI_D07_CI_PI_D09 0x61 /* SODIMM 65 */ + IMX8QXP_CSI_PCLK_LSIO_GPIO3_IO00 0x20 /* SODIMM 96 */ + IMX8QXP_ENET0_RGMII_RXC_LSIO_GPIO5_IO03 0x06000020 /* SODIMM 85 */ + IMX8QXP_ENET0_RGMII_TXD3_LSIO_GPIO5_IO02 0x06000020 /* SODIMM 65 */ + IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11 0x20 /* SODIMM 69 */ 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_SCLK_LSIO_GPIO3_IO17 0x20 /* SODIMM 95 */ IMX8QXP_QSPI0B_SS0_B_LSIO_GPIO3_IO23 0x20 /* SODIMM 104 */ IMX8QXP_QSPI0B_SS1_B_LSIO_GPIO3_IO24 0x20 /* SODIMM 106 */ + IMX8QXP_SAI0_RXD_LSIO_GPIO0_IO27 0x20 /* SODIMM 97 */ + IMX8QXP_SAI0_TXC_LSIO_GPIO0_IO26 0x20 /* SODIMM 79 */ + IMX8QXP_SAI0_TXD_LSIO_GPIO0_IO25 0x20 /* SODIMM 103 */ + IMX8QXP_SAI0_TXFS_LSIO_GPIO0_IO28 0x20 /* SODIMM 101 */ + IMX8QXP_SAI1_RXFS_LSIO_GPIO0_IO31 0x20 /* SODIMM 100 */ + IMX8QXP_USB_SS3_TC1_LSIO_GPIO4_IO04 0x20 /* SODIMM 133 */ + IMX8QXP_USB_SS3_TC2_LSIO_GPIO4_IO05 0x20 /* SODIMM 127 */ + IMX8QXP_USB_SS3_TC3_LSIO_GPIO4_IO06 0x20 /* SODIMM 131 */ >; };
@@ -308,13 +308,8 @@ 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_ENET0_RGMII_TXD2_LSIO_GPIO5_IO01 0x60 /* SODIMM 57 */ 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 */
@@ -324,15 +319,20 @@ 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_MCLK_IN0_ADMA_LCDIF_VSYNC 0x60 /* SODIMM 82 */ + IMX8QXP_MCLK_IN1_ADMA_LCDIF_EN 0x60 /* SODIMM 44 */ + IMX8QXP_MCLK_OUT0_ADMA_LCDIF_CLK 0x60 /* SODIMM 56 */ + IMX8QXP_SPDIF0_EXT_CLK_ADMA_LCDIF_D12 0x60 /* SODIMM 52 */ 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_CS0_ADMA_LCDIF_HSYNC 0x60 /* SODIMM 68 */ + IMX8QXP_SPI3_CS1_ADMA_LCDIF_D16 0x60 /* SODIMM 57 */ 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_SPI3_SDO_ADMA_LCDIF_D14 0x60 /* SODIMM 66 */ IMX8QXP_UART1_CTS_B_ADMA_LCDIF_D17 0x60 /* SODIMM 61 */ + IMX8QXP_USDHC1_RESET_B_LSIO_GPIO4_IO19 0x60 /* SODIMM 44 */ + IMX8QXP_USDHC1_WP_LSIO_GPIO4_IO21 0x60 /* SODIMM 76 */ >; };
@@ -340,19 +340,19 @@ IMX8QXP_UART1_CTS_B_ADMA_LCDIF_D17 0x60 /* SODIMM 61 */ 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 */ + IMX8QXP_SPI2_SDI_ADMA_SPI2_SDI 0x06000040 /* SODIMM 90 */ + IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO 0x06000040 /* SODIMM 92 */ >; }; /* 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 */ + IMX8QXP_UART0_RX_ADMA_UART0_RX 0x06000020 /* SODIMM 36 */ + IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020 /* SODIMM 38 */ >; };
@@ -375,12 +375,12 @@ IMX8QXP_FLEXCAN2_TX_ADMA_UART3_TX 0x06000020 /* SODIMM 35 */ /* Colibri UART_A Control */ pinctrl_lpuart3_ctrl: lpuart3ctrlgrp { fsl,pins = < + IMX8QXP_CSI_EN_LSIO_GPIO3_IO02 0x20 /* SODIMM 37 */ + IMX8QXP_CSI_RESET_LSIO_GPIO3_IO03 0x20 /* SODIMM 29 */ 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_SAI1_RXD_LSIO_GPIO0_IO29 0x20 /* SODIMM 25 */ IMX8QXP_USDHC1_CD_B_LSIO_GPIO4_IO22 0x20 /* SODIMM 31 */ - IMX8QXP_CSI_EN_LSIO_GPIO3_IO02 0x20 /* SODIMM 37 */ >; };
@@ -388,8 +388,8 @@ IMX8QXP_CSI_EN_LSIO_GPIO3_IO02 0x20 /* SODIMM 37 */ 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 */ + IMX8QXP_PCIE_CTRL0_WAKE_B_LSIO_GPIO4_IO02 0x04000061 /* SODIMM 94 */ >; };
@@ -428,9 +428,9 @@ 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_SDI_ADMA_SAI0_TXD 0x06000040 IMX8QXP_SPI0_SDO_ADMA_SAI0_TXFS 0x06000040 >; };
@@ -484,8 +484,8 @@ 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 + IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 >; };
@@ -501,8 +501,8 @@ 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 + IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 >; };
@@ -518,8 +518,8 @@ 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 + IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 >; };
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH v1 03/25] arm64: dts: colibri-imx8x: Sort properties
Quoted 10 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
Sort properties according to the following order and inside these alphabetically.
1. compatible
2. reg
3. standard properties
4. specific properties
5. status
Is this approved coding style for IMX DTS?
Quoted 12 lines
Signed-off-by Philippe Schenker <[email protected]>---
.../boot/dts/freescale/imx8x-colibri.dtsi | 142 +++++++++--------- 1 file changed, 71 insertions(+), 71 deletions(-)arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +0
-0
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi chosen { · line 15
Quoted 8 lines
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +2
-2@@ -10,9 +10,9 @@ chosen { reg_module_3v3: regulator-module-3v3 { compatible = "regulator-fixed"; - regulator-name = "+V3.3"; - regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; +
Best regards,
Krzysztof
Re: [PATCH v1 03/25] arm64: dts: colibri-imx8x: Sort properties
Quoted 1 line · Krzysztof Kozlowski
Is this approved coding style for IMX DTS?
How the ordering should be done is nowhere specifically documented (at least this is my current understanding).
The ordering how I noted it is what we gathered from multiple feedback on mailinglist discussions.
With that ordering I hope everyone is happy.
Philippe
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH v1 03/25] arm64: dts: colibri-imx8x: Sort properties
Quoted 11 lines · Philippe Schenker
Quoted 1 line · Krzysztof Kozlowski
Is this approved coding style for IMX DTS?
How the ordering should be done is nowhere specifically documented (at least this is my current understanding).
The ordering how I noted it is what we gathered from multiple feedback on mailinglist discussions.With that ordering I hope everyone is happy.
Philippe
Yeah, but what if next developer next month re-orders all your nodes again because he will use different coding style?
Best regards,
Krzysztof
Re: [PATCH v1 03/25] arm64: dts: colibri-imx8x: Sort properties
Quoted 11 lines · Krzysztof Kozlowski
Quoted 10 lines · Philippe Schenker
Quoted 1 line · Krzysztof Kozlowski
Is this approved coding style for IMX DTS?
How the ordering should be done is nowhere specifically documented (at
least this is my current understanding).
The ordering how I noted it is what we gathered from multiple feedback
on mailinglist discussions.
Quoted 6 lines
Quoted 3 lines
With that ordering I hope everyone is happy.
Philippe
Yeah, but what if next developer next month re-orders all your nodes again because he will use different coding style?
Someone from Toradex will complain that we want to have it the way I sent now, since this is the way we agreed on internally.
Quoted 4 lines
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH v1 03/25] arm64: dts: colibri-imx8x: Sort properties
Quoted 14 lines · Philippe Schenker
Quoted 13 lines · Krzysztof Kozlowski
Quoted 12 lines · Philippe Schenker
Quoted 1 line · Krzysztof Kozlowski
Is this approved coding style for IMX DTS?
How the ordering should be done is nowhere specifically documented (at
least this is my current understanding).
The ordering how I noted it is what we gathered from multiple feedback
on mailinglist discussions.With that ordering I hope everyone is happy.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Philippe
Yeah, but what if next developer next month re-orders all your nodes again because he will use different coding style?
Someone from Toradex will complain that we want to have it the way I sent now, since this is the way we agreed on internally.
I am sorry, but coding style is per subsystem, not per Toradex boards. Even if my example is not applicable, someone might come soon with something different for entire iMX and again re-order it.
Either make a rule for entire iMX or do not make re-shufflings. They are not useful.
Best regards,
Krzysztof
Re: [PATCH v1 03/25] arm64: dts: colibri-imx8x: Sort properties
In reply to Krzysztof KozlowskiHello Krzysztof, first thanks for your review.
Let's try to get some clarity on this with the help of Shawn.
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
Sort properties according to the following order and inside these alphabetically.
Quoted 7 lines
Quoted 5 lines
1. compatible
2. reg
3. standard properties
4. specific properties
5. statusIs this approved coding style for IMX DTS?
I 100% understand your concerns here.
With that said let me try to briefly explain the reasoning here, in various threads we were asked in the past to move node around based on some not 100% defined rules [0][1].
Quoted 10 lines · Shawn Guo
Review
Quoted 7 lines
+&usbotg1 {
(quoted diff) +6
-0+ adp-disable; + ci-disable-lpm; + hnp-disable; + over-current-active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1>;We generally want to put such generic properties before device specific ones.
In addition to that we find convenient to have properties sorted alphabetically when no other rule is available, it just prevents any kind of discussion, minimize merge conflicts and make comparing files easier.
I also agree that the difference between "generic"/"specific" is fuzzy at best.
With all that said ...
Shawn: What should we do? We can of course avoid any kind of re-ordering from now on.
I am fine to be very pragmatic here, no-reordering on existing DTS files, newly added DTS files we discuss whatever is the reasoning of the reviewer/maintainer on a case-by-case basis.
Francesco
[0] https://lore.kernel.org/all/[email protected]/
[1] https://lore.kernel.org/all/20230129031932.GO20713@T480/
Re: [PATCH v1 03/25] arm64: dts: colibri-imx8x: Sort properties
Quoted 42 lines · Francesco Dolcini
Hello Krzysztof, first thanks for your review.
Let's try to get some clarity on this with the help of Shawn.
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
Sort properties according to the following order and inside these alphabetically.
Quoted 7 lines
Quoted 5 lines
1. compatible
2. reg
3. standard properties
4. specific properties
5. statusIs this approved coding style for IMX DTS?
I 100% understand your concerns here.
With that said let me try to briefly explain the reasoning here, in various threads we were asked in the past to move node around based on some not 100% defined rules [0][1].
Quoted 10 lines · Shawn Guo
Review
Quoted 7 lines
+&usbotg1 {
(quoted diff) +6
-0+ adp-disable; + ci-disable-lpm; + hnp-disable; + over-current-active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1>;We generally want to put such generic properties before device specific ones.
In addition to that we find convenient to have properties sorted alphabetically when no other rule is available, it just prevents any kind of discussion, minimize merge conflicts and make comparing files easier.
Quoted 7 lines
I also agree that the difference between "generic"/"specific" is fuzzy at best.
With all that said ...
Shawn: What should we do? We can of course avoid any kind of re-ordering from now on.
We are practically asking for 1, 2 and 5 for i.MX DTS files, but pretty flexible for the rest.
Quoted 3 lines
I am fine to be very pragmatic here, no-reordering on existing DTS files, newly added DTS files we discuss whatever is the reasoning of the reviewer/maintainer on a case-by-case basis.
Sounds good to me! While I personally like your ordering, I do not want it to churn the existing DTS files.
I'm happy to take this patch as a special case though :)
Shawn
Re: [PATCH v1 03/25] arm64: dts: colibri-imx8x: Sort properties
Quoted 54 lines · Shawn Guo
Quoted 42 lines · Francesco Dolcini
Hello Krzysztof, first thanks for your review.
Let's try to get some clarity on this with the help of Shawn.
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
Sort properties according to the following order and inside these alphabetically.
Quoted 7 lines
Quoted 5 lines
1. compatible
2. reg
3. standard properties
4. specific properties
5. statusIs this approved coding style for IMX DTS?
I 100% understand your concerns here.
With that said let me try to briefly explain the reasoning here, in various threads we were asked in the past to move node around based on some not 100% defined rules [0][1].
Quoted 10 lines · Shawn Guo
Review
Quoted 7 lines
+&usbotg1 {
(quoted diff) +6
-0+ adp-disable; + ci-disable-lpm; + hnp-disable; + over-current-active-low; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1>;We generally want to put such generic properties before device specific ones.
In addition to that we find convenient to have properties sorted alphabetically when no other rule is available, it just prevents any kind of discussion, minimize merge conflicts and make comparing files easier.
Quoted 7 lines
I also agree that the difference between "generic"/"specific" is fuzzy at best.
With all that said ...
Shawn: What should we do? We can of course avoid any kind of re-ordering from now on.
We are practically asking for 1, 2 and 5 for i.MX DTS files, but pretty flexible for the rest.
Quoted 6 lines
Quoted 3 lines
I am fine to be very pragmatic here, no-reordering on existing DTS files, newly added DTS files we discuss whatever is the reasoning of the reviewer/maintainer on a case-by-case basis.
Sounds good to me! While I personally like your ordering, I do not want it to churn the existing DTS files.
Agreed.
Quoted 2 lines
I'm happy to take this patch as a special case though :)
Philippe just rebased all the stuff getting rid of the sort commit :-) No special case needed, he will send an updated series in a hour.
Thanks a lot,
Francesco
PATCH 4/25 arm64: dts: colibri-imx8x: Use new bracket format
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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/
---
.../boot/dts/freescale/imx8x-colibri.dtsi | 497 +++++++----------- 1 file changed, 202 insertions(+), 295 deletions(-)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +202 -295
@@ -123,144 +123,116 @@ &iomuxc { /* On-module touch pen-down interrupt */ pinctrl_ad7879_int: ad7879intgrp { - fsl,pins = < - IMX8QXP_MIPI_CSI0_I2C0_SCL_LSIO_GPIO3_IO05 0x21 - >; + 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 */ - >; + 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 */ - >; + 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 */ - >; + 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 */ - >; + 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_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 - 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 - >; + fsl,pins = <IMX8QXP_ENET0_MDC_CONN_ENET0_MDC 0x06000020>, + <IMX8QXP_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020>, + <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>, + <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>; }; pinctrl_fec1_sleep: fec1slpgrp { - fsl,pins = < - IMX8QXP_ENET0_MDC_LSIO_GPIO5_IO11 0x06000041 - IMX8QXP_ENET0_MDIO_LSIO_GPIO5_IO10 0x06000041 - 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 - 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 - >; + fsl,pins = <IMX8QXP_ENET0_MDC_LSIO_GPIO5_IO11 0x06000041>, + <IMX8QXP_ENET0_MDIO_LSIO_GPIO5_IO10 0x06000041>, + <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>, + <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>; }; /* Colibri optional CAN on UART_B RTS/CTS */ pinctrl_flexcan1: flexcan0grp { - fsl,pins = < - IMX8QXP_FLEXCAN0_RX_ADMA_FLEXCAN0_RX 0x21 /* SODIMM 34 */ - IMX8QXP_FLEXCAN0_TX_ADMA_FLEXCAN0_TX 0x21 /* SODIMM 32 */ - >; + fsl,pins = <IMX8QXP_FLEXCAN0_RX_ADMA_FLEXCAN0_RX 0x21>, /* SODIMM 34 */ + <IMX8QXP_FLEXCAN0_TX_ADMA_FLEXCAN0_TX 0x21>; /* SODIMM 32 */ }; /* Colibri optional CAN on PS2 */ pinctrl_flexcan2: flexcan1grp { - fsl,pins = < - IMX8QXP_FLEXCAN1_RX_ADMA_FLEXCAN1_RX 0x21 /* SODIMM 63 */ - IMX8QXP_FLEXCAN1_TX_ADMA_FLEXCAN1_TX 0x21 /* SODIMM 55 */ - >; + fsl,pins = <IMX8QXP_FLEXCAN1_RX_ADMA_FLEXCAN1_RX 0x21>, /* SODIMM 63 */ + <IMX8QXP_FLEXCAN1_TX_ADMA_FLEXCAN1_TX 0x21>; /* SODIMM 55 */ }; /* Colibri optional CAN on UART_A TXD/RXD */ pinctrl_flexcan3: flexcan2grp { - fsl,pins = < - IMX8QXP_FLEXCAN2_RX_ADMA_FLEXCAN2_RX 0x21 /* SODIMM 33 */ - IMX8QXP_FLEXCAN2_TX_ADMA_FLEXCAN2_TX 0x21 /* SODIMM 35 */ - >; + fsl,pins = <IMX8QXP_FLEXCAN2_RX_ADMA_FLEXCAN2_RX 0x21>, /* SODIMM 33 */ + <IMX8QXP_FLEXCAN2_TX_ADMA_FLEXCAN2_TX 0x21>; /* SODIMM 35 */ }; /* Colibri LCD Back-Light GPIO */ pinctrl_gpio_bl_on: gpioblongrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA3_LSIO_GPIO3_IO12 0x60 /* SODIMM 71 */ - >; + 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 */ - >; + fsl,pins = <IMX8QXP_QSPI0A_DATA1_LSIO_GPIO3_IO10 0x06700041>; /* SODIMM 45 */ }; pinctrl_hog0: hog0grp { - fsl,pins = < - IMX8QXP_CSI_D00_CI_PI_D02 0x61 /* SODIMM 101 */ - IMX8QXP_CSI_D01_CI_PI_D03 0x61 /* SODIMM 103 */ - IMX8QXP_CSI_D02_CI_PI_D04 0x61 /* SODIMM 79 */ - IMX8QXP_CSI_D03_CI_PI_D05 0x61 /* SODIMM 97 */ - IMX8QXP_CSI_D06_CI_PI_D08 0x61 /* SODIMM 85 */ - IMX8QXP_CSI_D07_CI_PI_D09 0x61 /* SODIMM 65 */ - IMX8QXP_CSI_PCLK_LSIO_GPIO3_IO00 0x20 /* SODIMM 96 */ - IMX8QXP_ENET0_RGMII_RXC_LSIO_GPIO5_IO03 0x06000020 /* SODIMM 85 */ - IMX8QXP_ENET0_RGMII_TXD3_LSIO_GPIO5_IO02 0x06000020 /* SODIMM 65 */ - IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11 0x20 /* SODIMM 69 */ - IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x20 /* SODIMM 99 */ - IMX8QXP_QSPI0B_DATA1_LSIO_GPIO3_IO19 0x20 /* SODIMM 105 */ - IMX8QXP_QSPI0B_DATA2_LSIO_GPIO3_IO20 0x20 /* SODIMM 107 */ - IMX8QXP_QSPI0B_DATA3_LSIO_GPIO3_IO21 0x20 /* SODIMM 98 */ - IMX8QXP_QSPI0B_DQS_LSIO_GPIO3_IO22 0x20 /* SODIMM 102 */ - IMX8QXP_QSPI0B_SCLK_LSIO_GPIO3_IO17 0x20 /* SODIMM 95 */ - IMX8QXP_QSPI0B_SS0_B_LSIO_GPIO3_IO23 0x20 /* SODIMM 104 */ - IMX8QXP_QSPI0B_SS1_B_LSIO_GPIO3_IO24 0x20 /* SODIMM 106 */ - IMX8QXP_SAI0_RXD_LSIO_GPIO0_IO27 0x20 /* SODIMM 97 */ - IMX8QXP_SAI0_TXC_LSIO_GPIO0_IO26 0x20 /* SODIMM 79 */ - IMX8QXP_SAI0_TXD_LSIO_GPIO0_IO25 0x20 /* SODIMM 103 */ - IMX8QXP_SAI0_TXFS_LSIO_GPIO0_IO28 0x20 /* SODIMM 101 */ - IMX8QXP_SAI1_RXFS_LSIO_GPIO0_IO31 0x20 /* SODIMM 100 */ - IMX8QXP_USB_SS3_TC1_LSIO_GPIO4_IO04 0x20 /* SODIMM 133 */ - IMX8QXP_USB_SS3_TC2_LSIO_GPIO4_IO05 0x20 /* SODIMM 127 */ - IMX8QXP_USB_SS3_TC3_LSIO_GPIO4_IO06 0x20 /* SODIMM 131 */ - >; + fsl,pins = <IMX8QXP_CSI_D00_CI_PI_D02 0x61>, /* SODIMM 101 */ + <IMX8QXP_CSI_D01_CI_PI_D03 0x61>, /* SODIMM 103 */ + <IMX8QXP_CSI_D02_CI_PI_D04 0x61>, /* SODIMM 79 */ + <IMX8QXP_CSI_D03_CI_PI_D05 0x61>, /* SODIMM 97 */ + <IMX8QXP_CSI_D06_CI_PI_D08 0x61>, /* SODIMM 85 */ + <IMX8QXP_CSI_D07_CI_PI_D09 0x61>, /* SODIMM 65 */ + <IMX8QXP_CSI_PCLK_LSIO_GPIO3_IO00 0x20>, /* SODIMM 96 */ + <IMX8QXP_ENET0_RGMII_RXC_LSIO_GPIO5_IO03 0x06000020>, /* SODIMM 85 */ + <IMX8QXP_ENET0_RGMII_TXD3_LSIO_GPIO5_IO02 0x06000020>, /* SODIMM 65 */ + <IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11 0x20>, /* SODIMM 69 */ + <IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x20>, /* SODIMM 99 */ + <IMX8QXP_QSPI0B_DATA1_LSIO_GPIO3_IO19 0x20>, /* SODIMM 105 */ + <IMX8QXP_QSPI0B_DATA2_LSIO_GPIO3_IO20 0x20>, /* SODIMM 107 */ + <IMX8QXP_QSPI0B_DATA3_LSIO_GPIO3_IO21 0x20>, /* SODIMM 98 */ + <IMX8QXP_QSPI0B_DQS_LSIO_GPIO3_IO22 0x20>, /* SODIMM 102 */ + <IMX8QXP_QSPI0B_SCLK_LSIO_GPIO3_IO17 0x20>, /* SODIMM 95 */ + <IMX8QXP_QSPI0B_SS0_B_LSIO_GPIO3_IO23 0x20>, /* SODIMM 104 */ + <IMX8QXP_QSPI0B_SS1_B_LSIO_GPIO3_IO24 0x20>, /* SODIMM 106 */ + <IMX8QXP_SAI0_RXD_LSIO_GPIO0_IO27 0x20>, /* SODIMM 97 */ + <IMX8QXP_SAI0_TXC_LSIO_GPIO0_IO26 0x20>, /* SODIMM 79 */ + <IMX8QXP_SAI0_TXD_LSIO_GPIO0_IO25 0x20>, /* SODIMM 103 */ + <IMX8QXP_SAI0_TXFS_LSIO_GPIO0_IO28 0x20>, /* SODIMM 101 */ + <IMX8QXP_SAI1_RXFS_LSIO_GPIO0_IO31 0x20>, /* SODIMM 100 */ + <IMX8QXP_USB_SS3_TC1_LSIO_GPIO4_IO04 0x20>, /* SODIMM 133 */ + <IMX8QXP_USB_SS3_TC2_LSIO_GPIO4_IO05 0x20>, /* SODIMM 127 */ + <IMX8QXP_USB_SS3_TC3_LSIO_GPIO4_IO06 0x20>; /* SODIMM 131 */ }; pinctrl_hog1: hog1grp { - fsl,pins = < - IMX8QXP_CSI_MCLK_LSIO_GPIO3_IO01 0x20 /* SODIMM 75 */ - IMX8QXP_QSPI0A_SCLK_LSIO_GPIO3_IO16 0x20 /* SODIMM 93 */ - >; + fsl,pins = <IMX8QXP_CSI_MCLK_LSIO_GPIO3_IO01 0x20>, /* SODIMM 75 */ + <IMX8QXP_QSPI0A_SCLK_LSIO_GPIO3_IO16 0x20>; /* SODIMM 93 */ }; /*
@@ -268,326 +240,261 @@ IMX8QXP_QSPI0A_SCLK_LSIO_GPIO3_IO16 0x20 /* SODIMM 93 */ * Linux would require rewritting the SCFW board file. */ pinctrl_hog_scfw: hogscfwgrp { - fsl,pins = < - IMX8QXP_SCU_GPIO0_00_LSIO_GPIO2_IO03 0x20 /* SODIMM 144 */ - >; + 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 - >; + 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 */ - >; + 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 */ - >; + 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 */ - >; + 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_ENET0_RGMII_TXD2_LSIO_GPIO5_IO01 0x60 /* SODIMM 57 */ - IMX8QXP_ESAI0_FSR_ADMA_LCDIF_D00 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_MCLK_IN0_ADMA_LCDIF_VSYNC 0x60 /* SODIMM 82 */ - IMX8QXP_MCLK_IN1_ADMA_LCDIF_EN 0x60 /* SODIMM 44 */ - IMX8QXP_MCLK_OUT0_ADMA_LCDIF_CLK 0x60 /* SODIMM 56 */ - IMX8QXP_SPDIF0_EXT_CLK_ADMA_LCDIF_D12 0x60 /* SODIMM 52 */ - IMX8QXP_SPDIF0_RX_ADMA_LCDIF_D10 0x60 /* SODIMM 74 */ - IMX8QXP_SPDIF0_TX_ADMA_LCDIF_D11 0x60 /* SODIMM 50 */ - IMX8QXP_SPI3_CS0_ADMA_LCDIF_HSYNC 0x60 /* SODIMM 68 */ - IMX8QXP_SPI3_CS1_ADMA_LCDIF_D16 0x60 /* SODIMM 57 */ - IMX8QXP_SPI3_SCK_ADMA_LCDIF_D13 0x60 /* SODIMM 54 */ - IMX8QXP_SPI3_SDI_ADMA_LCDIF_D15 0x60 /* SODIMM 64 */ - IMX8QXP_SPI3_SDO_ADMA_LCDIF_D14 0x60 /* SODIMM 66 */ - IMX8QXP_UART1_CTS_B_ADMA_LCDIF_D17 0x60 /* SODIMM 61 */ - IMX8QXP_USDHC1_RESET_B_LSIO_GPIO4_IO19 0x60 /* SODIMM 44 */ - IMX8QXP_USDHC1_WP_LSIO_GPIO4_IO21 0x60 /* SODIMM 76 */ - >; + fsl,pins = <IMX8QXP_ENET0_RGMII_TXD2_LSIO_GPIO5_IO01 0x60>, /* SODIMM 57 */ + <IMX8QXP_ESAI0_FSR_ADMA_LCDIF_D00 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_MCLK_IN0_ADMA_LCDIF_VSYNC 0x60>, /* SODIMM 82 */ + <IMX8QXP_MCLK_IN1_ADMA_LCDIF_EN 0x60>, /* SODIMM 44 */ + <IMX8QXP_MCLK_OUT0_ADMA_LCDIF_CLK 0x60>, /* SODIMM 56 */ + <IMX8QXP_SPDIF0_EXT_CLK_ADMA_LCDIF_D12 0x60>, /* SODIMM 52 */ + <IMX8QXP_SPDIF0_RX_ADMA_LCDIF_D10 0x60>, /* SODIMM 74 */ + <IMX8QXP_SPDIF0_TX_ADMA_LCDIF_D11 0x60>, /* SODIMM 50 */ + <IMX8QXP_SPI3_CS0_ADMA_LCDIF_HSYNC 0x60>, /* SODIMM 68 */ + <IMX8QXP_SPI3_CS1_ADMA_LCDIF_D16 0x60>, /* SODIMM 57 */ + <IMX8QXP_SPI3_SCK_ADMA_LCDIF_D13 0x60>, /* SODIMM 54 */ + <IMX8QXP_SPI3_SDI_ADMA_LCDIF_D15 0x60>, /* SODIMM 64 */ + <IMX8QXP_SPI3_SDO_ADMA_LCDIF_D14 0x60>, /* SODIMM 66 */ + <IMX8QXP_UART1_CTS_B_ADMA_LCDIF_D17 0x60>, /* SODIMM 61 */ + <IMX8QXP_USDHC1_RESET_B_LSIO_GPIO4_IO19 0x60>, /* SODIMM 44 */ + <IMX8QXP_USDHC1_WP_LSIO_GPIO4_IO21 0x60>; /* SODIMM 76 */ }; /* Colibri SPI */ pinctrl_lpspi2: lpspi2grp { - fsl,pins = < - IMX8QXP_SPI2_CS0_LSIO_GPIO1_IO00 0x21 /* SODIMM 86 */ - IMX8QXP_SPI2_SCK_ADMA_SPI2_SCK 0x06000040 /* SODIMM 88 */ - IMX8QXP_SPI2_SDI_ADMA_SPI2_SDI 0x06000040 /* SODIMM 90 */ - IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO 0x06000040 /* SODIMM 92 */ - >; + fsl,pins = <IMX8QXP_SPI2_CS0_LSIO_GPIO1_IO00 0x21>, /* SODIMM 86 */ + <IMX8QXP_SPI2_SCK_ADMA_SPI2_SCK 0x06000040>, /* SODIMM 88 */ + <IMX8QXP_SPI2_SDI_ADMA_SPI2_SDI 0x06000040>, /* SODIMM 90 */ + <IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO 0x06000040>; /* SODIMM 92 */ }; /* Colibri UART_B */ pinctrl_lpuart0: lpuart0grp { - fsl,pins = < - IMX8QXP_FLEXCAN0_RX_ADMA_UART0_RTS_B 0x06000020 /* SODIMM 34 */ - IMX8QXP_FLEXCAN0_TX_ADMA_UART0_CTS_B 0x06000020 /* SODIMM 32 */ - IMX8QXP_UART0_RX_ADMA_UART0_RX 0x06000020 /* SODIMM 36 */ - IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020 /* SODIMM 38 */ - >; + fsl,pins = <IMX8QXP_FLEXCAN0_RX_ADMA_UART0_RTS_B 0x06000020>, /* SODIMM 34 */ + <IMX8QXP_FLEXCAN0_TX_ADMA_UART0_CTS_B 0x06000020>, /* SODIMM 32 */ + <IMX8QXP_UART0_RX_ADMA_UART0_RX 0x06000020>, /* SODIMM 36 */ + <IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020>; /* SODIMM 38 */ }; /* 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 */ - >; + 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 */ - >; + 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_CSI_EN_LSIO_GPIO3_IO02 0x20 /* SODIMM 37 */ - IMX8QXP_CSI_RESET_LSIO_GPIO3_IO03 0x20 /* SODIMM 29 */ - IMX8QXP_MIPI_DSI1_GPIO0_01_LSIO_GPIO2_IO00 0x20 /* SODIMM 23 */ - IMX8QXP_SAI1_RXC_LSIO_GPIO0_IO30 0x20 /* SODIMM 27 */ - IMX8QXP_SAI1_RXD_LSIO_GPIO0_IO29 0x20 /* SODIMM 25 */ - IMX8QXP_USDHC1_CD_B_LSIO_GPIO4_IO22 0x20 /* SODIMM 31 */ - >; + fsl,pins = <IMX8QXP_CSI_EN_LSIO_GPIO3_IO02 0x20>, /* SODIMM 37 */ + <IMX8QXP_CSI_RESET_LSIO_GPIO3_IO03 0x20>, /* SODIMM 29 */ + <IMX8QXP_MIPI_DSI1_GPIO0_01_LSIO_GPIO2_IO00 0x20>, /* SODIMM 23 */ + <IMX8QXP_SAI1_RXC_LSIO_GPIO0_IO30 0x20>, /* SODIMM 27 */ + <IMX8QXP_SAI1_RXD_LSIO_GPIO0_IO29 0x20>, /* SODIMM 25 */ + <IMX8QXP_USDHC1_CD_B_LSIO_GPIO4_IO22 0x20>; /* SODIMM 31 */ }; /* On module wifi module */ pinctrl_pcieb: pciebgrp { - fsl,pins = < - IMX8QXP_PCIE_CTRL0_CLKREQ_B_LSIO_GPIO4_IO01 0x04000061 /* SODIMM 178 */ - IMX8QXP_PCIE_CTRL0_PERST_B_LSIO_GPIO4_IO00 0x60 /* SODIMM 81 */ - IMX8QXP_PCIE_CTRL0_WAKE_B_LSIO_GPIO4_IO02 0x04000061 /* SODIMM 94 */ - >; + fsl,pins = <IMX8QXP_PCIE_CTRL0_CLKREQ_B_LSIO_GPIO4_IO01 0x04000061>, /* SODIMM 178 */ + <IMX8QXP_PCIE_CTRL0_PERST_B_LSIO_GPIO4_IO00 0x60>, /* SODIMM 81 */ + <IMX8QXP_PCIE_CTRL0_WAKE_B_LSIO_GPIO4_IO02 0x04000061>; /* SODIMM 94 */ }; /* 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 */ - >; + 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 */ - >; + 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 */ - >; + 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 */ - >; + 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_CS0_ADMA_SAI0_RXD 0x06000040 - IMX8QXP_SPI0_SCK_ADMA_SAI0_TXC 0x06000040 - IMX8QXP_SPI0_SDI_ADMA_SAI0_TXD 0x06000040 - IMX8QXP_SPI0_SDO_ADMA_SAI0_TXFS 0x06000040 - >; + fsl,pins = <IMX8QXP_SPI0_CS0_ADMA_SAI0_RXD 0x06000040>, + <IMX8QXP_SPI0_SCK_ADMA_SAI0_TXC 0x06000040>, + <IMX8QXP_SPI0_SDI_ADMA_SAI0_TXD 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 - >; + fsl,pins = <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 - >; + 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 - >; + 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 */ - >; + 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 */ - >; + 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_RESET_B_CONN_EMMC0_RESET_B 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - >; + 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_RESET_B_CONN_EMMC0_RESET_B 0x21>, + <IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41>; }; 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_RESET_B_CONN_EMMC0_RESET_B 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - >; + 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_RESET_B_CONN_EMMC0_RESET_B 0x21>, + <IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41>; }; 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_RESET_B_CONN_EMMC0_RESET_B 0x21 - IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41 - >; + 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_RESET_B_CONN_EMMC0_RESET_B 0x21>, + <IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x41>; }; /* Colibri SD/MMC Card Detect */ pinctrl_usdhc2_gpio: usdhc2gpiogrp { - fsl,pins = < - IMX8QXP_QSPI0A_DATA0_LSIO_GPIO3_IO09 0x06000021 /* SODIMM 43 */ - >; + 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 */ - >; + 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 - >; + 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 - >; + 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 - >; + 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 - >; + 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 - >; + fsl,pins = <IMX8QXP_SCU_BOOT_MODE3_SCU_DSC_RTC_CLOCK_OUTPUT_32K 0x20>; }; };
Signature · 1 line
2.39.2
PATCH 5/25 arm64: dts: colibri-imx8x: Add atmel pinctrl groups
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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.
---
.../boot/dts/freescale/imx8x-colibri.dtsi | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +16 -2
@@ -134,6 +134,22 @@ pinctrl_adc0: adc0grp { <IMX8QXP_ADC_IN5_ADMA_ADC_IN5 0x60>; /* 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 = <IMX8QXP_UART1_RX_LSIO_GPIO0_IO22 0x21>, /* SODIMM 30 */ + <IMX8QXP_UART1_TX_LSIO_GPIO0_IO21 0x4000021>; /* SODIMM 28 */ + }; + + /* Atmel MXT touchsceen + boards with built-in Capacitive Touch Connector */ + pinctrl_atmel_conn: atmelconnectorgrp { + fsl,pins = <IMX8QXP_QSPI0B_DATA2_LSIO_GPIO3_IO20 0x4000021>, /* SODIMM 107 */ + <IMX8QXP_QSPI0B_SS1_B_LSIO_GPIO3_IO24 0x21>; /* SODIMM 106 */ + }; + pinctrl_can_int: canintgrp { fsl,pins = <IMX8QXP_QSPI0A_DQS_LSIO_GPIO3_IO13 0x40>; /* SODIMM 73 */ };
@@ -214,12 +230,10 @@ pinctrl_hog0: hog0grp { <IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11 0x20>, /* SODIMM 69 */ <IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x20>, /* SODIMM 99 */ <IMX8QXP_QSPI0B_DATA1_LSIO_GPIO3_IO19 0x20>, /* SODIMM 105 */ - <IMX8QXP_QSPI0B_DATA2_LSIO_GPIO3_IO20 0x20>, /* SODIMM 107 */ <IMX8QXP_QSPI0B_DATA3_LSIO_GPIO3_IO21 0x20>, /* SODIMM 98 */ <IMX8QXP_QSPI0B_DQS_LSIO_GPIO3_IO22 0x20>, /* SODIMM 102 */ <IMX8QXP_QSPI0B_SCLK_LSIO_GPIO3_IO17 0x20>, /* SODIMM 95 */ <IMX8QXP_QSPI0B_SS0_B_LSIO_GPIO3_IO23 0x20>, /* SODIMM 104 */ - <IMX8QXP_QSPI0B_SS1_B_LSIO_GPIO3_IO24 0x20>, /* SODIMM 106 */ <IMX8QXP_SAI0_RXD_LSIO_GPIO0_IO27 0x20>, /* SODIMM 97 */ <IMX8QXP_SAI0_TXC_LSIO_GPIO0_IO26 0x20>, /* SODIMM 79 */ <IMX8QXP_SAI0_TXD_LSIO_GPIO0_IO25 0x20>, /* SODIMM 103 */
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 6/25 arm64: dts: colibri-imx8x: Add pinctrl group for csi_mclk
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
Add missing pinctrl groups that can be used to enable the correct muxing if csi_mclk is needed on SODIMM 75.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +4 -0
@@ -159,6 +159,10 @@ pinctrl_csi_ctl: csictlgrp { <IMX8QXP_QSPI0A_SS1_B_LSIO_GPIO3_IO15 0x20>; /* SODIMM 89 */ }; + pinctrl_csi_mclk: csimclkgrp { + fsl,pins = <IMX8QXP_CSI_MCLK_CI_PI_MCLK 0xC0000041>; /* SODIMM 75 / X3-12 */ + }; + pinctrl_ext_io0: extio0grp { fsl,pins = <IMX8QXP_ENET0_RGMII_RXD3_LSIO_GPIO5_IO08 0x06000040>; /* SODIMM 135 */ };
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 7/25 arm64: dts: colibri-imx8x: Split pinctrl_hog1
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
Split pinctrl_hog1 into a second group so CSI_MCLK can be muxed to a gpio on its own.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +6 -1
@@ -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 { <IMX8QXP_QSPI0A_SCLK_LSIO_GPIO3_IO16 0x20>; /* SODIMM 93 */ }; + pinctrl_hog2: hog2grp { + fsl,pins = <IMX8QXP_CSI_MCLK_LSIO_GPIO3_IO01 0x20>; /* SODIMM 75 */ + }; + /* * This pin is used in the SCFW as a UART. Using it from * Linux would require rewritting the SCFW board file.
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 8/25 arm64: dts: colibri-imx8x: Correct pull on lcdif
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
The pads USDHC1_RESET_B and MCLK_IN1 need a pull-down instead of pull-disabled. Correct this.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +2 -2
@@ -304,7 +304,7 @@ pinctrl_lcdif: lcdifgrp { <IMX8QXP_ESAI0_TX4_RX1_ADMA_LCDIF_D08 0x60>, /* SODIMM 62 */ <IMX8QXP_ESAI0_TX5_RX0_ADMA_LCDIF_D09 0x60>, /* SODIMM 48 */ <IMX8QXP_MCLK_IN0_ADMA_LCDIF_VSYNC 0x60>, /* SODIMM 82 */ - <IMX8QXP_MCLK_IN1_ADMA_LCDIF_EN 0x60>, /* SODIMM 44 */ + <IMX8QXP_MCLK_IN1_ADMA_LCDIF_EN 0x40>, /* SODIMM 44 */ <IMX8QXP_MCLK_OUT0_ADMA_LCDIF_CLK 0x60>, /* SODIMM 56 */ <IMX8QXP_SPDIF0_EXT_CLK_ADMA_LCDIF_D12 0x60>, /* SODIMM 52 */ <IMX8QXP_SPDIF0_RX_ADMA_LCDIF_D10 0x60>, /* SODIMM 74 */
@@ -315,7 +315,7 @@ pinctrl_lcdif: lcdifgrp { <IMX8QXP_SPI3_SDI_ADMA_LCDIF_D15 0x60>, /* SODIMM 64 */ <IMX8QXP_SPI3_SDO_ADMA_LCDIF_D14 0x60>, /* SODIMM 66 */ <IMX8QXP_UART1_CTS_B_ADMA_LCDIF_D17 0x60>, /* SODIMM 61 */ - <IMX8QXP_USDHC1_RESET_B_LSIO_GPIO4_IO19 0x60>, /* SODIMM 44 */ + <IMX8QXP_USDHC1_RESET_B_LSIO_GPIO4_IO19 0x40>, /* SODIMM 44 */ <IMX8QXP_USDHC1_WP_LSIO_GPIO4_IO21 0x60>; /* SODIMM 76 */ };
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 9/25 arm64: dts: colibri-imx8x: Add separate pinctrl group for cs2
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
Add a separate pinctrl group for chip-select 2 for Colibri SPI. That way one is able to use it separately.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +5 -2
@@ -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 {
@@ -231,7 +231,6 @@ pinctrl_hog0: hog0grp { <IMX8QXP_CSI_D07_CI_PI_D09 0x61>, /* SODIMM 65 */ <IMX8QXP_CSI_PCLK_LSIO_GPIO3_IO00 0x20>, /* SODIMM 96 */ <IMX8QXP_ENET0_RGMII_RXC_LSIO_GPIO5_IO03 0x06000020>, /* SODIMM 85 */ - <IMX8QXP_ENET0_RGMII_TXD3_LSIO_GPIO5_IO02 0x06000020>, /* SODIMM 65 */ <IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11 0x20>, /* SODIMM 69 */ <IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18 0x20>, /* SODIMM 99 */ <IMX8QXP_QSPI0B_DATA1_LSIO_GPIO3_IO19 0x20>, /* SODIMM 105 */
@@ -327,6 +326,10 @@ pinctrl_lpspi2: lpspi2grp { <IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO 0x06000040>; /* SODIMM 92 */ }; + pinctrl_lpspi2_cs2: lpspi2cs2grp { + fsl,pins = <IMX8QXP_ENET0_RGMII_TXD3_LSIO_GPIO5_IO02 0x21>; /* SODIMM 65 */ + }; + /* Colibri UART_B */ pinctrl_lpuart0: lpuart0grp { fsl,pins = <IMX8QXP_FLEXCAN0_RX_ADMA_UART0_RTS_B 0x06000020>, /* SODIMM 34 */
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 10/25 arm64: dts: colibri-imx8x: Add pinctrl group for hdmi hpd
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
The colibri imx8x contains a dedicated gpio meant for HDMI hot-plug-detect. Add a pinctrl group to make this usable.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +5 -0
@@ -218,6 +218,11 @@ pinctrl_gpio_bl_on: gpioblongrp { fsl,pins = <IMX8QXP_QSPI0A_DATA3_LSIO_GPIO3_IO12 0x60>; /* SODIMM 71 */ }; + /* HDMI Hot Plug Detect on FFC (X2) */ + pinctrl_gpio_hpd: gpiohpdgrp { + fsl,pins = <IMX8QXP_MIPI_DSI1_GPIO0_00_LSIO_GPIO1_IO31 0x20>; /* SODIMM 138 */ + }; + pinctrl_gpiokeys: gpiokeysgrp { fsl,pins = <IMX8QXP_QSPI0A_DATA1_LSIO_GPIO3_IO10 0x06700041>; /* SODIMM 45 */ };
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 11/25 arm64: dts: colibri-imx8x: Sort fec1 node alphabetically
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
fec1 seems to be the only one that is not properly sorted alphabetically. Put it to the location it belongs.
---
.../dts/freescale/imx8x-colibri-eval-v3.dtsi | 10 ++--- .../boot/dts/freescale/imx8x-colibri.dtsi | 42 +++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-)
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +5 -5
@@ -26,6 +26,11 @@ key-wakeup { }; }; +/* Colibri FastEthernet */ +&fec1 { + status = "okay"; +}; + &i2c1 { status = "okay";
@@ -51,11 +56,6 @@ &lpuart3 { status = "okay"; }; -/* Colibri FastEthernet */ -&fec1 { - status = "okay"; -}; - /* Colibri SD/MMC Card */ &usdhc2 { status = "okay";
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +21 -21
54 lines not on this page · raw message
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 12/25 arm64: dts: colibri-imx8x: Add SPI
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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.
---
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(+)
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +5 -0
@@ -41,6 +41,11 @@ rtc_i2c: rtc@68 { }; }; +/* Colibri SPI */ +&lpspi2 { + status = "okay"; +}; + /* Colibri UART_B */ &lpuart0 { status = "okay";
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +7 -0
@@ -91,6 +91,13 @@ &lpuart3 { pinctrl-0 = <&pinctrl_lpuart3>, <&pinctrl_lpuart3_ctrl>; }; +/* Colibri SPI */ +&lpspi2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpspi2>; + cs-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_LOW>; +}; + /* On-module eMMC */ &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz";
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 13/25 arm64: dts: colibri-imx8x: Add gpio-line-names
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
This commit adds gpio-line-names in line with other SoM from Toradex.
---
.../boot/dts/freescale/imx8x-colibri.dtsi | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +152 -0
@@ -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 { pinctrl-names = "default", "state_100mhz", "state_200mhz";
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 14/25 arm64: dts: colibri-imx8x: Disable touchscreen by default
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +1 -0
@@ -61,6 +61,7 @@ touchscreen@2c { adi,median-filter-size = /bits/ 8 <2>; adi,resistance-plate-x = <120>; touchscreen-max-pressure = <4096>; + status = "disabled"; }; };
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 15/25 arm64: dts: colibri-imx8x: Add jpegenc/dec
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
jpeg encoder and decoder are available. Do enable them in the module level device-tree since those are self-contained.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +8 -0
@@ -74,6 +74,14 @@ &i2c1 { clock-frequency = <100000>; }; +&jpegdec { + status = "okay"; +}; + +&jpegenc { + status = "okay"; +}; + /* Colibri UART_B */ &lpuart0 { pinctrl-names = "default";
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 16/25 arm64: dts: colibri-imx8x: Add colibri pwm b, c, d
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
Add Colibri PWM_B, PWM_C, PWM_D to the module-level device-tree and set the status to ok on the eval-board.
---
.../dts/freescale/imx8x-colibri-eval-v3.dtsi | 15 +++++++++++++ .../boot/dts/freescale/imx8x-colibri.dtsi | 21 +++++++++++++++++++ 2 files changed, 36 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +15 -0
@@ -56,6 +56,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";
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +21 -0
@@ -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 { pinctrl-names = "default", "state_100mhz", "state_200mhz";
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 17/25 arm64: dts: colibri-imx8x: eval: Add spi-to-can
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
Add mcp2515 spi-to-can to &lpspi2.
---
.../dts/freescale/imx8x-colibri-eval-v3.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +19 -0
@@ -11,6 +11,13 @@ aliases { rtc1 = &rtc; }; + /* fixed crystal dedicated to mcp25xx */ + clk16m: clock-16mhz-fixed { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <16000000>; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default";
@@ -44,6 +51,18 @@ 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>; + status = "okay"; + }; }; /* Colibri UART_B */
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH v1 17/25] arm64: dts: colibri-imx8x: eval: Add spi-to-can
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
Quoted 14 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
Add mcp2515 spi-to-can to &lpspi2.
Signed-off-by Philippe Schenker <[email protected]>---
.../dts/freescale/imx8x-colibri-eval-v3.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +0
-0
There is no such file.
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi aliases { · line 15
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +2
-0@@ -11,6 +11,13 @@ aliases { rtc1 = &rtc; }; + /* fixed crystal dedicated to mcp25xx */ + clk16m: clock-16mhz-fixed {
Drop "fixed".
Quoted 11 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +5
-0+ compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <16000000>; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default";@@ -44,6 +51,18 @@ rtc_i2c: rtc@68 { /* Colibri SPI */ &lpspi2 {
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi rtc_i2c: rtc@68 { · line 62
Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +9
-0status = "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>;
You just sorted all nodes in previous patches and add something unsorted? What is then the style of order? Random name?
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi rtc_i2c: rtc@68 { · line 64
Quoted 2 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +2
-0+ spi-max-frequency = <10000000>; + status = "okay";
Why do you need it?
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi rtc_i2c: rtc@68 { · line 68
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +1
-0+ }; }; /* Colibri UART_B */
Best regards,
Krzysztof
Re: [PATCH v1 17/25] arm64: dts: colibri-imx8x: eval: Add spi-to-can
Quoted 12 lines · Krzysztof Kozlowski
Quoted 11 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
Add mcp2515 spi-to-can to &lpspi2.
Signed-off-by Philippe Schenker <[email protected]>---
.../dts/freescale/imx8x-colibri-eval-v3.dtsi | 19
+++++++++++++++++++1 file changed, 19 insertions(+)
Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
Quoted 5 lines
(quoted diff) +0
-0
v3.dtsib/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsiindex625d2caaf5d1..e7e3cf462408100644arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +0
-0There is no such file.
Thanks for your feedback!
This file is being created int he first patch in the series.
Quoted 9 lines
Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +0
-0@@ -11,6 +11,13 @@ aliases { rtc1 = &rtc; };
+ /* fixed crystal dedicated to mcp25xx */
+ clk16m: clock-16mhz-fixed {Drop "fixed".
I'll prepare a v2 and plan to send it out beginning of next week.
Quoted 17 lines
Quoted 17 lines
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <16000000>;
+ };
+
gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +4
-0@@ -44,6 +51,18 @@ rtc_i2c: rtc@68 { /* Colibri SPI */ &lpspi2 { status = "okay"; + + mcp2515: can@0 { + compatible = "microchip,mcp2515"; + reg = <0>;
Quoted 8 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi rtc_i2c: rtc@68 { · line 62
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +5
-0+ interrupt-parent = <&lsio_gpio3>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + pinctrl-0 = <&pinctrl_can_int>; + pinctrl-names = "default"; + clocks = <&clk16m>;You just sorted all nodes in previous patches and add something unsorted? What is then the style of order? Random name?
My logic behind this one is
1. compatible property
2. reg property
3. standard properties
- first interrupt
- then pinctrl
4. specific properties
- again alphabetically: clocks, spi-max-frequency
5. status
How would you do it?
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi rtc_i2c: rtc@68 { · line 64
Quoted 3 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +2
-0+ spi-max-frequency = <10000000>; + status = "okay";Why do you need it?
This chip is placed on our eval-board and we usually try to enable it so someone can right away use CAN.
Quoted 9 lines
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +1
-0+ }; };
/* ColibriUART_B*/Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH v1 17/25] arm64: dts: colibri-imx8x: eval: Add spi-to-can
Quoted 14 lines · Philippe Schenker
Quoted 11 lines
Quoted 8 lines
+ mcp2515: can@0 {
+ compatible = "microchip,mcp2515"; + reg = <0>;
+ interrupt-parent = <&lsio_gpio3>; + interrupts = <13IRQ_TYPE_EDGE_FALLING>; + pinctrl-0 = <&pinctrl_can_int>; + pinctrl-names = "default";
+ clocks = <&clk16m>;You just sorted all nodes in previous patches and add something unsorted? What is then the style of order? Random name?
My logic behind this one is
Quoted 7 lines
1. compatible property
2. reg property
3. standard properties
- first interrupt
- then pinctrl
4. specific properties
- again alphabetically: clocks, spi-max-frequency
clocks and spi-max-frequency are standard properties.
BTW, what is a specific property?
Best regards,
Krzysztof
Re: [PATCH v1 17/25] arm64: dts: colibri-imx8x: eval: Add spi-to-can
Quoted 23 lines · Krzysztof Kozlowski
Quoted 14 lines · Philippe Schenker
Quoted 11 lines
Quoted 8 lines
+ mcp2515: can@0 {
+ compatible = "microchip,mcp2515"; + reg = <0>;
+ interrupt-parent = <&lsio_gpio3>; + interrupts = <13IRQ_TYPE_EDGE_FALLING>; + pinctrl-0 = <&pinctrl_can_int>; + pinctrl-names = "default";
+ clocks = <&clk16m>;You just sorted all nodes in previous patches and add something unsorted? What is then the style of order? Random name?
My logic behind this one is
Quoted 7 lines
1. compatible property
2. reg property
3. standard properties
- first interrupt
- then pinctrl
4. specific properties
- again alphabetically: clocks, spi-max-frequency
Quoted 3 lines
clocks and spi-max-frequency are standard properties.
BTW, what is a specific property?
I mean specific to this driver. With standard properties I mean those you can add everywhere like pinctrl, interrupts etc. But then yes I agree you can pretty quickly start to argue...
Would in this particular case something like
mcp2515: can@0 {
compatible = "microchip,mcp2515";
reg = <0>;
pinctrl-0 = <&pinctrl_can_int>;
pinctrl-names = "default";
clocks = <&clk16m>;
interrupt-parent = <&lsio_gpio3>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
spi-max-frequency = <10000000>;
};be better?
Quoted 4 lines
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH v1 17/25] arm64: dts: colibri-imx8x: eval: Add spi-to-can
In reply to Krzysztof KozlowskiQuoted 54 lines · Krzysztof Kozlowski
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
Quoted 16 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
Add mcp2515 spi-to-can to &lpspi2.
Signed-off-by Philippe Schenker <[email protected]>---
.../dts/freescale/imx8x-colibri-eval-v3.dtsi | 19
+++++++++++++++++++1 file changed, 19 insertions(+)(quoted diff) +0
-0
v3.dtsib/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsiindex625d2caaf5d1..e7e3cf462408100644arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +0
-0There is no such file.
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +0
-0@@ -11,6 +11,13 @@ aliases { rtc1 = &rtc; };
+ /* fixed crystal dedicated to mcp25xx */
+ clk16m: clock-16mhz-fixed {Drop "fixed".
Quoted 11 lines
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <16000000>;
+ };
+
gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +0
-0@@ -44,6 +51,18 @@ rtc_i2c: rtc@68 { /* Colibri SPI */ &lpspi2 {arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi rtc_i2c: rtc@68 { · line 62
Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +9
-0status = "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>;You just sorted all nodes in previous patches and add something unsorted? What is then the style of order? Random name?
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi rtc_i2c: rtc@68 { · line 64
Quoted 2 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +2
-0+ spi-max-frequency = <10000000>; + status = "okay";Why do you need it?
Ok, now I know what you mean. Will remove it in v2.
Quoted 9 lines
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +1
-0+ }; };
/* ColibriUART_B*/Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 18/25 arm64: dts: colibri-imx8x: Add no-1-8-v to sd-card
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +1 -0
@@ -303,6 +303,7 @@ &usdhc2 { bus-width = <4>; cd-gpios = <&lsio_gpio3 9 GPIO_ACTIVE_LOW>; disable-wp; + no-1-8-v; vmmc-supply = <®_module_3v3>; };
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 19/25 arm64: dts: colibri-imx8x: Set thermal thresholds
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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.
---
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +12 -0
@@ -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"; +}; + /* Colibri FastEthernet */ &fec1 { pinctrl-names = "default", "sleep";
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 20/25 arm64: dts: colibri-imx8x: Move gpio-keys to som level
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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.
---
.../dts/freescale/imx8x-colibri-eval-v3.dtsi | 16 +++------------- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 13 deletions(-)
arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +3 -13
@@ -17,20 +17,10 @@ clk16m: clock-16mhz-fixed { #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 = <KEY_WAKEUP>; - debounce-interval = <10>; - wakeup-source; - }; - }; +&colibri_gpio_keys { + status = "okay"; }; /* Colibri FastEthernet */
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +15 -0
@@ -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 = <KEY_WAKEUP>; + wakeup-source; + }; + }; + reg_module_3v3: regulator-module-3v3 { compatible = "regulator-fixed"; regulator-max-microvolt = <3300000>;
Signature · 1 line
2.39.2
PATCH 21/25 arm64: dts: colibri-imx8x: Add todo comments
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
Highlight what is still missing.
---
.../boot/dts/freescale/imx8x-colibri.dtsi | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+)
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +28 -0
@@ -31,6 +31,10 @@ reg_module_3v3: regulator-module-3v3 { }; }; +/* TODO Analogue Inputs */ + +/* TODO Cooling maps for DX */ + &cpu_alert0 { hysteresis = <2000>; temperature = <90000>;
@@ -64,6 +68,10 @@ ethphy0: ethernet-phy@2 { }; }; +/* TODO flexcan1 - 3 */ + +/* TODO GPU */ + /* On-module I2C */ &i2c0 { #address-cells = <1>;
@@ -92,6 +100,10 @@ touchscreen@2c { }; }; +/* TODO i2c lvds0 accessible on FFC (X2) */ + +/* TODO i2c lvds1 accessible on FFC (X3) */ + /* Colibri I2C */ &i2c1 { #address-cells = <1>;
@@ -109,6 +121,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 { pinctrl-names = "default", "state_100mhz", "state_200mhz";
@@ -334,6 +356,12 @@ &usdhc2 { vmmc-supply = <®_module_3v3>; }; +/* TODO USB Client/Host */ + +/* TODO USB Host */ + +/* TODO VPU Encoder/Decoder */ + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>,
Signature · 7 lines
2.39.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 22/25 dt-bindings: arm: fsl: Add colibri-imx8x carrier boards
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
Prepare the dt-bindings for the new colibri-imx8x carrier-boards Aster and Iris.
The Toradex SoM standard is called Colibri, fix the typo.
---
Documentation/devicetree/bindings/arm/fsl.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/fsl.yaml +4 -1
@@ -1135,10 +1135,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
Signature · 1 line
2.39.2
Re: [PATCH v1 22/25] dt-bindings: arm: fsl: Add colibri-imx8x carrier boards
Quoted 5 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
Prepare the dt-bindings for the new colibri-imx8x carrier-boards Aster and Iris.
Quoted 7 lines
The Toradex SoM standard is called Colibri, fix the typo.
Signed-off-by Philippe Schenker <[email protected]>---
Documentation/devicetree/bindings/arm/fsl.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Best regards,
Krzysztof
PATCH 23/25 arm64: dts: colibri-imx8x: Add aster carrier board
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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
---
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
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -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
arch/arm64/boot/dts/freescale/imx8qxp-colibri-aster.dts new file +16 -0
@@ -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"; +};
arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi new file +44 -0
44 lines not on this page · raw message
Signature · 1 line
2.39.2
PATCH 24/25 arm64: dts: colibri-imx8x: Add iris carrier board
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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
---
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
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -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
arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dts new file +16 -0
@@ -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"; +};
arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi new file +115 -0
115 lines not on this page · raw message
Signature · 1 line
2.39.2
PATCH 25/25 arm64: dts: colibri-imx8x: Add iris v2 carrier board
In reply to Philippe SchenkerFrom: Philippe Schenker <[email protected]>
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
---
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
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -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
arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris-v2.dts new file +16 -0
@@ -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"; +};
arch/arm64/boot/dts/freescale/imx8x-colibri-iris-v2.dtsi new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
2.39.2