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 compatible = "fixed-layout";
64 macaddr_uboot_1fc00: macaddr@1fc00 {
70 firmware: partition@20000 {
71 compatible = "tplink,firmware";
72 reg = <0x20000 0x7d0000>;
76 art: partition@7f0000 {
77 reg = <0x7f0000 0x10000>;
88 nvmem-cells = <&macaddr_uboot_1fc00>;
89 nvmem-cell-names = "mac-address";
94 switch-phy-addr-swap = <0>;
95 switch-phy-swap = <0>;
101 compatible = "syscon", "simple-mfd";
115 mtd-cal-data = <&art 0x1000>;
116 nvmem-cells = <&macaddr_uboot_1fc00>;
117 nvmem-cell-names = "mac-address";