brcm63xx: move the bootargs into the dtb files
[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 = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 spi-gpio {
16 #address-cells = <1>;
17 #size-cells = <1>;
18 compatible = "spi-gpio";
19
20 gpio-mosi = <&gpio0 7 0>;
21 gpio-sck = <&gpio0 6 0>;
22 num-chipselects = <0>;
23
24 hc595: gpio-spi-controller@0 {
25 compatible = "fairchild,74hc595";
26 reg = <0>;
27 registers-number = <1>;
28 spi-max-frequency = <100000>;
29
30 gpio-controller;
31 #gpio-cells = <2>;
32 };
33 };
34
35 gpio-keys-polled {
36 compatible = "gpio-keys-polled";
37 #address-cells = <1>;
38 #size-cells = <0>;
39 poll-interval = <20>;
40 debounce-interval = <60>;
41
42 reset {
43 label = "reset";
44 gpios = <&gpio1 3 1>;
45 linux,code = <KEY_RESTART>;
46 };
47 };
48
49 gpio-leds {
50 compatible = "gpio-leds";
51
52 power_green {
53 label = "CT6373-1:green:power";
54 gpios = <&gpio0 0 0>;
55 default-state = "on";
56 };
57 usb_green {
58 label = "CT6373-1:green:usb";
59 gpios = <&gpio0 3 1>;
60 };
61 wlan_green {
62 label = "CT6373-1:green:wlan";
63 gpios = <&gpio0 9 1>;
64 };
65 dsl_green {
66 label = "CT6373-1:green:adsl";
67 gpios = <&hc595 0 1>;
68 };
69 line_green {
70 label = "CT6373-1:green:line";
71 gpios = <&hc595 1 1>;
72 };
73 fxs1_green {
74 label = "CT6373-1:green:fxs1";
75 gpios = <&hc595 2 1>;
76 };
77 fxs2_green {
78 label = "CT6373-1:green:fxs2";
79 gpios = <&hc595 3 1>;
80 };
81 };
82 };
83
84 &pflash {
85 status = "ok";
86
87 linux,part-probe = "bcm63xxpart";
88
89 cfe@0 {
90 label = "CFE";
91 reg = <0x000000 0x010000>;
92 read-only;
93 };
94
95 linux@10000 {
96 label = "linux";
97 reg = <0x010000 0x7e0000>;
98 };
99
100 nvram@7f0000 {
101 label = "nvram";
102 reg = <0x7f0000 0x010000>;
103 };
104 };