ramips: fix EEPROM size for I-O DATA WN-DEAX1800GR
[openwrt/openwrt.git] / target / linux / ramips / dts / rt5350_tenda_3g150b.dts
index affa5b4cfcb302ac84769871eb5ddb941964195f..19b6d78009effbef71fc26d7c93fbb97e9010bd1 100644 (file)
                compatible = "gpio-leds";
 
                led_ap: ap {
-                       label = "3g150b:blue:ap";
+                       label = "blue:ap";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "3g150b:blue:3g";
+                       label = "blue:3g";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
        };
 };
 
-&gpio1 {
-       status = "okay";
-};
-
 &state_default {
        gpio {
                groups = "i2c", "jtag", "uartf", "led";
 };
 
 &ethernet {
-       mtd-mac-address = <&factory 0x4>;
+       nvmem-cells = <&macaddr_factory_4>;
+       nvmem-cell-names = "mac-address";
 };
 
 &esw {
        ralink,led-polarity = <1>;
 };
 
-&ehci {
-       status = "okay";
-};
+&factory {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
 
-&ohci {
-       status = "okay";
+       macaddr_factory_4: macaddr@4 {
+               reg = <0x4 0x6>;
+       };
 };