blob: ccd260fadfebe0a5d9c82498246fbf48216181c6 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 56098be85d19cd56b59d7b3854ea035cc8cb9e95 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3Date: Tue, 8 Dec 2020 11:49:50 +0100
4Subject: [PATCH 3/4] arm64: dts: broadcom: bcm4908: use proper NAND binding
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9BCM4908 has controller that needs different IRQ handling just like the
10BCM63138. Describe it properly.
11
12On Linux this change fixes:
13brcmstb_nand ff801800.nand: timeout waiting for command 0x9
14brcmstb_nand ff801800.nand: intfc status d0000000
15
16Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
17Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
18---
19 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
23+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
24@@ -164,7 +164,7 @@
25 nand@1800 {
26 #address-cells = <1>;
27 #size-cells = <0>;
28- compatible = "brcm,brcmnand-v7.1", "brcm,brcmnand";
29+ compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
30 reg = <0x1800 0x600>, <0x2000 0x10>;
31 reg-names = "nand", "nand-int-base";
32 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;