1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 compatible = "gpio-keys";
12 pinctrl-names = "default";
13 pinctrl-0 = <&enable_gpio11>;
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
27 nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
28 nvmem-cell-names = "mac-address";
33 switch-phy-addr-swap = <1>;
34 switch-phy-swap = <1>;
41 nvmem-cells = <&macaddr_uboot_1fc00 1>;
42 nvmem-cell-names = "mac-address";
46 enable_gpio11: pinmux_enable_gpio11 {
47 pinctrl-single,bits = <0x0 0x0 0x4>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <50000000>;
61 compatible = "fixed-partitions";
67 reg = <0x000000 0x020000>;
71 compatible = "fixed-layout";
75 macaddr_uboot_1fc00: macaddr@1fc00 {
76 compatible = "mac-base";
78 #nvmem-cell-cells = <1>;
85 reg = <0x020000 0xfd0000>;
86 compatible = "tplink,firmware";
91 reg = <0xff0000 0x010000>;