1/* SPDX-License-Identifier: Apache-2.0 */
2/* Copyright (c) 2018 Intel */
3
4/dts-v1/;
5
6#include <mem.h>
7#include <intel/nios2f.dtsi>
8
9/ {
10	model = "altera_max10";
11	compatible = "altr,nios2-max10";
12
13	aliases {
14		uart-0 = &uart0;
15	};
16
17	chosen {
18		zephyr,sram = &sram0;
19		zephyr,flash = &flash0;
20		zephyr,console = &uart0;
21		zephyr,shell-uart = &uart0;
22	};
23};
24
25&uart0 {
26	status = "okay";
27	current-speed = <115200>;
28};
29
30&i2c0 {
31	status = "okay";
32	clock-frequency = <I2C_BITRATE_ULTRA>;
33};
34
35&qspi {
36	status = "okay";
37	n25q512ax3: n25q512ax3@0 {
38		compatible = "altr,nios2-qspi-nor";
39		size = <DT_SIZE_M(64*8)>;	/* in bits */
40		reg = <0>;
41	};
42};
43