1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6318.dtsi"
6 model = "Comtrend AR-5315u";
7 compatible = "comtrend,ar-5315u", "brcm,bcm6318";
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 3 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
24 debounce-interval = <60>;
29 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
36 compatible = "brcm,bcma-sprom";
41 nvmem-cells = <&macaddr_cfe_6a0>;
42 nvmem-cell-names = "mac-address";
43 mac-address-increment = <1>;
45 brcm,sprom = "brcm/bcm43217-sprom.bin";
46 brcm,sprom-fixups = <6 0x1c00>,
67 nvmem-cells = <&macaddr_cfe_6a0>;
68 nvmem-cell-names = "mac-address";
75 compatible = "jedec,spi-nor";
76 spi-max-frequency = <62500000>;
77 spi-tx-bus-width = <2>;
78 spi-rx-bus-width = <2>;
85 compatible = "fixed-partitions";
90 reg = <0x000000 0x010000>;
96 compatible = "brcm,bcm963xx-imagetag";
97 reg = <0x010000 0xfe0000>;
102 reg = <0xff0000 0x010000>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_leds
114 &pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
115 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
123 led_power_green: led@1 {
126 label = "green:power";
138 brcm,hardware-controlled;
139 brcm,link-signal-sources = <4>;
145 brcm,hardware-controlled;
146 brcm,link-signal-sources = <5>;
152 brcm,hardware-controlled;
153 brcm,link-signal-sources = <6>;
159 brcm,hardware-controlled;
160 brcm,link-signal-sources = <7>;
166 label = "green:internet";
172 label = "red:internet";
181 led_power_red: led@11 {
200 pins = "gpio0", "gpio1",
213 phy-handle = <&phy1>;
221 phy-handle = <&phy2>;
229 phy-handle = <&phy3>;
237 phy-handle = <&phy4>;
252 compatible = "nvmem-cells";
253 #address-cells = <1>;
256 macaddr_cfe_6a0: macaddr@6a0 {