From 4cace27c820c5e81a9945383b8c1c997d4faec3f Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 20 Jul 2017 07:59:29 -0500 Subject: [PATCH] dts: cleanup usage of "flash" and "sram" compatible Remove compatible = "flash" from any node that has it as this doesn't have any well defined meaning right now. Also update any compatible = "sram" to be "mmio-sram" (as there's a binding in linux for this). Signed-off-by: Kumar Gala --- dts/arm/atmel/sam3x.dtsi | 3 +-- dts/arm/atmel/sam4s.dtsi | 3 +-- dts/arm/atmel/same70.dtsi | 3 +-- dts/arm/mps2_an385.dts | 2 +- dts/arm/ti/cc2650.dtsi | 2 +- dts/arm/ti/cc32xx.dtsi | 2 +- dts/arm/ti/lm3s6965.dtsi | 2 +- dts/arm/v2m_beetle.dts | 2 +- 8 files changed, 8 insertions(+), 11 deletions(-) diff --git a/dts/arm/atmel/sam3x.dtsi b/dts/arm/atmel/sam3x.dtsi index 8a64f42dd1f..22de7fc7264 100644 --- a/dts/arm/atmel/sam3x.dtsi +++ b/dts/arm/atmel/sam3x.dtsi @@ -19,12 +19,11 @@ }; sram0: memory { - compatible = "sram"; + compatible = "mmio-sram"; reg = <0x20070000 0x18000>; }; flash0: flash { - compatible = "flash"; reg = <0x00080000 0x80000>; }; diff --git a/dts/arm/atmel/sam4s.dtsi b/dts/arm/atmel/sam4s.dtsi index ad677d94375..fc4bb42e8e1 100644 --- a/dts/arm/atmel/sam4s.dtsi +++ b/dts/arm/atmel/sam4s.dtsi @@ -19,12 +19,11 @@ }; sram0: memory { - compatible = "sram"; + compatible = "mmio-sram"; reg = <0x20100000 0x20000>; }; flash0: flash { - compatible = "flash"; reg = <0x00400000 0x100000>; }; diff --git a/dts/arm/atmel/same70.dtsi b/dts/arm/atmel/same70.dtsi index 60219b36a52..22c9aa75f90 100644 --- a/dts/arm/atmel/same70.dtsi +++ b/dts/arm/atmel/same70.dtsi @@ -21,12 +21,11 @@ }; flash0: flash { - compatible = "flash"; reg = <0x00400000 DT_FLASH_SIZE>; }; sram0: memory { - compatible = "sram"; + compatible = "mmio-sram"; reg = <0x20400000 DT_SRAM_SIZE>; }; diff --git a/dts/arm/mps2_an385.dts b/dts/arm/mps2_an385.dts index 5253d03e73a..c7e6aa15f73 100644 --- a/dts/arm/mps2_an385.dts +++ b/dts/arm/mps2_an385.dts @@ -21,7 +21,7 @@ }; sram0: memory { - compatible = "sram"; + compatible = "mmio-sram"; reg = <0x20000000 0x400000>; }; diff --git a/dts/arm/ti/cc2650.dtsi b/dts/arm/ti/cc2650.dtsi index 3db05042f5f..95d3dffdf34 100644 --- a/dts/arm/ti/cc2650.dtsi +++ b/dts/arm/ti/cc2650.dtsi @@ -19,7 +19,7 @@ }; sram0: memory { - compatible = "sram"; + compatible = "mmio-sram"; reg = <0x20000000 0x5000>; }; diff --git a/dts/arm/ti/cc32xx.dtsi b/dts/arm/ti/cc32xx.dtsi index 111a88e3bb1..34772a9c0b8 100644 --- a/dts/arm/ti/cc32xx.dtsi +++ b/dts/arm/ti/cc32xx.dtsi @@ -20,7 +20,7 @@ }; sram0: memory { - compatible = "sram"; + compatible = "mmio-sram"; reg = ; }; diff --git a/dts/arm/ti/lm3s6965.dtsi b/dts/arm/ti/lm3s6965.dtsi index 1a92f0575c7..070d837e750 100644 --- a/dts/arm/ti/lm3s6965.dtsi +++ b/dts/arm/ti/lm3s6965.dtsi @@ -13,7 +13,7 @@ }; sram0: memory { - compatible = "sram"; + compatible = "mmio-sram"; reg = <0x20000000 (64*1024)>; }; diff --git a/dts/arm/v2m_beetle.dts b/dts/arm/v2m_beetle.dts index 7002c1c3fa4..72950314c6a 100644 --- a/dts/arm/v2m_beetle.dts +++ b/dts/arm/v2m_beetle.dts @@ -21,7 +21,7 @@ }; sram0: memory { - compatible = "sram"; + compatible = "mmio-sram"; reg = <0x20000000 0x20000>; };