arm64: dts: broadcom: bcmbca: bcm4908: set brcm,wp-not-connected
Subsystems (2)
PATCH 1/1 arm64: dts: broadcom: bcmbca: bcm4908: set brcm,wp-not-connected
From: Rafał Miłecki <[email protected]>
Every described BCM4908 board has WP pin not connected. This caused problems for drivers since day 0 but there was no property to describe that properly. Projects like OpenWrt were modifying Linux driver to deal with it.
It's not clear if that is hardware limitation or just reference design being copied over and over but this applies to all known / supported BCM4908 boards. Handle it by marking WP as not connected by default.
--- arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi | 1 + arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi +1 -0
@@ -594,6 +594,7 @@ nand_controller: nand-controller@1800 { reg-names = "nand", "nand-int-base"; interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "nand_ctlrdy"; + brcm,wp-not-connected; status = "disabled"; nandcs: nand@0 {
arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts +0 -1
@@ -34,7 +34,6 @@ &hsspi { }; &nand_controller { - brcm,wp-not-connected; status = "okay"; };
Signature · 1 line
2.35.3
From: Florian Fainelli <[email protected]>
Quoted 7 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
Every described BCM4908 board has WP pin not connected. This caused problems for drivers since day 0 but there was no property to describe that properly. Projects like OpenWrt were modifying Linux driver to deal with it.
Quoted 7 lines
It's not clear if that is hardware limitation or just reference design being copied over and over but this applies to all known / supported BCM4908 boards. Handle it by marking WP as not connected by default.
Fixes 2961f69f151c ("arm64: dts: broadcom: add BCM4908 and Asus GT-AC5300 early DTS files")Signed-off-by Rafał Miłecki <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks! --
Florian
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel