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";
50 poll-interval = <100>;
54 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
60 compatible = "gpio-export";
64 gpio-export,name = "om5pac:pa_dcdc";
65 gpio-export,output = <1>;
66 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
69 gpio-export,name = "om5pac:pa_high";
70 gpio-export,output = <1>;
71 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
78 pinctrl-single,bits = <0x0 0xff00 0x0>;
82 pinctrl-single,bits = <0x10 0xff 0x0>;
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <25000000>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
114 reg = <0x000000 0x040000>;
119 label = "u-boot-env";
120 reg = <0x040000 0x010000>;
125 reg = <0x850000 0x7a0000>;
130 reg = <0xff0000 0x010000>;
140 phy4: ethernet-phy@4 {
142 phy-mode = "rgmii-id";
149 phy1: ethernet-phy@1 {
158 pll-data = <0x82000101 0x80000101 0x80001313>;
160 phy-handle = <&phy4>;
167 pll-data = <0x03000101 0x80000101 0x80001313>;
169 phy-handle = <&phy1>;