9b01ae03282a497384c6c71076b0ed20dbca286e
[openwrt/openwrt.git] / target / linux / ipq806x / files-5.4 / arch / arm / boot / dts / qcom-ipq8064-ea8500.dts
1 #include "qcom-ipq8064-eax500.dtsi"
2
3 / {
4 model = "Linksys EA8500 WiFi Router";
5 compatible = "linksys,ea8500", "qcom,ipq8064";
6
7 memory@0 {
8 reg = <0x42000000 0x1e000000>;
9 device_type = "memory";
10 };
11
12 aliases {
13 mdio-gpio0 = &mdio0;
14
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
19 };
20
21 keys {
22 compatible = "gpio-keys";
23 pinctrl-0 = <&button_pins>;
24 pinctrl-names = "default";
25
26 wifi {
27 label = "wifi";
28 gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RFKILL>;
30 };
31
32 reset {
33 label = "reset";
34 gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
36 };
37
38 wps {
39 label = "wps";
40 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
42 };
43 };
44
45 leds {
46 compatible = "gpio-leds";
47 pinctrl-0 = <&led_pins>;
48 pinctrl-names = "default";
49
50 wps {
51 label = "green:wps";
52 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
53 };
54
55 led_power: power {
56 label = "white:power";
57 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
58 default-state = "keep";
59 };
60
61 wifi {
62 label = "green:wifi";
63 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_HIGH>;
64 };
65 };
66 };
67
68 &qcom_pinmux {
69 button_pins: button_pins {
70 mux {
71 pins = "gpio65", "gpio67", "gpio68";
72 function = "gpio";
73 drive-strength = <2>;
74 bias-pull-up;
75 };
76 };
77
78 led_pins: led_pins {
79 mux {
80 pins = "gpio6", "gpio53", "gpio54";
81 function = "gpio";
82 drive-strength = <2>;
83 bias-pull-up;
84 };
85 };
86 };
87
88 &sata_phy {
89 status = "okay";
90 };
91
92 &sata {
93 status = "okay";
94 };
95
96 &partitions {
97 partition@5f80000 {
98 label = "syscfg";
99 reg = <0x5f80000 0x2080000>;
100 };
101 };
102
103 &mdio0 {
104 phy4: ethernet-phy@4 {
105 reg = <4>;
106 };
107 };
108
109 &gmac1 {
110 qcom,phy_mdio_addr = <4>;
111 qcom,poll_required = <1>;
112 qcom,rgmii_delay = <0>;
113 qcom,emulation = <0>;
114 };
115
116 /* LAN */
117 &gmac2 {
118 qcom,phy_mdio_addr = <0>; /* none */
119 qcom,poll_required = <0>; /* no polling */
120 qcom,rgmii_delay = <0>;
121 qcom,emulation = <0>;
122 };