1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qcom-ipq8064-eax500.dtsi"
8 model = "Linksys EA7500 V1 WiFi Router";
9 compatible = "linksys,ea7500-v1", "qcom,ipq8064";
12 reg = <0x42000000 0xe000000>;
13 device_type = "memory";
17 led-boot = &led_power;
18 led-failsafe = &led_power;
19 led-running = &led_power;
20 led-upgrade = &led_power;
24 /* look for root deviceblock nbr in this bootarg */
25 find-rootblock = "ubi.mtd=";
29 compatible = "gpio-keys";
30 pinctrl-0 = <&button_pins>;
31 pinctrl-names = "default";
35 gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
37 debounce-interval = <60>;
43 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
45 debounce-interval = <60>;
51 compatible = "gpio-leds";
52 pinctrl-0 = <&led_pins>;
53 pinctrl-names = "default";
56 function = LED_FUNCTION_POWER;
57 color = <LED_COLOR_ID_WHITE>;
58 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
59 default-state = "keep";
65 button_pins: button_pins {
67 pins = "gpio65", "gpio68";
87 reg = <0x5f80000 0x100000>;
92 reg = <0x6080000 0x1f80000>;