treewide: remove label = "cpu" from DSA dt-binding
[openwrt/staging/noltari.git] / target / linux / ath79 / dts / ar9132_tplink_tl-wr941-v2.dts
index a35dbc2d1a77629252a9b4e96328974700b5c69c..106ca56e7ed69688de618423822ca8c830b8217a 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "tp-link:green:system";
+                       label = "green:system";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                qss_r {
-                       label = "tp-link:red:qss";
+                       label = "red:qss";
                        gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
                };
 
                qss_g {
-                       label = "tp-link:green:qss";
+                       label = "green:qss";
                        gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
                };
 
                wlan {
-                       label = "tp-link:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                        port@5 {
                                reg = <5>;
-                               label = "cpu";
                                ethernet = <&eth0>;
                        };
                };
        };
 };
 
-&uart {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
 
        status = "okay";
 
        phy-mode = "rmii";
-       mtd-mac-address = <&uboot 0x1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cell-names = "mac-address";
 
        fixed-link {
                speed = <100>;
 &wmac {
        status = "okay";
        mtd-cal-data = <&art 0x1000>;
-       mtd-mac-address = <&uboot 0x1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_uboot_1fc00: macaddr@1fc00 {
+               reg = <0x1fc00 0x6>;
+       };
 };