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_green;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
17 device_type = "memory";
18 reg = <0x00000000 0x04000000>;
22 compatible = "gpio-keys-polled";
27 gpios = <&pinctrl 3 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_WPS_BUTTON>;
29 debounce-interval = <60>;
34 gpios = <&pinctrl 33 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
36 debounce-interval = <60>;
49 compatible = "jedec,spi-nor";
50 spi-max-frequency = <62500000>;
51 spi-tx-bus-width = <2>;
52 spi-rx-bus-width = <2>;
59 compatible = "fixed-partitions";
64 reg = <0x000000 0x010000>;
70 compatible = "brcm,bcm963xx-imagetag";
71 reg = <0x010000 0xfe0000>;
76 reg = <0xff0000 0x010000>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_leds
88 &pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
89 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
97 led_power_green: led@1 {
100 label = "green:power";
111 brcm,hardware-controlled;
112 brcm,link-signal-sources = <4>;
118 brcm,hardware-controlled;
119 brcm,link-signal-sources = <5>;
125 brcm,hardware-controlled;
126 brcm,link-signal-sources = <6>;
132 brcm,hardware-controlled;
133 brcm,link-signal-sources = <7>;
140 label = "green:internet";
146 label = "red:internet";
169 pins = "gpio0", "gpio1",