1/* 2 * Copyright 2024 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <nxp/nxp_ke1xz.dtsi> 10#include "frdm_ke15z-pinctrl.dtsi" 11#include <zephyr/dt-bindings/input/input-event-codes.h> 12 13/ { 14 model = "NXP Freedom KE15Z board"; 15 compatible = "nxp,ke15z", "nxp,mke15z7"; 16 17 aliases { 18 led0 = &green_led; 19 led1 = &blue_led; 20 led2 = &red_led; 21 sw0 = &user_button_0; 22 sw1 = &user_button_1; 23 }; 24 25 chosen { 26 zephyr,sram = &sram_u; 27 zephyr,flash = &flash0; 28 zephyr,console = &lpuart1; 29 zephyr,shell-uart = &lpuart1; 30 }; 31 32 leds { 33 compatible = "gpio-leds"; 34 red_led: led_0 { 35 gpios = <&gpiod 0 GPIO_ACTIVE_LOW>; 36 label = "RED LED"; 37 }; 38 green_led: led_1 { 39 gpios = <&gpiod 16 GPIO_ACTIVE_LOW>; 40 label = "GREEN LED"; 41 }; 42 blue_led: led_2 { 43 gpios = <&gpiod 15 GPIO_ACTIVE_LOW>; 44 label = "BLUE LED"; 45 }; 46 }; 47 48 gpio_keys { 49 compatible = "gpio-keys"; 50 user_button_0: button_0 { 51 label = "User SW3"; 52 gpios = <&gpiod 3 GPIO_ACTIVE_LOW>; 53 zephyr,code = <INPUT_KEY_0>; 54 }; 55 user_button_1: button_1 { 56 label = "User SW2"; 57 gpios = <&gpiob 11 GPIO_ACTIVE_LOW>; 58 zephyr,code = <INPUT_KEY_1>; 59 }; 60 }; 61}; 62 63&lpuart1 { 64 status = "okay"; 65 current-speed = <115200>; 66 pinctrl-0 = <&lpuart1_default>; 67 pinctrl-names = "default"; 68}; 69 70&gpiob { 71 status = "okay"; 72}; 73 74&gpiod { 75 status = "okay"; 76}; 77