0af695d90226d2c46fec4b6a5ebf4631142ea1be
[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 = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 gpio-keys-polled {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19 poll-interval = <20>;
20 debounce-interval = <60>;
21
22 reset {
23 label = "reset";
24 gpios = <&pinctrl 6 1>;
25 linux,code = <KEY_RESTART>;
26 };
27 };
28
29 gpio-leds {
30 compatible = "gpio-leds";
31
32 power_green {
33 label = "96348W3:green:power";
34 gpios = <&pinctrl 0 1>;
35 default-state = "on";
36 };
37 status {
38 label = "96348W3:red:power";
39 gpios = <&pinctrl 1 1>;
40 };
41 inet_green {
42 label = "96348W3::adsl";
43 gpios = <&pinctrl 2 1>;
44 };
45 inet_red {
46 label = "96348W3::internet";
47 gpios = <&pinctrl 3 1>;
48 };
49 };
50 };
51
52 &pflash {
53 status = "ok";
54
55 linux,part-probe = "bcm63xxpart";
56
57 cfe@0 {
58 label = "CFE";
59 reg = <0x000000 0x010000>;
60 read-only;
61 };
62
63 linux@10000 {
64 label = "linux";
65 reg = <0x010000 0x3e0000>;
66 };
67
68 nvram@3f0000 {
69 label = "nvram";
70 reg = <0x3f0000 0x010000>;
71 };
72 };
73
74 &pinctrl {
75 pinctrl-names = "default";
76 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
77 };