aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-8m.dts
blob: 042974610ca09c7114f0c85cb2eaaee0f969deb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "ar9344_qxwlan_e750x.dtsi"

/ {
	model = "Qxwlan E750A v4 8M";
	compatible = "qxwlan,e750a-v4-8m", "qca,ar9344";
};

&leds {
	lan {
		label = "green:lan";
		gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
	};

	wan {
		label = "green:wan";
		gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
	};
};

&eth0 {
	status = "okay";

	phy-handle = <&swphy4>;

	nvmem-cells = <&macaddr_pridata_400>;
	nvmem-cell-names = "mac-address";
	mac-address-increment = <1>;
};

&eth1 {
	status = "okay";

	nvmem-cells = <&macaddr_pridata_400>;
	nvmem-cell-names = "mac-address";

	gmac-config {
		device = <&gmac>;
		switch-phy-swap = <0>;
		switch-only-mode = <1>;
	};
};

&partitions {
	partition@70000 {
		compatible = "denx,uimage";
		label = "firmware";
		reg = <0x070000 0x790000>;
	};
};

&pridata {
	compatible = "nvmem-cells";
	#address-cells = <1>;
	#size-cells = <1>;

	macaddr_pridata_400: macaddr@400 {
		reg = <0x400 0x6>;
	};
};