1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <dt-bindings/leds/common.h>
5 #include "bcm6328.dtsi"
8 model = "Comtrend AR-5387un";
9 compatible = "comtrend,ar-5387un", "brcm,bcm6328";
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_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 = <2 0x05bb>,
74 nvmem-cells = <&macaddr_cfe_6a0 0>;
75 nvmem-cell-names = "mac-address";
82 compatible = "jedec,spi-nor";
83 spi-max-frequency = <16666667>;
84 spi-tx-bus-width = <2>;
85 spi-rx-bus-width = <2>;
92 compatible = "fixed-partitions";
97 reg = <0x000000 0x010000>;
102 compatible = "fixed-layout";
103 #address-cells = <1>;
106 macaddr_cfe_6a0: macaddr@6a0 {
107 compatible = "mac-base";
109 #nvmem-cell-cells = <1>;
115 compatible = "brcm,bcm963xx-imagetag";
116 reg = <0x010000 0xfe0000>;
121 reg = <0xff0000 0x010000>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_leds>;
136 label = "red:internet";
139 led_power_red: led@4 {
141 function = LED_FUNCTION_POWER;
142 color = <LED_COLOR_ID_RED>;
148 label = "green:internet";
151 led_power_green: led@8 {
153 function = LED_FUNCTION_POWER;
154 color = <LED_COLOR_ID_GREEN>;
175 pins = "gpio1", "gpio4", "gpio7",
186 phy-handle = <&phy1>;
194 phy-handle = <&phy2>;
202 phy-handle = <&phy3>;
210 phy-handle = <&phy4>;