ath79: ar: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / ar9344_qxwlan_e750a-v4-8m.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 8M";
7 compatible = "qxwlan,e750a-v4-8m", "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>;
28 nvmem-cell-names = "mac-address";
29 mac-address-increment = <1>;
30 };
31
32 &eth1 {
33 status = "okay";
34
35 nvmem-cells = <&macaddr_pridata_400>;
36 nvmem-cell-names = "mac-address";
37
38 gmac-config {
39 device = <&gmac>;
40 switch-phy-swap = <0>;
41 switch-only-mode = <1>;
42 };
43 };
44
45 &partitions {
46 partition@70000 {
47 compatible = "denx,uimage";
48 label = "firmware";
49 reg = <0x070000 0x790000>;
50 };
51 };