X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7621_firefly_firewrt.dts;h=09b6fc5bf58a4c2b230e2c7ea70554b27466ffa9;hb=HEAD;hp=a9d9da872e3b9557aad42990b9c50f1bc2828ba6;hpb=f4c33d098fdfccc741c33cfde134a2911347d17a;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7621_firefly_firewrt.dts b/target/linux/ramips/dts/mt7621_firefly_firewrt.dts index a9d9da872e..7afec5e554 100644 --- a/target/linux/ramips/dts/mt7621_firefly_firewrt.dts +++ b/target/linux/ramips/dts/mt7621_firefly_firewrt.dts @@ -2,6 +2,7 @@ #include #include +#include / { compatible = "firefly,firewrt", "mediatek,mt7621-soc"; @@ -18,7 +19,8 @@ compatible = "gpio-leds"; led_power: power { - label = "green:power"; + function = LED_FUNCTION_POWER; + color = ; gpios = <&gpio 22 GPIO_ACTIVE_LOW>; }; }; @@ -69,7 +71,7 @@ read-only; }; - factory: partition@40000 { + partition@40000 { label = "factory"; reg = <0x40000 0x10000>; read-only; @@ -88,7 +90,9 @@ }; macaddr_factory_e000: macaddr@e000 { + compatible = "mac-base"; reg = <0xe000 0x6>; + #nvmem-cell-cells = <1>; }; }; }; @@ -129,7 +133,7 @@ }; &gmac0 { - nvmem-cells = <&macaddr_factory_e000>; + nvmem-cells = <&macaddr_factory_e000 0>; nvmem-cell-names = "mac-address"; }; @@ -158,9 +162,8 @@ port@4 { status = "okay"; label = "wan"; - nvmem-cells = <&macaddr_factory_e000>; + nvmem-cells = <&macaddr_factory_e000 1>; nvmem-cell-names = "mac-address"; - mac-address-increment = <1>; }; }; };