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>
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
14 label-mac-device = ð0;
18 compatible = "gpio-keys";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
29 compatible = "gpio-leds";
32 label = "blue:system";
33 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
37 reg_usb_vbus: reg_usb_vbus {
38 compatible = "regulator-fixed";
39 regulator-name = "usb_vbus";
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <25000000>;
55 compatible = "fixed-partitions";
65 compatible = "fixed-layout";
69 macaddr_uboot_1fc00: macaddr@1fc00 {
76 compatible = "tplink,firmware";
77 reg = <0x20000 0x3d0000>;
81 art: partition@3f0000 {
82 reg = <0x3f0000 0x10000>;
93 nvmem-cells = <&macaddr_uboot_1fc00>;
94 nvmem-cell-names = "mac-address";
99 switch-phy-addr-swap = <0>;
100 switch-phy-swap = <0>;
107 compatible = "syscon", "simple-mfd";
112 vbus-supply = <®_usb_vbus>;
123 mtd-cal-data = <&art 0x1000>;
124 nvmem-cells = <&macaddr_uboot_1fc00>;
125 nvmem-cell-names = "mac-address";