| /* SPDX-License-Identifier: Apache-2.0 */ |
| |
| /dts-v1/; |
| |
| #include <mem.h> |
| #include <intel/nios2f.dtsi> |
| |
| / { |
| model = "altera_max10"; |
| compatible = "altr,nios2-max10"; |
| |
| aliases { |
| uart-0 = &uart0; |
| }; |
| |
| chosen { |
| zephyr,sram = &sram0; |
| zephyr,flash = &flash0; |
| zephyr,console = &uart0; |
| zephyr,shell-uart = &uart0; |
| }; |
| }; |
| |
| &uart0 { |
| status = "okay"; |
| current-speed = <115200>; |
| }; |
| |
| &i2c0 { |
| status = "okay"; |
| clock-frequency = <I2C_BITRATE_ULTRA>; |
| }; |
| |
| &qspi { |
| status = "okay"; |
| n25q512ax3: n25q512ax3@0 { |
| compatible = "altr,nios2-qspi-nor"; |
| size = <DT_SIZE_M(64*8)>; /* in bits */ |
| reg = <0>; |
| }; |
| }; |