ath79: wlr-7100: remove device variant indicator
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_ocedo_ursus.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca955x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 compatible = "ocedo,ursus", "qca,qca9558";
10 model = "OCEDO Ursus";
11
12 leds {
13 compatible = "gpio-leds";
14
15 wifi2 {
16 label = "green:wlan2g";
17 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
18 linux,default-trigger = "phy1tpt";
19 };
20
21 wifi5 {
22 label = "green:wlan5g";
23 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
24 linux,default-trigger = "phy0tpt";
25 };
26 };
27 };
28
29 &pcie1 {
30 status = "okay";
31 };
32
33 &uart {
34 status = "okay";
35 };
36
37 &pll {
38 clocks = <&extosc>;
39 };
40
41 &spi {
42 status = "okay";
43 num-cs = <1>;
44
45 flash@0 {
46 compatible = "jedec,spi-nor";
47 reg = <0>;
48 spi-max-frequency = <25000000>;
49
50 partitions {
51 compatible = "fixed-partitions";
52 #address-cells = <1>;
53 #size-cells = <1>;
54
55 uboot: partition@0 {
56 label = "u-boot";
57 reg = <0x000000 0x040000>;
58 read-only;
59 };
60
61 partition@40000 {
62 label = "u-boot-env";
63 reg = <0x040000 0x010000>;
64 };
65
66 partition@50000 {
67 compatible = "denx,uimage";
68 label = "firmware";
69 reg = <0x050000 0x740000>;
70 };
71
72 partition@790000 {
73 label = "vendor";
74 reg = <0x790000 0x740000>;
75 read-only;
76 };
77
78 partition@ed0000 {
79 label = "data";
80 reg = <0xed0000 0x110000>;
81 read-only;
82 };
83
84 partition@fe0000 {
85 label = "id";
86 reg = <0xfe0000 0x010000>;
87 read-only;
88 };
89
90 art: partition@ff0000 {
91 label = "art";
92 reg = <0xff0000 0x010000>;
93 read-only;
94 };
95 };
96 };
97 };
98
99 &wmac {
100 status = "okay";
101
102 mtd-cal-data = <&art 0x1000>;
103 mtd-mac-address = <&art 0x06>;
104 };
105
106 &mdio0 {
107 status = "okay";
108
109 phy1: ethernet-phy@1 {
110 reg = <1>;
111 };
112
113 phy2: ethernet-phy@2 {
114 reg = <2>;
115 at803x-override-sgmii-link-check;
116 };
117 };
118
119 &eth0 {
120 status = "okay";
121 mtd-mac-address = <&art 0x00>;
122
123 phy-mode = "rgmii-rxid";
124 phy-handle = <&phy1>;
125 pll-data = <0x8e000000 0x80000101 0x80001313>;
126
127 gmac_config: gmac-config {
128 device = <&gmac>;
129
130 rxdv-delay = <3>;
131 rxd-delay = <3>;
132 txen-delay = <0>;
133 txd-delay = <0>;
134 rgmii-enabled = <1>;
135 };
136 };
137
138 &eth1 {
139 status = "okay";
140 mtd-mac-address = <&art 0x12>;
141 phy-handle = <&phy2>;
142 pll-data = <0x3000101 0x101 0x1313>;
143 qca955x-sgmii-fixup;
144 };