bcm63xx: move dts-v1 statement to top-level DTSI files
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6348-comtrend-ct-5365.dts
1 #include "bcm6348.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 model = "Comtrend CT-5365";
7 compatible = "comtrend,ct-5365", "brcm,bcm6348";
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 33 1>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
25 };
26
27 wlan {
28 label = "wlan";
29 gpios = <&pinctrl 34 1>;
30 linux,code = <KEY_WLAN>;
31 debounce-interval = <60>;
32 };
33
34 wps {
35 label = "wps";
36 gpios = <&pinctrl 35 1>;
37 linux,code = <KEY_WPS_BUTTON>;
38 debounce-interval = <60>;
39 };
40 };
41
42 leds {
43 compatible = "gpio-leds";
44
45 power_green {
46 label = "green:power";
47 gpios = <&pinctrl 0 1>;
48 default-state = "on";
49 };
50 alarm_red {
51 label = "red:alarm";
52 gpios = <&pinctrl 2 1>;
53 };
54 wps_green {
55 label = "green:wps";
56 gpios = <&pinctrl 6 1>;
57 };
58 };
59 };
60
61 &pflash {
62 status = "okay";
63
64 partitions {
65 compatible = "fixed-partitions";
66 #address-cells = <1>;
67 #size-cells = <1>;
68
69 cfe@0 {
70 label = "CFE";
71 reg = <0x000000 0x010000>;
72 read-only;
73 };
74
75 linux@10000 {
76 label = "linux";
77 reg = <0x010000 0x3e0000>;
78 compatible = "brcm,bcm963xx-imagetag";
79 };
80
81 nvram@3f0000 {
82 label = "nvram";
83 reg = <0x3f0000 0x010000>;
84 };
85 };
86 };
87
88 &pinctrl {
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
91 };
92
93 &uart0 {
94 status = "okay";
95 };