xref: /freebsd/sys/contrib/device-tree/src/arc/vdk_axc003.dtsi (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Copyright (C) 2013, 2014 Synopsys, Inc. (www.synopsys.com)
4c66ec88fSEmmanuel Vadot */
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot/*
7c66ec88fSEmmanuel Vadot * Device tree for AXC003 CPU card: HS38x UP configuration (VDK version)
8c66ec88fSEmmanuel Vadot */
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadot/include/ "skeleton_hs.dtsi"
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadot/ {
13c66ec88fSEmmanuel Vadot	compatible = "snps,arc";
14c66ec88fSEmmanuel Vadot	#address-cells = <1>;
15c66ec88fSEmmanuel Vadot	#size-cells = <1>;
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot	cpu_card {
18c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
19c66ec88fSEmmanuel Vadot		#address-cells = <1>;
20c66ec88fSEmmanuel Vadot		#size-cells = <1>;
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf0000000 0x10000000>;
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot		core_clk: core_clk {
25c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
26c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
27c66ec88fSEmmanuel Vadot			clock-frequency = <50000000>;
28c66ec88fSEmmanuel Vadot		};
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot		core_intc: archs-intc@cpu {
31c66ec88fSEmmanuel Vadot			compatible = "snps,archs-intc";
32c66ec88fSEmmanuel Vadot			interrupt-controller;
33c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
34c66ec88fSEmmanuel Vadot		};
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadot		debug_uart: dw-apb-uart@5000 {
37c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
38c66ec88fSEmmanuel Vadot			reg = <0x5000 0x100>;
39c66ec88fSEmmanuel Vadot			clock-frequency = <2403200>;
40c66ec88fSEmmanuel Vadot			interrupt-parent = <&core_intc>;
41c66ec88fSEmmanuel Vadot			interrupts = <19>;
42c66ec88fSEmmanuel Vadot			baud = <115200>;
43c66ec88fSEmmanuel Vadot			reg-shift = <2>;
44c66ec88fSEmmanuel Vadot			reg-io-width = <4>;
45c66ec88fSEmmanuel Vadot		};
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel Vadot	};
48c66ec88fSEmmanuel Vadot
49*6be33864SEmmanuel Vadot	mb_intc: interrupt-controller@e0012000 {
50c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
51c66ec88fSEmmanuel Vadot		compatible = "snps,dw-apb-ictl";
52c66ec88fSEmmanuel Vadot		reg = < 0xe0012000 0x200 >;
53c66ec88fSEmmanuel Vadot		interrupt-controller;
54c66ec88fSEmmanuel Vadot		interrupt-parent = <&core_intc>;
55c66ec88fSEmmanuel Vadot		interrupts = < 18 >;
56c66ec88fSEmmanuel Vadot	};
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot	memory {
59c66ec88fSEmmanuel Vadot		#address-cells = <1>;
60c66ec88fSEmmanuel Vadot		#size-cells = <1>;
61c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0x80000000 0x40000000>;
62c66ec88fSEmmanuel Vadot		device_type = "memory";
63c66ec88fSEmmanuel Vadot		reg = <0x80000000 0x20000000>;	/* 512MiB */
64c66ec88fSEmmanuel Vadot	};
65c66ec88fSEmmanuel Vadot};
66