3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "aigale,ai-br100", "ralink,mt7620a-soc";
10 model = "Aigale Ai-BR100";
13 compatible = "gpio-leds";
16 label = "ai-br100:blue:wan";
17 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
21 label = "ai-br100:blue:wlan";
22 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
66 reg = <0x20000 0x10000>;
70 factory: partition@30000 {
72 reg = <0x30000 0x10000>;
78 reg = <0x40000 0x7c0000>;
92 state_default: pinctrl0 {
94 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
95 ralink,function = "gpio";
101 mtd-mac-address = <&factory 0x4>;
102 mediatek,portmap = "llllw";
106 ralink,mtd-eeprom = <&factory 0>;