4 #include <dt-bindings/input/input.h>
7 compatible = "dlink,dir-x1860", "mediatek,mt7621-soc";
8 model = "DLink DIR-X1860";
11 bootargs-override = "console=ttyS0,115200";
15 label-mac-device = &gmac0;
16 led-boot = &led_power_orange;
17 led-failsafe = &led_power_white;
18 led-running = &led_power_white;
19 led-upgrade = &led_net_orange;
23 compatible = "gpio-leds";
25 led_power_white: power_white {
26 label = "white:power";
27 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
30 led_net_orange: net_orange {
32 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
35 led_power_orange: power_orange {
36 label = "orange:power";
37 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-keys";
51 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 linux,code = <KEY_WPS_BUTTON>;
58 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
64 phy4: ethernet-phy@4 {
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x00000 0x80000>;
113 label = "u-boot-env";
114 reg = <0x80000 0x80000>;
117 factory: partition@100000 {
119 reg = <0x100000 0x80000>;
124 reg = <0x180000 0x400000>;
129 reg = <0x580000 0x2b00000>;
134 reg = <0x2c80000 0x2b00000>;
139 reg = <0x5780000 0x800000>;
144 reg = <0x5f80000 0x2000000>;
151 groups = "i2c", "uart3", "jtag", "wdt";
162 reg = <0x0000 0 0 0 0>;
163 mediatek,mtd-eeprom = <&factory 0x0000>;