1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6328.dtsi"
6 model = "Comtrend AR-5381u";
7 compatible = "comtrend,ar-5381u", "brcm,bcm6328";
10 led-boot = &led_power_green;
11 led-failsafe = &led_alarm_red;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_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 compatible = "brcm,bcma-sprom";
34 nvmem-cells = <&macaddr_cfe_6a0 1>;
35 nvmem-cell-names = "mac-address";
37 brcm,sprom = "brcm/bcm43225-sprom.bin";
38 brcm,sprom-fixups = <97 0xfee5>,
54 nvmem-cells = <&macaddr_cfe_6a0 0>;
55 nvmem-cell-names = "mac-address";
62 compatible = "jedec,spi-nor";
63 spi-max-frequency = <16666667>;
64 spi-tx-bus-width = <2>;
65 spi-rx-bus-width = <2>;
72 compatible = "fixed-partitions";
77 reg = <0x000000 0x010000>;
82 compatible = "fixed-layout";
86 macaddr_cfe_6a0: macaddr@6a0 {
87 compatible = "mac-base";
89 #nvmem-cell-cells = <1>;
95 compatible = "brcm,bcm963xx-imagetag";
96 reg = <0x010000 0xfe0000>;
101 reg = <0xff0000 0x010000>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&pinctrl_leds>;
114 led_alarm_red: led@2 {
117 function = LED_FUNCTION_ALARM;
118 color = <LED_COLOR_ID_RED>;
125 label = "green:internet";
128 led_power_green: led@4 {
131 function = LED_FUNCTION_POWER;
132 color = <LED_COLOR_ID_GREEN>;
147 pins = "gpio2", "gpio3", "gpio4";
157 phy-handle = <&phy1>;
165 phy-handle = <&phy2>;
173 phy-handle = <&phy3>;
181 phy-handle = <&phy4>;