bcm63xx: move dts-v1 statement to top-level DTSI files
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6358-comtrend-ct-6373.dts
1 #include "bcm6358.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 model = "Comtrend CT-6373";
7 compatible = "comtrend,ct-6373", "brcm,bcm6358";
8
9 chosen {
10 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
11 stdout-path = "serial0:115200n8";
12 };
13
14 keys {
15 compatible = "gpio-keys-polled";
16 #address-cells = <1>;
17 #size-cells = <0>;
18 poll-interval = <20>;
19
20 reset {
21 label = "reset";
22 gpios = <&pinctrl 35 1>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
25 };
26 };
27
28 leds {
29 compatible = "gpio-leds";
30
31 power_green {
32 label = "green:power";
33 gpios = <&pinctrl 0 0>;
34 default-state = "on";
35 };
36 usb_green {
37 label = "green:usb";
38 gpios = <&pinctrl 3 1>;
39 };
40 wlan_green {
41 label = "green:wlan";
42 gpios = <&pinctrl 9 1>;
43 };
44 };
45 };
46
47 &leds {
48 status = "okay";
49
50 pinctrl-names = "default";
51 pinctrl-0 = <&pinctrl_serial_led>;
52
53 led@0 {
54 reg = <0>;
55 active-low;
56 label = "green:adsl";
57 };
58
59 led@1 {
60 reg = <1>;
61 active-low;
62 label = "green:line";
63 };
64
65 led@2 {
66 reg = <2>;
67 active-low;
68 label = "green:fxs1";
69 };
70
71 led@3 {
72 reg = <3>;
73 active-low;
74 label = "green:fxs2";
75 };
76 };
77
78 &pflash {
79 status = "okay";
80
81 partitions {
82 compatible = "fixed-partitions";
83 #address-cells = <1>;
84 #size-cells = <1>;
85
86 cfe@0 {
87 label = "CFE";
88 reg = <0x000000 0x010000>;
89 read-only;
90 };
91
92 linux@10000 {
93 label = "linux";
94 reg = <0x010000 0x7e0000>;
95 compatible = "brcm,bcm963xx-imagetag";
96 };
97
98 nvram@7f0000 {
99 label = "nvram";
100 reg = <0x7f0000 0x010000>;
101 };
102 };
103 };
104
105 &uart0 {
106 status = "okay";
107 };