From: Simon Glass <simon.glass@canonical.com> When running sandbox with -T (test mode), a warning appears: pinctrl_select_state_full() sandbox_serial serial: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 This occurs because the serial device has bootph-all and is probed early, but the pinctrl-single node and its pinconfig child are not bound yet. Add bootph-all to the pinctrl-single-pins node and its pinmux_uart0_pins child so they are available when the serial device is probed. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- arch/sandbox/dts/test.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 7a67565e4a9..7716140f2bf 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -1874,6 +1874,7 @@ #pinctrl-cells = <1>; pinctrl-single,register-width = <32>; pinctrl-single,function-mask = <0x7f>; + bootph-all; pinmux_pwm_pins: pinmux_pwm_pins { pinctrl-single,pins = < 0x48 0x06 >; @@ -1893,6 +1894,7 @@ 0x70 0x30 0x74 0x00 >; + bootph-all; }; }; -- 2.43.0