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>
78 lines
1.2 KiB
Text
78 lines
1.2 KiB
Text
/*
|
|
* Copyright (c) 2018 Philémon Jaermann
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/f4/stm32f446Xe.dtsi>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32F446RE-NUCLEO board";
|
|
compatible = "st,stm32f446re-nucleo", "st,stm32f446";
|
|
|
|
chosen {
|
|
zephyr,console = &usart2;
|
|
zephyr,shell-uart = &usart2;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
green_led_2: led_2 {
|
|
gpios = <&gpioa 5 GPIO_INT_ACTIVE_HIGH>;
|
|
label = "User LD2";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
user_button: button {
|
|
label = "User";
|
|
gpios = <&gpioc 13 GPIO_INT_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &green_led_2;
|
|
sw0 = &user_button;
|
|
};
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart1_pins_a>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
};
|
|
|
|
&usart2 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
};
|
|
|
|
arduino_i2c: &i2c1 {
|
|
status = "okay";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|
|
|
|
&i2c2 {
|
|
status = "okay";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|
|
|
|
&i2c3 {
|
|
status = "okay";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|
|
|
|
arduino_spi: &spi1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&rtc {
|
|
status = "okay";
|
|
};
|