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";
load {
label = "Load output";
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
current-max = <10>;
kconfig-flag; /* make node visible in Kconfig */
};
usb-pwr {
label = "USB charging port enable";
gpios = <&gpiob 10 GPIO_ACTIVE_HIGH>;
};
boot0 {
label = "BOOT0 pin trigger";
gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>;
};
};
@@ -44,12 +44,10 @@
load {
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
label = "Load enable";
};
usb-pwr {
gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>;
label = "USB charging port enable";
};
/delete-node/ v-solar;
-3
View File
@@ -50,19 +50,16 @@
compatible = "outputs";
load {
label = "Load output";
gpios = <&gpiob 2 GPIO_ACTIVE_LOW>;
current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */
};
charge_pump {
label = "Charge pump for HS MOSFET drivers";
pwms = <&pwm8 2 200000 PWM_POLARITY_NORMAL>; /* 200 us period = 5 kHz */
};
can_en {
label = "CAN disable / standby";
gpios = <&gpiob 11 GPIO_ACTIVE_LOW>;
};
};
@@ -18,7 +18,6 @@
&spi2 {
w25q80dv: w25q80dv@0 {
compatible = "jedec,spi-nor";
label = "W25Q80DV";
reg = <0>;
spi-max-frequency = <4000000>;
size = <0x800000>; /* bits */
@@ -41,14 +40,12 @@
/* bootloader slot: 32 KiB */
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0x8000>;
read-only;
};
/* application image slot: 96 KiB */
slot0_partition: partition@8000 {
label = "image-0";
reg = <0x00008000 0x18000>;
};
};
@@ -62,19 +59,16 @@
/* backup slot: 96 KiB */
slot1_partition: partition@0 {
label = "image-1";
reg = <0x00000000 0x18000>;
};
/* swap slot: 96 KiB */
scratch_partition: partition@18000 {
label = "image-scratch";
reg = <0x00018000 0x00018000>;
};
/* remaining 832 KiB of SPI flash used as storage */
storage_partition: partition@30000 {
label = "storage";
reg = <0x00030000 0x000D0000>;
};
};
@@ -44,26 +44,22 @@
compatible = "outputs";
pwm_switch {
label = "PWM power switch (solar panel)";
pwms = <&pwm3 2 (20*1000*1000) PWM_POLARITY_NORMAL>; /* 20 ms period = 50 Hz */
current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */
};
load {
label = "Load output";
gpios = <&gpiob 15 GPIO_ACTIVE_LOW>;
current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */
};
charge_pump {
label = "Charge pump for HS MOSFET drivers";
pwms = <&pwm8 1 200000 PWM_POLARITY_NORMAL>; /* 200 us period = 5 kHz */
};
hv-out {
label = "HV output sense and enable switch";
gpios = <&gpiob 12 GPIO_ACTIVE_LOW>;
};
};
@@ -217,7 +213,6 @@
/* Set 4Kb of storage at the end of the 128Kb of flash */
storage_partition: partition@1f000 {
label = "storage";
reg = <0x0001f000 0x00001000>;
};
};
-5
View File
@@ -49,29 +49,24 @@
compatible = "outputs";
load {
label = "Load output";
gpios = <&gpiob 2 GPIO_ACTIVE_LOW>;
current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */
};
uext_en {
label = "UEXT enable";
gpios = <&gpioc 14 GPIO_ACTIVE_LOW>;
};
can_en {
label = "CAN disable / standby";
gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
};
aux_en {
label = "5V output enable";
gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>;
};
vbus_en {
label = "CAN bus power supply enable";
gpios = <&gpioc 15 GPIO_ACTIVE_LOW>;
};
};
-3
View File
@@ -44,12 +44,10 @@
compatible = "outputs";
can_en {
label = "CAN disable / standby";
gpios = <&gpiob 14 GPIO_ACTIVE_LOW>;
};
hv-out {
label = "HV output sense and enable switch";
gpios = <&gpiob 12 GPIO_ACTIVE_LOW>;
};
};
@@ -190,7 +188,6 @@
/* Set 4Kb of storage at the end of the 128Kb of flash */
storage_partition: partition@1f000 {
label = "storage";
reg = <0x0001f000 0x00001000>;
};
};
@@ -52,7 +52,6 @@
compatible = "outputs";
can_en {
label = "CAN disable / standby";
gpios = <&gpiob 11 GPIO_ACTIVE_LOW>;
};
};
@@ -95,7 +94,6 @@
gpio_keys {
compatible = "gpio-keys";
user_button: button {
label = "User";
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
};
};
@@ -118,7 +116,6 @@
interrupt-names = "master", "tima", "timb", "timc",
"timd", "time", "flt", "timf";
status = "okay";
label = "HRTIM_1";
};
/* 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 */
storage_partition: partition@1f800 {
label = "storage";
reg = <0x0001f800 0x00000800>;
};
};
-4
View File
@@ -64,7 +64,6 @@
compatible = "outputs";
pwm_switch {
label = "PWM power switch (solar panel)";
pwms = <&pwm3 4 (20*1000*1000) PWM_POLARITY_NORMAL>; /* 20 ms period = 50 Hz */
// Current reduced to 15A. Increase to 20A PCB max values
// only if attached to a big heat sink.
@@ -73,19 +72,16 @@
};
load {
label = "Load output";
gpios = <&gpiob 2 GPIO_ACTIVE_LOW>;
current-max = <15>;
kconfig-flag; /* make node visible in Kconfig */
};
usb-pwr {
label = "USB charging port disable";
gpios = <&gpiob 5 GPIO_ACTIVE_LOW>;
};
boot0 {
label = "BOOT0 pin trigger";
gpios = <&gpiob 12 GPIO_ACTIVE_HIGH>;
};
};
-4
View File
@@ -20,10 +20,6 @@ child-binding:
current-max:
type: int
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:
type: boolean
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";
pwm_switch {
label = "PWM power switch (solar panel)";
pwms = <&pwm3 2 (20*1000*1000) 0>; /* 20 ms period = 50 Hz */
current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */
};
load {
label = "Load output";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
current-max = <20>;
kconfig-flag; /* make node visible in Kconfig */
};
can_en {
label = "CAN disable / standby";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
adc1: adc1 {
compatible = "zephyr,dummy-adc";
label = "ADC_1";
#io-channel-cells = <1>;
};