Remove deprecated labels in Devicetree

This commit is contained in:
Martin Jäger
2023-01-15 08:51:56 +01:00
parent 4573ca11a5
commit 3871603d3d
11 changed files with 0 additions and 43 deletions
@@ -60,19 +60,16 @@
compatible = "outputs"; compatible = "outputs";
load { load {
label = "Load output";
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
current-max = <10>; current-max = <10>;
kconfig-flag; /* make node visible in Kconfig */ kconfig-flag; /* make node visible in Kconfig */
}; };
usb-pwr { usb-pwr {
label = "USB charging port enable";
gpios = <&gpiob 10 GPIO_ACTIVE_HIGH>; gpios = <&gpiob 10 GPIO_ACTIVE_HIGH>;
}; };
boot0 { boot0 {
label = "BOOT0 pin trigger";
gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>; gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>;
}; };
}; };
@@ -44,12 +44,10 @@
load { load {
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
label = "Load enable";
}; };
usb-pwr { usb-pwr {
gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>; gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>;
label = "USB charging port enable";
}; };
/delete-node/ v-solar; /delete-node/ v-solar;
-3
View File
@@ -50,19 +50,16 @@
compatible = "outputs"; compatible = "outputs";
load { load {
label = "Load output";
gpios = <&gpiob 2 GPIO_ACTIVE_LOW>; gpios = <&gpiob 2 GPIO_ACTIVE_LOW>;
current-max = <20>; current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */ kconfig-flag; /* make node visible in Kconfig */
}; };
charge_pump { charge_pump {
label = "Charge pump for HS MOSFET drivers";
pwms = <&pwm8 2 200000 PWM_POLARITY_NORMAL>; /* 200 us period = 5 kHz */ pwms = <&pwm8 2 200000 PWM_POLARITY_NORMAL>; /* 200 us period = 5 kHz */
}; };
can_en { can_en {
label = "CAN disable / standby";
gpios = <&gpiob 11 GPIO_ACTIVE_LOW>; gpios = <&gpiob 11 GPIO_ACTIVE_LOW>;
}; };
}; };
@@ -18,7 +18,6 @@
&spi2 { &spi2 {
w25q80dv: w25q80dv@0 { w25q80dv: w25q80dv@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
label = "W25Q80DV";
reg = <0>; reg = <0>;
spi-max-frequency = <4000000>; spi-max-frequency = <4000000>;
size = <0x800000>; /* bits */ size = <0x800000>; /* bits */
@@ -41,14 +40,12 @@
/* bootloader slot: 32 KiB */ /* bootloader slot: 32 KiB */
boot_partition: partition@0 { boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0x8000>; reg = <0x00000000 0x8000>;
read-only; read-only;
}; };
/* application image slot: 96 KiB */ /* application image slot: 96 KiB */
slot0_partition: partition@8000 { slot0_partition: partition@8000 {
label = "image-0";
reg = <0x00008000 0x18000>; reg = <0x00008000 0x18000>;
}; };
}; };
@@ -62,19 +59,16 @@
/* backup slot: 96 KiB */ /* backup slot: 96 KiB */
slot1_partition: partition@0 { slot1_partition: partition@0 {
label = "image-1";
reg = <0x00000000 0x18000>; reg = <0x00000000 0x18000>;
}; };
/* swap slot: 96 KiB */ /* swap slot: 96 KiB */
scratch_partition: partition@18000 { scratch_partition: partition@18000 {
label = "image-scratch";
reg = <0x00018000 0x00018000>; reg = <0x00018000 0x00018000>;
}; };
/* remaining 832 KiB of SPI flash used as storage */ /* remaining 832 KiB of SPI flash used as storage */
storage_partition: partition@30000 { storage_partition: partition@30000 {
label = "storage";
reg = <0x00030000 0x000D0000>; reg = <0x00030000 0x000D0000>;
}; };
}; };
@@ -44,26 +44,22 @@
compatible = "outputs"; compatible = "outputs";
pwm_switch { pwm_switch {
label = "PWM power switch (solar panel)";
pwms = <&pwm3 2 (20*1000*1000) PWM_POLARITY_NORMAL>; /* 20 ms period = 50 Hz */ pwms = <&pwm3 2 (20*1000*1000) PWM_POLARITY_NORMAL>; /* 20 ms period = 50 Hz */
current-max = <20>; current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */ kconfig-flag; /* make node visible in Kconfig */
}; };
load { load {
label = "Load output";
gpios = <&gpiob 15 GPIO_ACTIVE_LOW>; gpios = <&gpiob 15 GPIO_ACTIVE_LOW>;
current-max = <20>; current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */ kconfig-flag; /* make node visible in Kconfig */
}; };
charge_pump { charge_pump {
label = "Charge pump for HS MOSFET drivers";
pwms = <&pwm8 1 200000 PWM_POLARITY_NORMAL>; /* 200 us period = 5 kHz */ pwms = <&pwm8 1 200000 PWM_POLARITY_NORMAL>; /* 200 us period = 5 kHz */
}; };
hv-out { hv-out {
label = "HV output sense and enable switch";
gpios = <&gpiob 12 GPIO_ACTIVE_LOW>; gpios = <&gpiob 12 GPIO_ACTIVE_LOW>;
}; };
}; };
@@ -217,7 +213,6 @@
/* Set 4Kb of storage at the end of the 128Kb of flash */ /* Set 4Kb of storage at the end of the 128Kb of flash */
storage_partition: partition@1f000 { storage_partition: partition@1f000 {
label = "storage";
reg = <0x0001f000 0x00001000>; reg = <0x0001f000 0x00001000>;
}; };
}; };
-5
View File
@@ -49,29 +49,24 @@
compatible = "outputs"; compatible = "outputs";
load { load {
label = "Load output";
gpios = <&gpiob 2 GPIO_ACTIVE_LOW>; gpios = <&gpiob 2 GPIO_ACTIVE_LOW>;
current-max = <20>; current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */ kconfig-flag; /* make node visible in Kconfig */
}; };
uext_en { uext_en {
label = "UEXT enable";
gpios = <&gpioc 14 GPIO_ACTIVE_LOW>; gpios = <&gpioc 14 GPIO_ACTIVE_LOW>;
}; };
can_en { can_en {
label = "CAN disable / standby";
gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
}; };
aux_en { aux_en {
label = "5V output enable";
gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>; gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>;
}; };
vbus_en { vbus_en {
label = "CAN bus power supply enable";
gpios = <&gpioc 15 GPIO_ACTIVE_LOW>; gpios = <&gpioc 15 GPIO_ACTIVE_LOW>;
}; };
}; };
-3
View File
@@ -44,12 +44,10 @@
compatible = "outputs"; compatible = "outputs";
can_en { can_en {
label = "CAN disable / standby";
gpios = <&gpiob 14 GPIO_ACTIVE_LOW>; gpios = <&gpiob 14 GPIO_ACTIVE_LOW>;
}; };
hv-out { hv-out {
label = "HV output sense and enable switch";
gpios = <&gpiob 12 GPIO_ACTIVE_LOW>; gpios = <&gpiob 12 GPIO_ACTIVE_LOW>;
}; };
}; };
@@ -190,7 +188,6 @@
/* Set 4Kb of storage at the end of the 128Kb of flash */ /* Set 4Kb of storage at the end of the 128Kb of flash */
storage_partition: partition@1f000 { storage_partition: partition@1f000 {
label = "storage";
reg = <0x0001f000 0x00001000>; reg = <0x0001f000 0x00001000>;
}; };
}; };
@@ -52,7 +52,6 @@
compatible = "outputs"; compatible = "outputs";
can_en { can_en {
label = "CAN disable / standby";
gpios = <&gpiob 11 GPIO_ACTIVE_LOW>; gpios = <&gpiob 11 GPIO_ACTIVE_LOW>;
}; };
}; };
@@ -95,7 +94,6 @@
gpio_keys { gpio_keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
user_button: button { user_button: button {
label = "User";
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
}; };
}; };
@@ -118,7 +116,6 @@
interrupt-names = "master", "tima", "timb", "timc", interrupt-names = "master", "tima", "timb", "timc",
"timd", "time", "flt", "timf"; "timd", "time", "flt", "timf";
status = "okay"; status = "okay";
label = "HRTIM_1";
}; };
/* below nodes are required until following PR is merged: /* below nodes are required until following PR is merged:
@@ -261,7 +258,6 @@
/* Set 2Kb of storage at the end of the 128Kb of flash */ /* Set 2Kb of storage at the end of the 128Kb of flash */
storage_partition: partition@1f800 { storage_partition: partition@1f800 {
label = "storage";
reg = <0x0001f800 0x00000800>; reg = <0x0001f800 0x00000800>;
}; };
}; };
-4
View File
@@ -64,7 +64,6 @@
compatible = "outputs"; compatible = "outputs";
pwm_switch { pwm_switch {
label = "PWM power switch (solar panel)";
pwms = <&pwm3 4 (20*1000*1000) PWM_POLARITY_NORMAL>; /* 20 ms period = 50 Hz */ pwms = <&pwm3 4 (20*1000*1000) PWM_POLARITY_NORMAL>; /* 20 ms period = 50 Hz */
// Current reduced to 15A. Increase to 20A PCB max values // Current reduced to 15A. Increase to 20A PCB max values
// only if attached to a big heat sink. // only if attached to a big heat sink.
@@ -73,19 +72,16 @@
}; };
load { load {
label = "Load output";
gpios = <&gpiob 2 GPIO_ACTIVE_LOW>; gpios = <&gpiob 2 GPIO_ACTIVE_LOW>;
current-max = <15>; current-max = <15>;
kconfig-flag; /* make node visible in Kconfig */ kconfig-flag; /* make node visible in Kconfig */
}; };
usb-pwr { usb-pwr {
label = "USB charging port disable";
gpios = <&gpiob 5 GPIO_ACTIVE_LOW>; gpios = <&gpiob 5 GPIO_ACTIVE_LOW>;
}; };
boot0 { boot0 {
label = "BOOT0 pin trigger";
gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>; gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>;
}; };
}; };
-4
View File
@@ -20,10 +20,6 @@ child-binding:
current-max: current-max:
type: int type: int
description: Maximum current of driven power switch (A) description: Maximum current of driven power switch (A)
label:
type: string
required: true
description: Human readable string describing the device (used by Zephyr for API name)
kconfig-flag: kconfig-flag:
type: boolean type: boolean
description: This value can be checked by Kconfig parser using dt_node_has_bool_prop function description: This value can be checked by Kconfig parser using dt_node_has_bool_prop function
-4
View File
@@ -47,28 +47,24 @@
compatible = "outputs"; compatible = "outputs";
pwm_switch { pwm_switch {
label = "PWM power switch (solar panel)";
pwms = <&pwm3 2 (20*1000*1000) 0>; /* 20 ms period = 50 Hz */ pwms = <&pwm3 2 (20*1000*1000) 0>; /* 20 ms period = 50 Hz */
current-max = <20>; current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */ kconfig-flag; /* make node visible in Kconfig */
}; };
load { load {
label = "Load output";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
current-max = <20>; current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */ kconfig-flag; /* make node visible in Kconfig */
}; };
can_en { can_en {
label = "CAN disable / standby";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
}; };
}; };
adc1: adc1 { adc1: adc1 {
compatible = "zephyr,dummy-adc"; compatible = "zephyr,dummy-adc";
label = "ADC_1";
#io-channel-cells = <1>; #io-channel-cells = <1>;
}; };