#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
/ {
compatible = "dlink,dwr-921-c1", "ralink,mt7620n-soc";
};
lan {
- label = "green:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};
};
partition@10000 {
- compatible = "amit,jimage";
+ compatible = "openwrt,uimage", "denx,uimage";
+ openwrt,ih-magic = <IH_MAGIC_OKLI>;
+ openwrt,offset = <0x10000>;
label = "firmware";
reg = <0x10000 0xfe0000>;
};
status = "okay";
};
-ðernet {
- port@4 {
- status = "okay";
- };
-};
-
&state_default {
default {
groups = "spi refclk", "i2c", "ephy", "wled";