arm64: dts: verdin-imx8mp: add pcie support
Subsystems (2)
PATCH v2 1/2 arm64: dts: verdin-imx8mp: add pcie support
From: Marcel Ziswiler <[email protected]>
Add PCIe support on the Verdin iMX8M Plus.
---
This has successfully been tested with Lucas' imx8mp-hsio-blk-ctrl high performance PLL clock exposure patch set which meanwhile has landet in -next. Thanks!
Changes in v2:
- Removed clocks which thanks to Lucas are now in the SoC dtsi.
- Follow recent change to not include dahlia dtsi requiring PCIe nodes in dev board dts as well.
.../boot/dts/freescale/imx8mp-verdin-dahlia.dtsi | 9 ++++++++- .../boot/dts/freescale/imx8mp-verdin-dev.dtsi | 9 ++++++++- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 15 ++++++++++++++- 3 files changed, 30 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi +8 -1
@@ -67,7 +67,14 @@ &i2c4 { /* TODO: Audio Codec */ }; -/* TODO: Verdin PCIE_1 */ +/* Verdin PCIE_1 */ +&pcie { + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; /* Verdin PWM_1 */ &pwm1 {
arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi +8 -1
@@ -91,7 +91,14 @@ &i2c4 { /* TODO: Audio Codec */ }; -/* TODO: Verdin PCIE_1 */ +/* Verdin PCIE_1 */ +&pcie { + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; /* Verdin PWM_1 */ &pwm1 {
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +14 -1
@@ -749,7 +749,20 @@ eeprom_carrier_board: eeprom@57 { }; }; -/* TODO: Verdin PCIE_1 */ +/* Verdin PCIE_1 */ +&pcie { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcie>; + /* PCIE_1_RESET# (SODIMM 244) */ + reset-gpio = <&gpio4 19 GPIO_ACTIVE_LOW>; +}; + +&pcie_phy { + clocks = <&hsio_blk_ctrl>; + clock-names = "ref"; + fsl,clkreq-unsupported; + fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>; +}; /* Verdin PWM_1 */ &pwm1 {
Signature · 7 lines
2.36.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH v2 2/2 arm64: dts: imx8mp-verdin-yavia: trivial minor updates
From: Marcel Ziswiler <[email protected]>
Capitalise Yavia in comment and add missing whitespace.
---
Changes in v2:
- New commit with trivial minor updates.
arch/arm64/boot/dts/freescale/imx8mp-verdin-yavia.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-verdin-yavia.dtsi +2 -2
@@ -87,7 +87,7 @@ &eeprom_display_adapter { status = "okay"; }; -/* EEPROM on Verdin yavia board */ +/* EEPROM on Verdin Yavia board */ &eeprom_carrier_board { status = "okay"; };
@@ -122,7 +122,7 @@ &pcie { status = "okay"; }; -&pcie_phy{ +&pcie_phy { status = "okay"; };
Signature · 7 lines
2.36.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedQuoted 5 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
Add PCIe support on the Verdin iMX8M Plus.
Signed-off-by Marcel Ziswiler <[email protected]>
Applied both, thanks!