u-boot/arch/mips/dts/comtrend,ar-5387un.dts
Álvaro Fernández Rojas 1312906416 mips: bmips: enable the SPI flash on the Comtrend AR-5387un
It's a Macronix (mx25l12805d) 16 MB SPI flash.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2018-01-24 12:04:07 +05:30

69 lines
903 B
Text

/*
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
/dts-v1/;
#include "brcm,bcm6328.dtsi"
/ {
model = "Comtrend AR-5387un";
compatible = "comtrend,ar5387-un", "brcm,bcm6328";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&leds {
status = "okay";
led@1 {
reg = <1>;
label = "AR-5387un:red:inet";
};
led@4 {
reg = <4>;
label = "AR-5387un:red:power";
};
led@7 {
reg = <7>;
label = "AR-5387un:green:inet";
};
led@8 {
reg = <8>;
label = "AR-5387un:green:power";
};
led@11 {
reg = <11>;
active-low;
label = "AR-5387un:green:dsl";
};
};
&spi {
status = "okay";
spi-flash@0 {
compatible = "spi-flash";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
spi-max-frequency = <33333334>;
};
};
&uart0 {
u-boot,dm-pre-reloc;
status = "okay";
};