Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f79985d authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Florian Fainelli
Browse files

ARM: BCM5301X: Enable SPI-NOR on dual flash devices



Commit 1b47b98a ("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: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent a7dd623f
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -147,3 +147,7 @@
&usb3 {
&usb3 {
	vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
	vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
};
};

&spi_nor {
	status = "okay";
};
+4 −0
Original line number Original line Diff line number Diff line
@@ -90,3 +90,7 @@
&usb3 {
&usb3 {
	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
	vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
};

&spi_nor {
	status = "okay";
};
+4 −0
Original line number Original line Diff line number Diff line
@@ -82,3 +82,7 @@
		};
		};
	};
	};
};
};

&spi_nor {
	status = "okay";
};
+4 −0
Original line number Original line Diff line number Diff line
@@ -131,3 +131,7 @@
&usb2 {
&usb2 {
	vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
	vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
};
};

&spi_nor {
	status = "okay";
};
+4 −0
Original line number Original line Diff line number Diff line
@@ -113,3 +113,7 @@
&usb3 {
&usb3 {
	vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
	vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
};
};

&spi_nor {
	status = "okay";
};