ramips: dts: Unify naming of gpio-led nodes
[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 m25p,chunked-io = <32>;
36
37 partitions {
38 compatible = "fixed-partitions";
39 #address-cells = <1>;
40 #size-cells = <1>;
41
42 partition@0 {
43 label = "u-boot";
44 reg = <0x0 0x30000>;
45 read-only;
46 };
47
48 partition@30000 {
49 label = "u-boot-env";
50 reg = <0x30000 0x10000>;
51 read-only;
52 };
53
54 factory: partition@40000 {
55 label = "factory";
56 reg = <0x40000 0x10000>;
57 read-only;
58 };
59
60 partition@50000 {
61 compatible = "denx,uimage";
62 label = "firmware";
63 reg = <0x50000 0xfb0000>;
64 };
65 };
66 };
67 };