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>;
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
55 led_power_green: led@22 {
56 label = "green:power";
57 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
62 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
65 led_power_red: led@24 {
67 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
72 label = "red:internet";
73 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
78 compatible = "brcm,ssb-sprom";
83 nvmem-cells = <&macaddr_cfe_6a0 1>;
84 nvmem-cell-names = "mac-address";
86 brcm,sprom = "brcm/bcm4322-sprom.bin";
87 brcm,sprom-fixups = <97 0xfeed>,
103 nvmem-cells = <&macaddr_cfe_6a0 0>;
104 nvmem-cell-names = "mac-address";
111 compatible = "brcm,bcm53115";
113 spi-max-frequency = <781000>;
117 #address-cells = <1>;
149 ethernet = <&switch0port4>;
164 compatible = "fixed-partitions";
165 #address-cells = <1>;
170 reg = <0x000000 0x010000>;
174 compatible = "fixed-layout";
175 #address-cells = <1>;
178 macaddr_cfe_6a0: macaddr@6a0 {
179 compatible = "mac-base";
181 #nvmem-cell-cells = <1>;
188 reg = <0x010000 0x7e0000>;
189 compatible = "brcm,bcm963xx-imagetag";
194 reg = <0x7f0000 0x010000>;
211 switch0port4: port@4 {