X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fdts%2Far9341_pisen_wmb001n.dts;h=496d6579e7671a47a22ede65262717cee4b17311;hp=3d9c6cb7810142cea6ef8bd03ab547a6d08db933;hb=HEAD;hpb=72bd92bea0aacf9a008782bea9e015c3ac0a2888 diff --git a/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts b/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts index 3d9c6cb781..496d6579e7 100644 --- a/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts +++ b/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts @@ -4,13 +4,13 @@ #include #include +#include / { model = "PISEN WMB001N"; compatible = "pisen,wmb001n", "qca,ar9341"; aliases { - serial0 = &uart; led-boot = &led_wifi; led-failsafe = &led_wifi; led-running = &led_wifi; @@ -96,7 +96,7 @@ virtual_flash { compatible = "mtd-concat"; - devices = <&fwpart1 &fwpart2>; + devices = <&fwconcat0 &fwconcat1>; partitions { compatible = "fixed-partitions"; @@ -106,7 +106,8 @@ partition@0 { reg = <0x0 0x0>; label = "firmware"; - compatible = "openwrt,okli"; + compatible = "openwrt,uimage", "denx,uimage"; + openwrt,ih-magic = ; }; }; }; @@ -129,10 +130,6 @@ clock-frequency = <25000000>; }; -&uart { - status = "okay"; -}; - &spi { status = "okay"; @@ -158,8 +155,8 @@ read-only; }; - fwpart1: partition@20000 { - label = "fwpart1"; + fwconcat0: partition@20000 { + label = "fwconcat0"; reg = <0x20000 0xdc0000>; }; @@ -168,8 +165,8 @@ reg = <0xde0000 0x10000>; }; - fwpart2: partition@df0000 { - label = "fwpart2"; + fwconcat1: partition@df0000 { + label = "fwconcat1"; reg = <0xdf0000 0x1f0000>; }; @@ -183,6 +180,16 @@ label = "art"; reg = <0xff0000 0x10000>; read-only; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_art_0: macaddr@0 { + reg = <0x0 0x6>; + }; + }; }; }; }; @@ -191,7 +198,8 @@ ð0 { status = "okay"; phy-handle = <&swphy4>; - mtd-mac-address = <&art 0x0>; + nvmem-cells = <&macaddr_art_0>; + nvmem-cell-names = "mac-address"; }; ð1 {