mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
987562bad2
Some of bpi-r64 boards have serial NAND attached to SPI bus. Build U-Boot for booting from SPI-NAND. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
34 lines
536 B
Diff
34 lines
536 B
Diff
--- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
|
|
+++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
|
|
@@ -19,7 +19,7 @@
|
|
};
|
|
|
|
aliases {
|
|
- spi0 = &snfi;
|
|
+ spi0 = &snand;
|
|
ethernet0 = ð
|
|
};
|
|
|
|
@@ -205,17 +205,11 @@
|
|
};
|
|
};
|
|
|
|
-&snfi {
|
|
- pinctrl-names = "default", "snfi";
|
|
- pinctrl-0 = <&snor_pins>;
|
|
- pinctrl-1 = <&snfi_pins>;
|
|
+&snand {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&snfi_pins>;
|
|
status = "okay";
|
|
-
|
|
- spi-flash@0{
|
|
- compatible = "jedec,spi-nor";
|
|
- reg = <0>;
|
|
- u-boot,dm-pre-reloc;
|
|
- };
|
|
+ quad-spi;
|
|
};
|
|
|
|
&uart0 {
|