brcm63xx: register SPI controllers through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / ct-5365.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Comtrend CT-5365";
9 compatible = "comtrend,ct-5365", "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 = <&gpio1 1 1>;
25 linux,code = <KEY_RESTART>;
26 };
27 wlan {
28 label = "wlan";
29 gpios = <&gpio1 2 1>;
30 linux,code = <KEY_WLAN>;
31 };
32 wps {
33 label = "wps";
34 gpios = <&gpio1 3 1>;
35 linux,code = <KEY_WPS_BUTTON>;
36 };
37 };
38
39 gpio-leds {
40 compatible = "gpio-leds";
41
42 power_green {
43 label = "96348A-122:green:power";
44 gpios = <&gpio0 0 1>;
45 default-state = "on";
46 };
47 alarm_red {
48 label = "96348A-122:red:alarm";
49 gpios = <&gpio0 2 1>;
50 };
51 wps_green {
52 label = "96348A-122:green:wps";
53 gpios = <&gpio0 6 1>;
54 };
55 };
56 };
57
58 &pflash {
59 status = "ok";
60
61 linux,part-probe = "bcm63xxpart";
62
63 cfe@0 {
64 label = "CFE";
65 reg = <0x000000 0x010000>;
66 read-only;
67 };
68
69 linux@10000 {
70 label = "linux";
71 reg = <0x010000 0x3e0000>;
72 };
73
74 nvram@3f0000 {
75 label = "nvram";
76 reg = <0x3f0000 0x010000>;
77 };
78 };