Skip to contentSkip to conversation

arm64: dts: imx8mq: Default parents for PCIE1 clocks

PATCH In review Abel Vesa 2 participants 2 messages Jul 4, 2019 – Jul 22, 2019

Subsystems (2)
lore
Share & tools
lore

Abel Vesa

author
#0 lore raw

PATCH 1/1 arm64: dts: imx8mq: Default parents for PCIE1 clocks

Set default parents for PCIE1_CTRL and PCIE1_PHY clocks.

---
 arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq-evk.dts +4 -0
index e3df9b8..23bf85f 100644
@@ -235,6 +235,10 @@
 		 <&clk IMX8MQ_CLK_PCIE1_PHY>,
 		 <&pcie0_refclk>;
 	clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
+	assigned-clocks = <&clk IMX8MQ_CLK_PCIE1_CTRL>,
+			  <&clk IMX8MQ_CLK_PCIE1_PHY>;
+	assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_250M>,
+				 <&clk IMX8MQ_SYS2_PLL_100M>;
 	status = "okay";
 };
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 1 line · Abel Vesa

Set default parents for PCIE1_CTRL and PCIE1_PHY clocks.

Can you add a few words about why this change is necessary?

Shawn

Quoted 24 lines
---
 arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq-evk.dts +4 -0
index e3df9b8..23bf85f 100644
@@ -235,6 +235,10 @@
 		 <&clk IMX8MQ_CLK_PCIE1_PHY>,
 		 <&pcie0_refclk>;
 	clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
+	assigned-clocks = <&clk IMX8MQ_CLK_PCIE1_CTRL>,
+			  <&clk IMX8MQ_CLK_PCIE1_PHY>;
+	assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_250M>,
+				 <&clk IMX8MQ_SYS2_PLL_100M>;
 	status = "okay";
 };
 
Signature · 1 line
2.7.4