MLK-20099-1 ARM64: dts: use external osc as refclk on 8mm evk board
Use the external osc as the pcie refclk on 8mm evk rev c board. Create another -revb.dts for the back compatible usage. Because that internal pll is used as pcie ref clock on the rev b board in default. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>pull/10/head
parent
b3b9a278d0
commit
435a64d39e
|
@ -122,7 +122,8 @@ dtb-$(CONFIG_ARCH_FSL_IMX8MM) += fsl-imx8mm-evk.dtb \
|
|||
fsl-imx8mm-ddr4-val.dtb \
|
||||
fsl-imx8mm-evk-rm67191.dtb \
|
||||
fsl-imx8mm-evk-root.dtb \
|
||||
fsl-imx8mm-evk-inmate.dtb
|
||||
fsl-imx8mm-evk-inmate.dtb \
|
||||
fsl-imx8mm-evk-revb.dtb
|
||||
always := $(dtb-y)
|
||||
subdir-y := $(dts-dirs)
|
||||
clean-files := *.dtb
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* Copyright 2018 NXP
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "fsl-imx8mm-evk.dts"
|
||||
|
||||
/ {
|
||||
model = "FSL i.MX8MM EVK RevB board";
|
||||
};
|
||||
|
||||
/*
|
||||
* External OSC is used as PCIe REFCLK on RevC board.
|
||||
* Use the -revb.dts file to distiguish the different
|
||||
* HW design.
|
||||
*/
|
||||
&pcie0{
|
||||
ext_osc = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
@ -926,7 +926,7 @@
|
|||
pinctrl-0 = <&pinctrl_pcie0>;
|
||||
disable-gpio = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
||||
reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;
|
||||
ext_osc = <0>;
|
||||
ext_osc = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue