1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "aigale,ai-br100", "ralink,mt7620a-soc";
8 model = "Aigale Ai-BR100";
12 led-failsafe = &led_wlan;
13 led-running = &led_wlan;
14 led-upgrade = &led_wlan;
18 compatible = "gpio-leds";
22 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys";
36 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x20000 0x10000>;
75 factory: partition@30000 {
76 compatible = "nvmem-cells";
78 reg = <0x30000 0x10000>;
83 eeprom_factory_0: eeprom@0 {
87 macaddr_factory_4: macaddr@4 {
93 compatible = "denx,uimage";
95 reg = <0x40000 0x7c0000>;
111 groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
117 nvmem-cells = <&macaddr_factory_4>;
118 nvmem-cell-names = "mac-address";
120 mediatek,portmap = "llllw";
124 nvmem-cells = <&eeprom_factory_0>;
125 nvmem-cell-names = "eeprom";