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>
7 #include <dt-bindings/leds/common.h>
11 label-mac-device = ð0;
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
19 compatible = "gpio-keys";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
30 compatible = "gpio-leds";
33 label = "green:system";
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
49 function = LED_FUNCTION_WLAN;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <25000000>;
69 partitions: partitions {
70 compatible = "fixed-partitions";
76 reg = <0x000000 0x040000>;
82 reg = <0x040000 0x010000>;
86 pridata: partition@50000 {
88 reg = <0x050000 0x010000>;
92 compatible = "fixed-layout";
96 macaddr_pridata_400: macaddr@400 {
97 compatible = "mac-base";
99 #nvmem-cell-cells = <1>;
104 art: partition@60000 {
106 reg = <0x060000 0x010000>;
114 clock-frequency = <40000000>;
120 mtd-cal-data = <&art 0x1000>;