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>;
29 label = "om5pac:green:wifi";
30 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
34 label = "om5pac:yellow:wifi";
35 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
39 label = "om5pac:red:wifi";
40 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys-polled";
46 poll-interval = <100>;
50 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
56 compatible = "gpio-export";
60 gpio-export,name = "om5pac:pa_dcdc";
61 gpio-export,output = <1>;
62 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
65 gpio-export,name = "om5pac:pa_high";
66 gpio-export,output = <1>;
67 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
74 pinctrl-single,bits = <0x0 0xff00 0x0>;
78 pinctrl-single,bits = <0x10 0xff 0x0>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <25000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x000000 0x040000>;
115 label = "u-boot-env";
116 reg = <0x040000 0x010000>;
120 compatible = "denx,uimage";
122 reg = <0x850000 0x7a0000>;
127 reg = <0xff0000 0x010000>;
137 phy4: ethernet-phy@4 {
139 phy-mode = "rgmii-id";
146 phy1: ethernet-phy@1 {
155 pll-data = <0x82000101 0x80000101 0x80001313>;
157 phy-handle = <&phy4>;
164 pll-data = <0x03000101 0x80000101 0x80001313>;
166 phy-handle = <&phy1>;