X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7620a_aigale_ai-br100.dts;h=1142746c7afea5ae64997c9d404f2b36542c4f7e;hb=a4eb1ea3319296d99d36be8c4d786f4e3ee6acb9;hp=24a43f7ad295c57dffed0f3baf61588316e3d8af;hpb=1eceab3fc0f9875da0cc6b83be4438593f617287;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts b/target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts index 24a43f7ad2..1142746c7a 100644 --- a/target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts +++ b/target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts @@ -1,5 +1,3 @@ -/dts-v1/; - #include "mt7620a.dtsi" #include @@ -20,12 +18,12 @@ compatible = "gpio-leds"; wan { - label = "ai-br100:blue:wan"; + label = "blue:wan"; gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; }; led_wlan: wlan { - label = "ai-br100:blue:wlan"; + label = "blue:wlan"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; }; @@ -54,7 +52,7 @@ flash@0 { compatible = "jedec,spi-nor"; - reg = <0 0>; + reg = <0>; spi-max-frequency = <10000000>; partitions { @@ -105,10 +103,22 @@ }; ðernet { - mtd-mac-address = <&factory 0x4>; + nvmem-cells = <&macaddr_factory_4>; + nvmem-cell-names = "mac-address"; + mediatek,portmap = "llllw"; }; &wmac { ralink,mtd-eeprom = <&factory 0x0>; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_4: macaddr@4 { + reg = <0x4 0x6>; + }; +};