ramips: enable external amplifier for D-Link DIR-810L
[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 aliases {
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 led_status: status {
22 label = "vocore2:fuchsia:status";
23 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
24 };
25 };
26 };
27
28 &spi0 {
29 status = "okay";
30
31 m25p80@0 {
32 compatible = "jedec,spi-nor";
33 reg = <0>;
34 spi-max-frequency = <10000000>;
35
36 partitions {
37 compatible = "fixed-partitions";
38 #address-cells = <1>;
39 #size-cells = <1>;
40
41 partition@0 {
42 label = "u-boot";
43 reg = <0x0 0x30000>;
44 read-only;
45 };
46
47 partition@30000 {
48 label = "u-boot-env";
49 reg = <0x30000 0x10000>;
50 read-only;
51 };
52
53 factory: partition@40000 {
54 label = "factory";
55 reg = <0x40000 0x10000>;
56 read-only;
57 };
58
59 partition@50000 {
60 compatible = "denx,uimage";
61 label = "firmware";
62 reg = <0x50000 0xfb0000>;
63 };
64 };
65 };
66 };