mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
e142173e8d
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>
54 lines
617 B
Plaintext
54 lines
617 B
Plaintext
#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>;
|
|
};
|
|
|
|
ðernet {
|
|
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";
|
|
};
|