ipq806x: remove support for kernel 4.19
[openwrt/staging/chunkeey.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 };
36
37 wps {
38 label = "wps";
39 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
41 };
42 };
43
44 leds {
45 compatible = "gpio-leds";
46 pinctrl-0 = <&led_pins>;
47 pinctrl-names = "default";
48
49 led_power: power {
50 label = "white:power";
51 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
52 default-state = "keep";
53 };
54 };
55 };
56
57 &qcom_pinmux {
58 button_pins: button_pins {
59 mux {
60 pins = "gpio65", "gpio68";
61 function = "gpio";
62 drive-strength = <2>;
63 bias-pull-up;
64 };
65 };
66
67 led_pins: led_pins {
68 mux {
69 pins = "gpio6";
70 function = "gpio";
71 drive-strength = <2>;
72 bias-pull-up;
73 };
74 };
75 };
76
77 &partitions {
78 partition@5f80000 {
79 label = "sysdiag";
80 reg = <0x5f80000 0x100000>;
81 };
82
83 partition@6080000 {
84 label = "syscfg";
85 reg = <0x6080000 0x1f80000>;
86 };
87 };