diff options
Diffstat (limited to 'arch/arm/boot/dts/overlays/rpi-uart-skip-init-overlay.dts')
-rw-r--r-- | arch/arm/boot/dts/overlays/rpi-uart-skip-init-overlay.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/overlays/rpi-uart-skip-init-overlay.dts b/arch/arm/boot/dts/overlays/rpi-uart-skip-init-overlay.dts new file mode 100644 index 000000000000..1a5c23f356bf --- /dev/null +++ b/arch/arm/boot/dts/overlays/rpi-uart-skip-init-overlay.dts @@ -0,0 +1,25 @@ +/dts-v1/; +/plugin/; + +/* Set "skip-init" to true in both UART interfaces to prevent U-Boot from + * re-initializing the UART interface. This value used to be hard-coded in + * U-Boot before it moved the rpi board to use the device tree to configure the + * serial interfaces. Without this overlay U-Boot hangs when setting up the + * console. + */ + +/ { + fragment@0 { + target = <&uart0>; + __overlay__ { + skip-init; + }; + }; + + fragment@1 { + target = <&uart1>; + __overlay__ { + skip-init; + }; + }; +}; |