ipq806x: rename kernel files to generic name
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8064-ea7500-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qcom-ipq8064-eax500.dtsi"
4
5 / {
6 model = "Linksys EA7500 V1 WiFi Router";
7 compatible = "linksys,ea7500-v1", "qcom,ipq8064";
8
9 memory@0 {
10 reg = <0x42000000 0xe000000>;
11 device_type = "memory";
12 };
13
14 aliases {
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
19 };
20
21 chosen {
22 /* look for root deviceblock nbr in this bootarg */
23 find-rootblock = "ubi.mtd=";
24 };
25
26 keys {
27 compatible = "gpio-keys";
28 pinctrl-0 = <&button_pins>;
29 pinctrl-names = "default";
30
31 reset {
32 label = "reset";
33 gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
35 debounce-interval = <60>;
36 wakeup-source;
37 };
38
39 wps {
40 label = "wps";
41 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
43 debounce-interval = <60>;
44 wakeup-source;
45 };
46 };
47
48 leds {
49 compatible = "gpio-leds";
50 pinctrl-0 = <&led_pins>;
51 pinctrl-names = "default";
52
53 led_power: power {
54 label = "white:power";
55 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
56 default-state = "keep";
57 };
58 };
59 };
60
61 &qcom_pinmux {
62 button_pins: button_pins {
63 mux {
64 pins = "gpio65", "gpio68";
65 function = "gpio";
66 drive-strength = <2>;
67 bias-pull-up;
68 };
69 };
70
71 led_pins: led_pins {
72 mux {
73 pins = "gpio6";
74 function = "gpio";
75 drive-strength = <2>;
76 bias-pull-up;
77 };
78 };
79 };
80
81 &partitions {
82 partition@5f80000 {
83 label = "sysdiag";
84 reg = <0x5f80000 0x100000>;
85 };
86
87 partition@6080000 {
88 label = "syscfg";
89 reg = <0x6080000 0x1f80000>;
90 };
91 };