1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "dlink,dir-510l", "ralink,mt7620a-soc";
10 model = "D-Link DIR-510L";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 bootargs = "console=ttyS1,57600";
24 compatible = "gpio-keys";
28 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
40 compatible = "gpio-leds";
43 label = "green:status";
44 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
49 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
55 mediatek,portmap = "llllw";
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <50000000>;
71 compatible = "fixed-partitions";
83 reg = <0x10000 0x200000>;
88 compatible = "amit,jimage";
90 reg = <0x210000 0xde0000>;
93 config: partition@ff0000 {
95 reg = <0xff0000 0x10000>;
116 reg = <0x0000 0 0 0 0>;
117 nvmem-cells = <&macaddr_config_e490>;
118 nvmem-cell-names = "mac-address";
119 mac-address-increment = <(2)>;
120 mediatek,mtd-eeprom = <&config 0xe05d>;
126 groups = "i2c", "uartf";
132 compatible = "nvmem-cells";
133 #address-cells = <1>;
136 macaddr_config_e490: macaddr@e490 {