1 #include "bcm6318.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 model = "Comtrend AR-5315u";
8 compatible = "comtrend,ar-5315u", "brcm,bcm6318";
11 led-boot = &led_power_green;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_green;
18 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
19 stdout-path = "serial0:115200n8";
23 compatible = "gpio-keys-polled";
30 gpios = <&pinctrl 3 1>;
31 linux,code = <KEY_WPS_BUTTON>;
32 debounce-interval = <60>;
37 gpios = <&pinctrl 33 1>;
38 linux,code = <KEY_RESTART>;
39 debounce-interval = <60>;
48 compatible = "jedec,spi-nor";
49 spi-max-frequency = <62500000>;
50 spi-tx-bus-width = <2>;
51 spi-rx-bus-width = <2>;
58 compatible = "fixed-partitions";
63 reg = <0x000000 0x010000>;
69 reg = <0x010000 0xfe0000>;
71 compatible = "brcm,bcm963xx-imagetag";
75 reg = <0xff0000 0x010000>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_leds
87 &pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
88 &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
93 function = LED_FUNCTION_WPS;
94 color = <LED_COLOR_ID_GREEN>;
97 led_power_green: led@1 {
100 function = LED_FUNCTION_POWER;
101 color = <LED_COLOR_ID_GREEN>;
102 default-state = "on";
108 function = LED_FUNCTION_USB;
109 color = <LED_COLOR_ID_GREEN>;
114 brcm,hardware-controlled;
115 brcm,link-signal-sources = <4>;
121 brcm,hardware-controlled;
122 brcm,link-signal-sources = <5>;
128 brcm,hardware-controlled;
129 brcm,link-signal-sources = <6>;
135 brcm,hardware-controlled;
136 brcm,link-signal-sources = <7>;
143 label = "green:inet";
161 function = LED_FUNCTION_POWER;
162 color = <LED_COLOR_ID_RED>;
169 pins = "gpio0", "gpio1",