82 lines
1.3 KiB
Plaintext
82 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;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
red_led: led@0 {
|
|
gpios = <&gpioc 1 GPIO_INT_ACTIVE_LOW>;
|
|
label = "User LD1";
|
|
};
|
|
green_led: led@1 {
|
|
gpios = <&gpioa 19 GPIO_INT_ACTIVE_LOW>;
|
|
label = "User LD2";
|
|
};
|
|
blue_led: led@2 {
|
|
gpios = <&gpioa 18 GPIO_INT_ACTIVE_LOW>;
|
|
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>;
|
|
};
|