-/dts-v1/;
-
#include "rt3883.dtsi"
#include <dt-bindings/gpio/gpio.h>
led-upgrade = &led_power;
};
- nor-flash@1c000000 {
+ flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
bank-width = <2>;
};
factory: partition@34000 {
+ compatible = "nvmem-cells";
label = "factory";
reg = <0x34000 0x4000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
read-only;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
+
+ eeprom_factory_2000: eeprom@2000 {
+ reg = <0x2000 0x200>;
+ };
};
partition@38000 {
compatible = "gpio-leds";
wps {
- label = "cy-swr1100:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
usb {
- label = "cy-swr1100:blue:usb";
+ label = "blue:usb";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_power: power {
- label = "cy-swr1100:blue:power";
+ label = "blue:power";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};
};
status = "okay";
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "spi";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ groups = "i2c", "spi";
+ function = "gpio";
};
};
wifi@0,0 {
compatible = "pci1814,3091";
reg = <0x10000 0 0 0 0>;
- ralink,mtd-eeprom = <&factory 0x2000>;
+ nvmem-cells = <&eeprom_factory_2000>;
+ nvmem-cell-names = "eeprom";
};
};
&wmac {
- status = "okay";
ralink,2ghz = <0>;
- ralink,mtd-eeprom = <&factory 0>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
&ehci {