3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "nexaira,bc2", "ralink,rt3052-soc";
12 compatible = "cfi-flash";
13 reg = <0x1f000000 0x800000>;
18 compatible = "fixed-partitions";
30 reg = <0x30000 0x10000>;
34 factory: partition@40000 {
36 reg = <0x40000 0x10000>;
40 compatible = "fixed-layout";
44 eeprom_factory_0: eeprom@0 {
48 macaddr_factory_4: macaddr@4 {
55 compatible = "denx,uimage";
57 reg = <0x50000 0x7b0000>;
63 compatible = "gpio-leds";
66 function = LED_FUNCTION_USB;
67 color = <LED_COLOR_ID_BLUE>;
68 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
69 trigger-sources = <&otg_port1>;
70 linux,default-trigger = "usbport";
75 compatible = "gpio-keys-polled";
80 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_RESTART>;
88 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
94 nvmem-cells = <&macaddr_factory_4>;
95 nvmem-cell-names = "mac-address";
99 mediatek,portmap = <0x2f>;
103 nvmem-cells = <&eeprom_factory_0>;
104 nvmem-cell-names = "eeprom";