1 From 5f79985dcfec73d7a09ed99c40c28b64552518fe Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Wed, 27 Apr 2016 09:05:03 +0200
4 Subject: [PATCH] ARM: BCM5301X: Enable SPI-NOR on dual flash devices
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Commit 1b47b98acce2 ("ARM: BCM5301X: Add DT entry for SPI controller and
10 NOR flash") enabled SPI-NOR device on routers using serial flash only.
11 However there are also devices with two flash memories:
12 1) Small SPI attached flash used mostly for booting
13 2) Bigger NAND used mostly for storing firmware
14 On such devices we still need SPI-NOR e.g. to access NVRAM data.
16 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
17 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
19 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 4 ++++
20 arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 4 ++++
21 arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 4 ++++
22 arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 4 ++++
23 arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 4 ++++
24 5 files changed, 20 insertions(+)
26 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
27 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
30 vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
36 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
37 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
40 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
46 --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
47 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
56 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
57 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
60 vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
66 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
67 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
70 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;