X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FWD03.dts;h=bbb2ca3dc91bc4d996133d47a09a3092de70538f;hb=402138d12dca1a24d2837145c8d31c9d35769b9d;hp=1552ae82596e086df342abb31b1240ec0f4c49e2;hpb=52809db5446e1c4fbdaa50b703961d036c14bceb;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/WD03.dts b/target/linux/ramips/dts/WD03.dts index 1552ae8259..bbb2ca3dc9 100644 --- a/target/linux/ramips/dts/WD03.dts +++ b/target/linux/ramips/dts/WD03.dts @@ -1,6 +1,6 @@ /dts-v1/; -#include "mt7620a.dtsi" +#include "mt7620n.dtsi" #include #include @@ -13,7 +13,7 @@ bootargs = "console=ttyS0,115200"; }; - gpio-leds { + leds { compatible = "gpio-leds"; green-wifi { @@ -28,10 +28,8 @@ }; }; - gpio-keys-polled { + keys { compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; poll-interval = <20>; reset { @@ -51,40 +49,45 @@ }; &i2c { - status = "okay"; + status = "okay"; }; &spi0 { 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; - }; - - 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 0x7b0000>; + 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 0x7b0000>; + }; }; }; };