Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/


/ {
dp0 {
compatible = "zephyr,swdp-gpio";
Expand All @@ -26,6 +25,7 @@
sector-size = <512>;
sector-count = <128>;
};

chosen {
zephyr,console = &rtt0;
zephyr,shell-uart = &rtt0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/


/ {
dp0 {
compatible = "zephyr,swdp-gpio";
Expand Down Expand Up @@ -43,7 +42,6 @@
status = "okay";
};


&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,4 @@
low-power-enable;
};
};

};
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,4 @@
low-power-enable;
};
};

};
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,26 @@
label = "ML State LED";

led0: led_0 {
gpios = < &gpio9 0 GPIO_ACTIVE_HIGH >;
gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>;
label = "Green LED 0";
};

led1: led_1 {
gpios = < &gpio9 1 GPIO_ACTIVE_HIGH >;
gpios = <&gpio9 1 GPIO_ACTIVE_HIGH>;
label = "Green LED 1";
};

led2: led_2 {
gpios = < &gpio9 2 GPIO_ACTIVE_HIGH >;
gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>;
label = "Green LED 2";
};
};

leds3 {
compatible = "gpio-leds";

led3: led_3 {
gpios = < &gpio9 3 GPIO_ACTIVE_HIGH >;
gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
label = "Green LED 3";
};
};
Expand Down Expand Up @@ -75,7 +76,6 @@ ipc1: &cpuapp_cpuppr_ipc {
};
};


/* Remove DTS nodes associated with the cpuflpr target as they refer to the
* cpuflpr_code_partition label from the cpuapp_rx_partitions node. The label has
* been removed in this file due to the modification of the cpuapp_rx_partitions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
chosen {
ncs,ml-app-ei-data-forwarder-uart = &uart20;
zephyr,console = &uart30;

};

sensor_sim: sensor-sim {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

/ {
/ {
agg0: agg0 {
compatible = "caf,aggregator";
sensor_descr = "accel_xyz";
Expand All @@ -15,7 +15,6 @@
status = "okay";
};


reserved-memory {
cpuppr_code_data: memory@2fc00000 {
reg = <0x2fc00000 0xf200>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

/ {
chosen {
/delete-property/ zephyr,console;
/delete-property/ zephyr,shell-uart;
/delete-property/ zephyr,console;
/delete-property/ zephyr,shell-uart;
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,19 @@
&adc {
status = "disabled";
};

&i2c1 {
status = "disabled";
};

&pwm0 {
status = "disabled";
};

&spi2 {
status = "disabled";
};

&usbd {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
aliases {
watchdog0 = &wdt0;
};

};

/* Set IPC thread priority to the highest value to not collide with other threads. */
Expand Down
39 changes: 21 additions & 18 deletions applications/matter_weather_station/app.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,43 @@
buzzer-pwm = &buzzer;
};

sram@2007E340 {
sram@2007e340 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x2007E340 0x1CC0>;
reg = <0x2007e340 0x1cc0>;
zephyr,memory-region = "DiagnosticLogMem";
status = "okay";

retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
#address-cells = <1>;
#size-cells = <1>;

/* Reserve 192 B for the crash logs. */
crash_retention: retention@0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0x0 0xC0>;
prefix = [08 04];
checksum = <2>;
compatible = "zephyr,retention";
status = "okay";
reg = <0x0 0xc0>;
prefix = [08 04];
checksum = <2>;
};

/* Reserve 6 kB for the network logs. */
network_logs_retention: retention@c0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0xC0 0x1800>;
prefix = [06 03];
checksum = <2>;
compatible = "zephyr,retention";
status = "okay";
reg = <0xc0 0x1800>;
prefix = [06 03];
checksum = <2>;
};

/* Reserve 1 kB for the end user logs. */
end_user_logs_retention: retention@18c0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0x18C0 0x400>;
prefix = [05 02];
checksum = <2>;
compatible = "zephyr,retention";
status = "okay";
reg = <0x18c0 0x400>;
prefix = [05 02];
checksum = <2>;
};
};
};
Expand Down Expand Up @@ -96,11 +98,12 @@
&pwm0 {
status = "disabled";
};

&pwm2 {
status = "disabled";
};

