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;
19 led-boot = &led_power_blue;
20 led-failsafe = &led_power_blue;
21 led-running = &led_power_blue;
22 led-upgrade = &led_power_blue;
23 label-mac-device = ð0;
27 compatible = "gpio-leds";
31 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy0tpt";
35 led_power_blue: power_blue {
36 function = LED_FUNCTION_POWER;
37 color = <LED_COLOR_ID_BLUE>;
38 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43 label = "yellow:wifi";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys";
58 linux,code = <KEY_RESTART>;
59 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
64 compatible = "i2c-gpio";
65 gpios = <&gpio 19 GPIO_ACTIVE_HIGH /* sda */
66 &gpio 18 GPIO_ACTIVE_HIGH /* scl */
71 i2c-gpio,scl-open-drain;
72 i2c-gpio,sda-open-drain;
75 compatible = "ti,tmp423";
81 compatible = "linux,wdt-gpio";
82 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
84 /* hw_margin_ms is actually 300s but driver limits it to 60s */
85 hw_margin_ms = <60000>;
90 compatible = "gpio-export";
94 gpio-export,name = "om5pac:pa_dcdc";
95 gpio-export,output = <1>;
96 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
99 gpio-export,name = "om5pac:pa_high";
100 gpio-export,output = <1>;
101 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
107 pinmux_pa_dcdc_pins {
108 pinctrl-single,bits = <0x0 0x0 0xff0000>;
111 pinmux_pa_high_pins {
112 pinctrl-single,bits = <0x10 0x0 0xff>;
120 compatible = "qcom,ath10k";
121 reg = <0x0000 0 0 0 0>;
122 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
123 nvmem-cell-names = "calibration", "mac-address";
131 compatible = "jedec,spi-nor";
133 spi-max-frequency = <25000000>;
135 /* partitions are passed via bootloader */
137 compatible = "fixed-partitions";
138 #address-cells = <1>;
143 reg = <0x000000 0x040000>;
148 label = "u-boot-env";
149 reg = <0x040000 0x010000>;
154 reg = <0x050000 0x060000>;
160 reg = <0x0b0000 0x7a0000>;
165 reg = <0x850000 0x7a0000>;
168 art: partition@ff0000 {
170 reg = <0xff0000 0x010000>;
174 compatible = "fixed-layout";
175 #address-cells = <1>;
178 macaddr_art_0: macaddr@0 {
179 compatible = "mac-base";
181 #nvmem-cell-cells = <1>;
184 macaddr_art_6: macaddr@6 {
188 cal_art_5000: calibration@5000 {
189 reg = <0x5000 0x844>;
200 phy4: ethernet-phy@4 {
210 phy1: ethernet-phy@1 {
214 at803x-override-sgmii-link-check;
221 pll-data = <0x82000101 0x80000101 0x80001313>;
223 nvmem-cells = <&macaddr_art_0 0>;
224 nvmem-cell-names = "mac-address";
226 phy-mode = "rgmii-id";
227 phy-handle = <&phy4>;
242 pll-data = <0x03000101 0x80000101 0x80001313>;
244 nvmem-cells = <&macaddr_art_6>;
245 nvmem-cell-names = "mac-address";
249 phy-handle = <&phy1>;
255 mtd-cal-data = <&art 0x1000>;
256 nvmem-cells = <&macaddr_art_0 2>;
257 nvmem-cell-names = "mac-address";