[source] ramips: set ethernet mac address for VoCore2

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 23 10:30:29 PDT 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/e9eb6e7bb307da5549750c0323dc7f5fa4d1583c

commit e9eb6e7bb307da5549750c0323dc7f5fa4d1583c
Author: L. D. Pinney <ldpinney at gmail.com>
AuthorDate: Sat Aug 12 22:04:27 2017 +0800

    ramips: set ethernet mac address for VoCore2
    
    This patch sets the mac address for the VoCore2 devices.
    
    Signed-off-by: L. D. Pinney <ldpinney at gmail.com>
---
 target/linux/ramips/dts/VOCORE2.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ramips/dts/VOCORE2.dtsi b/target/linux/ramips/dts/VOCORE2.dtsi
index dff9e54..dc1bd17 100644
--- a/target/linux/ramips/dts/VOCORE2.dtsi
+++ b/target/linux/ramips/dts/VOCORE2.dtsi
@@ -23,6 +23,10 @@
 	ralink,mtd-eeprom = <&factory 0x4>;
 };
 
+&ethernet {
+	mtd-mac-address = <&factory 0x28>;
+};
+
 &esw {
 	mediatek,portmap = <0x7>;
 	mediatek,portdisable = <0x3a>;



More information about the lede-commits mailing list