1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "bcm6328.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
9 model = "D-Link DSL-2750U rev C1";
10 compatible = "d-link,dsl-2750u-c1", "brcm,bcm6328";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
20 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
21 stdout-path = "serial0:115200n8";
25 compatible = "gpio-keys-polled";
30 gpios = <&pinctrl 12 1>;
31 linux,code = <KEY_WLAN>;
32 debounce-interval = <60>;
37 gpios = <&pinctrl 23 1>;
38 linux,code = <KEY_RESTART>;
39 debounce-interval = <60>;
44 gpios = <&pinctrl 24 1>;
45 linux,code = <KEY_WPS_BUTTON>;
46 debounce-interval = <60>;
55 compatible = "jedec,spi-nor";
56 spi-max-frequency = <16666667>;
57 spi-tx-bus-width = <2>;
58 spi-rx-bus-width = <2>;
62 compatible = "fixed-partitions";
67 reg = <0x000000 0x010000>;
73 reg = <0x010000 0x7e0000>;
75 compatible = "brcm,bcm963xx-imagetag";
79 reg = <0x7f0000 0x010000>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_leds>;
98 led_power_green: led@4 {
101 function = LED_FUNCTION_POWER;
102 color = <LED_COLOR_ID_GREEN>;
103 default-state = "on";
115 function = LED_FUNCTION_POWER;
116 color = <LED_COLOR_ID_RED>;
122 function = LED_FUNCTION_WPS;
123 color = <LED_COLOR_ID_GREEN>;
129 function = LED_FUNCTION_USB;
130 color = <LED_COLOR_ID_GREEN>;
143 pins = "gpio1", "gpio4", "gpio7",
144 "gpio8", "gpio9", "gpio10",