3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "nexx,wt1520", "ralink,rt5350-soc";
10 compatible = "gpio-keys-polled";
15 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
16 linux,code = <KEY_RESTART>;
25 compatible = "jedec,spi-nor";
27 spi-max-frequency = <10000000>;
30 compatible = "fixed-partitions";
42 reg = <0x30000 0x10000>;
46 factory: partition@40000 {
47 compatible = "nvmem-cells";
49 reg = <0x40000 0x10000>;
54 eeprom_factory_0: eeprom@0 {
58 macaddr_factory_4: macaddr@4 {
63 firmware: partition@50000 {
64 compatible = "denx,uimage";
66 /* reg property is set based on flash size in DTS files */
74 groups = "jtag", "uartf";
80 nvmem-cells = <&macaddr_factory_4>;
81 nvmem-cell-names = "mac-address";
85 nvmem-cells = <&eeprom_factory_0>;
86 nvmem-cell-names = "eeprom";