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;
15 led-dsl = &led_dsl_green;
16 led-internet = &led_internet_green;
17 led-usb = &led_usb_green;
21 compatible = "gpio-keys-polled";
26 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_WPS_BUTTON>;
28 debounce-interval = <60>;
33 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
35 debounce-interval = <60>;
40 compatible = "brcm,bcma-sprom";
45 nvmem-cells = <&macaddr_cfe_6a0>;
46 nvmem-cell-names = "mac-address";
47 mac-address-increment = <1>;
49 brcm,sprom = "brcm/bcm43217-sprom.bin";
50 brcm,sprom-fixups = <6 0x1c00>,
71 nvmem-cells = <&macaddr_cfe_6a0>;
72 nvmem-cell-names = "mac-address";
79 compatible = "jedec,spi-nor";
80 spi-max-frequency = <62500000>;
81 spi-tx-bus-width = <2>;
82 spi-rx-bus-width = <2>;
89 compatible = "fixed-partitions";
94 reg = <0x000000 0x010000>;
100 compatible = "brcm,bcm963xx-imagetag";
101 reg = <0x010000 0xfe0000>;
106 reg = <0xff0000 0x010000>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_leds
118 &pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
119 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
127 led_power_green: led@1 {
130 label = "green:power";
133 led_usb_green: led@2 {
141 brcm,hardware-controlled;
142 brcm,link-signal-sources = <4>;
148 brcm,hardware-controlled;
149 brcm,link-signal-sources = <5>;
155 brcm,hardware-controlled;
156 brcm,link-signal-sources = <6>;
162 brcm,hardware-controlled;
163 brcm,link-signal-sources = <7>;
167 led_internet_green: led@8 {
170 label = "green:internet";
176 label = "red:internet";
179 led_dsl_green: led@10 {
185 led_power_red: led@11 {
203 pins = "gpio0", "gpio1",
216 phy-handle = <&phy1>;
224 phy-handle = <&phy2>;
232 phy-handle = <&phy3>;
240 phy-handle = <&phy4>;
255 compatible = "nvmem-cells";
256 #address-cells = <1>;
259 macaddr_cfe_6a0: macaddr@6a0 {