| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | From 56098be85d19cd56b59d7b3854ea035cc8cb9e95 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl> |
| 3 | Date: Tue, 8 Dec 2020 11:49:50 +0100 |
| 4 | Subject: [PATCH 3/4] arm64: dts: broadcom: bcm4908: use proper NAND binding |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | BCM4908 has controller that needs different IRQ handling just like the |
| 10 | BCM63138. Describe it properly. |
| 11 | |
| 12 | On Linux this change fixes: |
| 13 | brcmstb_nand ff801800.nand: timeout waiting for command 0x9 |
| 14 | brcmstb_nand ff801800.nand: intfc status d0000000 |
| 15 | |
| 16 | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> |
| 17 | Signed-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>; |