diff mbox series

arm64: dts: broadcom: bcm4908: use proper NAND binding

Message ID 20201208104950.14977-1-zajec5@gmail.com
State New
Headers show
Series arm64: dts: broadcom: bcm4908: use proper NAND binding | expand

Commit Message

Rafał Miłecki Dec. 8, 2020, 10:49 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

BCM4908 has controller that needs different IRQ handling just like the
BCM63138. Describe it properly.

On Linux this change fixes:
brcmstb_nand ff801800.nand: timeout waiting for command 0x9
brcmstb_nand ff801800.nand: intfc status d0000000

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Fainelli Dec. 11, 2020, 3:39 a.m. UTC | #1
On Tue,  8 Dec 2020 11:49:50 +0100, Rafał Miłecki <zajec5@gmail.com> wrote:
> From: Rafał Miłecki <rafal@milecki.pl>

> 

> BCM4908 has controller that needs different IRQ handling just like the

> BCM63138. Describe it properly.

> 

> On Linux this change fixes:

> brcmstb_nand ff801800.nand: timeout waiting for command 0x9

> brcmstb_nand ff801800.nand: intfc status d0000000

> 

> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

> ---


Applied to devicetree-arm64/next, thanks!
--
Florian
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
index f873dc44ce9c..55d9b56ac749 100644
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
@@ -164,7 +164,7 @@  uart0: serial@640 {
 		nand@1800 {
 			#address-cells = <1>;
 			#size-cells = <0>;
-			compatible = "brcm,brcmnand-v7.1", "brcm,brcmnand";
+			compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
 			reg = <0x1800 0x600>, <0x2000 0x10>;
 			reg-names = "nand", "nand-int-base";
 			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;