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>
9 compatible = "openmesh,om5p-ac-v2", "qca,qca9558";
10 model = "OpenMesh OM5P-AC v2";
13 /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 {
36 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
41 label = "yellow:wifi";
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-keys";
56 linux,code = <KEY_RESTART>;
57 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
62 compatible = "i2c-gpio";
63 gpios = <&gpio 19 GPIO_ACTIVE_HIGH /* sda */
64 &gpio 18 GPIO_ACTIVE_HIGH /* scl */
69 i2c-gpio,scl-open-drain;
70 i2c-gpio,sda-open-drain;
73 compatible = "ti,tmp423";
79 compatible = "linux,wdt-gpio";
80 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
82 /* hw_margin_ms is actually 300s but driver limits it to 60s */
83 hw_margin_ms = <60000>;
88 compatible = "gpio-export";
92 gpio-export,name = "om5pac:pa_dcdc";
93 gpio-export,output = <1>;
94 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
97 gpio-export,name = "om5pac:pa_high";
98 gpio-export,output = <1>;
99 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
105 pinmux_pa_dcdc_pins {
106 pinctrl-single,bits = <0x0 0x0 0xff0000>;
109 pinmux_pa_high_pins {
110 pinctrl-single,bits = <0x10 0x0 0xff>;
118 compatible = "qcom,ath10k";
119 reg = <0x0000 0 0 0 0>;
120 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
121 nvmem-cell-names = "calibration", "mac-address";
129 compatible = "jedec,spi-nor";
131 spi-max-frequency = <25000000>;
133 /* partitions are passed via bootloader */
135 compatible = "fixed-partitions";
136 #address-cells = <1>;
141 reg = <0x000000 0x040000>;
146 label = "u-boot-env";
147 reg = <0x040000 0x010000>;
152 reg = <0x050000 0x060000>;
158 reg = <0x0b0000 0x7a0000>;
163 reg = <0x850000 0x7a0000>;
166 art: partition@ff0000 {
168 reg = <0xff0000 0x010000>;
172 compatible = "fixed-layout";
173 #address-cells = <1>;
176 macaddr_art_0: macaddr@0 {
177 compatible = "mac-base";
179 #nvmem-cell-cells = <1>;
182 macaddr_art_6: macaddr@6 {
186 cal_art_5000: calibration@5000 {
187 reg = <0x5000 0x844>;
198 phy4: ethernet-phy@4 {
208 phy1: ethernet-phy@1 {
212 at803x-override-sgmii-link-check;
219 pll-data = <0x82000101 0x80000101 0x80001313>;
221 nvmem-cells = <&macaddr_art_0 0>;
222 nvmem-cell-names = "mac-address";
224 phy-mode = "rgmii-id";
225 phy-handle = <&phy4>;
240 pll-data = <0x03000101 0x80000101 0x80001313>;
242 nvmem-cells = <&macaddr_art_6>;
243 nvmem-cell-names = "mac-address";
247 phy-handle = <&phy1>;
253 mtd-cal-data = <&art 0x1000>;
254 nvmem-cells = <&macaddr_art_0 2>;
255 nvmem-cell-names = "mac-address";