Misc fixups and changes for Kontron i.MX8M and i.MX93 DTs
Subsystems (2)
v2 cover Misc fixups and changes for Kontron i.MX8M and i.MX93 DTs
From: Frieder Schrempf <[email protected]>
This is a collection of changes for several Kontron ARM64 board devicetrees. Some are related to hardware changes, some are bugfixes and some are improvements.
Changes for v2:
* fix touchscreen node name
* add touchscreen labels
* fix commit message for RTC interrupt patch
Annette Kobou (3):
arm64: dts: imx8mm-kontron: Add overlay for LTE extension board
arm64: dts: imx8mp-kontron: Fix CAN_ADDR0 and CAN_ADDR1 GPIOs
arm64: dts: imx93-kontron: Fix GPIO for panel regulator
Eberhard Stoll (1):
arm64: dts: imx8mm-kontron: Use GPIO for RS485 transceiver control
Frieder Schrempf (7):
arm64: dts: imx8mm-kontron: Remove unused regulator
arm64: dts: imx8mm-kontron: Sort reg nodes alphabetically
arm64: dts: imx8mm-kontron: Name USB regulators according to OSM
scheme
arm64: dts: imx8mp-kontron: Fix GPIO labels for latest BL board
arm64: dts: imx8mp-kontron: Fix USB hub reset
arm64: dts: imx93-kontron: Add RTC interrupt signal
arm64: dts: imx93-kontron: Fix USB port assignment
Oualid Derouiche (1):
arm64: dts: imx8mm-kontron: Add Sitronix touch controller in DL
devicetree
arch/arm64/boot/dts/freescale/Makefile | 2 + .../dts/freescale/imx8mm-kontron-bl-lte.dtso | 186 ++++++++++++++++++ .../dts/freescale/imx8mm-kontron-bl-osm-s.dts | 8 - .../boot/dts/freescale/imx8mm-kontron-bl.dts | 12 +- .../boot/dts/freescale/imx8mm-kontron-dl.dtso | 13 +- .../dts/freescale/imx8mm-kontron-osm-s.dtsi | 50 ++--- .../dts/freescale/imx8mp-kontron-bl-osm-s.dts | 59 +++--- .../dts/freescale/imx93-kontron-bl-osm-s.dts | 32 +-- .../dts/freescale/imx93-kontron-osm-s.dtsi | 9 + 9 files changed, 301 insertions(+), 70 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-lte.dtso
Signature · 1 line
2.50.1
PATCH v2 1/12 arm64: dts: imx8mm-kontron: Add overlay for LTE extension board
From: Annette Kobou <[email protected]>
This is an addon for the BL i.MX8MM that features an LTE modem, a TPM module, some LEDs and a pushbutton.
--- arch/arm64/boot/dts/freescale/Makefile | 2 + .../dts/freescale/imx8mm-kontron-bl-lte.dtso | 186 ++++++++++++++++++ 2 files changed, 188 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-lte.dtso
arch/arm64/boot/dts/freescale/Makefile +2 -0
@@ -341,8 +341,10 @@ imx95-19x19-evk-pcie1-ep-dtbs += imx95-19x19-evk.dtb imx-pcie1-ep.dtbo dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-evk-pcie0-ep.dtb imx95-19x19-evk-pcie1-ep.dtb imx8mm-kontron-dl-dtbs := imx8mm-kontron-bl.dtb imx8mm-kontron-dl.dtbo +imx8mm-kontron-bl-lte-dtbs := imx8mm-kontron-bl.dtb imx8mm-kontron-bl-lte.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-dl.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-bl-lte.dtb imx8mm-venice-gw72xx-0x-imx219-dtbs := imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-imx219.dtbo imx8mm-venice-gw72xx-0x-rpidsi-dtbs := imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-rpidsi.dtbo
arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-lte.dtso new file +186 -0
186 lines not on this page · raw message
Signature · 1 line
2.50.1
PATCH v2 2/12 arm64: dts: imx8mm-kontron: Remove unused regulator
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
This regulator is not used anywhere and is not available in hardware. Remove it.
--- arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts | 8 -------- 1 file changed, 8 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-bl-osm-s.dts +0 -8
@@ -48,14 +48,6 @@ pwm-beeper { pwms = <&pwm2 0 5000 0>; }; - reg_rst_eth2: regulator-rst-eth2 { - compatible = "regulator-fixed"; - gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>; - enable-active-high; - regulator-always-on; - regulator-name = "rst-usb-eth2"; - }; - reg_vdd_5v: regulator-5v { compatible = "regulator-fixed"; regulator-always-on;
Signature · 1 line
2.50.1
PATCH v2 3/12 arm64: dts: imx8mm-kontron: Use GPIO for RS485 transceiver control
In reply to Frieder SchrempfFrom: Eberhard Stoll <[email protected]>
For this IP the correct control of the CTS signal for transceiver direction switching is difficult and - maybe also buggy - in the driver. Especially the bootup requires special handling for most hardware implementations.
Therefore we simply use a GPIO now, which is fully under software control and which is not problematic on bootup.
--- arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-bl.dts +10 -2
@@ -268,8 +268,16 @@ &uart1 { &uart2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart2>; + /* + * During bootup the CTS needs to stay LOW, which is only possible if this + * pin is controlled by a GPIO. The UART IP always sets CTS to HIGH if not + * running. So using 'uart-has-rtscts' is not a good choice here! There are + * workarounds for this, but they introduce unnecessary complexity and are + * therefore avoided here. For more information about this see: + * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=79d0224f6bf296d04cd843cfc49921b19c97bb09 + */ + rts-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; linux,rs485-enabled-at-boot-time; - uart-has-rtscts; status = "okay"; };
@@ -439,7 +447,7 @@ pinctrl_uart2: uart2grp { MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX 0x0 MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX 0x0 MX8MM_IOMUXC_SAI3_RXD_UART2_DCE_RTS_B 0x0 - MX8MM_IOMUXC_SAI3_RXC_UART2_DCE_CTS_B 0x0 + MX8MM_IOMUXC_SAI3_RXC_GPIO4_IO29 0x19 >; };
Signature · 1 line
2.50.1
PATCH v2 4/12 arm64: dts: imx8mm-kontron: Add Sitronix touch controller in DL devicetree
In reply to Frieder SchrempfFrom: Oualid Derouiche <[email protected]>
Some new panels have the Sitronix touch instead of Goodix. Support them by adding a node for the new controller. The bootloader needs to detect the correct controller and enable/disable the nodes accordingly. To make this easier add labels for both nodes.
---
Changes for v2:
* fix node name (thanks Fabio!)
* add labels
--- .../arm64/boot/dts/freescale/imx8mm-kontron-dl.dtso | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-dl.dtso +12 -1
@@ -107,7 +107,7 @@ &i2c2 { #size-cells = <0>; status = "okay"; - touchscreen@5d { + gt911: touchscreen@5d { compatible = "goodix,gt928"; reg = <0x5d>; pinctrl-names = "default";
@@ -117,6 +117,17 @@ touchscreen@5d { reset-gpios = <&gpio3 23 0>; irq-gpios = <&gpio3 22 0>; }; + + st1633: touchscreen@55 { + compatible = "sitronix,st1633"; + reg = <0x55>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_touch>; + interrupts = <22 8>; + interrupt-parent = <&gpio3>; + gpios = <&gpio3 22 0>; + status = "disabled"; + }; }; &lvds {
Signature · 1 line
2.50.1
PATCH v2 5/12 arm64: dts: imx8mm-kontron: Sort reg nodes alphabetically
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
Sort the regulator nodes alphabetically.
--- .../dts/freescale/imx8mm-kontron-osm-s.dtsi | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi +23 -23
@@ -30,29 +30,6 @@ chosen { stdout-path = &uart3; }; - reg_vdd_carrier: regulator-vdd-carrier { - compatible = "regulator-fixed"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_reg_vdd_carrier>; - gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>; - enable-active-high; - regulator-always-on; - regulator-boot-on; - regulator-name = "VDD_CARRIER"; - - regulator-state-standby { - regulator-on-in-suspend; - }; - - regulator-state-mem { - regulator-off-in-suspend; - }; - - regulator-state-disk { - regulator-off-in-suspend; - }; - }; - reg_usb1_vbus: regulator-usb1-vbus { compatible = "regulator-fixed"; pinctrl-names = "default";
@@ -96,6 +73,29 @@ reg_usdhc3_vcc: regulator-usdhc3-vcc { regulator-max-microvolt = <3300000>; regulator-name = "VCC_SDIO_B"; }; + + reg_vdd_carrier: regulator-vdd-carrier { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_vdd_carrier>; + gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + regulator-name = "VDD_CARRIER"; + + regulator-state-standby { + regulator-on-in-suspend; + }; + + regulator-state-mem { + regulator-off-in-suspend; + }; + + regulator-state-disk { + regulator-off-in-suspend; + }; + }; }; &A53_0 {
Signature · 1 line
2.50.1
PATCH v2 6/12 arm64: dts: imx8mm-kontron: Name USB regulators according to OSM scheme
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
Use the names from the OSM specification.
--- arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi +2 -2
@@ -38,7 +38,7 @@ reg_usb1_vbus: regulator-usb1-vbus { gpio = <&gpio3 25 GPIO_ACTIVE_HIGH>; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - regulator-name = "VBUS_USB1"; + regulator-name = "VBUS_USB_A"; }; reg_usb2_vbus: regulator-usb2-vbus {
@@ -49,7 +49,7 @@ reg_usb2_vbus: regulator-usb2-vbus { gpio = <&gpio3 20 GPIO_ACTIVE_HIGH>; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - regulator-name = "VBUS_USB2"; + regulator-name = "VBUS_USB_B"; }; reg_usdhc2_vcc: regulator-usdhc2-vcc {
Signature · 1 line
2.50.1
PATCH v2 7/12 arm64: dts: imx8mp-kontron: Fix CAN_ADDR0 and CAN_ADDR1 GPIOs
In reply to Frieder SchrempfFrom: Annette Kobou <[email protected]>
Some signal assignments were modified between hardware revisions 1 and 2:
Revision 1:
- SPI_A_WP -> CAN_ADDR0
- SPI_A_HOLD -> CAN_ADDR1
Revision 2 and later:
- SPI_A_SDI -> CAN_ADDR0
- SPI_A_SDO -> CAN_ADDR1
Fix the labels and add the missing pinctrls.
--- .../dts/freescale/imx8mp-kontron-bl-osm-s.dts | 31 ++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts +27 -4
@@ -123,14 +123,12 @@ &gpio2 { /* * Rename SoM signals according to board usage: - * SPI_A_WP -> CAN_ADDR0 - * SPI_A_HOLD -> CAN_ADDR1 * GPIO_B_0 -> DIO1_OUT * GPIO_B_1 -> DIO2_OUT */ &gpio3 { gpio-line-names = "PCIE_WAKE", "PCIE_CLKREQ", "PCIE_A_PERST", "SDIO_B_D5", - "SDIO_B_D6", "SDIO_B_D7", "CAN_ADDR0", "CAN_ADDR1", + "SDIO_B_D6", "SDIO_B_D7", "SPI_A_WP", "SPI_A_HOLD", "UART_B_RTS", "UART_B_CTS", "SDIO_B_D0", "SDIO_B_D1", "SDIO_B_D2", "SDIO_B_D3", "SDIO_B_WP", "SDIO_B_D4", "PCIE_SM_ALERT", "SDIO_B_CLK", "SDIO_B_CMD", "DIO1_OUT",
@@ -159,6 +157,24 @@ &gpio4 { "GPIO_A_7", "CARRIER_PWR_EN", "I2S_A_DATA_IN", "I2S_LRCLK"; }; +/* + * Rename SoM signals according to board usage: + * SPI_A_SDI -> CAN_ADDR0 + * SPI_A_SDO -> CAN_ADDR1 + */ +&gpio5 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio5>; + gpio-line-names = "I2S_BITCLK", "I2S_A_DATA_OUT", "I2S_MCLK", "PWM_2", + "PWM_1", "PWM_0", "SPI_A_SCK", "CAN_ADDR1", + "CAN_ADDR0", "SPI_A_CS0", "SPI_B_SCK", "SPI_B_SDO", + "SPI_B_SDI", "SPI_B_CS0", "I2C_A_SCL", "I2C_A_SDA", + "I2C_B_SCL", "I2C_B_SDA", "PCIE_SMCLK", "PCIE_SMDAT", + "I2C_CAM_SCL", "I2C_CAM_SDA", "UART_A_RX", "UART_A_TX", + "UART_C_RX", "UART_C_TX", "UART_CON_RX", "UART_CON_TX", + "UART_B_RX", "UART_B_TX"; +}; + &hdmi_pvi { status = "okay"; };
@@ -297,9 +313,16 @@ MX8MP_IOMUXC_SD2_WP__GPIO2_IO20 0x46 >; }; + pinctrl_gpio5: gpio5grp { + fsl,pins = < + MX8MP_IOMUXC_ECSPI1_MOSI__GPIO5_IO07 0x46 /* CAN_ADR0 */ + MX8MP_IOMUXC_ECSPI1_MISO__GPIO5_IO08 0x46 /* CAN_ADR1 */ + >; + }; + pinctrl_usb_hub: usbhubgrp { fsl,pins = < MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0x46 >; }; -}; +};
Signature · 1 line
2.50.1
PATCH v2 8/12 arm64: dts: imx8mp-kontron: Fix GPIO labels for latest BL board
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
Hardware rev 3 changed a few signals. Reflect these changes in the GPIO labels.
* digital IOs were moved to GPIO expander
* remove labels for unused signals
* add labels for TFT, CSI and USB hub IOs
--- .../dts/freescale/imx8mp-kontron-bl-osm-s.dts | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts +14 -16
@@ -123,38 +123,36 @@ &gpio2 { /* * Rename SoM signals according to board usage: - * GPIO_B_0 -> DIO1_OUT - * GPIO_B_1 -> DIO2_OUT + * GPIO_B_0 -> IO_EXP_INT + * GPIO_B_1 -> IO_EXP_RST */ &gpio3 { gpio-line-names = "PCIE_WAKE", "PCIE_CLKREQ", "PCIE_A_PERST", "SDIO_B_D5", "SDIO_B_D6", "SDIO_B_D7", "SPI_A_WP", "SPI_A_HOLD", "UART_B_RTS", "UART_B_CTS", "SDIO_B_D0", "SDIO_B_D1", "SDIO_B_D2", "SDIO_B_D3", "SDIO_B_WP", "SDIO_B_D4", - "PCIE_SM_ALERT", "SDIO_B_CLK", "SDIO_B_CMD", "DIO1_OUT", - "DIO2_OUT", "", "BOOT_SEL0", "BOOT_SEL1", + "PCIE_SM_ALERT", "SDIO_B_CLK", "SDIO_B_CMD", "IO_EXP_INT", + "IO_EXP_RST", "", "BOOT_SEL0", "BOOT_SEL1", "", "", "SDIO_B_CD", "SDIO_B_PWR_EN", "HDMI_CEC", "HDMI_HPD"; }; /* - * Rename SoM signals according to board usage: - * GPIO_B_5 -> DIO2_IN - * GPIO_B_6 -> DIO3_IN - * GPIO_B_7 -> DIO4_IN - * GPIO_B_3 -> DIO4_OUT - * GPIO_B_4 -> DIO1_IN - * GPIO_B_2 -> DIO3_OUT + * Rename SoM signals according to board usage and remove labels for unsed pins: + * GPIO_A_6 -> TFT_RESET + * GPIO_A_7 -> TFT_STBY + * GPIO_B_3 -> CSI_ENABLE + * GPIO_B_2 -> USB_HUB_RST */ &gpio4 { - gpio-line-names = "DIO2_IN", "DIO3_IN", "DIO4_IN", "GPIO_C_0", + gpio-line-names = "", "", "", "", "ETH_A_MDC", "ETH_A_MDIO", "ETH_A_RXD0", "ETH_A_RXD1", "ETH_A_RXD2", "ETH_A_RXD3", "ETH_A_RX_DV", "ETH_A_RX_CLK", "ETH_A_TXD0", "ETH_A_TXD1", "ETH_A_TXD2", "ETH_A_TXD3", - "ETH_A_TX_EN", "ETH_A_TX_CLK", "DIO4_OUT", "DIO1_IN", - "DIO3_OUT", "GPIO_A_6", "CAN_A_TX", "UART_A_CTS", + "ETH_A_TX_EN", "ETH_A_TX_CLK", "CSI_ENABLE", "", + "USB_HUB_RST", "TFT_RESET", "CAN_A_TX", "UART_A_CTS", "UART_A_RTS", "CAN_A_RX", "CAN_B_TX", "CAN_B_RX", - "GPIO_A_7", "CARRIER_PWR_EN", "I2S_A_DATA_IN", "I2S_LRCLK"; + "TFT_STBY", "CARRIER_PWR_EN", "I2S_A_DATA_IN", "I2S_LRCLK"; }; /*
@@ -325,4 +323,4 @@ pinctrl_usb_hub: usbhubgrp { MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0x46 >; }; -}; +};
Signature · 1 line
2.50.1
PATCH v2 9/12 arm64: dts: imx8mp-kontron: Fix USB hub reset
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
The latest hardware revision uses GPIO_B_2 as reset for the USB hub. Fix this and remove the pinctrl as we already have this in the OSM-S devicetree.
--- .../boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-kontron-bl-osm-s.dts +1 -9
@@ -250,8 +250,6 @@ &usb_dwc3_0 { }; &usb_dwc3_1 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usb_hub>; #address-cells = <1>; #size-cells = <0>; dr_mode = "host";
@@ -260,7 +258,7 @@ &usb_dwc3_1 { usb-hub@1 { compatible = "usb424,2514"; reg = <1>; - reset-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>; }; };
@@ -317,10 +315,4 @@ MX8MP_IOMUXC_ECSPI1_MOSI__GPIO5_IO07 0x46 /* CAN_ADR0 */ MX8MP_IOMUXC_ECSPI1_MISO__GPIO5_IO08 0x46 /* CAN_ADR1 */ >; }; - - pinctrl_usb_hub: usbhubgrp { - fsl,pins = < - MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0x46 - >; - }; };
Signature · 1 line
2.50.1
PATCH v2 10/12 arm64: dts: imx93-kontron: Add RTC interrupt signal
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
The RTC INT ouptut is connected to a GPIO. Add the interrupt so it can be used by the RTC driver.
---
Changes for v2:
* fix commit message (thanks Primoz!)
--- arch/arm64/boot/dts/freescale/imx93-kontron-osm-s.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/freescale/imx93-kontron-osm-s.dtsi +9 -0
@@ -205,6 +205,9 @@ eeprom@50 { rv3028: rtc@52 { compatible = "microcrystal,rv3028"; reg = <0x52>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rtc>; + interrupts-extended = <&gpio3 19 IRQ_TYPE_LEVEL_LOW>; }; };
@@ -468,6 +471,12 @@ MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x31e /* CARRIER_PWR_EN */ >; }; + pinctrl_rtc: rtcgrp { + fsl,pins = < + MX93_PAD_SD2_VSELECT__GPIO3_IO19 0x31e + >; + }; + pinctrl_sai3: sai3grp { fsl,pins = < MX93_PAD_GPIO_IO20__SAI3_RX_DATA00 0x31e /* I2S_A_DATA_IN */
Signature · 1 line
2.50.1
PATCH v2 11/12 arm64: dts: imx93-kontron: Fix GPIO for panel regulator
In reply to Frieder SchrempfFrom: Annette Kobou <[email protected]>
The regulator uses the wrong GPIO. Fix this.
--- .../boot/dts/freescale/imx93-kontron-bl-osm-s.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts +11 -1
@@ -33,7 +33,9 @@ pwm-beeper { reg_vcc_panel: regulator-vcc-panel { compatible = "regulator-fixed"; - gpio = <&gpio4 3 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_vcc_panel>; + gpio = <&gpio2 21 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-max-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
@@ -161,3 +163,11 @@ &usdhc2 { vmmc-supply = <®_vdd_3v3>; status = "okay"; }; + +&iomuxc { + pinctrl_reg_vcc_panel: regvccpanelgrp { + fsl,pins = < + MX93_PAD_GPIO_IO21__GPIO2_IO21 0x31e /* PWM_2 */ + >; + }; +};
Signature · 1 line
2.50.1
PATCH v2 12/12 arm64: dts: imx93-kontron: Fix USB port assignment
In reply to Frieder SchrempfFrom: Frieder Schrempf <[email protected]>
The assignment of the USB ports is wrong and needs to be swapped. The OTG (USB-C) port is on the first port and the host port with the onboard hub is on the second port.
--- .../dts/freescale/imx93-kontron-bl-osm-s.dts | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts +10 -10
@@ -137,6 +137,16 @@ &tpm6 { }; &usbotg1 { + adp-disable; + hnp-disable; + srp-disable; + disable-over-current; + dr_mode = "otg"; + usb-role-switch; + status = "okay"; +}; + +&usbotg2 { #address-cells = <1>; #size-cells = <0>; disable-over-current;
@@ -149,16 +159,6 @@ usb1@1 { }; }; -&usbotg2 { - adp-disable; - hnp-disable; - srp-disable; - disable-over-current; - dr_mode = "otg"; - usb-role-switch; - status = "okay"; -}; - &usdhc2 { vmmc-supply = <®_vdd_3v3>; status = "okay";
Signature · 1 line
2.50.1
Shawn Guo
AppliedQuoted 29 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
This is a collection of changes for several Kontron ARM64 board devicetrees. Some are related to hardware changes, some are bugfixes and some are improvements.
Changes for v2:
* fix touchscreen node name
* add touchscreen labels
* fix commit message for RTC interrupt patchAnnette Kobou (3):
arm64: dts: imx8mm-kontron: Add overlay for LTE extension board
arm64: dts: imx8mp-kontron: FixCAN_ADDR0andCAN_ADDR1GPIOs
arm64: dts: imx93-kontron: Fix GPIO for panel regulatorEberhard Stoll (1):
arm64: dts: imx8mm-kontron: Use GPIO for RS485 transceiver controlFrieder Schrempf (7):
arm64: dts: imx8mm-kontron: Remove unused regulator
arm64: dts: imx8mm-kontron: Sort reg nodes alphabetically
arm64: dts: imx8mm-kontron: Name USB regulators according to OSM
scheme
arm64: dts: imx8mp-kontron: Fix GPIO labels for latest BL board
arm64: dts: imx8mp-kontron: Fix USB hub reset
arm64: dts: imx93-kontron: Add RTC interrupt signal
arm64: dts: imx93-kontron: Fix USB port assignment
Quoted 3 lines
Oualid Derouiche (1):
arm64: dts: imx8mm-kontron: Add Sitronix touch controller in DL
devicetree
Applied all, thanks!