mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 22:18:52 +00:00
fdt: adjust bcm283x device tree for u-boot
The information currently set via platdata has to be represented in the device tree now. bcm283x-uboot.dtsi adds the u-boot specific "skip-init" property to the serial nodes and enables initialization in the pre-reloc phase. Cc: Albert Aribaud <albert.u.boot@aribaud.net> Signed-off-by: Fabian Vogt <fvogt@suse.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
460255842c
commit
ff5d7ae713
2 changed files with 25 additions and 1 deletions
22
arch/arm/dts/bcm283x-uboot.dtsi
Normal file
22
arch/arm/dts/bcm283x-uboot.dtsi
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* U-Boot addition to keep baudrate set by firmware
|
||||
* and also initialize before relocation.
|
||||
*
|
||||
* (C) Copyright 2016 Fabian Vogt <fvogt@suse.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
&soc {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
skip-init;
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
skip-init;
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
|
@ -19,7 +19,7 @@
|
|||
bootargs = "earlyprintk console=ttyAMA0";
|
||||
};
|
||||
|
||||
soc {
|
||||
soc: soc {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
@ -319,3 +319,5 @@
|
|||
|
||||
};
|
||||
};
|
||||
|
||||
#include "bcm283x-uboot.dtsi"
|
||||
|
|
Loading…
Add table
Reference in a new issue