X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FDIR-610-A1.dts;h=7a0323e219ca1fe87e692fa29f76d914794bc47b;hb=8f0deedc11f1036c88d9fdd23cdedc2ebc8c7942;hp=eda0bc8c2f3d6415d9f40674d5aa15bb5d32661b;hpb=70b192f57358f753842cbe1f8f82e26e8c6f9e1e;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/DIR-610-A1.dts b/target/linux/ramips/dts/DIR-610-A1.dts index eda0bc8c2f..7a0323e219 100644 --- a/target/linux/ramips/dts/DIR-610-A1.dts +++ b/target/linux/ramips/dts/DIR-610-A1.dts @@ -9,10 +9,17 @@ compatible = "dlink,dir-610-a1", "ralink,rt5350-soc"; model = "D-Link DIR-610 A1"; - gpio-leds { + aliases { + led-boot = &led_status; + led-failsafe = &led_status; + led-running = &led_status; + led-upgrade = &led_status; + }; + + leds { compatible = "gpio-leds"; - status { + led_status: status { label = "dir-610-a1:green:status"; gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; @@ -23,10 +30,8 @@ }; }; - gpio-keys-polled { + keys { compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; poll-interval = <20>; reset { @@ -47,33 +52,38 @@ status = "okay"; m25p80@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; - partition@0 { - label = "u-boot"; - reg = <0x0 0x30000>; - read-only; - }; - - devdata: partition@30000 { - label = "devdata"; - reg = <0x30000 0x10000>; - read-only; - }; - - factory: partition@40000 { - label = "factory"; - reg = <0x40000 0x10000>; - read-only; - }; - - partition@50000 { - label = "firmware"; - reg = <0x50000 0x3b0000>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x30000>; + read-only; + }; + + devdata: partition@30000 { + label = "devdata"; + reg = <0x30000 0x10000>; + read-only; + }; + + factory: partition@40000 { + label = "factory"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + compatible = "seama"; + label = "firmware"; + reg = <0x50000 0x3b0000>; + }; }; }; };