1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "openmesh,om5p-an", "qca,ar9344";
10 model = "OpenMesh OM5P-AN";
13 /delete-property/ bootargs;
17 led-boot = &led_power_blue;
18 led-failsafe = &led_power_blue;
19 led-running = &led_power_blue;
20 led-upgrade = &led_power_blue;
21 label-mac-device = ð0;
25 compatible = "gpio-keys";
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-leds";
37 pinctrl-names = "default";
38 pinctrl-0 = <&led_lan_wan_blue_pin>;
40 led_power_blue: power_blue {
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
63 label = "yellow:wifi";
64 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
74 compatible = "i2c-gpio";
75 gpios = <&gpio 21 GPIO_ACTIVE_HIGH /* sda */
76 &gpio 20 GPIO_ACTIVE_HIGH /* scl */
81 i2c-gpio,scl-open-drain;
82 i2c-gpio,sda-open-drain;
85 compatible = "ti,tmp423";
91 compatible = "linux,wdt-gpio";
92 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
94 /* hw_margin_ms is actually 300s but driver limits it to 60s */
95 hw_margin_ms = <60000>;
101 clock-frequency = <40000000>;
105 led_lan_wan_blue_pin: pinmux_lan_wan_blue_pin {
106 pinctrl-single,bits = <0xc 0x0 0xffff0000>;
114 compatible = "jedec,spi-nor";
116 spi-max-frequency = <40000000>;
118 /* partitions are passed via bootloader */
120 compatible = "fixed-partitions";
121 #address-cells = <1>;
126 reg = <0x000000 0x040000>;
131 label = "u-boot-env";
132 reg = <0x040000 0x010000>;
137 reg = <0x050000 0x060000>;
143 reg = <0x0b0000 0x7a0000>;
148 reg = <0x850000 0x7a0000>;
153 reg = <0xff0000 0x010000>;
156 compatible = "nvmem-cells";
157 #address-cells = <1>;
160 macaddr_art_0: macaddr@0 {
164 calibration_art_1000: calibration@1000 {
165 reg = <0x1000 0x440>;
168 calibration_art_5000: calibration@5000 {
169 reg = <0x5000 0x440>;
179 phy7: ethernet-phy@7 {
189 pll-data = <0x02000000 0x00000101 0x00001313>;
191 nvmem-cells = <&macaddr_art_0>;
192 nvmem-cell-names = "mac-address";
194 phy-mode = "rgmii-id";
195 phy-handle = <&phy7>;
202 switch-phy-swap = <1>;
209 nvmem-cells = <&macaddr_art_0>;
210 nvmem-cell-names = "mac-address";
211 mac-address-increment = <1>;
217 nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
218 nvmem-cell-names = "mac-address", "calibration";
219 mac-address-increment = <2>;
226 compatible = "pci168c,0030";
227 reg = <0x0000 0 0 0 0>;
228 nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
229 nvmem-cell-names = "mac-address", "calibration";
230 mac-address-increment = <16>;