ARM: BCM5301X: Enable SPI-NOR on dual flash devices
PATCH 1/1 ARM: BCM5301X: Enable SPI-NOR on dual flash devices
Commit 1b47b98acce2 ("ARM: BCM5301X: Add DT entry for SPI controller and NOR flash") enabled SPI-NOR device on routers using serial flash only. However there are also devices with two flash memories:
1) Small SPI attached flash used mostly for booting
2) Bigger NAND used mostly for storing firmware
On such devices we still need SPI-NOR e.g. to access NVRAM data.
--- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 4 ++++ arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 4 ++++ arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 4 ++++ arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 4 ++++ arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 4 ++++ 5 files changed, 20 insertions(+)
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts +4 -0
@@ -147,3 +147,7 @@ &usb3 { vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>; }; + +&spi_nor { + status = "okay"; +};
arch/arm/boot/dts/bcm4708-netgear-r6250.dts +4 -0
@@ -90,3 +90,7 @@ &usb3 { vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>; }; + +&spi_nor { + status = "okay"; +};
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts +4 -0
@@ -82,3 +82,7 @@ }; }; }; + +&spi_nor { + status = "okay"; +};
arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts +4 -0
@@ -131,3 +131,7 @@ &usb2 { vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>; }; + +&spi_nor { + status = "okay"; +};
arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts +4 -0
@@ -113,3 +113,7 @@ &usb3 { vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; }; + +&spi_nor { + status = "okay"; +};
Signature · 1 line
1.8.4.5
Florian Fainelli
AppliedQuoted 8 lines · Rafa? Mi?ecki
Commit
1b47b98acce2("ARM: BCM5301X: Add DT entry for SPI controller and NOR flash") enabled SPI-NOR device on routers using serial flash only. However there are also devices with two flash memories:
1) Small SPI attached flash used mostly for booting
2) Bigger NAND used mostly for storing firmware
On such devices we still need SPI-NOR e.g. to access NVRAM data.Signed-off-by Rafa? Mi?ecki <[email protected]>
Applied, thanks!
--
Florian