brcm63xx: register SPI controllers through DT
[openwrt/openwrt.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 };
14
15
16 gpio-keys-polled {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21 debounce-interval = <60>;
22
23 reset {
24 label = "reset";
25 gpios = <&gpio1 2 1>;
26 linux,code = <KEY_RESTART>;
27 };
28 };
29
30 gpio-leds {
31 compatible = "gpio-leds";
32
33 dsl_green {
34 label = "HG622:green:dsl";
35 gpios = <&gpio0 2 1>;
36 };
37 inet_green {
38 label = "HG622:green:inet";
39 gpios = <&gpio0 5 1>;
40 };
41 usb_green {
42 label = "HG622:green:usb";
43 gpios = <&gpio0 11 1>;
44 };
45 power_green {
46 label = "HG622:green:power";
47 gpios = <&gpio0 22 1>;
48 default-state = "on";
49 };
50 };
51 };
52
53 &pflash {
54 status = "ok";
55
56 linux,part-probe = "bcm63xxpart";
57
58 cfe@0 {
59 label = "CFE";
60 reg = <0x000000 0x020000>;
61 read-only;
62 };
63
64 linux@20000 {
65 label = "linux";
66 reg = <0x020000 0xf80000>;
67 };
68
69 cal_data@fa0000 {
70 label = "cal_data";
71 reg = <0xfa0000 0x020000>;
72 read-only;
73 };
74
75 nvram@fe0000 {
76 label = "nvram";
77 reg = <0xfe0000 0x020000>;
78 };
79 };