ramips: simplify state_default/pinctrl0 in device DTS files
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_vocore_vocore2.dtsi
1 #include "mt7628an.dtsi"
2
3 / {
4 compatible = "vocore,vocore2", "mediatek,mt7628an-soc";
5
6 aliases {
7 label-mac-device = &wmac;
8 };
9
10 chosen {
11 bootargs = "console=ttyS2,115200";
12 };
13 };
14
15 &state_default {
16 gpio {
17 ralink,group = "wled_an", "refclk", "wdt";
18 ralink,function = "gpio";
19 };
20 };
21
22 &wmac {
23 status = "okay";
24 ralink,mtd-eeprom = <&factory 0x4>;
25 };
26
27 &ethernet {
28 mtd-mac-address = <&factory 0x28>;
29 };
30
31 &esw {
32 mediatek,portmap = <0x7>;
33 mediatek,portdisable = <0x3a>;
34 };
35
36 &i2s {
37 status = "okay";
38 };
39
40 &gdma {
41 status = "okay";
42 };
43
44 &pwm {
45 status = "okay";
46 };
47
48 &uart1 {
49 status = "okay";
50 };
51
52 &uart2 {
53 status = "okay";
54 };