openwrtv3/target/linux/ramips/dts/VOCORE2.dtsi
L. D. Pinney e9eb6e7bb3 ramips: set ethernet mac address for VoCore2
This patch sets the mac address for the VoCore2 devices.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
2017-08-23 15:09:05 +02:00

53 lines
616 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", "perst", "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";
};