Skip to content

devicetree: format files in tests #92801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 54 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
8718b17
devicetree: format files in tests/arch/arm
kylebonnici Jul 8, 2025
4fe0cb5
devicetree: format files in tests/bluetooth/shell
kylebonnici Jul 8, 2025
69e7f73
devicetree: format files in tests/boards/mec15xxevb_assy6853
kylebonnici Jul 8, 2025
63b368c
devicetree: format files in tests/boards/mec172xevb_assy6906
kylebonnici Jul 8, 2025
c3b5589
devicetree: format files in tests/boards/nrf
kylebonnici Jul 8, 2025
3fbf1ff
devicetree: format files in tests/boot/mcuboot_recovery_retention
kylebonnici Jul 8, 2025
9ba3f4f
devicetree: format files in tests/cmake/hwm
kylebonnici Jul 8, 2025
832fe3e
devicetree: format files in tests/cmake/snippets
kylebonnici Jul 8, 2025
b78cbcf
devicetree: format files in tests/drivers/adc
kylebonnici Jul 8, 2025
a5435d6
devicetree: format files in tests/drivers/build_all
kylebonnici Jul 8, 2025
74ff7e3
devicetree: format files in tests/drivers/can
kylebonnici Jul 8, 2025
5555e82
devicetree: format files in tests/drivers/clock_control
kylebonnici Jul 8, 2025
4992884
devicetree: format files in tests/drivers/comparator
kylebonnici Jul 8, 2025
3cd8dad
devicetree: format files in tests/drivers/coredump
kylebonnici Jul 8, 2025
38ed135
devicetree: format files in tests/drivers/counter
kylebonnici Jul 8, 2025
4092a37
devicetree: format files in tests/drivers/disk
kylebonnici Jul 8, 2025
1c270c8
devicetree: format files in tests/drivers/dma
kylebonnici Jul 8, 2025
e9502b4
devicetree: format files in tests/drivers/eeprom
kylebonnici Jul 8, 2025
bb7cb02
devicetree: format files in tests/drivers/flash
kylebonnici Jul 8, 2025
f95e1ec
devicetree: format files in tests/drivers/flash_simulator
kylebonnici Jul 8, 2025
3538c46
devicetree: format files in tests/drivers/fuel_gauge
kylebonnici Jul 8, 2025
5c608a5
devicetree: format files in tests/drivers/gpio
kylebonnici Jul 8, 2025
46d2d2e
devicetree: format files in tests/drivers/i2c
kylebonnici Jul 8, 2025
ef272ec
devicetree: format files in tests/drivers/i2s
kylebonnici Jul 8, 2025
a9a7251
devicetree: format files in tests/drivers/input
kylebonnici Jul 8, 2025
7d861b0
devicetree: format files in tests/drivers/interrupt_controller
kylebonnici Jul 8, 2025
b8b02cb
devicetree: format files in tests/drivers/mbox
kylebonnici Jul 8, 2025
9f845e5
devicetree: format files in tests/drivers/memc
kylebonnici Jul 8, 2025
161ba8c
devicetree: format files in tests/drivers/mspi
kylebonnici Jul 8, 2025
22f7fc8
devicetree: format files in tests/drivers/pinctrl
kylebonnici Jul 8, 2025
5920841
devicetree: format files in tests/drivers/pwm
kylebonnici Jul 8, 2025
8729d4f
devicetree: format files in tests/drivers/regulator
kylebonnici Jul 8, 2025
fd71dd3
devicetree: format files in tests/drivers/rtc
kylebonnici Jul 8, 2025
81bc0ab
devicetree: format files in tests/drivers/sensor
kylebonnici Jul 8, 2025
cc48564
devicetree: format files in tests/drivers/spi
kylebonnici Jul 8, 2025
5494f37
devicetree: format files in tests/drivers/stepper
kylebonnici Jul 8, 2025
a5f322d
devicetree: format files in tests/drivers/syscon
kylebonnici Jul 8, 2025
209421c
devicetree: format files in tests/drivers/tee
kylebonnici Jul 8, 2025
a0b4d31
devicetree: format files in tests/drivers/uart
kylebonnici Jul 8, 2025
a7b8c10
devicetree: format files in tests/kernel/interrupt
kylebonnici Jul 8, 2025
872e78f
devicetree: format files in tests/kernel/mem_protect
kylebonnici Jul 8, 2025
d1e089c
devicetree: format files in tests/kernel/timer
kylebonnici Jul 8, 2025
a23b34c
devicetree: format files in tests/lib/devicetree
kylebonnici Jul 8, 2025
b54393e
devicetree: format files in tests/lib/shared_multi_heap
kylebonnici Jul 8, 2025
967bd43
devicetree: format files in tests/misc/kconfigoptions
kylebonnici Jul 8, 2025
076b502
devicetree: format files in tests/subsys/debug
kylebonnici Jul 8, 2025
bf500ca
devicetree: format files in tests/subsys/dfu
kylebonnici Jul 8, 2025
b1bed54
devicetree: format files in tests/subsys/fs
kylebonnici Jul 8, 2025
8358f43
devicetree: format files in tests/subsys/ipc
kylebonnici Jul 8, 2025
246bb5c
devicetree: format files in tests/subsys/mem_mgmt
kylebonnici Jul 8, 2025
c6771d5
devicetree: format files in tests/subsys/modem
kylebonnici Jul 8, 2025
a99fcee
devicetree: format files in tests/subsys/pm
kylebonnici Jul 8, 2025
98243f2
devicetree: format files in tests/subsys/storage
kylebonnici Jul 8, 2025
3682554
devicetree: format files in tests/subsys/usb
kylebonnici Jul 8, 2025
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 @@ -8,6 +8,6 @@
status = "disabled";
};

