1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6328.dtsi"
8 model = "Arcadyan AR7516";
9 compatible = "arcadyan,ar7516", "brcm,bcm6328";
12 led-failsafe = &led_upgrade_green;
13 led-upgrade = &led_upgrade_green;
17 compatible = "gpio-keys-polled";
18 poll-interval = <100>;
22 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
29 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
31 debounce-interval = <60>;
36 compatible = "brcm,bcma-sprom";
41 nvmem-cells = <&macaddr_cfe_6a0 1>;
42 nvmem-cell-names = "mac-address";
44 brcm,sprom = "brcm/bcm43227-sprom.bin";
55 nvmem-cells = <&macaddr_cfe_6a0 0>;
56 nvmem-cell-names = "mac-address";
63 compatible = "jedec,spi-nor";
64 spi-max-frequency = <16666667>;
65 spi-tx-bus-width = <2>;
66 spi-rx-bus-width = <2>;
70 compatible = "fixed-partitions";
76 reg = <0x000000 0x010000>;
80 compatible = "fixed-layout";
84 macaddr_cfe_6a0: macaddr@6a0 {
85 compatible = "mac-base";
87 #nvmem-cell-cells = <1>;
93 compatible = "brcm,bcm963xx-imagetag";
95 reg = <0x010000 0x7e0000>;
100 reg = <0x7f0000 0x010000>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
111 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led
114 led_upgrade_green: led@1 {
116 label = "green:upgrade";
122 function = LED_FUNCTION_WAN;
123 color = <LED_COLOR_ID_GREEN>;
129 label = "green:wifi";
144 pins = "gpio1", "gpio6", "gpio7";
154 phy-handle = <&phy1>;
162 phy-handle = <&phy2>;
170 phy-handle = <&phy3>;
178 phy-handle = <&phy4>;