zephyr/boards/arm/frdm_kw41z/frdm_kw41z.dts

83 lines
1.3 KiB
Plaintext

/dts-v1/;
#include <nxp/nxp_kw41z.dtsi>
/ {
model = "NXP Freedom KW41Z board";
compatible = "nxp,kw41z", "nxp,mkw41z4";
aliases {
adc-0 = &adc0;
lpuart-0 = &lpuart0;
pinmux-a = &pinmux_a;
pinmux-b = &pinmux_b;
pinmux-c = &pinmux_c;
gpio-a = &gpioa;
gpio-b = &gpiob;
gpio-c = &gpioc;
i2c-0 = &i2c0;
i2c-1 = &i2c1;
led0 = &green_led;
led1 = &blue_led;
led2 = &red_led;
sw0 = &user_button_3;
sw1 = &user_button_4;
rtc-0 = &rtc0;
};
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &lpuart0;
zephyr,shell-uart = &lpuart0;
};
leds {
compatible = "gpio-leds";
red_led: led_0 {
gpios = <&gpioc 1 0>;
label = "User LD1";
};
green_led: led_1 {
gpios = <&gpioa 19 0>;
label = "User LD2";
};
blue_led: led_2 {
gpios = <&gpioa 18 0>;
label = "User LD3";
};
};
gpio_keys {
compatible = "gpio-keys";
user_button_3: button_0 {
label = "User SW3";
gpios = <&gpioc 4 GPIO_INT_ACTIVE_LOW>;
};
user_button_4: button_1 {
label = "User SW4";
gpios = <&gpioc 5 GPIO_INT_ACTIVE_LOW>;
};
};
};
&adc0 {
status = "ok";
};
&i2c1 {
status = "ok";
fxos8700@1f {
compatible = "nxp,fxos8700";
reg = <0x1f>;
label = "FXOS8700";
int1-gpios = <&gpioc 1 0>;
};
};
&lpuart0 {
status = "ok";
current-speed = <115200>;
};