X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fwigyori.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FC108.dts;h=2d89d34ad5056ed28a3f98b8092d57dcb7a20cbb;hp=1f09fbd31199ced98ef8df67609d530025dbf0a3;hb=dd3ec40d3d07f9fb419936b27f386217a0c68fb0;hpb=c9c4b2116c0984eb8baeff03e806030ee9c6175f diff --git a/target/linux/ramips/dts/C108.dts b/target/linux/ramips/dts/C108.dts index 1f09fbd311..2d89d34ad5 100644 --- a/target/linux/ramips/dts/C108.dts +++ b/target/linux/ramips/dts/C108.dts @@ -43,7 +43,10 @@ model = "HNET C108"; aliases { - led-status = &led_lan_green; + led-boot = &led_lan_green; + led-failsafe = &led_lan_green; + led-running = &led_lan_green; + led-upgrade = &led_lan_green; }; chosen { @@ -61,7 +64,7 @@ }; }; - gpio-leds { + leds { compatible = "gpio-leds"; sdcard { @@ -90,10 +93,8 @@ }; }; - gpio-keys-polled { + keys { compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; poll-interval = <20>; reset { @@ -116,33 +117,38 @@ status = "okay"; en25q128@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; - }; - - partition@30000 { - label = "u-boot-env"; - reg = <0x30000 0x10000>; - read-only; - }; - - factory: partition@40000 { - label = "factory"; - reg = <0x40000 0x10000>; - read-only; - }; - - partition@50000 { - label = "firmware"; - reg = <0x50000 0xfb0000>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x30000>; + read-only; + }; + + partition@30000 { + label = "u-boot-env"; + reg = <0x30000 0x10000>; + read-only; + }; + + factory: partition@40000 { + label = "factory"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + compatible = "denx,uimage"; + label = "firmware"; + reg = <0x50000 0xfb0000>; + }; }; }; };