1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6328.dtsi"
6 model = "Comtrend AR-5387un";
7 compatible = "comtrend,ar-5387un", "brcm,bcm6328";
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_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 = <2 0x05bb>,
72 nvmem-cells = <&macaddr_cfe_6a0 0>;
73 nvmem-cell-names = "mac-address";
80 compatible = "jedec,spi-nor";
81 spi-max-frequency = <16666667>;
82 spi-tx-bus-width = <2>;
83 spi-rx-bus-width = <2>;
90 compatible = "fixed-partitions";
95 reg = <0x000000 0x010000>;
100 compatible = "fixed-layout";
101 #address-cells = <1>;
104 macaddr_cfe_6a0: macaddr@6a0 {
105 compatible = "mac-base";
107 #nvmem-cell-cells = <1>;
113 compatible = "brcm,bcm963xx-imagetag";
114 reg = <0x010000 0xfe0000>;
119 reg = <0xff0000 0x010000>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pinctrl_leds>;
134 label = "red:internet";
137 led_power_red: led@4 {
145 label = "green:internet";
148 led_power_green: led@8 {
150 label = "green:power";
171 pins = "gpio1", "gpio4", "gpio7",
182 phy-handle = <&phy1>;
190 phy-handle = <&phy2>;
198 phy-handle = <&phy3>;
206 phy-handle = <&phy4>;