base-files: sysupgrade: fix streaming backup archives to stdout
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6348-d-link-dsl-2640b-b.dts
1 #include "bcm6348.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "D-Link DSL-2640B rev B2";
8 compatible = "d-link,dsl-2640b-b", "brcm,bcm6348";
9
10 aliases {
11 led-boot = &led_power_green;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_green;
15 };
16
17 chosen {
18 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
19 stdout-path = "serial0:115200n8";
20 };
21
22 keys {
23 compatible = "gpio-keys-polled";
24 #address-cells = <1>;
25 #size-cells = <0>;
26 poll-interval = <20>;
27
28 reset {
29 label = "reset";
30 gpios = <&pinctrl 7 1>;
31 linux,code = <KEY_RESTART>;
32 debounce-interval = <60>;
33 };
34 };
35
36 leds {
37 compatible = "gpio-leds";
38
39 led_power_green: power_green {
40 function = LED_FUNCTION_POWER;
41 color = <LED_COLOR_ID_GREEN>;
42 gpios = <&pinctrl 0 1>;
43 default-state = "on";
44 };
45 status {
46 label = "status";
47 gpios = <&pinctrl 3 1>;
48 };
49 inet_green {
50 label = "green:internet";
51 gpios = <&pinctrl 4 1>;
52 };
53 inet_red {
54 label = "red:internet";
55 gpios = <&pinctrl 5 1>;
56 };
57 };
58 };
59
60 &pflash {
61 status = "okay";
62
63 partitions {
64 compatible = "fixed-partitions";
65 #address-cells = <1>;
66 #size-cells = <1>;
67
68 cfe@0 {
69 label = "CFE";
70 reg = <0x000000 0x010000>;
71 read-only;
72 };
73
74 linux@10000 {
75 label = "linux";
76 reg = <0x010000 0x3e0000>;
77 compatible = "brcm,bcm963xx-imagetag";
78 };
79
80 nvram@3f0000 {
81 label = "nvram";
82 reg = <0x3f0000 0x010000>;
83 };
84 };
85 };
86
87 &pinctrl {
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
90 };
91
92 &uart0 {
93 status = "okay";
94 };