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>;
122 compatible = "jedec,spi-nor";
124 spi-max-frequency = <25000000>;
126 /* partitions are passed via bootloader */
128 compatible = "fixed-partitions";
129 #address-cells = <1>;
134 reg = <0x000000 0x040000>;
139 label = "u-boot-env";
140 reg = <0x040000 0x010000>;
145 reg = <0x050000 0x060000>;
151 reg = <0x0b0000 0x7a0000>;
156 reg = <0x850000 0x7a0000>;
159 art: partition@ff0000 {
161 reg = <0xff0000 0x010000>;
165 compatible = "fixed-layout";
166 #address-cells = <1>;
169 macaddr_art_0: macaddr@0 {
173 macaddr_art_6: macaddr@6 {
185 phy4: ethernet-phy@4 {
195 phy1: ethernet-phy@1 {
199 at803x-override-sgmii-link-check;
206 pll-data = <0x82000101 0x80000101 0x80001313>;
208 nvmem-cells = <&macaddr_art_0>;
209 nvmem-cell-names = "mac-address";
211 phy-mode = "rgmii-id";
212 phy-handle = <&phy4>;
227 pll-data = <0x03000101 0x80000101 0x80001313>;
229 nvmem-cells = <&macaddr_art_6>;
230 nvmem-cell-names = "mac-address";
234 phy-handle = <&phy1>;
240 mtd-cal-data = <&art 0x1000>;
241 nvmem-cells = <&macaddr_art_0>;
242 nvmem-cell-names = "mac-address";
243 mac-address-increment = <2>;