ath79: add Embedded Wireless Balin Platform
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
index 236609d958e89516a2cb390b405dc1fb3861ce24..5fda458fbc34e7b9e43ec818ae4597b95b37622a 100644 (file)
@@ -7,7 +7,6 @@
 
 / {
        aliases {
-               serial0 = &uart;
                led-boot = &led_system;
                led-failsafe = &led_system;
                led-running = &led_system;
@@ -30,7 +29,7 @@
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "tl-wr703n:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
        };
@@ -47,8 +46,6 @@
 &spi {
        status = "okay";
 
-       num-cs = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
@@ -83,7 +80,8 @@
 &eth0 {
        status = "okay";
 
-       mtd-mac-address = <&uboot 0x1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cell-names = "mac-address";
 
        gmac-config {
                device = <&gmac>;
        compatible = "syscon", "simple-mfd";
 };
 
-&uart {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        vbus-supply = <&reg_usb_vbus>;
        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>;
+       };
 };