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>;
19 compatible = "fixed-partitions";
31 reg = <0x30000 0x10000>;
35 factory: partition@40000 {
37 reg = <0x40000 0x10000>;
43 reg = <0x50000 0x7b0000>;
49 compatible = "gpio-leds";
52 label = "bc2:blue:usb";
53 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
54 trigger-sources = <&otg_port1>;
55 linux,default-trigger = "usbport";
60 compatible = "gpio-keys-polled";
65 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
66 linux,code = <KEY_RESTART>;
72 state_default: pinctrl0 {
74 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
75 ralink,function = "gpio";
81 mtd-mac-address = <&factory 0x4>;
85 mediatek,portmap = <0x2f>;
89 ralink,mtd-eeprom = <&factory 0>;