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

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.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

authored by

Rafał Miłecki and committed by
Florian Fainelli
5f79985d a7dd623f

+20
+4
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
··· 147 147 &usb3 { 148 148 vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>; 149 149 }; 150 + 151 + &spi_nor { 152 + status = "okay"; 153 + };
+4
arch/arm/boot/dts/bcm4708-netgear-r6250.dts
··· 90 90 &usb3 { 91 91 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>; 92 92 }; 93 + 94 + &spi_nor { 95 + status = "okay"; 96 + };
+4
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
··· 82 82 }; 83 83 }; 84 84 }; 85 + 86 + &spi_nor { 87 + status = "okay"; 88 + };
+4
arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
··· 131 131 &usb2 { 132 132 vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>; 133 133 }; 134 + 135 + &spi_nor { 136 + status = "okay"; 137 + };