Update of phyBOARD-Polis-i.MX8MM
Subsystems (2)
cover Update of phyBOARD-Polis-i.MX8MM
Small fixes & updates for the phyCORE-i.MX8MM and phyBOARD-Polis-i.MX8MM devicetrees. This also adds the TPM node to the phyBOARD-Polis-i.MX8MM devicetree.
Cem Tenruh (1):
arm64: dts: imx8mm-phyboard-polis: Add i2c4 sda-/scl-gpios
Yannic Moog (2):
arm64: dts: phycore-imx8mm: fix nor mtd partitions
arm64: dts: imx8mm-phyboard-polis: Set debug uart muxing to 0x140
Yashwanth Varakala (3):
arm64: dts: freescale: imx8mm-phyboard-polis: Add TPM node
arm64: dts: phycore-imx8mm: Label typo-fix of VPU
arm64: dts: phycore-imx8mm: Correction in gpio-line-names
.../freescale/imx8mm-phyboard-polis-rdk.dts | 54 +++++++++++++++++-- .../dts/freescale/imx8mm-phycore-som.dtsi | 6 ++- 2 files changed, 54 insertions(+), 6 deletions(-)
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/6 arm64: dts: freescale: imx8mm-phyboard-polis: Add TPM node
From: Yashwanth Varakala <[email protected]>
Add TPM node for phyBOARD-Polis i.MX 8M Mini which has the Infineon-SLB 9670 TPM2.0 module populated.
--- .../freescale/imx8mm-phyboard-polis-rdk.dts | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +36 -0
@@ -140,6 +140,27 @@ can0: can@0 { }; }; +/* TPM */ +&ecspi2 { + cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; + fsl,spi-num-chipselects = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi2>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + tpm: tpm@0 { + compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; + interrupt-parent = <&gpio2>; + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_tpm>; + reg = <0>; + spi-max-frequency = <43000000>; + }; +}; + &gpio1 { gpio-line-names = "nINT_ETHPHY", "LED_RED", "WDOG_INT", "X_RTC_INT", "", "", "", "RESET_ETHPHY",
@@ -333,6 +354,15 @@ MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x00 >; }; + pinctrl_ecspi2: ecspi2grp { + fsl,pins = < + MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x80 + MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x80 + MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x80 + MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x00 + >; + }; + pinctrl_fan: fan0grp { fsl,pins = < MX8MM_IOMUXC_SAI1_RXD6_GPIO4_IO8 0x16
@@ -368,6 +398,12 @@ MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x40 >; }; + pinctrl_tpm: tpmgrp { + fsl,pins = < + MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11 0x140 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX 0x00
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 2/6 arm64: dts: phycore-imx8mm: Label typo-fix of VPU
In reply to Cem TenruhFrom: Yashwanth Varakala <[email protected]>
Corrected the label of the VPU regulator node (buck 3) from reg_vdd_gpu to reg_vdd_vpu.
--- arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +1 -1
@@ -210,7 +210,7 @@ regulator-state-mem { }; }; - reg_vdd_gpu: buck3 { + reg_vdd_vpu: buck3 { regulator-always-on; regulator-boot-on; regulator-max-microvolt = <1000000>;
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 3/6 arm64: dts: phycore-imx8mm: fix nor mtd partitions
In reply to Cem TenruhFrom: Yannic Moog <[email protected]>
Add #address-cells and #size-cells properties to som_flash. This enables correct parsing of added SPI NOR mtd partition child nodes that are set in the bootloader.
--- arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +2 -0
@@ -102,6 +102,8 @@ &flexspi { status = "okay"; som_flash: flash@0 { + #address-cells = <1>; + #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <80000000>;
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 4/6 arm64: dts: phycore-imx8mm: Correction in gpio-line-names
In reply to Cem TenruhFrom: Yashwanth Varakala <[email protected]>
Remove unused nINT_ETHPHY entry from gpio-line-names in gpio1 nodes of phyCORE-i.MX8MM and phyBOARD-Polis-i.MX8MM devicetrees.
--- arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +1 -1
@@ -162,7 +162,7 @@ tpm: tpm@0 { }; &gpio1 { - gpio-line-names = "nINT_ETHPHY", "LED_RED", "WDOG_INT", "X_RTC_INT", + gpio-line-names = "", "LED_RED", "WDOG_INT", "X_RTC_INT", "", "", "", "RESET_ETHPHY", "CAN_nINT", "CAN_EN", "nENABLE_FLATLINK", "", "USB_OTG_VBUS_EN", "", "LED_GREEN", "LED_BLUE";
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +1 -1
@@ -113,7 +113,7 @@ som_flash: flash@0 { }; &gpio1 { - gpio-line-names = "nINT_ETHPHY", "", "WDOG_INT", "X_RTC_INT", + gpio-line-names = "", "", "WDOG_INT", "X_RTC_INT", "", "", "", "RESET_ETHPHY", "", "", "nENABLE_FLATLINK"; };
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 5/6 arm64: dts: imx8mm-phyboard-polis: Set debug uart muxing to 0x140
In reply to Cem TenruhFrom: Yannic Moog <[email protected]>
Set Pull Resistors Enable bit to put signal into a defined state.
--- arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +2 -2
@@ -424,8 +424,8 @@ MX8MM_IOMUXC_SAI3_TXFS_UART2_DTE_TX 0x00 pinctrl_uart3: uart3grp { fsl,pins = < - MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x40 - MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x40 + MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140 + MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140 >; };
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 6/6 arm64: dts: imx8mm-phyboard-polis: Add i2c4 sda-/scl-gpios
In reply to Cem TenruhAdd i2c4 sda-/scl-gpios with the corresponding pinmux entries.
--- .../boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +11 -1
@@ -191,8 +191,11 @@ &gpio5 { &i2c4 { clock-frequency = <400000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c4>; + pinctrl-1 = <&pinctrl_i2c4_gpio>; + sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; }; /* PCIe */
@@ -376,6 +379,13 @@ MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c2 >; }; + pinctrl_i2c4_gpio: i2c4gpiogrp { + fsl,pins = < + MX8MM_IOMUXC_I2C4_SCL_GPIO5_IO20 0x1e2 + MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21 0x1e2 + >; + }; + pinctrl_leds: leds1grp { fsl,pins = < MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x16
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedQuoted 7 lines · Cem Tenruh
Small fixes & updates for the phyCORE-i.MX8MM and phyBOARD-Polis-i.MX8MM devicetrees. This also adds the TPM node to the phyBOARD-Polis-i.MX8MM devicetree.
Cem Tenruh (1):
arm64: dts: imx8mm-phyboard-polis: Add i2c4 sda-/scl-gpios
Quoted 8 lines
Yannic Moog (2):
arm64: dts: phycore-imx8mm: fix nor mtd partitions
arm64: dts: imx8mm-phyboard-polis: Set debug uart muxing to0x140Yashwanth Varakala (3):
arm64: dts: freescale: imx8mm-phyboard-polis: Add TPM node
arm64: dts: phycore-imx8mm: Label typo-fix of VPU
arm64: dts: phycore-imx8mm: Correction in gpio-line-names
Applied all, thanks!
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel