1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
2 Date: Wed, 27 Apr 2016 08:58:01 +0200
3 Subject: [PATCH] ARM: BCM5301X: Enable SPI-NOR on dual flash devices
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
8 Commit 1b47b98acce2 ("ARM: BCM5301X: Add DT entry for SPI controller and
9 NOR flash") enabled SPI-NOR device on routers using serial flash only.
10 However there are also devices with two flash memories:
11 1) Small SPI attached flash used mostly for booting
12 2) Bigger NAND used mostly for storing firmware
13 On such devices we still need SPI-NOR e.g. to access NVRAM data.
15 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
18 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
19 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
22 vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
28 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
29 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
32 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
38 --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
39 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
48 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
49 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
52 vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
58 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
59 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
62 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;