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";
49 linux,code = <KEY_RESTART>;
50 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-export";
59 gpio-export,name = "om5pac:pa_dcdc";
60 gpio-export,output = <1>;
61 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
64 gpio-export,name = "om5pac:pa_high";
65 gpio-export,output = <1>;
66 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
73 pinctrl-single,bits = <0x0 0xff00 0x0>;
77 pinctrl-single,bits = <0x10 0xff 0x0>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <25000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
109 reg = <0x000000 0x040000>;
114 label = "u-boot-env";
115 reg = <0x040000 0x010000>;
119 compatible = "denx,uimage";
121 reg = <0x850000 0x7a0000>;
126 reg = <0xff0000 0x010000>;
136 phy4: ethernet-phy@4 {
138 phy-mode = "rgmii-id";
145 phy1: ethernet-phy@1 {
154 pll-data = <0x82000101 0x80000101 0x80001313>;
156 phy-handle = <&phy4>;
163 pll-data = <0x03000101 0x80000101 0x80001313>;
165 phy-handle = <&phy1>;