ramips: remove model name from LED labels
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7628an_rakwireless_rak633.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7628an.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 compatible = "rakwireless,rak633", "mediatek,mt7628an-soc";
10 model = "Rakwireless RAK633";
11
12 leds {
13 compatible = "gpio-leds";
14
15 wifi {
16 label = "blue:wifi";
17 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
18 };
19 };
20 };
21
22 &state_default {
23 wled_an {
24 groups = "wled_an";
25 function = "gpio";
26 };
27 };
28
29 &spi0 {
30 status = "okay";
31
32 flash@0 {
33 compatible = "jedec,spi-nor";
34 reg = <0>;
35 spi-max-frequency = <10000000>;
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 0x7b0000>;
64 };
65 };
66 };
67 };
68
69 &i2c {
70 status = "okay";
71 };
72
73 &i2s {
74 status = "okay";
75 };
76
77 &uart1 {
78 status = "okay";
79 };
80
81 &uart2 {
82 status = "okay";
83 };
84
85 &gdma {
86 status = "okay";
87 };
88
89 &ethernet {
90 mtd-mac-address = <&factory 0x28>;
91 };
92
93 &wmac {
94 status = "okay";
95 };