// SPDX-License-Identifier: GPL-2.0-only
-/dts-v1/;
-
#include "mt7620a.dtsi"
#include <dt-bindings/gpio/gpio.h>
compatible = "gpio-leds";
led_wps: wps {
- label = "bl-w1200:green:wps";
+ label = "green:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
pinctrl-names = "default";
pinctrl-0 = <&rgmii2_pins &mdio_pins>;
- mtd-mac-address = <&factory 0x28>;
+ nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cell-names = "mac-address";
mediatek,portmap = "wllll";
};
};
+&gsw {
+ mediatek,ephy-base = /bits/ 8 <12>;
+};
+
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ohci {
status = "okay";
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
+};