summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm2835-rpi-zero.dts
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2019-07-16 20:13:13 +0200
committerStefan Wahren <wahrenst@gmx.net>2019-08-12 22:53:26 +0200
commit328e3e369bcee3375a8f48d9ae68daf173fc8453 (patch)
treeaf80dc93f2e3dcd4a351d0410d2977fccad2ab59 /arch/arm/boot/dts/bcm2835-rpi-zero.dts
parente7774049ff255c8ba72bcee9c7ab307a95e8d7bc (diff)
ARM: dts: bcm283x: Define memory at board level
Now with the varity of several RPi boards, the memory should be defined at board level. This step gives us the chance to fix the memory size of the RPi 1 B+, Zero (incl. W) and Compute Module 1. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Acked-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi-zero.dts')
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-zero.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-zero.dts b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
index 84c70354faf2..5fd06869dfcf 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-zero.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
@@ -12,6 +12,11 @@
compatible = "raspberrypi,model-zero", "brcm,bcm2835";
model = "Raspberry Pi Zero";
+ memory@0 {
+ device_type = "memory";
+ reg = <0 0x20000000>;
+ };
+
leds {
act {
gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;