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>
14 compatible = "gpio-keys";
16 pinctrl-names = "default";
17 pinctrl-0 = <&enable_gpio11>;
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
31 mtd-mac-address = <&uboot 0x1fc00>;
32 mtd-mac-address-increment = <(-1)>;
37 switch-phy-addr-swap = <1>;
38 switch-phy-swap = <1>;
45 mtd-mac-address = <&uboot 0x1fc00>;
46 mtd-mac-address-increment = <1>;
50 enable_gpio11: pinmux_enable_gpio11 {
51 pinctrl-single,bits = <0x0 0x0 0x4>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <50000000>;
65 compatible = "fixed-partitions";
71 reg = <0x000000 0x020000>;
77 reg = <0x020000 0xfd0000>;
78 compatible = "tplink,firmware";
83 reg = <0xff0000 0x010000>;