1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "bcm6368.dtsi"
6 model = "Comtrend WAP-5813n";
7 compatible = "comtrend,wap-5813n", "brcm,bcm6369", "brcm,bcm6368";
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 32 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WLAN>;
24 debounce-interval = <60>;
29 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
36 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_WPS_BUTTON>;
38 debounce-interval = <60>;
43 compatible = "gpio-leds";
46 label = "green:internet";
47 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
51 function = LED_FUNCTION_USB;
52 color = <LED_COLOR_ID_GREEN>;
53 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
56 led_power_green: led@22 {
57 function = LED_FUNCTION_POWER;
58 color = <LED_COLOR_ID_GREEN>;
59 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
63 function = LED_FUNCTION_WPS;
64 color = <LED_COLOR_ID_GREEN>;
65 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
68 led_power_red: led@24 {
69 function = LED_FUNCTION_POWER;
70 color = <LED_COLOR_ID_RED>;
71 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
76 label = "red:internet";
77 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
82 compatible = "brcm,ssb-sprom";
87 nvmem-cells = <&macaddr_cfe_6a0 1>;
88 nvmem-cell-names = "mac-address";
90 brcm,sprom = "brcm/bcm4322-sprom.bin";
91 brcm,sprom-fixups = <97 0xfeed>,
107 nvmem-cells = <&macaddr_cfe_6a0 0>;
108 nvmem-cell-names = "mac-address";
115 compatible = "brcm,bcm53115";
117 spi-max-frequency = <781000>;
121 #address-cells = <1>;
153 ethernet = <&switch0port4>;
168 compatible = "fixed-partitions";
169 #address-cells = <1>;
174 reg = <0x000000 0x010000>;
178 compatible = "fixed-layout";
179 #address-cells = <1>;
182 macaddr_cfe_6a0: macaddr@6a0 {
183 compatible = "mac-base";
185 #nvmem-cell-cells = <1>;
192 reg = <0x010000 0x7e0000>;
193 compatible = "brcm,bcm963xx-imagetag";
198 reg = <0x7f0000 0x010000>;
215 switch0port4: port@4 {