-/dts-v1/;
-
#include "mt7620n.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
/ {
compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
compatible = "gpio-leds";
led_status: status {
- label = "dwr-116-a1:green:status";
+ label = "green:status";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
wifi {
- label = "dwr-116-a1:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
};
-&gpio1 {
- status = "okay";
-};
-
&gpio3 {
status = "okay";
};
};
partition@10000 {
- compatible = "amit,jimage";
+ compatible = "openwrt,uimage", "denx,uimage";
+ openwrt,ih-magic = <IH_MAGIC_OKLI>;
+ openwrt,offset = <0x10000>;
label = "firmware";
reg = <0x10000 0x7e0000>;
};
};
ðernet {
- mediatek,portmap = "llllw";
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
+
+ mediatek,portmap = "llllw";
};