Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1205178

[PATCH] arm: rpi: Device tree modifications for U-Boot

From Simon Glass <sjg@chromium.org>
Newsgroups linux.kernel
Subject [PATCH] arm: rpi: Device tree modifications for U-Boot
Date 2015-08-11 16:30 +0200
Message-ID <pWiIW-7IE-29@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This updates the device tree from the kernel version to something suitable
for U-Boot:

- Add stdout-path alias for console
- Mark the /soc node to be available pre-relocation so that the early
serial console works (we need the 'ranges' property to be available)

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/arm/boot/dts/bcm2835.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
index 301c73f..bd6bff6 100644
--- a/arch/arm/boot/dts/bcm2835.dtsi
+++ b/arch/arm/boot/dts/bcm2835.dtsi
@@ -8,6 +8,7 @@
 
 	chosen {
 		bootargs = "earlyprintk console=ttyAMA0";
+		stdout-path = &uart;
 	};
 
 	soc {
@@ -16,6 +17,7 @@
 		#size-cells = <1>;
 		ranges = <0x7e000000 0x20000000 0x02000000>;
 		dma-ranges = <0x40000000 0x00000000 0x20000000>;
+		u-boot,dm-pre-reloc;
 
 		timer@7e003000 {
 			compatible = "brcm,bcm2835-system-timer";
@@ -92,7 +94,7 @@
 			#interrupt-cells = <2>;
 		};
 
-		uart@7e201000 {
+		uart: uart@7e201000 {
 			compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
 			reg = <0x7e201000 0x1000>;
 			interrupts = <2 25>;
-- 
2.5.0.rc2.392.g76e840b

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] arm: rpi: Device tree modifications for U-Boot Simon Glass <sjg@chromium.org> - 2015-08-11 16:30 +0200
  Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Lucas Stach <dev@lynxeye.de> - 2015-08-11 19:20 +0200
    Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Stephen Warren <swarren@wwwdotorg.org> - 2015-08-11 19:30 +0200
      Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Lucas Stach <dev@lynxeye.de> - 2015-08-11 21:40 +0200
    Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Simon Glass <sjg@chromium.org> - 2015-08-12 15:30 +0200
      Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Simon Glass <sjg@chromium.org> - 2015-08-14 20:40 +0200
        Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Rob Herring <robherring2@gmail.com> - 2015-08-14 22:30 +0200
          Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Simon Glass <sjg@chromium.org> - 2015-08-15 15:50 +0200
      Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Stephen Warren <swarren@wwwdotorg.org> - 2015-08-15 05:50 +0200
        Re: [PATCH] arm: rpi: Device tree modifications for U-Boot Simon Glass <sjg@chromium.org> - 2015-08-15 15:50 +0200

csiph-web