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 compatible = "fixed-clock";
16 clock-output-names = "ref";
17 clock-frequency = <40000000>;
21 compatible = "gpio-leds";
24 label = "om5pac:blue:power";
25 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
26 default-state = "off";
30 label = "om5pac:green:wifi";
31 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
32 default-state = "off";
36 label = "om5pac:yellow:wifi";
37 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
38 default-state = "off";
42 label = "om5pac:red:wifi";
43 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
44 default-state = "off";
49 compatible = "gpio-keys-polled";
52 poll-interval = <100>;
56 linux,code = <KEY_RESTART>;
57 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-export";
66 gpio-export,name = "om5pac:pa_dcdc";
67 gpio-export,output = <1>;
68 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
71 gpio-export,name = "om5pac:pa_high";
72 gpio-export,output = <1>;
73 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
80 pinctrl-single,bits = <0x0 0xff00 0x0>;
84 pinctrl-single,bits = <0x10 0xff 0x0>;
105 #address-cells = <1>;
107 compatible = "mx25l12805d";
109 spi-max-frequency = <25000000>;
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
118 reg = <0x000000 0x040000>;
123 label = "u-boot-env";
124 reg = <0x040000 0x010000>;
129 reg = <0x850000 0x7a0000>;
134 reg = <0xff0000 0x010000>;
144 phy4: ethernet-phy@4 {
146 phy-mode = "rgmii-id";
153 phy1: ethernet-phy@1 {
162 phy-handle = <&phy4>;
169 phy-handle = <&phy1>;