diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2018-02-09 11:14:44 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-13 08:58:18 +0100 |
commit | ca4cd04c8e874a8425bf3114f6cf9f78216a8a35 (patch) | |
tree | 322b888f7c90a8c9fa2d05c5e9c3540931411faf /arch/mips/dts | |
parent | ffee6f29be984ce653945b706364b7433d00d195 (diff) | |
download | barebox-ca4cd04c8e874a8425bf3114f6cf9f78216a8a35.tar.gz barebox-ca4cd04c8e874a8425bf3114f6cf9f78216a8a35.tar.xz |
MIPS: add initial 8devices-lima board
More information about this board can be found here:
https://www.8devices.com/products/lima
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/dts')
-rw-r--r-- | arch/mips/dts/qca4531-8devices-lima.dts | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/arch/mips/dts/qca4531-8devices-lima.dts b/arch/mips/dts/qca4531-8devices-lima.dts new file mode 100644 index 0000000000..7b03bc4be1 --- /dev/null +++ b/arch/mips/dts/qca4531-8devices-lima.dts @@ -0,0 +1,71 @@ +/dts-v1/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> + +#include "qca4531.dtsi" + +/ { + model = "8devices LIMA"; + compatible = "8devices,lima"; + + aliases { + serial0 = &uart0; + spiflash = &spiflash; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x8000000>; + }; + + chosen { + stdout-path = &uart0; + + environment@0 { + compatible = "barebox,environment"; + device-path = &spiflash, "partname:barebox-environment"; + }; + }; +}; + +&ref { + clock-frequency = <25000000>; +}; + +&uart0 { + status = "okay"; + clock-frequency = <25000000>; +}; + +&wdt0 { + status = "okay"; +}; + +&spi { + num-chipselects = <1>; + status = "okay"; + + /* Winbond W25Q64CV SPI flash */ + spiflash: w25q64cv@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor", "winbond,w25q64cv"; + spi-max-frequency = <104000000>; + reg = <0>; + + partition@0 { + label = "barebox"; + reg = <0 0x80000>; + }; + + partition@80000 { + label = "barebox-environment"; + reg = <0x80000 0x10000>; + }; + }; +}; + +&mac0 { + status = "okay"; +}; |