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;
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";
29 led_power_blue: power_blue {
30 function = LED_FUNCTION_POWER;
31 color = <LED_COLOR_ID_BLUE>;
32 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
37 function = LED_FUNCTION_WAN;
38 color = <LED_COLOR_ID_BLUE>;
39 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
43 function = LED_FUNCTION_LAN;
44 color = <LED_COLOR_ID_BLUE>;
45 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy0tpt";
55 label = "yellow:wifi";
56 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
66 compatible = "i2c-gpio";
67 gpios = <&gpio 11 GPIO_ACTIVE_HIGH /* sda */
68 &gpio 12 GPIO_ACTIVE_HIGH /* scl */
73 i2c-gpio,scl-open-drain;
74 i2c-gpio,sda-open-drain;
77 compatible = "ti,tmp423";
83 compatible = "linux,wdt-gpio";
84 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
86 /* hw_margin_ms is actually 300s but driver limits it to 60s */
87 hw_margin_ms = <60000>;
96 compatible = "jedec,spi-nor";
98 spi-max-frequency = <40000000>;
100 /* partitions are passed via bootloader */
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x000000 0x040000>;
113 label = "u-boot-env";
114 reg = <0x040000 0x010000>;
119 reg = <0x050000 0x060000>;
125 reg = <0x0b0000 0x7a0000>;
130 reg = <0x850000 0x7a0000>;
133 art: partition@ff0000 {
135 reg = <0xff0000 0x010000>;
139 compatible = "fixed-layout";
140 #address-cells = <1>;
143 macaddr_art_0: macaddr@0 {
144 compatible = "mac-base";
146 #nvmem-cell-cells = <1>;
149 macaddr_art_6: macaddr@6 {
153 cal_art_5000: calibration@5000 {
154 reg = <0x5000 0x844>;
165 phy1: ethernet-phy@1 {
171 phy2: ethernet-phy@2 {
175 at803x-override-sgmii-link-check;
182 pll-data = <0x82000101 0x80000101 0x80001313>;
184 nvmem-cells = <&macaddr_art_0 0>;
185 nvmem-cell-names = "mac-address";
187 phy-mode = "rgmii-id";
188 phy-handle = <&phy1>;
203 pll-data = <0x03000101 0x80000101 0x80001313>;
205 nvmem-cells = <&macaddr_art_6>;
206 nvmem-cell-names = "mac-address";
210 phy-handle = <&phy2>;
216 mtd-cal-data = <&art 0x1000>;
217 nvmem-cells = <&macaddr_art_0 2>;
218 nvmem-cell-names = "mac-address";
225 compatible = "qcom,ath10k";
226 reg = <0x0000 0 0 0 0>;
227 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 16>;
228 nvmem-cell-names = "calibration", "mac-address";