Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: broadcom: bcmbca: bcm4908: set brcm,wp-not-connected

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.

Fixes: 2961f69f151c ("arm64: dts: broadcom: add BCM4908 and Asus GT-AC5300 early DTS files")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20240328093710.28206-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

authored by

Rafał Miłecki and committed by
Florian Fainelli
328ad44c 4cece764

+1 -1
+1
arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
··· 594 594 reg-names = "nand", "nand-int-base"; 595 595 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 596 596 interrupt-names = "nand_ctlrdy"; 597 + brcm,wp-not-connected; 597 598 status = "disabled"; 598 599 599 600 nandcs: nand@0 {
-1
arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts
··· 34 34 }; 35 35 36 36 &nand_controller { 37 - brcm,wp-not-connected; 38 37 status = "okay"; 39 38 }; 40 39