From 3d4fa575413757e5f300b692e48bf944377c9f9d Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 2 Aug 2019 13:01:25 -0500 Subject: [PATCH] dts: riscv: Remove device_type = "memory" from SRAM nodes The true mmio-sram nodes should not have had a 'device_type' property. Remove it from the cases that we clearly know are SRAM. Signed-off-by: Kumar Gala --- dts/riscv/microsemi-miv.dtsi | 1 - dts/riscv/rv32m1.dtsi | 2 -- 2 files changed, 3 deletions(-) diff --git a/dts/riscv/microsemi-miv.dtsi b/dts/riscv/microsemi-miv.dtsi index 0a5677d1ac1..ff244e358ed 100644 --- a/dts/riscv/microsemi-miv.dtsi +++ b/dts/riscv/microsemi-miv.dtsi @@ -37,7 +37,6 @@ }; sram0: memory@80040000 { - device_type = "memory"; compatible = "mmio-sram"; reg = <0x80040000 0x40000>; }; diff --git a/dts/riscv/rv32m1.dtsi b/dts/riscv/rv32m1.dtsi index ab2fdece44a..e2d2e7a2b11 100644 --- a/dts/riscv/rv32m1.dtsi +++ b/dts/riscv/rv32m1.dtsi @@ -51,13 +51,11 @@ }; m4_dtcm: memory@20000000 { - device_type = "memory"; compatible = "mmio-sram"; reg = <0x20000000 0x30000>; }; m0_tcm: memory@9000000 { - device_type = "memory"; compatible = "mmio-sram"; reg = <0x09000000 0x20000>; };