X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Frt2880_belkin_f5d8235-v1.dts;h=59cc965f23d45756e8f13fbbfc66120397869d80;hb=be7f9ad4ddb6a4cd22b128f8e8d424f445e299a8;hp=eecdc897252ee4d4f344aea348724eaa0f4fc811;hpb=1eceab3fc0f9875da0cc6b83be4438593f617287;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts b/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts index eecdc89725..59cc965f23 100644 --- a/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts +++ b/target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts @@ -1,5 +1,3 @@ -/dts-v1/; - #include "rt2880.dtsi" #include @@ -121,78 +119,74 @@ compatible = "gpio-leds"; internet { - label = "f5d8235-v1:blue:internet"; + label = "blue:internet"; gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; }; internet2 { - label = "f5d8235-v1:amber:internet"; + label = "amber:internet"; gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; }; modem { - label = "f5d8235-v1:blue:modem"; + label = "blue:modem"; gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; }; modem2 { - label = "f5d8235-v1:amber:modem"; + label = "amber:modem"; gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; }; router { - label = "f5d8235-v1:blue:router"; + label = "blue:router"; gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; }; storage { - label = "f5d8235-v1:blue:storage"; + label = "blue:storage"; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; trigger-sources = <&ohci_port1>, <&ehci_port1>; linux,default-trigger = "usbport"; }; storage2 { - label = "f5d8235-v1:amber:storage"; + label = "amber:storage"; gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; }; security { - label = "f5d8235-v1:blue:security"; + label = "blue:security"; gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; }; security2 { - label = "f5d8235-v1:amber:security"; + label = "amber:security"; gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; }; led_wired_blue: wired { - label = "f5d8235-v1:blue:wired"; + label = "blue:wired"; gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; }; wired2 { - label = "f5d8235-v1:amber:wired"; + label = "amber:wired"; gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; }; wireless { - label = "f5d8235-v1:blue:wireless"; + label = "blue:wireless"; gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; }; wireless2 { - label = "f5d8235-v1:amber:wireless"; + label = "amber:wireless"; gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; }; }; }; -&gpio0 { - status = "okay"; -}; - &state_default { gpio { groups = "spi", "i2c", "jtag", "mdio", "uartlite"; @@ -202,7 +196,8 @@ ðernet { status = "okay"; - mtd-mac-address = <&factory 0x4>; + nvmem-cells = <&macaddr_factory_4>; + nvmem-cell-names = "mac-address"; port@0 { mediatek,fixed-link = <1000 1 1 1>; @@ -241,3 +236,13 @@ status = "okay"; ralink,mtd-eeprom = <&factory 0x0>; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_4: macaddr@4 { + reg = <0x4 0x6>; + }; +};