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 {
77 reg = <0x30000 0x10000>;
81 compatible = "fixed-layout";
85 eeprom_factory_0: eeprom@0 {
89 macaddr_factory_4: macaddr@4 {
96 compatible = "denx,uimage";
98 reg = <0x40000 0x7c0000>;
114 groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
120 nvmem-cells = <&macaddr_factory_4>;
121 nvmem-cell-names = "mac-address";
123 mediatek,portmap = "llllw";
127 nvmem-cells = <&eeprom_factory_0>;
128 nvmem-cell-names = "eeprom";