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 compatible = "onion,omega", "qca,ar9331";
14 label-mac-device = &wmac;
15 led-boot = &led_system;
16 led-failsafe = &led_system;
17 led-running = &led_system;
18 led-upgrade = &led_system;
22 compatible = "gpio-leds";
25 label = "amber:system";
26 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys";
35 linux,code = <KEY_RESTART>;
36 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
37 debounce-interval = <60>;
41 reg_usb_vbus: reg_usb_vbus {
42 compatible = "regulator-fixed";
43 regulator-name = "usb_vbus";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
46 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
52 clock-frequency = <25000000>;
58 vbus-supply = <®_usb_vbus>;
69 compatible = "syscon", "simple-mfd";
75 nvmem-cells = <&macaddr_uboot_1fc00>;
76 nvmem-cell-names = "mac-address";
77 mac-address-increment = <(-1)>;
81 switch-phy-addr-swap = <4>;
82 switch-phy-swap = <4>;
90 compatible = "jedec,spi-nor";
91 spi-max-frequency = <25000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x020000>;
106 compatible = "tplink,firmware";
108 reg = <0x020000 0xfd0000>;
111 art: partition@ff0000 {
113 reg = <0xff0000 0x010000>;
123 mtd-cal-data = <&art 0x1000>;
125 nvmem-cells = <&macaddr_uboot_1fc00>;
126 nvmem-cell-names = "mac-address";
130 compatible = "nvmem-cells";
131 #address-cells = <1>;
134 macaddr_uboot_1fc00: macaddr@1fc00 {