ath79: use gpios for switch management in WZR-HP-G300NH variants
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_qxwlan_e750g-v8-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 E750G v8 8M";
7 compatible = "qxwlan,e750g-v8-8m", "qca,ar9344";
8 };
9
10 &mdio0 {
11 status = "okay";
12
13 phy0: ethernet-phy@0 {
14 reg = <0>;
15 phy-mode = "rgmii";
16
17 qca,ar8327-initvals = <
18 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
19 0x10 0x81000080 /* POWER_ON_STRAP */
20 0x50 0xcc35cc35 /* LED_CTRL0 */
21 0x54 0xca35ca35 /* LED_CTRL1 */
22 0x58 0xc935c935 /* LED_CTRL2 */
23 0x5c 0x03ffff00 /* LED_CTRL3 */
24 0x7c 0x0000007e /* PORT0_STATUS */
25 >;
26 };
27 };
28
29 &eth0 {
30 status = "okay";
31
32 pll-data = <0x06000000 0x00000101 0x00001616>;
33
34 nvmem-cells = <&macaddr_pridata_400>;
35 nvmem-cell-names = "mac-address";
36
37 phy-mode = "rgmii";
38 phy-handle = <&phy0>;
39 };
40
41 &partitions {
42 partition@70000 {
43 compatible = "denx,uimage";
44 label = "firmware";
45 reg = <0x070000 0x790000>;
46 };
47 };
48
49 &pridata {
50 compatible = "nvmem-cells";
51 #address-cells = <1>;
52 #size-cells = <1>;
53
54 macaddr_pridata_400: macaddr@400 {
55 reg = <0x400 0x6>;
56 };
57 };