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", "qca,ar9344";
10 model = "OpenMesh OM5P";
13 /delete-property/ bootargs;
18 led-boot = &led_power_blue;
19 led-failsafe = &led_power_blue;
20 led-running = &led_power_blue;
21 led-upgrade = &led_power_blue;
22 label-mac-device = ð1;
26 compatible = "gpio-keys";
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-leds";
38 pinctrl-names = "default";
39 pinctrl-0 = <&led_lan_wan_blue_pin>;
41 led_power_blue: power_blue {
43 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy0tpt";
64 label = "yellow:wifi";
65 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
70 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
75 compatible = "linux,wdt-gpio";
76 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
78 /* hw_margin_ms is actually 300s but driver limits it to 60s */
79 hw_margin_ms = <60000>;
85 clock-frequency = <40000000>;
93 led_lan_wan_blue_pin: pinmux_lan_wan_blue_pin {
94 pinctrl-single,bits = <0xc 0x0 0xffff0000>;
102 compatible = "jedec,spi-nor";
104 spi-max-frequency = <40000000>;
106 /* partitions are passed via bootloader */
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
114 reg = <0x000000 0x040000>;
119 label = "u-boot-env";
120 reg = <0x040000 0x010000>;
125 reg = <0x050000 0x060000>;
131 reg = <0x0b0000 0x7a0000>;
136 reg = <0x850000 0x7a0000>;
139 art: partition@ff0000 {
141 reg = <0xff0000 0x010000>;
151 phy-handle = <&swphy4>;
153 mtd-mac-address = <&art 0x6>;
159 mtd-mac-address = <&art 0x0>;
165 mtd-cal-data = <&art 0x1000>;