brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / a4001n.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "ADB P.DG A4001N";
9 compatible = "adb,a4001n", "brcm,bcm6328";
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 = <&gpio0 23 1>;
25 linux,code = <KEY_RESTART>;
26 };
27 wps {
28 label = "wps";
29 gpios = <&gpio0 24 1>;
30 linux,code = <KEY_WPS_BUTTON>;
31 };
32 };
33
34 gpio-leds {
35 compatible = "gpio-leds";
36
37 inet_red {
38 label = "A4001N:red:inet";
39 gpios = <&gpio0 1 0>;
40 };
41 power_red {
42 label = "A4001N:red:power";
43 gpios = <&gpio0 4 0>;
44 };
45 power_green {
46 label = "A4001N:green:power";
47 gpios = <&gpio0 8 0>;
48 default-state = "on";
49 };
50 usb_green {
51 label = "A4001N:green:usb";
52 gpios = <&gpio0 10 1>;
53 };
54 dsl_green {
55 label = "A4001N:green:dsl";
56 gpios = <&gpio0 11 1>;
57 };
58 };
59 };