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