2017-02-06 21:09:30 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2017-04-04 05:38:12 +08:00
|
|
|
#include <nxp/nxp_kw41z.dtsi>
|
2017-02-06 21:09:30 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "NXP Freedom KW41Z board";
|
|
|
|
compatible = "nxp,kw41z", "nxp,mkw41z4";
|
|
|
|
|
|
|
|
aliases {
|
2018-04-11 00:56:14 +08:00
|
|
|
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;
|
2018-04-20 01:57:18 +08:00
|
|
|
led0 = &green_led;
|
|
|
|
led1 = &blue_led;
|
|
|
|
led2 = &red_led;
|
|
|
|
sw0 = &user_button_3;
|
|
|
|
sw1 = &user_button_4;
|
2018-04-25 02:28:08 +08:00
|
|
|
rtc-0 = &rtc0;
|
2017-02-06 21:09:30 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
zephyr,console = &lpuart0;
|
|
|
|
};
|
2018-04-20 01:57:18 +08:00
|
|
|
|
|
|
|
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>;
|
|
|
|
};
|
|
|
|
};
|
2017-02-06 21:09:30 +08:00
|
|
|
};
|
|
|
|
|
2017-07-12 09:49:08 +08:00
|
|
|
&adc0 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
2017-07-11 23:38:09 +08:00
|
|
|
&i2c1 {
|
|
|
|
status = "ok";
|
2018-01-16 06:24:17 +08:00
|
|
|
|
|
|
|
fxos8700@1f {
|
|
|
|
compatible = "nxp,fxos8700";
|
|
|
|
reg = <0x1f>;
|
|
|
|
label = "FXOS8700";
|
2018-05-06 03:18:20 +08:00
|
|
|
int1-gpios = <&gpioc 1 0>;
|
2018-01-16 06:24:17 +08:00
|
|
|
};
|
2017-07-11 23:38:09 +08:00
|
|
|
};
|
|
|
|
|
2017-02-06 21:09:30 +08:00
|
|
|
&lpuart0 {
|
|
|
|
status = "ok";
|
2017-04-20 23:10:10 +08:00
|
|
|
current-speed = <115200>;
|
2017-02-06 21:09:30 +08:00
|
|
|
};
|