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>;
42 compatible = "denx,uimage";
44 reg = <0x50000 0x7b0000>;
50 compatible = "gpio-leds";
53 label = "bc2:blue:usb";
54 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
55 trigger-sources = <&otg_port1>;
56 linux,default-trigger = "usbport";
61 compatible = "gpio-keys-polled";
66 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_RESTART>;
73 state_default: pinctrl0 {
75 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
76 ralink,function = "gpio";
82 mtd-mac-address = <&factory 0x4>;
86 mediatek,portmap = <0x2f>;
90 ralink,mtd-eeprom = <&factory 0>;