2020-09-22 18:49:55 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2018-09-19 12:17:35 +00:00
|
|
|
|
|
|
|
#include "ar9342_ubnt_wa.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2018-12-06 10:16:47 +00:00
|
|
|
compatible = "ubnt,lap-120", "ubnt,wa", "qca,ar9342";
|
2018-09-19 12:17:35 +00:00
|
|
|
model = "Ubiquiti LiteAP ac (LAP-120)";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mdio0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
phy-mask = <4>;
|
|
|
|
phy4: ethernet-phy@4 {
|
|
|
|
reg = <4>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
/* default for ar934x, except for 1000M and 10M */
|
2020-03-10 18:31:20 +00:00
|
|
|
pll-data = <0x02000000 0x00000101 0x00001313>;
|
2018-09-19 12:17:35 +00:00
|
|
|
|
2019-11-22 13:42:47 +00:00
|
|
|
mtd-mac-address = <&art 0x0>;
|
2018-09-19 12:17:35 +00:00
|
|
|
|
2020-03-10 18:31:20 +00:00
|
|
|
phy-mode = "rgmii-id";
|
2018-09-19 12:17:35 +00:00
|
|
|
phy-handle = <&phy4>;
|
|
|
|
|
|
|
|
gmac-config {
|
|
|
|
device = <&gmac>;
|
|
|
|
rxd-delay = <3>;
|
|
|
|
rxdv-delay = <3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&wmac {
|
|
|
|
status = "disabled";
|
|
|
|
};
|