1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca9557.dtsi"
10 compatible = "openmesh,om5p-ac-v2", "qca,qca9557";
11 model = "OpenMesh OM5P-AC V2";
14 device_type = "memory";
15 reg = <0x0 0x8000000>;
19 compatible = "fixed-clock";
21 clock-output-names = "ref";
22 clock-frequency = <40000000>;
26 compatible = "gpio-leds";
29 label = "om5pac:blue:power";
30 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
31 default-state = "off";
35 label = "om5pac:green:wifi";
36 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
37 default-state = "off";
41 label = "om5pac:yellow:wifi";
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
43 default-state = "off";
47 label = "om5pac:red:wifi";
48 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
49 default-state = "off";
54 compatible = "gpio-keys-polled";
57 poll-interval = <100>;
61 linux,code = <KEY_RESTART>;
62 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
67 compatible = "gpio-export";
71 gpio-export,name = "om5pac:pa_dcdc";
72 gpio-export,output = <1>;
73 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
76 gpio-export,name = "om5pac:pa_high";
77 gpio-export,output = <1>;
78 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
85 pinctrl-single,bits = <0x0 0xff00 0x0>;
89 pinctrl-single,bits = <0x10 0xff 0x0>;
110 #address-cells = <1>;
112 compatible = "mx25l12805d";
114 spi-max-frequency = <25000000>;
117 compatible = "fixed-partitions";
118 #address-cells = <1>;
123 reg = <0x000000 0x040000>;
128 label = "u-boot-env";
129 reg = <0x040000 0x010000>;
134 reg = <0x850000 0x7a0000>;
139 reg = <0xff0000 0x010000>;
149 phy4: ethernet-phy@4 {
151 phy-mode = "rgmii-id";
158 phy1: ethernet-phy@1 {
167 phy-handle = <&phy4>;
174 phy-handle = <&phy1>;