openwrtv4/target/linux/ramips/dts/VOCORE2.dtsi
Mathias Kresin e142173e8d ramips: backport MT7628 pinmux fixes
According to the datasheet the REFCLK pin is shared with GPIO#37 and
the PERST pin is shared with GPIO#36.

While at it fix a typo inside the pinmux setup code. The function is called
refclk and not reclk.

Update device tree source files accordingly.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-11-22 08:21:52 +01:00

53 lines
617 B
Text

#include "mt7628an.dtsi"
/ {
compatible = "vocore,vocore2", "mediatek,mt7628an-soc";
chosen {
bootargs = "console=ttyS2,115200";
};
};
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "wled_an", "refclk", "wdt";
ralink,function = "gpio";
};
};
};
&wmac {
status = "okay";
ralink,mtd-eeprom = <&factory 0x4>;
};
&ethernet {
mtd-mac-address = <&factory 0x28>;
};
&esw {
mediatek,portmap = <0x7>;
mediatek,portdisable = <0x3a>;
};
&i2s {
status = "okay";
};
&gdma {
status = "okay";
};
&pwm {
status = "okay";
};
&uart1 {
status = "okay";
};
&uart2 {
status = "okay";
};