1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "openmesh,om5p-ac-v2", "qca,qca9558";
11 model = "OpenMesh OM5P-AC v2";
14 /delete-property/ bootargs;
18 led-boot = &led_power_blue;
19 led-failsafe = &led_power_blue;
20 led-running = &led_power_blue;
21 led-upgrade = &led_power_blue;
22 label-mac-device = ð0;
26 compatible = "gpio-leds";
30 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy0tpt";
34 led_power_blue: power_blue {
35 function = LED_FUNCTION_POWER;
36 color = <LED_COLOR_ID_BLUE>;
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
42 label = "yellow:wifi";
43 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-keys";
57 linux,code = <KEY_RESTART>;
58 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
63 compatible = "i2c-gpio";
64 gpios = <&gpio 19 GPIO_ACTIVE_HIGH /* sda */
65 &gpio 18 GPIO_ACTIVE_HIGH /* scl */
70 i2c-gpio,scl-open-drain;
71 i2c-gpio,sda-open-drain;
74 compatible = "ti,tmp423";
80 compatible = "linux,wdt-gpio";
81 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
83 /* hw_margin_ms is actually 300s but driver limits it to 60s */
84 hw_margin_ms = <60000>;
89 compatible = "gpio-export";
93 gpio-export,name = "om5pac:pa_dcdc";
94 gpio-export,output = <1>;
95 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
98 gpio-export,name = "om5pac:pa_high";
99 gpio-export,output = <1>;
100 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
106 pinmux_pa_dcdc_pins {
107 pinctrl-single,bits = <0x0 0x0 0xff0000>;
110 pinmux_pa_high_pins {
111 pinctrl-single,bits = <0x10 0x0 0xff>;
119 compatible = "qcom,ath10k";
120 reg = <0x0000 0 0 0 0>;
121 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
122 nvmem-cell-names = "calibration", "mac-address";
130 compatible = "jedec,spi-nor";
132 spi-max-frequency = <25000000>;
134 /* partitions are passed via bootloader */
136 compatible = "fixed-partitions";
137 #address-cells = <1>;
142 reg = <0x000000 0x040000>;
147 label = "u-boot-env";
148 reg = <0x040000 0x010000>;
153 reg = <0x050000 0x060000>;
159 reg = <0x0b0000 0x7a0000>;
164 reg = <0x850000 0x7a0000>;
167 art: partition@ff0000 {
169 reg = <0xff0000 0x010000>;
173 compatible = "fixed-layout";
174 #address-cells = <1>;
177 macaddr_art_0: macaddr@0 {
178 compatible = "mac-base";
180 #nvmem-cell-cells = <1>;
183 macaddr_art_6: macaddr@6 {
187 cal_art_5000: calibration@5000 {
188 reg = <0x5000 0x844>;
199 phy4: ethernet-phy@4 {
209 phy1: ethernet-phy@1 {
213 at803x-override-sgmii-link-check;
220 pll-data = <0x82000101 0x80000101 0x80001313>;
222 nvmem-cells = <&macaddr_art_0 0>;
223 nvmem-cell-names = "mac-address";
225 phy-mode = "rgmii-id";
226 phy-handle = <&phy4>;
241 pll-data = <0x03000101 0x80000101 0x80001313>;
243 nvmem-cells = <&macaddr_art_6>;
244 nvmem-cell-names = "mac-address";
248 phy-handle = <&phy1>;
254 mtd-cal-data = <&art 0x1000>;
255 nvmem-cells = <&macaddr_art_0 2>;
256 nvmem-cell-names = "mac-address";