mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-29 12:46:06 +00:00
The DT spec. only has "okay" and not "ok". The Linux kernel has around 12k "okay"s and 300 "ok"s. The scripts/dts scripts only check for "disabled", so should be safe re. those at least. The replacement was done with git ls-files | xargs sed -i 's/status\s*=\s*"ok"/status = "okay"/' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
32 lines
426 B
Plaintext
32 lines
426 B
Plaintext
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
/dts-v1/;
|
|
|
|
#include <nios2f.dtsi>
|
|
|
|
/ {
|
|
model = "altera_max10";
|
|
compatible = "altera,nios2f";
|
|
|
|
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>;
|
|
};
|