summaryrefslogtreecommitdiff
path: root/arch/arm/dts/bcm283x-u-boot.dtsi
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2019-11-08 14:49:47 +0100
committerMatthias Brugger <mbrugger@suse.com>2019-11-24 10:46:27 +0100
commit5051377a0b2bec1605ce97170585d693a98ec34a (patch)
tree9f35c32a41b2f271327c95ebf77905f00d5cd22e /arch/arm/dts/bcm283x-u-boot.dtsi
parent89e47e8eb6efb5c1bd399fe8bec8acf83e4f16ac (diff)
arm: dts: bcm283x: Rename U-Boot file
Rename the file bcm283x-uboot.dtsi so that it get automatically include through the scripts/Makefile.lib using $(CONFIG_SYS_SOC))-u-boot.dtsi Without this uarts and pincontroller miss the property dm-pre-reloc and the first call to bcm283x_mu_serial_ofdata_to_platdata() fails as the pins are not set correctly. As a result the U-Boot banner isn't shown on boot. Before commmit 143256b353 ("fdt: update bcm283x device tree sources to Linux 5.1-rc6 state") we included bcm283x-uboot.dtsi directly in the device-tree file. Which got deleted by the metioned commit. This is a much robuster solution. Reported-by: Tom Rini <trini@konsulko.com> Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Tested-by: Tom Rini <trini@konsulko.com> [RPi 3, 32b and 64b modes] Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'arch/arm/dts/bcm283x-u-boot.dtsi')
-rw-r--r--arch/arm/dts/bcm283x-u-boot.dtsi21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/dts/bcm283x-u-boot.dtsi b/arch/arm/dts/bcm283x-u-boot.dtsi
new file mode 100644
index 0000000000..36548dad62
--- /dev/null
+++ b/arch/arm/dts/bcm283x-u-boot.dtsi
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * U-Boot addition to keep baudrate set by firmware
+ * and also initialize before relocation.
+ *
+ * (C) Copyright 2016 Fabian Vogt <fvogt@suse.com>
+ */
+
+&uart0 {
+ skip-init;
+ u-boot,dm-pre-reloc;
+};
+
+&uart1 {
+ skip-init;
+ u-boot,dm-pre-reloc;
+};
+
+&gpio {
+ u-boot,dm-pre-reloc;
+};