X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7628an_tplink_8m.dtsi;h=9e3db9971a0ce84fc2edb4dd2d866783d125ac6e;hb=HEAD;hp=9f7f7ccd6c78c9f2b321ab08dccbfdceda320231;hpb=b97a99256fe54e81c8fc6c60183f46fbf731bbf8;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi b/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi index 9f7f7ccd6c..4956c12d9c 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi +++ b/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi @@ -1,20 +1,22 @@ #include "mt7628an.dtsi" +#include +#include + / { chosen { bootargs = "console=ttyS0,115200"; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; + aliases { + label-mac-device = ðernet; }; }; &spi0 { status = "okay"; - m25p80@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; @@ -46,26 +48,27 @@ label = "factory"; reg = <0x7d0000 0x30000>; read-only; - }; - }; - }; -}; -&ehci { - status = "disabled"; -}; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; -&ohci { - status = "disabled"; -}; + macaddr_factory_f100: macaddr@f100 { + compatible = "mac-base"; + reg = <0xf100 0x6>; + #nvmem-cell-cells = <1>; + }; -&wmac { - status = "okay"; - mtd-mac-address = <&factory 0xf100>; - mediatek,mtd-eeprom = <&factory 0x20000>; -}; + eeprom_factory_20000: eeprom@20000 { + reg = <0x20000 0x400>; + }; -ðernet { - mtd-mac-address = <&factory 0xf100>; - mediatek,portmap = "llllw"; + eeprom_factory_28000: eeprom@28000 { + reg = <0x28000 0x200>; + }; + }; + }; + }; + }; };