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 (-1)>;
76 nvmem-cell-names = "mac-address";
80 switch-phy-addr-swap = <4>;
81 switch-phy-swap = <4>;
89 compatible = "jedec,spi-nor";
90 spi-max-frequency = <25000000>;
94 compatible = "fixed-partitions";
100 reg = <0x000000 0x020000>;
104 compatible = "fixed-layout";
105 #address-cells = <1>;
108 macaddr_uboot_1fc00: macaddr@1fc00 {
109 compatible = "mac-base";
111 #nvmem-cell-cells = <1>;
117 compatible = "tplink,firmware";
119 reg = <0x020000 0xfd0000>;
122 art: partition@ff0000 {
124 reg = <0xff0000 0x010000>;
134 mtd-cal-data = <&art 0x1000>;
136 nvmem-cells = <&macaddr_uboot_1fc00 0>;
137 nvmem-cell-names = "mac-address";