-/dts-v1/;
-
#include "mt7620a.dtsi"
#include <dt-bindings/gpio/gpio.h>
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
+ label-mac-device = ðernet;
};
leds {
compatible = "gpio-leds";
wan {
- label = "yk1:blue:wan";
+ label = "blue:wan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
air {
- label = "yk1:blue:air";
+ label = "blue:air";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
usb {
- label = "yk1:blue:usb";
+ label = "blue:usb";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_power: power {
- label = "yk1:blue:power";
+ label = "blue:power";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
};
};
};
-&gpio0 {
- status = "okay";
-};
-
&gpio1 {
status = "okay";
};
&spi0 {
status = "okay";
- m25p80@0 {
+ flash@0 {
compatible = "mx25l25635f", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
&state_default {
default {
- ralink,group = "i2c", "rgmii1", "ephy", "wled";
- ralink,function = "gpio";
+ groups = "i2c", "rgmii1", "ephy", "wled";
+ function = "gpio";
};
};
ðernet {
pinctrl-names = "default";
- mtd-mac-address = <&factory 0x4>;
+
+ mtd-mac-address = <&factory 0x28>;
+
mediatek,portmap = "llllw";
};
&wmac {
- ralink,mtd-eeprom = <&factory 0>;
+ ralink,mtd-eeprom = <&factory 0x0>;
};
&sdhci {