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;
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 = ð1;
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 = "linux,wdt-gpio";
75 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
77 /* hw_margin_ms is actually 300s but driver limits it to 60s */
78 hw_margin_ms = <60000>;
84 clock-frequency = <40000000>;
88 led_lan_wan_blue_pin: pinmux_lan_wan_blue_pin {
89 pinctrl-single,bits = <0xc 0x0 0xffff0000>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <40000000>;
101 /* partitions are passed via bootloader */
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
109 reg = <0x000000 0x040000>;
114 label = "u-boot-env";
115 reg = <0x040000 0x010000>;
120 reg = <0x050000 0x060000>;
126 reg = <0x0b0000 0x7a0000>;
131 reg = <0x850000 0x7a0000>;
134 art: partition@ff0000 {
136 reg = <0xff0000 0x010000>;
140 compatible = "fixed-layout";
141 #address-cells = <1>;
144 macaddr_art_0: macaddr@0 {
148 macaddr_art_6: macaddr@6 {
160 phy-handle = <&swphy4>;
162 nvmem-cells = <&macaddr_art_6>;
163 nvmem-cell-names = "mac-address";
169 nvmem-cells = <&macaddr_art_0>;
170 nvmem-cell-names = "mac-address";
176 mtd-cal-data = <&art 0x1000>;