Skip to content

Commit

Permalink
treewide: Remove deprecated label properties from dts files
Browse files Browse the repository at this point in the history
This property is now marked as deprecated so it should not be used.

Signed-off-by: Andrzej Głąbek <[email protected]>
  • Loading branch information
anangl authored and carlescufi committed Oct 24, 2022
1 parent 05c2577 commit 29f8348
Show file tree
Hide file tree
Showing 89 changed files with 0 additions and 111 deletions.
2 changes: 0 additions & 2 deletions applications/connectivity_bridge/app.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};

cdc_acm_uart1: cdc_acm_uart1 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_1";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

sensor_sim: sensor-sim {
compatible = "nordic,sensor-sim";
label = "SENSOR_SIM";
acc-signal = "wave";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/ {
sensor_sim: sensor-sim {
compatible = "nordic,sensor-sim";
label = "SENSOR_SIM";
acc-signal = "wave";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};

&i2c1 {
bme688@76 {
compatible = "bosch,bme680";
label = "BME688";
reg = <0x76>;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
reg = <2>;
spi-max-frequency = <8000000>;

label = "MX25R64";
jedec-id = [c2 28 17];
sfdp-bfp = [
e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb
Expand Down
2 changes: 0 additions & 2 deletions applications/nrf_desktop/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,6 @@ The following code excerpt is taken from :file:`boards/arm/nrf52840gmouse_nrf528
reg = <0>;
irq-gpios = <&gpio0 21 0>;
spi-max-frequency = <2000000>;
label = "PMW3360";
};
};
Expand Down Expand Up @@ -1260,7 +1259,6 @@ In the case of nRF52840, this is :file:`zephyr/dts/arm/nordic/nrf52840.dtsi`, wh
reg = <0x40004000 0x1000>;
interrupts = <4 1>;
status = "disabled";
label = "SPI_1";
};
To change the priority of the peripheral's interrupt, override the ``interrupts`` property of the peripheral node by including the following code snippet in the :file:`dts.overlay` or directly in the board DTS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};

Expand All @@ -22,7 +21,6 @@

bme688@76 {
compatible = "bosch,bme680";
label = "BME688";
reg = <0x76>;
status = "okay";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
reg = <0>;
irq-gpios = <&gpio0 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
spi-max-frequency = <2000000>;
label = "PAW3212";
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
reg = <0>;
irq-gpios = <&gpio0 21 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
spi-max-frequency = <2000000>;
label = "PMW3360";
};
};

Expand Down
1 change: 0 additions & 1 deletion boards/arm/nrf52dmouse_nrf52832/nrf52dmouse_nrf52832.dts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
reg = <0>;
irq-gpios = <&gpio0 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
spi-max-frequency = <2000000>;
label = "PAW3212";
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
compatible = "zephyr,sdhc-spi-slot";
reg = <0>;
status = "okay";
label = "SDHC0";
mmc {
compatible = "zephyr,sdmmc-disk";
status = "okay";
Expand All @@ -84,7 +83,6 @@
};
cs47l63: cs47l63@1 {
reg = <1>;
label = "CS47L63";
};
};

Expand Down
1 change: 0 additions & 1 deletion boards/arm/nrf7002dk_nrf5340/nrf5340_cpuapp_common.dts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ arduino_i2c: &i2c1 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <33000000>;
label = "MX25R64";
jedec-id = [c2 28 17];
sfdp-bfp = [
e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb
Expand Down
4 changes: 0 additions & 4 deletions boards/arm/thingy91_nrf9160/thingy91_nrf9160_common.dts
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,11 @@
pinctrl-names = "default", "sleep";
bme680: bme680@76 {
compatible = "bosch,bme680";
label = "BME680";
reg = <0x76>;
};

bh1749: bh1749@38 {
compatible = "rohm,bh1749";
label = "BH1749";
reg = <0x38>;
int-gpios = <&gpio0 27 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
};
Expand All @@ -157,15 +155,13 @@
pinctrl-names = "default", "sleep";
adxl362: adxl362@0 {
compatible = "adi,adxl362";
label = "ADXL362";
spi-max-frequency = <8000000>;
reg = <0>;
int1-gpios = <&gpio0 9 0>;
};

adxl372: adxl372@1 {
compatible = "adi,adxl372";
label = "ADXL372";
spi-max-frequency = <8000000>;
reg = <1>;
int1-gpios = <&gpio0 6 0>;
Expand Down
1 change: 0 additions & 1 deletion boards/shields/nrf21540_ek/nrf21540_ek.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ fem_spi: &arduino_spi {
compatible = "nordic,nrf21540-fem-spi";
status = "okay";
reg = <0>;
label = "FEM_SPI_IF";
spi-max-frequency = <8000000>;
};
};
1 change: 0 additions & 1 deletion boards/shields/nrf7002_ek/nrf7002_ek.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
compatible = "nordic,nrf7002-spi";
status = "okay";
reg = <0>;
label = "NRF7002";
spi-max-frequency = <DT_FREQ_M(8)>;

iovdd-ctrl-gpios = <&arduino_header 6 GPIO_ACTIVE_HIGH>; /* D0 */
Expand Down
1 change: 0 additions & 1 deletion doc/nrf/drivers/paw3212.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ The following code snippet shows an example DTS configuration:
reg = <0>;
irq-gpios = <&gpio0 14 0>;
spi-max-frequency = <2000000>;
label = "PAW3212";
};
};
Expand Down
1 change: 0 additions & 1 deletion doc/nrf/drivers/pmw3360.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ The following code snippet shows an example DTS configuration:
reg = <0>;
irq-gpios = <&gpio0 21 0>;
spi-max-frequency = <2000000>;
label = "PMW3360";
};
};
Expand Down
1 change: 0 additions & 1 deletion doc/nrf/drivers/sensor_sim.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ You can define instances of the sensor simulator on Devicetree like this:
sensor-sim {
compatible = "nordic,sensor-sim";
label = "SENSOR_SIM";
acc-signal = "toggle";
};
Expand Down
1 change: 0 additions & 1 deletion doc/nrf/drivers/sensor_stub.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ You can define instances of the sensor stub on devicetree like this:
sensor_stub: sensor_stub {
compatible = "nordic,sensor-stub";
label = "SENSOR_STUB";
generator = "sensor_stub_gen";
status = "okay";
};
Expand Down
1 change: 0 additions & 1 deletion doc/nrf/drivers/uart_nrf_sw_lpuart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ See the following configuration example:
lpuart: nrf-sw-lpuart {
compatible = "nordic,nrf-sw-lpuart";
status = "okay";
label = "LPUART";
req-pin = <46>;
rdy-pin = <47>;
};
Expand Down
1 change: 0 additions & 1 deletion doc/nrf/ug_radio_fem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ To use nRF21540 in SPI or mixed mode, complete the following steps:
compatible = "nordic,nrf21540-fem-spi";
status = "okay";
reg = <0>;
label = "FEM_SPI_IF";
spi-max-frequency = <8000000>;
};
};
Expand Down
3 changes: 0 additions & 3 deletions dts/bindings/sensor/nordic,sensor-sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ compatible: "nordic,sensor-sim"
include: base.yaml

properties:
label:
required: true

base-temperature:
type: int
default: 21
Expand Down
3 changes: 0 additions & 3 deletions dts/bindings/sensor/nordic,sensor-stub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ compatible: "nordic,sensor-stub"
include: base.yaml

properties:
label:
required: true

generator:
type: string
required: true
Expand Down
2 changes: 0 additions & 2 deletions modules/mcuboot/flash_sim.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@
#address-cells = <1>;
#size-cells = <1>;
erase-value = <0xff>;
label = "nordic_ram_flash_flash_controller";

/* This node label must match that used in the flash
* simulator.
*/
flash_sim0: flash_sim@0 {
status = "okay";
compatible = "soc-nv-flash";
label = "simulated_flash";
erase-block-size = <4096>;
write-block-size = <4>;
reg = <0x00000000 DT_SIZE_K(256)>;
Expand Down
1 change: 0 additions & 1 deletion modules/mcuboot/usb.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
pinctrl-1 = <&spi0_sleep_alt>;
pinctrl-names = "default", "sleep";
st25r3911b@0 {
label = "ST25R3911B";
compatible = "st,st25r3911b";
reg = <0>;
spi-max-frequency = <4000000>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
pinctrl-1 = <&spi0_sleep_alt>;
pinctrl-names = "default", "sleep";
st25r3911b@0 {
label = "ST25R3911B";
compatible = "st,st25r3911b";
reg = <0>;
spi-max-frequency = <4000000>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
pinctrl-1 = <&spi0_sleep_alt>;
pinctrl-names = "default", "sleep";
st25r3911b@0 {
label = "ST25R3911B";
compatible = "st,st25r3911b";
reg = <0>;
spi-max-frequency = <4000000>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
pinctrl-1 = <&spi1_sleep_alt>;
pinctrl-names = "default", "sleep";
st25r3911b@0 {
label = "ST25R3911B";
compatible = "st,st25r3911b";
reg = <0>;
spi-max-frequency = <4000000>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
lpuart: nrf-sw-lpuart {
compatible = "nordic,nrf-sw-lpuart";
status = "okay";
label = "LPUART";
req-pin = <15>; /* <&interface_to_nrf9160 2 0>; */
rdy-pin = <22>; /* <&interface_to_nrf9160 3 0>; */
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
lpuart: nrf-sw-lpuart {
compatible = "nordic,nrf-sw-lpuart";
status = "okay";
label = "LPUART";
req-pin = <22>;
rdy-pin = <19>;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};

Expand All @@ -32,7 +31,6 @@ i2c1: &i2c1 {
pinctrl-names = "default", "sleep";
bme680: bme680@76 {
compatible = "bosch,bme680";
label = "BME680";
reg = <0x76>;
};
};
Expand Down
Loading

0 comments on commit 29f8348

Please sign in to comment.