3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "nexaira,bc2", "ralink,rt3052-soc";
11 compatible = "cfi-flash";
12 reg = <0x1f000000 0x800000>;
17 compatible = "fixed-partitions";
29 reg = <0x30000 0x10000>;
33 factory: partition@40000 {
34 compatible = "nvmem-cells";
36 reg = <0x40000 0x10000>;
41 eeprom_factory_0: eeprom@0 {
45 macaddr_factory_4: macaddr@4 {
51 compatible = "denx,uimage";
53 reg = <0x50000 0x7b0000>;
59 compatible = "gpio-leds";
63 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
64 trigger-sources = <&otg_port1>;
65 linux,default-trigger = "usbport";
70 compatible = "gpio-keys-polled";
75 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
83 groups = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
89 nvmem-cells = <&macaddr_factory_4>;
90 nvmem-cell-names = "mac-address";
94 mediatek,portmap = <0x2f>;
98 nvmem-cells = <&eeprom_factory_0>;
99 nvmem-cell-names = "eeprom";