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 led-status = &led_wlan;
17 compatible = "gpio-leds";
20 label = "ai-br100:blue:wan";
21 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
25 label = "ai-br100:blue:wlan";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
68 reg = <0x20000 0x10000>;
72 factory: partition@30000 {
74 reg = <0x30000 0x10000>;
80 reg = <0x40000 0x7c0000>;
94 state_default: pinctrl0 {
96 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
97 ralink,function = "gpio";
103 mtd-mac-address = <&factory 0x4>;
104 mediatek,portmap = "llllw";
108 ralink,mtd-eeprom = <&factory 0>;