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