dts: arm: st: nodes moved from <boards>.dts to <soc>.dtsi
stm32l5x/u5x/g4x/l4x/g0x/wlx/wbx power-states node moved from <boards>.dts to <soc>.dtsi Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
This commit is contained in:
parent
4c4fcbe8df
commit
08720b0d2a
|
@ -63,21 +63,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <20>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
cpus {
|
||||
cpu@0 {
|
||||
cpu-power-states = <&stop0 &stop1>;
|
||||
|
|
|
@ -29,26 +29,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
|
||||
aliases {
|
||||
watchdog0 = &iwdg;
|
||||
|
|
|
@ -42,27 +42,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <700>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <1000>;
|
||||
};
|
||||
};
|
||||
|
||||
pwmleds: pwmleds {
|
||||
compatible = "pwm-leds";
|
||||
status = "disabled";
|
||||
|
|
|
@ -20,20 +20,6 @@
|
|||
zephyr,flash = &flash0;
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <20>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
|
|
@ -21,20 +21,6 @@
|
|||
zephyr,flash = &flash0;
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <20>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
|
|
@ -23,21 +23,6 @@
|
|||
zephyr,canbus = &can1;
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <20>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
green_led_1: led_4 {
|
||||
|
|
|
@ -45,21 +45,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <20>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
cpus {
|
||||
cpu@0 {
|
||||
cpu-power-states = <&stop0 &stop1>;
|
||||
|
|
|
@ -20,27 +20,6 @@
|
|||
zephyr,flash = &flash0;
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <700>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <1000>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
green_led_2: led_2 {
|
||||
|
|
|
@ -23,27 +23,6 @@
|
|||
zephyr,code-partition = &slot0_partition;
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
blue_led_1: led_0 {
|
||||
|
|
|
@ -61,27 +61,6 @@
|
|||
lora0 = &lora;
|
||||
watchdog0 = &iwdg;
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
|
|
|
@ -41,27 +41,6 @@
|
|||
lora0 = &lora;
|
||||
watchdog0 = &iwdg;
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
|
|
|
@ -29,27 +29,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
|
||||
aliases {
|
||||
spi-flash0 = &mx25lm51245;
|
||||
};
|
||||
|
|
|
@ -76,6 +76,21 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <20>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
flash: flash-controller@40022000 {
|
||||
compatible = "st,stm32-flash-controller", "st,stm32g0-flash-controller";
|
||||
|
|
|
@ -80,6 +80,21 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <20>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
/*
|
||||
* Both adc instances cannot be used in parallel right now.
|
||||
|
|
|
@ -81,6 +81,27 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <700>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <1000>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
flash: flash-controller@40022000 {
|
||||
compatible = "st,stm32-flash-controller", "st,stm32l4-flash-controller";
|
||||
|
|
|
@ -97,6 +97,27 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
flash: flash-controller@40022000 {
|
||||
compatible = "st,stm32-flash-controller", "st,stm32l5-flash-controller";
|
||||
|
|
|
@ -114,6 +114,27 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
flash: flash-controller@40022000 {
|
||||
compatible = "st,stm32-flash-controller", "st,stm32l5-flash-controller";
|
||||
|
|
|
@ -114,6 +114,27 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
flash: flash-controller@58004000 {
|
||||
compatible = "st,stm32-flash-controller", "st,stm32wb-flash-controller";
|
||||
|
|
|
@ -82,6 +82,27 @@
|
|||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
stop0: state0 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <1>;
|
||||
min-residency-us = <100>;
|
||||
};
|
||||
stop1: state1 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <2>;
|
||||
min-residency-us = <500>;
|
||||
};
|
||||
stop2: state2 {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
substate-id = <3>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
flash: flash-controller@58004000 {
|
||||
compatible = "st,stm32-flash-controller", "st,stm32l4-flash-controller";
|
||||
|
|
Loading…
Reference in a new issue