bc8750577c99dd5bee4aeee6d34d08e2ba64ec06
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / dva-g3810bn_tl.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "D-Link DVA-G3810BN/TL";
9 compatible = "d-link,dva-g3810bn/tl", "brcm,bcm6358";
10
11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 gpio-keys-polled {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21 debounce-interval = <60>;
22
23 reset {
24 label = "reset";
25 gpios = <&pinctrl 34 1>;
26 linux,code = <KEY_RESTART>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 voip {
34 label = "DVAG3810BN::voip";
35 gpios = <&pinctrl 1 0>;
36 };
37 power {
38 label = "DVAG3810BN::power";
39 gpios = <&pinctrl 4 0>;
40 default-state = "on";
41 };
42 stop {
43 label = "DVAG3810BN::stop";
44 gpios = <&pinctrl 5 0>;
45 };
46 dsl {
47 label = "DVAG3810BN::dsl";
48 gpios = <&pinctrl 22 1>;
49 };
50 inet {
51 label = "DVAG3810BN::internet";
52 gpios = <&pinctrl 23 1>;
53 };
54 };
55 };
56
57 &pflash {
58 status = "ok";
59
60 partitions {
61 compatible = "fixed-partitions";
62 #address-cells = <1>;
63 #size-cells = <1>;
64
65 cfe@0 {
66 label = "CFE";
67 reg = <0x000000 0x010000>;
68 read-only;
69 };
70
71 linux@10000 {
72 label = "linux";
73 reg = <0x010000 0x7e0000>;
74 compatible = "brcm,bcm963xx-imagetag";
75 };
76
77 nvram@7f0000 {
78 label = "nvram";
79 reg = <0x7f0000 0x010000>;
80 };
81 };
82 };
83
84 &uart0 {
85 status = "ok";
86 };