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