how to enable pcie0?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to enable pcie0?

Jump to solution
544 Views
Eddy1
Contributor V

HI:

I am currently porting bsp5.10.72, but I always get pcie0 errors. However, it works well in bsp5.4.3.

Eddy1_0-1660616337775.png

 

Could you give me some suggestions?Refer to the official evaluation board im8mm-evk to modify the device tree

&pcie0{
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie0>;
disable-gpio = <&gpio2 20 GPIO_ACTIVE_LOW>;
reset-gpio = <&gpio4 22 GPIO_ACTIVE_LOW>;
clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>,
<&clk IMX8MM_CLK_PCIE1_AUX>,
<&clk IMX8MM_CLK_PCIE1_PHY>,
<&pcie0_refclk>;
clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
<&clk IMX8MM_CLK_PCIE1_PHY>,
<&clk IMX8MM_CLK_PCIE1_CTRL>;
assigned-clock-rates = <10000000>, <100000000>, <250000000>;
assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
<&clk IMX8MM_SYS_PLL2_100M>,
<&clk IMX8MM_SYS_PLL2_250M>;
ext_osc = <1>;
status = "okay";
};

Labels (1)
0 Kudos
Reply
1 Solution
525 Views
Eddy1
Contributor V

The reset controller needs to be enabled as follows:

Eddy1_0-1661514385419.png

 

View solution in original post

0 Kudos
Reply
1 Reply
526 Views
Eddy1
Contributor V

The reset controller needs to be enabled as follows:

Eddy1_0-1661514385419.png

 

0 Kudos
Reply