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-v1", "qca,qca9558";
10 model = "OpenMesh OM5P-AC v1";
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";
28 led_power_blue: power_blue {
30 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
36 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
51 label = "yellow:wifi";
52 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
62 compatible = "i2c-gpio";
63 gpios = <&gpio 11 GPIO_ACTIVE_HIGH /* sda */
64 &gpio 12 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 17 GPIO_ACTIVE_LOW>;
82 /* hw_margin_ms is actually 300s but driver limits it to 60s */
83 hw_margin_ms = <60000>;
92 compatible = "jedec,spi-nor";
94 spi-max-frequency = <40000000>;
96 /* partitions are passed via bootloader */
98 compatible = "fixed-partitions";
104 reg = <0x000000 0x040000>;
109 label = "u-boot-env";
110 reg = <0x040000 0x010000>;
115 reg = <0x050000 0x060000>;
121 reg = <0x0b0000 0x7a0000>;
126 reg = <0x850000 0x7a0000>;
129 art: partition@ff0000 {
131 reg = <0xff0000 0x010000>;
143 phy1: ethernet-phy@1 {
149 phy2: ethernet-phy@2 {
153 at803x-override-sgmii-link-check;
160 pll-data = <0x82000101 0x80000101 0x80001313>;
162 nvmem-cells = <&macaddr_art_0>;
163 nvmem-cell-names = "mac-address";
165 phy-mode = "rgmii-id";
166 phy-handle = <&phy1>;
181 pll-data = <0x03000101 0x80000101 0x80001313>;
183 nvmem-cells = <&macaddr_art_6>;
184 nvmem-cell-names = "mac-address";
188 phy-handle = <&phy2>;
194 mtd-cal-data = <&art 0x1000>;
195 nvmem-cells = <&macaddr_art_0>;
196 nvmem-cell-names = "mac-address";
197 mac-address-increment = <2>;
205 compatible = "nvmem-cells";
206 #address-cells = <1>;
209 macaddr_art_0: macaddr@0 {
213 macaddr_art_6: macaddr@6 {