diff mbox series

[04/12] ARM: dts: mmp2-olpc-xo-1-75: Drop linux,usable-memory from /memory

Message ID 20210121034130.1381872-5-lkundrak@v3.sk (mailing list archive)
State Accepted
Commit ebfdb34c277dd9407d52e69f26bd4d92efed25d3
Headers show
Series [01/12] dt-bindings: gpio: mrvl-gpio: Fix the gpio-ranges property | expand

Commit Message

Lubomir Rintel Jan. 21, 2021, 3:41 a.m. UTC
Drop the linux,usable-memory properties; the schema is unhappy about
them:

  mmp2-olpc-xo-1-75.dt.yaml: /: memory: False schema does not allow
  {'linux,usable-memory': [[0, 528482304]],
   'available': [[847872, 519245824, 4096, 782336]],
   'reg': [[0, 536870912]], 'device_type': ['memory']}

They've been cargo-culted from Open Firmware and I don't know what
purpose they serve. Perhaps they are meant to provide the OFW runtime.
In that case it's still okay to drop them from here; OFW is welcome to add
it upon boot.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
 arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
index e16171ddd93ec..0f8b5ad48deed 100644
--- a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
+++ b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
@@ -33,7 +33,6 @@  framebuffer@1fc00000 {
 	};
 
 	memory@0 {
-		linux,usable-memory = <0x0 0x1f800000>;
 		available = <0xcf000 0x1ef31000 0x1000 0xbf000>;
 		reg = <0x0 0x20000000>;
 		device_type = "memory";