diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2018-01-23 17:15:05 +0100 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-01-24 12:03:43 +0530 |
commit | 46fe9dcfffbcac79b320a18733cdb29b452774d8 (patch) | |
tree | 9f191815c8edcd92a663f790c92f24bd64af1ba6 /arch/mips | |
parent | e4a06fa3308926ca6997d49b888baf8cc903e6f3 (diff) | |
download | u-boot-46fe9dcfffbcac79b320a18733cdb29b452774d8.tar.gz |
mips: bmips: enable the SPI flash on the Netgear CG3100D
It's a Spansion (s25fl064a) 8 MB SPI flash.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/dts/netgear,cg3100d.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/dts/netgear,cg3100d.dts b/arch/mips/dts/netgear,cg3100d.dts index db1e2e7616..5f85c7346f 100644 --- a/arch/mips/dts/netgear,cg3100d.dts +++ b/arch/mips/dts/netgear,cg3100d.dts @@ -90,6 +90,18 @@ status = "okay"; }; +&spi { + status = "okay"; + + spi-flash@0 { + compatible = "spi-flash"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <25000000>; + }; +}; + &uart0 { u-boot,dm-pre-reloc; status = "okay"; |