419439d0278614fe48531d87687fa8f5900ea4e0
[openwrt/staging/kaloz.git] / target / linux / brcm63xx / dts / hg622.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Huawei HG622";
9 compatible = "huawei,hg622", "brcm,bcm6368";
10
11 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16
17 gpio-keys-polled {
18 compatible = "gpio-keys-polled";
19 #address-cells = <1>;
20 #size-cells = <0>;
21 poll-interval = <20>;
22 debounce-interval = <60>;
23
24 reset {
25 label = "reset";
26 gpios = <&pinctrl 34 1>;
27 linux,code = <KEY_RESTART>;
28 };
29 };
30
31 gpio-leds {
32 compatible = "gpio-leds";
33
34 dsl_green {
35 label = "HG622:green:dsl";
36 gpios = <&pinctrl 2 1>;
37 };
38 inet_green {
39 label = "HG622:green:inet";
40 gpios = <&pinctrl 5 1>;
41 };
42 usb_green {
43 label = "HG622:green:usb";
44 gpios = <&pinctrl 11 1>;
45 };
46 power_green {
47 label = "HG622:green:power";
48 gpios = <&pinctrl 22 1>;
49 default-state = "on";
50 };
51 };
52 };
53
54 &pflash {
55 status = "ok";
56
57 linux,part-probe = "bcm63xxpart";
58
59 cfe@0 {
60 label = "CFE";
61 reg = <0x000000 0x020000>;
62 read-only;
63 };
64
65 linux@20000 {
66 label = "linux";
67 reg = <0x020000 0xf80000>;
68 };
69
70 cal_data@fa0000 {
71 label = "cal_data";
72 reg = <0xfa0000 0x020000>;
73 read-only;
74 };
75
76 nvram@fe0000 {
77 label = "nvram";
78 reg = <0xfe0000 0x020000>;
79 };
80 };
81
82 &pinctrl {
83 pinctrl-names = "default";
84 pinctrl-0 = <&pinctrl_pci_gnt0 &pinctrl_pci_req0
85 &pinctrl_pci_intb &pinctrl_pci_gnt1
86 &pinctrl_pci_req1>;
87 };
88
89 &uart0 {
90 status = "ok";
91 };