ath79: ar: convert to mac-base
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / ar9344_qxwlan_e750a-v4-16m.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344_qxwlan_e750x.dtsi"
4
5 / {
6 model = "Qxwlan E750A v4 16M";
7 compatible = "qxwlan,e750a-v4-16m", "qca,ar9344";
8 };
9
10 &leds {
11 lan {
12 label = "green:lan";
13 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
14 };
15
16 wan {
17 label = "green:wan";
18 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
19 };
20 };
21
22 &eth0 {
23 status = "okay";
24
25 phy-handle = <&swphy4>;
26
27 nvmem-cells = <&macaddr_pridata_400 1>;
28 nvmem-cell-names = "mac-address";
29 };
30
31 &eth1 {
32 status = "okay";
33
34 nvmem-cells = <&macaddr_pridata_400 0>;
35 nvmem-cell-names = "mac-address";
36
37 gmac-config {
38 device = <&gmac>;
39 switch-phy-swap = <0>;
40 switch-only-mode = <1>;
41 };
42 };
43
44 &partitions {
45 partition@70000 {
46 compatible = "denx,uimage";
47 label = "firmware";
48 reg = <0x070000 0xf90000>;
49 };
50 };