5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "nexaira,bc2", "ralink,rt3052-soc";
10 model = "NexAira BC2";
13 compatible = "cfi-flash";
14 reg = <0x1f000000 0x800000>;
28 reg = <0x30000 0x10000>;
32 factory: partition@40000 {
34 reg = <0x40000 0x10000>;
40 reg = <0x50000 0x7b0000>;
45 compatible = "gpio-leds";
48 label = "bc2:blue:usb";
49 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys-polled";
61 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
68 state_default: pinctrl0 {
70 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
71 ralink,function = "gpio";
77 mtd-mac-address = <&factory 0x4>;
81 mediatek,portmap = <0x2f>;
85 ralink,mtd-eeprom = <&factory 0>;