|
1 | 1 | /* |
2 | 2 | * Copyright (c) 2024 Nordic Semiconductor ASA |
3 | 3 | * |
4 | | - * SPDX-License-Identifier: Apache-2.0 |
| 4 | + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause |
5 | 5 | */ |
6 | 6 |
|
7 | 7 | /dts-v1/; |
| 8 | +#include <nordic/nrf54l15_cpuapp_ns.dtsi> |
| 9 | +#include "nrf54l15pdk_nrf54l15_cpuapp_ns-pinctrl.dtsi" |
8 | 10 |
|
9 | | -#define USE_NON_SECURE_ADDRESS_MAP 1 |
| 11 | +/ { |
| 12 | + chosen { |
| 13 | + zephyr,console = &uart20; |
| 14 | + /* TODO: NCSDK-24862: We don't support configuring RRAM and SRAM |
| 15 | + * regions in the DTS file yet. The partition manager configures |
| 16 | + * these regions now. |
| 17 | + */ |
| 18 | + zephyr,shell-uart = &uart20; |
| 19 | + zephyr,flash = &rram0; |
| 20 | + zephyr,sram = &sram0; |
| 21 | + zephyr,ieee802154 = &ieee802154; |
| 22 | + }; |
10 | 23 |
|
11 | | -#include "nrf54l15_cpuapp_common.dtsi" |
| 24 | + leds { |
| 25 | + compatible = "gpio-leds"; |
| 26 | + led0: led_0 { |
| 27 | + gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; |
| 28 | + label = "Green LED 0"; |
| 29 | + }; |
| 30 | + led1: led_1 { |
| 31 | + gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; |
| 32 | + label = "Green LED 1"; |
| 33 | + }; |
| 34 | + led2: led_2 { |
| 35 | + gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; |
| 36 | + label = "Green LED 2"; |
| 37 | + }; |
| 38 | + led3: led_3 { |
| 39 | + gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; |
| 40 | + label = "Green LED 3"; |
| 41 | + }; |
| 42 | + }; |
12 | 43 |
|
13 | | -/ { |
14 | | - compatible = "nordic,nrf54l15pdk_nrf54l15-cpuapp"; |
15 | | - model = "Nordic nRF54L15 PDK nRF54L15 Application MCU"; |
| 44 | + buttons { |
| 45 | + compatible = "gpio-keys"; |
| 46 | + button0: button_0 { |
| 47 | + gpios = <&gpio1 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; |
| 48 | + label = "Push button 0"; |
| 49 | + zephyr,code = <INPUT_KEY_0>; |
| 50 | + }; |
| 51 | + button1: button_1 { |
| 52 | + gpios = <&gpio1 10 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; |
| 53 | + label = "Push button 1"; |
| 54 | + zephyr,code = <INPUT_KEY_1>; |
| 55 | + }; |
| 56 | + button2: button_2 { |
| 57 | + gpios = <&gpio2 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; |
| 58 | + label = "Push button 2"; |
| 59 | + zephyr,code = <INPUT_KEY_2>; |
| 60 | + }; |
| 61 | + button3: button_3 { |
| 62 | + gpios = <&gpio2 10 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; |
| 63 | + label = "Push button 3"; |
| 64 | + zephyr,code = <INPUT_KEY_3>; |
| 65 | + }; |
| 66 | + }; |
16 | 67 |
|
17 | | - chosen { |
18 | | - zephyr,code-partition = &slot0_partition; |
19 | | - zephyr,sram = &cpuapp_sram; |
| 68 | + aliases { |
| 69 | + led0 = &led0; |
| 70 | + led1 = &led1; |
| 71 | + led2 = &led2; |
| 72 | + led3 = &led3; |
| 73 | + sw0 = &button0; |
| 74 | + sw1 = &button1; |
| 75 | + sw2 = &button2; |
| 76 | + sw3 = &button3; |
20 | 77 | }; |
21 | 78 | }; |
22 | 79 |
|
| 80 | +&uart20 { |
| 81 | + status = "okay"; |
| 82 | + current-speed = <115200>; |
| 83 | + pinctrl-0 = <&uart20_default>; |
| 84 | + pinctrl-1 = <&uart20_sleep>; |
| 85 | + pinctrl-names = "default", "sleep"; |
| 86 | +}; |
| 87 | + |
23 | 88 | &uart30 { |
24 | 89 | /* Disable so that TF-M can use this UART */ |
25 | 90 | status = "disabled"; |
|
29 | 94 | pinctrl-1 = <&uart30_sleep>; |
30 | 95 | pinctrl-names = "default", "sleep"; |
31 | 96 | }; |
| 97 | + |
| 98 | +&grtc { |
| 99 | + status = "okay"; |
| 100 | +}; |
| 101 | + |
| 102 | +&gpio0 { |
| 103 | + status = "okay"; |
| 104 | +}; |
| 105 | + |
| 106 | +&gpio1 { |
| 107 | + status = "okay"; |
| 108 | +}; |
| 109 | + |
| 110 | +&gpio2 { |
| 111 | + status = "okay"; |
| 112 | +}; |
| 113 | + |
| 114 | +&gpiote20 { |
| 115 | + status = "okay"; |
| 116 | +}; |
| 117 | + |
| 118 | +&gpiote30 { |
| 119 | + status = "okay"; |
| 120 | +}; |
| 121 | + |
| 122 | +&ieee802154 { |
| 123 | + status = "okay"; |
| 124 | +}; |
| 125 | + |
| 126 | +&temp { |
| 127 | + status = "okay"; |
| 128 | +}; |
| 129 | + |
| 130 | +&clock { |
| 131 | + status = "okay"; |
| 132 | +}; |
0 commit comments