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 model = "Pisen TS-D084";
10 compatible = "pisen,ts-d084", "qca,ar9331";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
17 label-mac-device = &wmac;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 label = "blue:system";
36 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <25000000>;
50 compatible = "fixed-partitions";
60 firmware: partition@20000 {
61 compatible = "tplink,firmware";
62 reg = <0x20000 0x7d0000>;
66 art: partition@7f0000 {
67 reg = <0x7f0000 0x10000>;
78 nvmem-cells = <&macaddr_uboot_1fc00>;
79 nvmem-cell-names = "mac-address";
84 switch-phy-addr-swap = <0>;
85 switch-phy-swap = <0>;
91 compatible = "syscon", "simple-mfd";
105 mtd-cal-data = <&art 0x1000>;
106 nvmem-cells = <&macaddr_uboot_1fc00>;
107 nvmem-cell-names = "mac-address";
111 compatible = "nvmem-cells";
112 #address-cells = <1>;
115 macaddr_uboot_1fc00: macaddr@1fc00 {