xref: /freebsd-src/sys/contrib/device-tree/src/arm64/altera/socfpga_stratix10_swvp.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1b97ee269SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2b97ee269SEmmanuel Vadot/*
3b97ee269SEmmanuel Vadot * Copyright (C) 2022, Intel Corporation
4b97ee269SEmmanuel Vadot */
5b97ee269SEmmanuel Vadot
6b97ee269SEmmanuel Vadot#include "socfpga_stratix10.dtsi"
7b97ee269SEmmanuel Vadot
8b97ee269SEmmanuel Vadot/ {
9b97ee269SEmmanuel Vadot	model = "SOCFPGA Stratix 10 SWVP";
10b97ee269SEmmanuel Vadot	compatible = "altr,socfpga-stratix10-swvp", "altr,socfpga-stratix10";
11b97ee269SEmmanuel Vadot
12b97ee269SEmmanuel Vadot	aliases {
13b97ee269SEmmanuel Vadot		serial0 = &uart0;
14b97ee269SEmmanuel Vadot		serial1 = &uart1;
15b97ee269SEmmanuel Vadot
16b97ee269SEmmanuel Vadot		timer0 = &timer0;
17b97ee269SEmmanuel Vadot		timer1 = &timer1;
18b97ee269SEmmanuel Vadot		timer2 = &timer2;
19b97ee269SEmmanuel Vadot		timer3 = &timer3;
20b97ee269SEmmanuel Vadot
21b97ee269SEmmanuel Vadot		ethernet0 = &gmac0;
22b97ee269SEmmanuel Vadot		ethernet1 = &gmac1;
23b97ee269SEmmanuel Vadot		ethernet2 = &gmac2;
24b97ee269SEmmanuel Vadot	};
25b97ee269SEmmanuel Vadot
26b97ee269SEmmanuel Vadot	chosen {
27b97ee269SEmmanuel Vadot		stdout-path = "serial1:115200n8";
28b97ee269SEmmanuel Vadot		linux,initrd-start = <0x10000000>;
29b97ee269SEmmanuel Vadot		linux,initrd-end = <0x125c8324>;
30b97ee269SEmmanuel Vadot	};
31b97ee269SEmmanuel Vadot
32*aa1a8ff2SEmmanuel Vadot	memory@80000000 {
33b97ee269SEmmanuel Vadot		device_type = "memory";
34b97ee269SEmmanuel Vadot		reg = <0x0 0x0 0x0 0x80000000>;
35b97ee269SEmmanuel Vadot	};
36b97ee269SEmmanuel Vadot};
37b97ee269SEmmanuel Vadot
38b97ee269SEmmanuel Vadot&cpu0 {
39b97ee269SEmmanuel Vadot	enable-method = "spin-table";
40b97ee269SEmmanuel Vadot	cpu-release-addr = <0x0 0x0000fff8>;
41b97ee269SEmmanuel Vadot};
42b97ee269SEmmanuel Vadot
43b97ee269SEmmanuel Vadot&cpu1 {
44b97ee269SEmmanuel Vadot	enable-method = "spin-table";
45b97ee269SEmmanuel Vadot	cpu-release-addr = <0x0 0x0000fff8>;
46b97ee269SEmmanuel Vadot};
47b97ee269SEmmanuel Vadot
48b97ee269SEmmanuel Vadot&cpu2 {
49b97ee269SEmmanuel Vadot	enable-method = "spin-table";
50b97ee269SEmmanuel Vadot	cpu-release-addr = <0x0 0x0000fff8>;
51b97ee269SEmmanuel Vadot};
52b97ee269SEmmanuel Vadot
53b97ee269SEmmanuel Vadot&cpu3 {
54b97ee269SEmmanuel Vadot	enable-method = "spin-table";
55b97ee269SEmmanuel Vadot	cpu-release-addr = <0x0 0x0000fff8>;
56b97ee269SEmmanuel Vadot};
57b97ee269SEmmanuel Vadot
58b97ee269SEmmanuel Vadot&osc1 {
59b97ee269SEmmanuel Vadot	clock-frequency = <25000000>;
60b97ee269SEmmanuel Vadot};
61b97ee269SEmmanuel Vadot
62b97ee269SEmmanuel Vadot&gmac0 {
63b97ee269SEmmanuel Vadot	status = "okay";
64b97ee269SEmmanuel Vadot	phy-mode = "rgmii";
65b97ee269SEmmanuel Vadot	phy-addr = <0xffffffff>;
66b97ee269SEmmanuel Vadot	snps,max-mtu = <0x0>;
67b97ee269SEmmanuel Vadot};
68b97ee269SEmmanuel Vadot
69b97ee269SEmmanuel Vadot&gmac1 {
70b97ee269SEmmanuel Vadot	status = "okay";
71b97ee269SEmmanuel Vadot	phy-mode = "rgmii";
72b97ee269SEmmanuel Vadot	phy-addr = <0xffffffff>;
73b97ee269SEmmanuel Vadot};
74b97ee269SEmmanuel Vadot
75b97ee269SEmmanuel Vadot&gmac2 {
76b97ee269SEmmanuel Vadot	status = "okay";
77b97ee269SEmmanuel Vadot	phy-mode = "rgmii";
78b97ee269SEmmanuel Vadot	phy-addr = <0xffffffff>;
79b97ee269SEmmanuel Vadot};
80b97ee269SEmmanuel Vadot
81b97ee269SEmmanuel Vadot&mmc {
82b97ee269SEmmanuel Vadot	status = "okay";
83b97ee269SEmmanuel Vadot	cap-sd-highspeed;
84b97ee269SEmmanuel Vadot	cap-mmc-highspeed;
85b97ee269SEmmanuel Vadot	broken-cd;
86b97ee269SEmmanuel Vadot	bus-width = <4>;
87b97ee269SEmmanuel Vadot};
88b97ee269SEmmanuel Vadot
89b97ee269SEmmanuel Vadot&uart0 {
90b97ee269SEmmanuel Vadot	status = "okay";
91b97ee269SEmmanuel Vadot};
92b97ee269SEmmanuel Vadot
93b97ee269SEmmanuel Vadot&uart1 {
94b97ee269SEmmanuel Vadot	status = "okay";
95b97ee269SEmmanuel Vadot};
96b97ee269SEmmanuel Vadot
97b97ee269SEmmanuel Vadot&usb0 {
98b97ee269SEmmanuel Vadot	clocks = <&clkmgr STRATIX10_L4_MP_CLK>;
99b97ee269SEmmanuel Vadot	status = "okay";
100b97ee269SEmmanuel Vadot};
101b97ee269SEmmanuel Vadot
102b97ee269SEmmanuel Vadot&usb1 {
103b97ee269SEmmanuel Vadot	clocks = <&clkmgr STRATIX10_L4_MP_CLK>;
104b97ee269SEmmanuel Vadot	status = "okay";
105b97ee269SEmmanuel Vadot};
106b97ee269SEmmanuel Vadot
107b97ee269SEmmanuel Vadot&rst {
108b97ee269SEmmanuel Vadot	altr,modrst-offset = <0x20>;
109b97ee269SEmmanuel Vadot};
110b97ee269SEmmanuel Vadot
111b97ee269SEmmanuel Vadot&sysmgr {
112b97ee269SEmmanuel Vadot	reg = <0xffd12000 0x1000>;
113b97ee269SEmmanuel Vadot	interrupts = <0x0 0x10 0x4>;
114b97ee269SEmmanuel Vadot	cpu1-start-addr = <0xffd06230>;
115b97ee269SEmmanuel Vadot};
116