1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6328.dtsi"
8 model = "Comtrend AR-5381u";
9 compatible = "comtrend,ar-5381u", "brcm,bcm6328";
12 led-boot = &led_power_green;
13 led-failsafe = &led_alarm_red;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_green;
19 compatible = "gpio-keys-polled";
20 poll-interval = <100>;
24 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
31 compatible = "brcm,bcma-sprom";
36 nvmem-cells = <&macaddr_cfe_6a0 1>;
37 nvmem-cell-names = "mac-address";
39 brcm,sprom = "brcm/bcm43225-sprom.bin";
40 brcm,sprom-fixups = <97 0xfee5>,
56 nvmem-cells = <&macaddr_cfe_6a0 0>;
57 nvmem-cell-names = "mac-address";
64 compatible = "jedec,spi-nor";
65 spi-max-frequency = <16666667>;
66 spi-tx-bus-width = <2>;
67 spi-rx-bus-width = <2>;
74 compatible = "fixed-partitions";
79 reg = <0x000000 0x010000>;
84 compatible = "fixed-layout";
88 macaddr_cfe_6a0: macaddr@6a0 {
89 compatible = "mac-base";
91 #nvmem-cell-cells = <1>;
97 compatible = "brcm,bcm963xx-imagetag";
98 reg = <0x010000 0xfe0000>;
103 reg = <0xff0000 0x010000>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_leds>;
116 led_alarm_red: led@2 {
119 function = LED_FUNCTION_ALARM;
120 color = <LED_COLOR_ID_RED>;
127 label = "green:internet";
130 led_power_green: led@4 {
133 function = LED_FUNCTION_POWER;
134 color = <LED_COLOR_ID_GREEN>;
149 pins = "gpio2", "gpio3", "gpio4";
159 phy-handle = <&phy1>;
167 phy-handle = <&phy2>;
175 phy-handle = <&phy3>;
183 phy-handle = <&phy4>;