// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
#include "mt7628an.dtsi"
compatible = "hilink,hlk-7628n", "mediatek,mt7628an-soc";
model = "HILINK HLK-7628N";
- chosen {
- bootargs = "console=ttyS0,57600";
- };
-
keys {
compatible = "gpio-keys";
compatible = "gpio-leds";
wlan {
- label = "hlk-7628n:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
&state_default {
gpio {
- ralink,group = "i2c";
- ralink,function = "gpio";
+ groups = "i2c";
+ function = "gpio";
};
};
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
+ broken-flash-reset;
partitions {
compatible = "fixed-partitions";
};
};
+ðernet {
+ nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cell-names = "mac-address";
+};
+
&wmac {
status = "okay";
+
+ mediatek,mtd-eeprom = <&factory 0x0>;
+};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
};