MLK-24171-1 arm64: dts: imx8mp: verify the pcie pll sys ref clock
authorRichard Zhu <hongxing.zhu@nxp.com>
Tue, 15 Sep 2020 07:37:44 +0000 (15:37 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:23:15 +0000 (11:23 +0800)
Verify the PCIe PLL_SYS reference clock source on EVK board.
The external OSC clock is used as PCIe REF clock source in default.
NOTE: Change the ext_osc of pcie/pcie_phy to '0' when enable SYS_PLL
clock mode.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
arch/arm64/boot/dts/freescale/imx8mp-evk.dts
arch/arm64/boot/dts/freescale/imx8mp.dtsi

index c047eca..7051c24 100644 (file)
        pinctrl-0 = <&pinctrl_pcie>;
        disable-gpio = <&gpio2 6 GPIO_ACTIVE_LOW>;
        reset-gpio = <&gpio2 7 GPIO_ACTIVE_LOW>;
-       ext_osc = <0>;
+       ext_osc = <1>;
        clocks = <&clk IMX8MP_CLK_HSIO_AXI_DIV>,
                 <&clk IMX8MP_CLK_PCIE_AUX>,
                 <&clk IMX8MP_CLK_PCIE_PHY>,
 &pcie_ep{
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcie>;
-       ext_osc = <0>;
+       ext_osc = <1>;
        clocks = <&clk IMX8MP_CLK_HSIO_AXI_DIV>,
                 <&clk IMX8MP_CLK_PCIE_AUX>,
                 <&clk IMX8MP_CLK_PCIE_PHY>,
 };
 
 &pcie_phy{
+       ext_osc = <1>;
        status = "okay";
 };
 
index 208a16b..448ff98 100644 (file)
                        #address-cells = <3>;
                        #size-cells = <2>;
                        device_type = "pci";
-                       ranges =  <0x81000000 0 0x00000000 0x0 0x1ff80000 0 0x00010000 /* downstream I/O 64KB */
-                                  0x82000000 0 0x18000000 0x0 0x18000000 0 0x07f00000>; /* non-prefetchable memory */
+                       ranges =  <0x81000000 0 0x00000000 0x1ff80000 0 0x00010000 /* downstream I/O 64KB */
+                                  0x82000000 0 0x18000000 0x18000000 0 0x07f00000>; /* non-prefetchable memory */
                        num-lanes = <1>;
                        interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
                                        <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* eDMA */