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-v1", "qca,qca9558";
11 model = "OpenMesh OM5P-AC v1";
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";
28 led_power_blue: power_blue {
29 function = LED_FUNCTION_POWER;
30 color = <LED_COLOR_ID_BLUE>;
31 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
36 function = LED_FUNCTION_WAN;
37 color = <LED_COLOR_ID_BLUE>;
38 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
42 function = LED_FUNCTION_LAN;
43 color = <LED_COLOR_ID_BLUE>;
44 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy0tpt";
54 label = "yellow:wifi";
55 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
65 compatible = "i2c-gpio";
66 gpios = <&gpio 11 GPIO_ACTIVE_HIGH /* sda */
67 &gpio 12 GPIO_ACTIVE_HIGH /* scl */
72 i2c-gpio,scl-open-drain;
73 i2c-gpio,sda-open-drain;
76 compatible = "ti,tmp423";
82 compatible = "linux,wdt-gpio";
83 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
85 /* hw_margin_ms is actually 300s but driver limits it to 60s */
86 hw_margin_ms = <60000>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <40000000>;
99 /* partitions are passed via bootloader */
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
107 reg = <0x000000 0x040000>;
112 label = "u-boot-env";
113 reg = <0x040000 0x010000>;
118 reg = <0x050000 0x060000>;
124 reg = <0x0b0000 0x7a0000>;
129 reg = <0x850000 0x7a0000>;
132 art: partition@ff0000 {
134 reg = <0xff0000 0x010000>;
138 compatible = "fixed-layout";
139 #address-cells = <1>;
142 macaddr_art_0: macaddr@0 {
143 compatible = "mac-base";
145 #nvmem-cell-cells = <1>;
148 macaddr_art_6: macaddr@6 {
152 cal_art_5000: calibration@5000 {
153 reg = <0x5000 0x844>;
164 phy1: ethernet-phy@1 {
170 phy2: ethernet-phy@2 {
174 at803x-override-sgmii-link-check;
181 pll-data = <0x82000101 0x80000101 0x80001313>;
183 nvmem-cells = <&macaddr_art_0 0>;
184 nvmem-cell-names = "mac-address";
186 phy-mode = "rgmii-id";
187 phy-handle = <&phy1>;
202 pll-data = <0x03000101 0x80000101 0x80001313>;
204 nvmem-cells = <&macaddr_art_6>;
205 nvmem-cell-names = "mac-address";
209 phy-handle = <&phy2>;
215 mtd-cal-data = <&art 0x1000>;
216 nvmem-cells = <&macaddr_art_0 2>;
217 nvmem-cell-names = "mac-address";
224 compatible = "qcom,ath10k";
225 reg = <0x0000 0 0 0 0>;
226 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
227 nvmem-cell-names = "calibration", "mac-address";