-/dts-v1/;
-
#include "rt5350.dtsi"
#include <dt-bindings/gpio/gpio.h>
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";
&spi0 {
status = "okay";
- m25p80@0 {
+ flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
};
};
-&gpio1 {
- status = "okay";
-};
-
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf", "led";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf", "led";
+ function = "gpio";
};
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&esw {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0>;
+ ralink,mtd-eeprom = <&factory 0x0>;
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>;
+ };
};