X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FDIR-300-B1.dts;h=8bc77e422d6f98537cdeb5a91f498480bec399ac;hb=9b7abd9fe29b15d56bb44871b76f8b3396cf313b;hp=61fd5cc3801bf1bf8838171d4a4b07ce53f26807;hpb=53624c1702e6aad5b3e5e442c064dd30f81db2e4;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/DIR-300-B1.dts b/target/linux/ramips/dts/DIR-300-B1.dts index 61fd5cc380..8bc77e422d 100644 --- a/target/linux/ramips/dts/DIR-300-B1.dts +++ b/target/linux/ramips/dts/DIR-300-B1.dts @@ -10,7 +10,10 @@ model = "D-Link DIR-300 B1"; aliases { - led-status = &led_status_green; + led-boot = &led_status_green; + led-failsafe = &led_status_green; + led-running = &led_status_green; + led-upgrade = &led_status_green; }; cfi@1f000000 { @@ -18,34 +21,39 @@ reg = <0x1f000000 0x800000>; bank-width = <2>; device-width = <2>; - #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 = "devconf"; - 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 = "devconf"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + compatible = "denx,uimage"; + label = "firmware"; + reg = <0x50000 0x3b0000>; + }; }; }; - gpio-keys-polled { + keys { compatible = "gpio-keys-polled"; poll-interval = <20>; @@ -62,7 +70,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; status {