1/*
2 * Copyright (c) 2021 Weidmueller Interface GmbH & Co. KG
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/dts-v1/;
7
8#include <xilinx/zynq7000.dtsi>
9#include <zephyr/dt-bindings/ethernet/xlnx_gem.h>
10
11/ {
12	model = "QEMU Cortex-A9";
13	compatible = "xlnx,zynq7000s";
14	interrupt-parent = <&gic>;
15
16	cpus {
17		#address-cells = <1>;
18		#size-cells = <0>;
19
20		cpu@0 {
21			device_type = "cpu";
22			compatible = "arm,cortex-a9";
23			reg = <0>;
24		};
25	};
26
27	sram0: memory@100000 {
28		compatible = "mmio-sram";
29		reg = <0x00100000 DT_SIZE_M(512)>;
30	};
31
32	flash0: flash@0 {
33		reg = <0x00000000 DT_SIZE_M(256)>;
34	};
35
36	chosen {
37		zephyr,flash      = &flash0;
38		zephyr,sram       = &sram0;
39		zephyr,console    = &uart0;
40		zephyr,shell-uart = &uart0;
41		zephyr,ocm        = &ocm_low;
42		zephyr,uart-pipe  = &uart1;
43	};
44};
45
46&uart0 {
47	status = "okay";
48	current-speed = <115200>;
49	clock-frequency = <50000000>;
50};
51
52&uart1 {
53	status = "okay";
54	current-speed = <115200>;
55	clock-frequency = <50000000>;
56};
57
58&gem0 {
59	status = "okay";
60	clock-frequency = <1000000000>;
61	mdc-divider = <XLNX_GEM_MDC_DIVIDER_224>;
62	local-mac-address = [00 00 00 01 02 03];
63};
64