/* Reduce SRAM0 usage by 7360 B to account for non-init area */
&sram0 {
reg = <0x20000000 0x7E340>;
reg = <0x20000000 0x7e340>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

led_device_type: led_device_type {
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>,
<&gpio0 25 GPIO_ACTIVE_HIGH>,
<&gpio0 26 GPIO_ACTIVE_HIGH>;
<&gpio0 25 GPIO_ACTIVE_HIGH>,
<&gpio0 26 GPIO_ACTIVE_HIGH>;
label = "RGB LED 0";
};

rgb2: rgb-2 {
gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>,
<&gpio0 29 GPIO_ACTIVE_HIGH>,
<&gpio0 30 GPIO_ACTIVE_HIGH>;
<&gpio0 29 GPIO_ACTIVE_HIGH>,
<&gpio0 30 GPIO_ACTIVE_HIGH>;
label = "RGB LED 1";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,20 @@

&spi4 {
cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
<&gpio0 11 GPIO_ACTIVE_LOW>,
<&gpio0 17 GPIO_ACTIVE_LOW>;
<&gpio0 11 GPIO_ACTIVE_LOW>,
<&gpio0 17 GPIO_ACTIVE_LOW>;
status = "okay";
mx25r64: mx25r6435f@0 {

mx25r64: mx25r6435f@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <8000000>;

jedec-id = [c2 28 17];
sfdp-bfp = [
e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb
ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 0f 52
10 d8 00 ff 23 72 f5 00 82 ed 04 cc 44 83 68 44
30 b0 30 b0 f7 c4 d5 5c 00 be 29 ff f0 d0 ff ff
];
sfdp-bfp = [e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb
ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 0f 52
10 d8 00 ff 23 72 f5 00 82 ed 04 cc 44 83 68 44
30 b0 30 b0 f7 c4 d5 5c 00 be 29 ff f0 d0 ff ff];
size = <67108864>;
has-dpd;
t-enter-dpd = <10000>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@

group2 {
psels = <NRF_PSEL(I2S_SCK_M, 1, 7)>,
<NRF_PSEL(I2S_LRCK_M, 1, 5)>,
<NRF_PSEL(I2S_SDOUT, 1, 6)>,
<NRF_PSEL(I2S_SDIN, 1, 9)>;
<NRF_PSEL(I2S_LRCK_M, 1, 5)>,
<NRF_PSEL(I2S_SDOUT, 1, 6)>,
<NRF_PSEL(I2S_SDIN, 1, 9)>;
};
};

i2s0_sleep: i2s0_sleep {
group1 {
psels = <NRF_PSEL(I2S_MCK, 1, 8)>,
<NRF_PSEL(I2S_SCK_M, 1, 7)>,
<NRF_PSEL(I2S_LRCK_M, 1, 5)>,
<NRF_PSEL(I2S_SDOUT, 1, 6)>,
<NRF_PSEL(I2S_SDIN, 1, 9)>;
<NRF_PSEL(I2S_SCK_M, 1, 7)>,
<NRF_PSEL(I2S_LRCK_M, 1, 5)>,
<NRF_PSEL(I2S_SDOUT, 1, 6)>,
<NRF_PSEL(I2S_SDIN, 1, 9)>;
low-power-enable;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
in-polling-period-us = <1000>;
in-report-size = <64>;
};

hid_dev_1: hid_dev_1 {
compatible = "zephyr,hid-device";
label = "HID1";
Expand All @@ -29,6 +30,7 @@
label = "Green LED 0";
};
};

gpioled2 {
compatible = "gpio-leds";
status = "okay";
Expand All @@ -38,22 +40,23 @@
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
label = "Red LED 1";
};

led1_g: led_2 {
gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
label = "Green LED 1";
};

led1_b: led_3 {
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
label = "Blue LED 1";
};

};

leds {
status = "disabled";
};
};


&usbd {
compatible = "nordic,nrf-usbd";
status = "okay";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
in-polling-period-us = <1000>;
in-report-size = <64>;
};

hid_dev_1: hid_dev_1 {
compatible = "zephyr,hid-device";
label = "HID1";
Expand All @@ -34,18 +35,18 @@
compatible = "gpio-leds";
status = "okay";
label = "LED Peer State";

led1_g: led_1 {
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
label = "Green LED 1";
};

};

leds {
status = "disabled";
};
};


&usbd {
compatible = "nordic,nrf-usbd";
status = "okay";
Expand All @@ -60,7 +61,6 @@
status = "okay";
};


&bt_hci_sdc {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
in-polling-period-us = <1000>;
in-report-size = <64>;
};

hid_dev_1: hid_dev_1 {
compatible = "zephyr,hid-device";
label = "HID1";
Expand Down Expand Up @@ -85,5 +86,4 @@
low-power-enable;
};
};

};
Loading
Loading