x86: apl: Use the clock driver

Enable the Intel clock driver and modify coral's device tree to use it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass 2020-02-06 09:54:54 -07:00 committed by Bin Meng
parent b4d00b256e
commit 659252e7de
2 changed files with 8 additions and 0 deletions

View file

@ -41,6 +41,9 @@ config INTEL_APOLLOLAKE
imply SMP
imply HAVE_ITSS
imply HAVE_P2SB
imply CLK
imply CMD_CLK
imply CLK_INTEL
if INTEL_APOLLOLAKE

View file

@ -39,6 +39,11 @@
stdout-path = &serial;
};
clk: clock {
compatible = "intel,apl-clk";
#clock-cells = <1>;
};
cpus {
u-boot,dm-pre-reloc;
#address-cells = <1>;