brcm47xx: rename target to bcm47xx
[oweals/openwrt.git] / target / linux / brcm63xx / dts / bcm6338-d-link-dsl-2640u.dts
1 /dts-v1/;
2
3 #include "bcm6338.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "D-Link DSL-2640U/BRU/C";
9         compatible = "d-link,dsl-2640u", "brcm,bcm6338";
10
11         chosen {
12                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         leds {
17                 compatible = "gpio-leds";
18
19                 green_power {
20                         label = "96338W2_E7T:green:power";
21                         gpios = <&gpio0 0 1>;
22                         default-state = "on";
23                 };
24
25                 green_stop {
26                         label = "96338W2_E7T:green:ppp";
27                         gpios = <&gpio0 4 1>;
28                 };
29
30                 green_adsl {
31                         label = "96338W2_E7T:green:ppp-fail";
32                         gpios = <&gpio0 5 1>;
33                 };
34         };
35 };
36
37 &pflash {
38         status = "ok";
39
40         partitions {
41                 compatible = "fixed-partitions";
42                 #address-cells = <1>;
43                 #size-cells = <1>;
44
45                 cfe@0 {
46                         label = "CFE";
47                         reg = <0x000000 0x010000>;
48                         read-only;
49                 };
50
51                 linux@10000 {
52                         label = "linux";
53                         reg = <0x010000 0x3e0000>;
54                         compatible = "brcm,bcm963xx-imagetag";
55                 };
56
57                 nvram@3f0000 {
58                         label = "nvram";
59                         reg = <0x3f0000 0x010000>;
60                 };
61         };
62 };
63
64 &uart0 {
65         status = "ok";
66 };