&cpusec_bellboard{
&cpusec_bellboard {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
status = "disabled";
};

&cpusec_bellboard{
&cpusec_bellboard {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
status = "disabled";
};

&cpusec_bellboard{
&cpusec_bellboard {
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
status = "disabled";
};

&cpusec_bellboard{
&cpusec_bellboard {
status = "disabled";
};
3 changes: 1 addition & 2 deletions tests/arch/arm/arm_mpu_pxn/mps3_corstone300_an547.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>


/ {
sram: sram@11000000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x11000000 DT_SIZE_M(1)>;
zephyr,memory-region = "SRAM";
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_PXN) )>;
zephyr,memory-attr = <(DT_MEM_ARM(ATTR_MPU_RAM_PXN))>;
};
};
3 changes: 1 addition & 2 deletions tests/arch/arm/arm_mpu_pxn/mps3_corstone300_fvp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>


/ {
sram: sram@11000000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x11000000 DT_SIZE_M(1)>;
zephyr,memory-region = "SRAM";
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_PXN) )>;
zephyr,memory-attr = <(DT_MEM_ARM(ATTR_MPU_RAM_PXN))>;
};
};
3 changes: 1 addition & 2 deletions tests/arch/arm/arm_mpu_pxn/mps3_corstone310_fvp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>


/ {
dtcm: dtcm@30000000 {
compatible = "zephyr,memory-region";
reg = <0x30000000 DT_SIZE_K(32)>;
zephyr,memory-region = "DTCM";
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_PXN) )>;
zephyr,memory-attr = <(DT_MEM_ARM(ATTR_MPU_RAM_PXN))>;
};
};
3 changes: 1 addition & 2 deletions tests/arch/arm/arm_mpu_pxn/mps4_corstone315_fvp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>


/ {
dtcm: dtcm@30000000 {
compatible = "zephyr,memory-region";
reg = <0x30000000 DT_SIZE_K(32)>;
zephyr,memory-region = "DTCM";
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_PXN) )>;
zephyr,memory-attr = <(DT_MEM_ARM(ATTR_MPU_RAM_PXN))>;
};
};
3 changes: 1 addition & 2 deletions tests/arch/arm/arm_mpu_pxn/mps4_corstone320_fvp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>


/ {
dtcm: dtcm@30000000 {
compatible = "zephyr,memory-region";
reg = <0x30000000 DT_SIZE_K(32)>;
zephyr,memory-region = "DTCM";
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_PXN) )>;
zephyr,memory-attr = <(DT_MEM_ARM(ATTR_MPU_RAM_PXN))>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/


/* This partition table should be used along with TFM configuration:
* - TEST_S=OFF (NO REGRESSION)
*
* In this configuration, TFM binary does not include tests.
* The partition sizes are compatible with TF-M platform flash_layout.h.
*/
/* This partition table should be used along with TFM configuration:
* - TEST_S=OFF (NO REGRESSION)
*
* In this configuration, TFM binary does not include tests.
* The partition sizes are compatible with TF-M platform flash_layout.h.
*/

