kernel/modules/other/mlxreg: add new package
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9557_dlink_dap-2660-a1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "qca955x_dlink_dap-2xxx.dtsi"
6
7 / {
8 compatible = "dlink,dap-2660-a1", "qca,qca9557";
9 model = "D-Link DAP-2660 A1";
10
11 aliases {
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_red;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_red;
16 };
17
18 keys {
19 compatible = "gpio-keys";
20
21 reset {
22 label = "reset";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
25 };
26 };
27
28 leds {
29 compatible = "gpio-leds";
30
31 led_power_red: power_red {
32 function = LED_FUNCTION_POWER;
33 color = <LED_COLOR_ID_RED>;
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
35 };
36
37 led_power_green: power_green {
38 function = LED_FUNCTION_POWER;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
41 default-state = "on";
42 };
43 };
44 };
45
46 &partitions {
47 partition@70000 {
48 label = "firmware";
49 reg = <0x70000 0xee0000>;
50 compatible = "wrg";
51 };
52
53 partition@f50000 {
54 label = "dlink";
55 reg = <0xf50000 0xa0000>;
56 read-only;
57 };
58 };
59
60 &mdio0 {
61 status = "okay";
62
63 phy4: ethernet-phy@4 {
64 reg = <4>;
65 };
66 };
67
68 &eth0 {
69 status = "okay";
70
71 pll-data = <0x82000000 0x80000101 0x80001313>;
72
73 phy-handle = <&phy4>;
74 phy-mode = "rgmii-id";
75
76 gmac-config {
77 device = <&gmac>;
78 rgmii-enabled = <1>;
79 rxd-delay = <3>;
80 rxdv-delay = <3>;
81 };
82 };
83
84 &pcie0 {
85 status = "okay";
86
87 wifi@0,0 {
88 compatible = "qcom,ath10k";
89 reg = <0 0 0 0 0>;
90
91 nvmem-cells = <&cal_ath10k>;
92 nvmem-cell-names = "calibration";
93 };
94 };
95
96 &art {
97 nvmem-layout {
98 compatible = "fixed-layout";
99 #address-cells = <1>;
100 #size-cells = <1>;
101
102 cal_ath9k: calibration@1000 {
103 reg = <0x1000 0x440>;
104 };
105
106 cal_ath10k: calibration@5000 {
107 reg = <0x5000 0x844>;
108 };
109 };
110 };