In Linux IMX and IMXRT use the device tree to hold the anatop address. The anatop is used in clock drivers as it controls the internal PLLs This will move the macro from asm/arch-imxrt to the device tree. This presumably should also be done with the other IMX boards as well. Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
86 lines
852 B
Text
86 lines
852 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
|
/*
|
|
* Copyright (C) 2020
|
|
* Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
clocks {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
soc {
|
|
u-boot,dm-spl;
|
|
};
|
|
};
|
|
|
|
&osc {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&anatop {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&clks {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio1 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio2 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio3 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpio5 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&gpt1 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&lpuart1 { /* console */
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&semc {
|
|
u-boot,dm-spl;
|
|
|
|
bank1: bank@0 {
|
|
u-boot,dm-spl;
|
|
};
|
|
};
|
|
|
|
&iomuxc {
|
|
u-boot,dm-spl;
|
|
|
|
imxrt1020-evk {
|
|
u-boot,dm-spl;
|
|
pinctrl_lpuart1: lpuart1grp {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
pinctrl_semc: semcgrp {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
pinctrl_usdhc0: usdhc0grp {
|
|
u-boot,dm-spl;
|
|
};
|
|
};
|
|
};
|
|
|
|
&usdhc1 {
|
|
u-boot,dm-spl;
|
|
};
|