// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
#include "mt7628an.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-/{
+/ {
compatible = "skylab,skw92a", "mediatek,mt7628an-soc";
model = "SKYLAB SKW92A";
led-failsafe = &led_power;
};
- chosen {
- bootargs = "console=ttyS0,57600";
- };
-
leds {
compatible = "gpio-leds";
led_power: wps {
- label = "skw92a:green:wps";
+ label = "green:wps";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "skw92a:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
&state_default {
gpio {
- ralink,group = "wdt", "refclk", "wled_an";
- ralink,function = "gpio";
+ groups = "wdt", "refclk", "wled_an";
+ function = "gpio";
};
};
ðernet {
- mtd-mac-address = <&factory 0x28>;
+ nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cell-names = "mac-address";
};
&wmac {
status = "okay";
};
-&ehci {
- status = "okay";
-};
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
-&ohci {
- status = "okay";
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
};