ramips: add support for the VoCore2 Lite
[openwrt/openwrt.git] / target / linux / ramips / dts / VOCORE2.dts
1 /dts-v1/;
2
3 #include "VOCORE2.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6
7 / {
8 compatible = "vocore,vocore2", "mediatek,mt7628an-soc";
9 model = "VoCore2";
10
11 gpio-leds {
12 compatible = "gpio-leds";
13
14 status {
15 label = "vocore2:fuchsia:status";
16 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
17 };
18 };
19 };
20
21 &spi0 {
22 status = "okay";
23
24 m25p80@0 {
25 #address-cells = <1>;
26 #size-cells = <1>;
27 compatible = "jedec,spi-nor";
28 reg = <0>;
29 spi-max-frequency = <10000000>;
30 m25p,chunked-io = <32>;
31
32 partition@0 {
33 label = "u-boot";
34 reg = <0x0 0x30000>;
35 read-only;
36 };
37
38 partition@30000 {
39 label = "u-boot-env";
40 reg = <0x30000 0x10000>;
41 read-only;
42 };
43
44 factory: partition@40000 {
45 label = "factory";
46 reg = <0x40000 0x10000>;
47 read-only;
48 };
49
50 partition@50000 {
51 label = "firmware";
52 reg = <0x50000 0xfb0000>;
53 };
54 };
55 };