X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fdts%2Far9341_pisen_wmb001n.dts;h=23b5cf745044f8eed2f42e3eddcd77e27f55dc92;hb=abc17bf306acd1c5954fbba97134e891439f917c;hp=aaa4d1576bd2fe4565591700d314c26a29609315;hpb=1fb40a72da115073b55ed1b92b443c1b80794c44;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts b/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts index aaa4d1576b..23b5cf7450 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; @@ -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"; @@ -191,7 +188,8 @@ ð0 { status = "okay"; phy-handle = <&swphy4>; - mtd-mac-address = <&art 0x0>; + nvmem-cells = <&macaddr_art_0>; + nvmem-cell-names = "mac-address"; }; ð1 { @@ -216,3 +214,13 @@ status = "okay"; mtd-cal-data = <&art 0x1000>; }; + +&art { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_art_0: macaddr@0 { + reg = <0x0 0x6>; + }; +};