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>
9 model = "Hak5 LAN Turtle";
10 compatible = "hak5,lan-turtle", "qca,ar9331";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-upgrade = &led_system;
20 compatible = "gpio-keys";
22 pinctrl-names = "default";
23 pinctrl-0 = <&enable_gpio11>;
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 compatible = "gpio-leds";
36 pinctrl-names = "default";
37 pinctrl-0 = <&switch_led_disable_pins>;
40 label = "lan-turtle:orange:system";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
49 mtd-mac-address = <&uboot 0x1fc00>;
50 mtd-mac-address-increment = <(-1)>;
55 switch-phy-addr-swap = <1>;
56 switch-phy-swap = <1>;
63 mtd-mac-address = <&uboot 0x1fc00>;
64 mtd-mac-address-increment = <1>;
68 enable_gpio11: pinmux_enable_gpio11 {
69 pinctrl-single,bits = <0x0 0x0 0x4>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <50000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x020000>;
97 reg = <0x020000 0xfd0000>;
98 compatible = "tplink,firmware";
103 reg = <0xff0000 0x010000>;