# \[PATCH v2\] ARM: at91: sama5d4: dts: change the nand compatible string

- From: Josh Wu \<hidden\>
- Date: 2015-01-22 10:41:45 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2015/01/8103232
- Thread: https://ratatoskr.run/linux-arm-kernel/2015/01/8103232/t.md

```text
As we introduce a new "atmel,sama5d4-nand" compatible string for sama5d4,
so we need to apply it for sama5d4 chip.

Signed-off-by: Josh Wu <redacted>
---

Changes in v2:
- still keep the old rm9200 nand compatible string for compatible old driver.

 arch/arm/boot/dts/sama5d4.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index 1b0f30c..e40b1da 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -267,7 +267,7 @@
 		};
 
 		nand0: nand at 80000000 {
-			compatible = "atmel,at91rm9200-nand";
+			compatible = "atmel,sama5d4-nand", "atmel,at91rm9200-nand";
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
-- 
1.9.1
```
