1/* 2 * Copyright (c) 2019, NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <nxp/nxp_lpc55S6x_ns.dtsi> 10#include "lpcxpresso55s69.dtsi" 11#include <zephyr/dt-bindings/input/input-event-codes.h> 12 13/ { 14 model = "NXP LPCXpresso55S69 board"; 15 compatible = "nxp,lpc55xxx", "nxp,lpc"; 16 17 cpus { 18 /delete-node/ cpu@1; 19 }; 20 21 aliases { 22 sw0 = &user_button_1; 23 sw1 = &user_button_2; 24 sw2 = &user_button_3; 25 watchdog0 = &wwdt0; 26 accel0 = &mma8652fc; 27 }; 28 29 chosen { 30 zephyr,sram = &non_secure_ram; 31 zephyr,flash = &flash0; 32 zephyr,code-partition = &slot1_partition; 33 zephyr,console = &flexcomm0; 34 zephyr,shell-uart = &flexcomm0; 35 zephyr,entropy = &rng; 36 }; 37 38 gpio_keys { 39 compatible = "gpio-keys"; 40 user_button_1: button_0 { 41 label = "User SW1"; 42 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; 43 zephyr,code = <INPUT_KEY_0>; 44 }; 45 user_button_2: button_1 { 46 label = "User SW2"; 47 gpios = <&gpio1 18 GPIO_ACTIVE_LOW>; 48 zephyr,code = <INPUT_KEY_1>; 49 }; 50 user_button_3: button_2 { 51 label = "User SW3"; 52 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 53 zephyr,code = <INPUT_KEY_2>; 54 }; 55 }; 56}; 57 58&gpio0 { 59 status = "okay"; 60}; 61 62&gpio1 { 63 status = "okay"; 64}; 65 66&green_led { 67 status = "okay"; 68}; 69 70&red_led { 71 status = "okay"; 72}; 73 74&blue_led { 75 status = "okay"; 76}; 77 78&flexcomm0 { 79 status = "okay"; 80}; 81 82&flexcomm4 { 83 status = "okay"; 84}; 85 86&hs_lspi { 87 status = "okay"; 88 dmas = <&dma0 2>, <&dma0 3>; 89 dma-names = "rx", "tx"; 90}; 91 92&wwdt0 { 93 status = "okay"; 94}; 95 96&adc0 { 97 status = "okay"; 98}; 99 100&dma0 { 101 /* 102 * The total number of dma channels available is defined by 103 * FSL_FEATURE_DMA_NUMBER_OF_CHANNELS in the SoC features file. 104 * Since memory from the heap pool is allocated based on the number 105 * of DMA channels, set this property to as many channels is needed 106 * for the platform. Adjust HEAP_MEM_POOL_SIZE in case you need more 107 * memory. 108 */ 109 dma-channels = <20>; 110 status = "okay"; 111}; 112 113zephyr_udc0: &usbhs { 114 status = "okay"; 115}; 116 117&ctimer0 { 118 status = "okay"; 119}; 120 121&ctimer1 { 122 status = "okay"; 123}; 124 125&ctimer2 { 126 status = "okay"; 127}; 128 129&ctimer3 { 130 status = "okay"; 131}; 132 133&ctimer4 { 134 status = "okay"; 135}; 136