dnsmasq: full: disable ipset support by default
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / rt3052_sitecom_wl-351.dts
index 1b31bda7361f6abdef0d543f0b5c9cf1094a65e4..13f1ae4e59d1fa0e08d7529214354e98a7ca9a1a 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "rt3050.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
@@ -16,7 +14,7 @@
                led-upgrade = &led_power;
        };
 
-       cfi@1f000000 {
+       flash@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
                bank-width = <2>;
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wl-351:amber:power";
+                       label = "amber:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                unpopulated {
-                       label = "wl-351:amber:unpopulated";
+                       label = "amber:unpopulated";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                unpopulated2 {
-                       label = "wl-351:blue:unpopulated";
+                       label = "blue:unpopulated";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "spi", "i2c", "jtag", "mdio", "uartf";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "spi", "i2c", "jtag", "mdio", "uartf";
+               function = "gpio";
        };
 };
 
 &ethernet {
-       mtd-mac-address = <&factory 0x4>;
+       nvmem-cells = <&macaddr_factory_4>;
+       nvmem-cell-names = "mac-address";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii_pins>;
 };
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
 &otg {
        status = "okay";
 };
+
+&factory {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_factory_4: macaddr@4 {
+               reg = <0x4 0x6>;
+       };
+};