mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-16 16:23:14 +00:00
f2641f066b
Versal NET mini configuration is designed for running memory test. Current output is on DCC but changing serial0 alias to pl011 will move console to serial port. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/aec3f41a4cc48c45b8f07dd6e423d5838dbcc9d7.1663589964.git.michal.simek@amd.com
67 lines
1.2 KiB
Text
67 lines
1.2 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* dts file for Xilinx Versal NET
|
|
*
|
|
* Copyright (C) 2021 - 2022, Xilinx, Inc.
|
|
* Copyright (C) 2022, Advanced Micro Devices, Inc.
|
|
*
|
|
* Michal Simek <michal.simek@amd.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
/ {
|
|
compatible = "xlnx,versal-net-mini";
|
|
model = "Xilinx Versal NET MINI";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
memory: memory@0 {
|
|
reg = <0 0xBBF00000 0 0x100000>, <0 0 0 0x80000000>;
|
|
device_type = "memory";
|
|
};
|
|
|
|
aliases {
|
|
/* serial0 = &serial0; */
|
|
serial0 = &dcc;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200";
|
|
};
|
|
|
|
clk1: clk1 {
|
|
u-boot,dm-pre-reloc;
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <1000000>;
|
|
};
|
|
|
|
dcc: dcc {
|
|
compatible = "arm,dcc";
|
|
status = "okay";
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
amba: axi {
|
|
compatible = "simple-bus";
|
|
u-boot,dm-pre-reloc;
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
serial0: serial@f1920000 {
|
|
u-boot,dm-pre-reloc;
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0 0xf1920000 0 0x1000>;
|
|
reg-io-width = <4>;
|
|
clock-names = "uartclk", "apb_pclk";
|
|
clocks = <&clk1>, <&clk1>;
|
|
clock = <1000000>;
|
|
current-speed = <115200>;
|
|
skip-init;
|
|
};
|
|
};
|
|
};
|