/ {
chosen {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
};

/* Use the PTY driver instead of the UART peripheral emulation that is now the
* default on nrf52_bsim. */
* default on nrf52_bsim.
*/

&uart1 {
status = "okay";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
chip-select = <0>;
lines = <4>;

pinctrl-0 = < &shd_cs0_n_gpio055
&shd_clk_gpio056
&shd_io0_gpio223
&shd_io1_gpio224
&shd_io2_gpio227
&shd_io3_gpio016 >;
pinctrl-0 = <&shd_cs0_n_gpio055
&shd_clk_gpio056
&shd_io0_gpio223
&shd_io1_gpio224
&shd_io2_gpio227
&shd_io3_gpio016>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
chip-select = <0>;
lines = <4>;

pinctrl-0 = < &shd_cs0_n_gpio055
&shd_clk_gpio056
&shd_io0_gpio223
&shd_io1_gpio224
&shd_io2_gpio227
&shd_io3_gpio016 >;
pinctrl-0 = <&shd_cs0_n_gpio055
&shd_clk_gpio056
&shd_io0_gpio223
&shd_io1_gpio224
&shd_io2_gpio227
&shd_io3_gpio016>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
status = "okay";
psel = "AIN4";
refsel = "AREF";
extrefsel= "AIN3";
extrefsel = "AIN3";
sp-mode = "NORMAL";
th-up = <36>;
th-down = <30>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
status = "okay";
psel = "AIN4";
refsel = "AREF";
extrefsel= "AIN3";
extrefsel = "AIN3";
sp-mode = "NORMAL";
th-up = <36>;
th-down = <30>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
status = "okay";
psel = "AIN5";
refsel = "AREF";
extrefsel= "AIN1";
extrefsel = "AIN1";
sp-mode = "HIGH";
th-up = <36>;
th-down = <30>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
status = "okay";
psel = "AIN4";
refsel = "AREF";
extrefsel= "AIN3";
extrefsel = "AIN3";
sp-mode = "NORMAL";
th-up = <36>;
th-down = <30>;
Expand Down
8 changes: 3 additions & 5 deletions tests/boards/nrf/dmm/boards/nrf5340dk_nrf5340_cpuapp.overlay
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/ {
aliases {
dut-cache = &spi1;
dut-nocache= &spi3;
dut-nocache = &spi3;
};
};

Expand Down Expand Up @@ -37,17 +37,15 @@
};
};

&spi1
{
&spi1 {
compatible = "nordic,nrf-spim";
status = "okay";
pinctrl-0 = <&spi1_default_alt>;
pinctrl-1 = <&spi1_sleep_alt>;
pinctrl-names = "default", "sleep";
};

&spi3
{
&spi3 {
compatible = "nordic,nrf-spim";
status = "okay";
pinctrl-0 = <&spi3_default_alt>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
};
};

&spi130
{
&spi130 {
compatible = "nordic,nrf-spim";
status = "okay";
pinctrl-0 = <&spi130_default_alt>;
Expand All @@ -51,8 +50,7 @@
status = "okay";
};

&spi120
{
&spi120 {
compatible = "nordic,nrf-spim";
status = "okay";
pinctrl-0 = <&spi120_default_alt>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@

i2c22_default_alt: i2c22_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 1, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 13)>;
bias-pull-up;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@

i2c22_default_alt: i2c22_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 1, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 13)>;
bias-pull-up;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ dut_twim: &i2c0 {
};
};


dut_twis: &i2c1 {
compatible = "nordic,nrf-twis";
status = "okay";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@

i2c131_default_alt: i2c131_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl. */
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 2, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 3)>;
bias-pull-up;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

i2c131_default_alt: i2c131_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 2, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 3)>;
bias-pull-up;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

i2c22_default_alt: i2c22_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 1, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 13)>;
bias-pull-up;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

i2c22_default_alt: i2c22_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 1, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 15)>;
bias-pull-up;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* P1.23 - P1.24
*/


/ {
aliases {
i2c-slave = &i2c22;
Expand All @@ -29,9 +28,9 @@

i2c22_default_alt: i2c22_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 1, 14)>,
<NRF_PSEL(TWIM_SCL, 1, 24)>;
bias-pull-up;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

i2c131_default_alt: i2c131_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 2, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 3)>;
bias-pull-up;
Expand Down
Loading
Loading