60bf25fb7cf9601b1ae360be0feb38e2e481cb17
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / ct-6373.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Comtrend CT-6373";
9 compatible = "comtrend,ct-6373", "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
22 reset {
23 label = "reset";
24 gpios = <&pinctrl 35 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 = "CT6373-1:green:power";
35 gpios = <&pinctrl 0 0>;
36 default-state = "on";
37 };
38 usb_green {
39 label = "CT6373-1:green:usb";
40 gpios = <&pinctrl 3 1>;
41 };
42 wlan_green {
43 label = "CT6373-1:green:wlan";
44 gpios = <&pinctrl 9 1>;
45 };
46 };
47 };
48
49 &leds {
50 status = "ok";
51
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_serial_led>;
54
55 led@0 {
56 reg = <0>;
57 active-low;
58 label = "CT6373-1:green:adsl";
59 };
60
61 led@1 {
62 reg = <1>;
63 active-low;
64 label = "CT6373-1:green:line";
65 };
66
67 led@2 {
68 reg = <2>;
69 active-low;
70 label = "CT6373-1:green:fxs1";
71 };
72
73 led@3 {
74 reg = <3>;
75 active-low;
76 label = "CT6373-1:green:fxs2";
77 };
78 };
79
80 &pflash {
81 status = "ok";
82
83 partitions {
84 compatible = "fixed-partitions";
85 #address-cells = <1>;
86 #size-cells = <1>;
87
88 cfe@0 {
89 label = "CFE";
90 reg = <0x000000 0x010000>;
91 read-only;
92 };
93
94 linux@10000 {
95 label = "linux";
96 reg = <0x010000 0x7e0000>;
97 compatible = "brcm,bcm963xx-imagetag";
98 };
99
100 nvram@7f0000 {
101 label = "nvram";
102 reg = <0x7f0000 0x010000>;
103 };
104 };
105 };
106
107 &uart0 {
108 status = "ok";
109 };