2019-04-06 21:08:09 +08:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
|
2018-05-14 15:49:09 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include <nios2f.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "altera_max10";
|
2020-10-21 04:05:49 +08:00
|
|
|
compatible = "altr,nios2-max10";
|
2018-05-14 15:49:09 +08:00
|
|
|
|
|
|
|
aliases {
|
2018-09-18 05:39:02 +08:00
|
|
|
uart-0 = &uart0;
|
2018-05-14 15:49:09 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
zephyr,console = &uart0;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &uart0;
|
2018-05-14 15:49:09 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-05-14 15:49:09 +08:00
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
2018-12-21 16:56:34 +08:00
|
|
|
|
|
|
|
&i2c0 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-12-21 16:56:34 +08:00
|
|
|
clock-frequency = <I2C_BITRATE_ULTRA>;
|
|
|
|
};
|