1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar7242_ubnt_sw.dtsi"
6 compatible = "ubnt,edgeswitch-8xp", "qca,ar7242";
7 model = "Ubiquiti EdgeSwitch 8XP";
10 compatible = "gpio-export";
13 gpio-export,name = "ubnt:24v-poe:port1";
14 gpio-export,output = <0>;
15 gpios = <&gpio_hc595 1 GPIO_ACTIVE_HIGH>;
19 gpio-export,name = "ubnt:48v-poe:port1";
20 gpio-export,output = <0>;
21 gpios = <&gpio_hc595 0 GPIO_ACTIVE_HIGH>;
25 gpio-export,name = "ubnt:24v-poe:port2";
26 gpio-export,output = <0>;
27 gpios = <&gpio_hc595 3 GPIO_ACTIVE_HIGH>;
31 gpio-export,name = "ubnt:48v-poe:port2";
32 gpio-export,output = <0>;
33 gpios = <&gpio_hc595 2 GPIO_ACTIVE_HIGH>;
37 gpio-export,name = "ubnt:24v-poe:port3";
38 gpio-export,output = <0>;
39 gpios = <&gpio_hc595 5 GPIO_ACTIVE_HIGH>;
43 gpio-export,name = "ubnt:48v-poe:port3";
44 gpio-export,output = <0>;
45 gpios = <&gpio_hc595 4 GPIO_ACTIVE_HIGH>;
49 gpio-export,name = "ubnt:24v-poe:port4";
50 gpio-export,output = <0>;
51 gpios = <&gpio_hc595 7 GPIO_ACTIVE_HIGH>;
55 gpio-export,name = "ubnt:48v-poe:port4";
56 gpio-export,output = <0>;
57 gpios = <&gpio_hc595 6 GPIO_ACTIVE_HIGH>;
61 gpio-export,name = "ubnt:24v-poe:port5";
62 gpio-export,output = <0>;
63 gpios = <&gpio_hc595 9 GPIO_ACTIVE_HIGH>;
67 gpio-export,name = "ubnt:48v-poe:port5";
68 gpio-export,output = <0>;
69 gpios = <&gpio_hc595 8 GPIO_ACTIVE_HIGH>;
73 gpio-export,name = "ubnt:24v-poe:port6";
74 gpio-export,output = <0>;
75 gpios = <&gpio_hc595 11 GPIO_ACTIVE_HIGH>;
79 gpio-export,name = "ubnt:48v-poe:port6";
80 gpio-export,output = <0>;
81 gpios = <&gpio_hc595 10 GPIO_ACTIVE_HIGH>;
85 gpio-export,name = "ubnt:24v-poe:port7";
86 gpio-export,output = <0>;
87 gpios = <&gpio_hc595 13 GPIO_ACTIVE_HIGH>;
91 gpio-export,name = "ubnt:48v-poe:port7";
92 gpio-export,output = <0>;
93 gpios = <&gpio_hc595 12 GPIO_ACTIVE_HIGH>;
97 gpio-export,name = "ubnt:24v-poe:port8";
98 gpio-export,output = <0>;
99 gpios = <&gpio_hc595 15 GPIO_ACTIVE_HIGH>;
103 gpio-export,name = "ubnt:48v-poe:port8";
104 gpio-export,output = <0>;
105 gpios = <&gpio_hc595 14 GPIO_ACTIVE_HIGH>;
116 compatible = "brcm,bcm53128";
120 #address-cells = <1>;
180 phy-handle = <&phy0>;
181 phy-mode = "rgmii-rxid";
182 pll-data = <0x16000000 0x00000101 0x00001313>;
184 nvmem-cells = <&macaddr_art_0>;
185 nvmem-cell-names = "mac-address";
194 compatible = "nvmem-cells";
195 #address-cells = <1>;
198 macaddr_art_0: macaddr@0 {