[U-Boot] [PATCH 2/3] arc: dts: separate single axs10x.dts file

Simon Glass sjg at chromium.org
Sat Jan 21 04:51:08 CET 2017


On 16 January 2017 at 06:49, Vlad Zakharov
<Vladislav.Zakharov at synopsys.com> wrote:
> We want to use the same device tree blobs in both Linux and U-Boot for
> ARC boards.
>
> Earlier device tree sources in U-Boot were very simplified and hadn't been
> updated for quite a long period of time.
>
> So this commit is the first step on the road to unified device tree blobs.
>
> First of all we re-organize device tree sources for AXS10X boards.
> As AXS101 and AXS103 boards consist of AXS10X motherboard and AXC001 and
> AXC003 cpu tiles respectively we add corresponding device tree source
> files: axs10x_mb.dtsi for motherboard, axc001.dtsi and axc003.dtsi for
> CPU tiles and axs101.dts and axs103.dts to represent actual boards.
>
> Also we delete axs10x.dts as it is no longer used.
>
> One more important change - we add timer device to ARC skeleton device
> tree sources as both ARC700 and ARCHS cores contain such timer.
> We add core_clk nodes to abilis_tb100, nsim, axc001 and axc003 device tree
> sources as it is referenced via phandle from timer node in common
> skeleton.dtsi file.
>
> Signed-off-by: Vlad Zakharov <vzakhar at synopsys.com>
> ---
>  arch/arc/Kconfig              |  9 ++++--
>  arch/arc/dts/Makefile         |  3 +-
>  arch/arc/dts/abilis_tb100.dts | 12 ++++++--
>  arch/arc/dts/axc001.dtsi      | 19 +++++++++++++
>  arch/arc/dts/axc003.dtsi      | 19 +++++++++++++
>  arch/arc/dts/axs101.dts       | 19 +++++++++++++
>  arch/arc/dts/axs103.dts       | 19 +++++++++++++
>  arch/arc/dts/axs10x.dts       | 57 -------------------------------------
>  arch/arc/dts/axs10x_mb.dtsi   | 66 +++++++++++++++++++++++++++++++++++++++++++
>  arch/arc/dts/nsim.dts         | 12 ++++++--
>  arch/arc/dts/skeleton.dtsi    | 19 ++++++++++++-
>  board/synopsys/axs10x/Kconfig |  2 +-
>  configs/axs101_defconfig      |  3 +-
>  configs/axs103_defconfig      |  2 +-
>  14 files changed, 190 insertions(+), 71 deletions(-)
>  create mode 100644 arch/arc/dts/axc001.dtsi
>  create mode 100644 arch/arc/dts/axc003.dtsi
>  create mode 100644 arch/arc/dts/axs101.dts
>  create mode 100644 arch/arc/dts/axs103.dts
>  delete mode 100644 arch/arc/dts/axs10x.dts
>  create mode 100644 arch/arc/dts/axs10x_mb.dtsi

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list