814274b61107010d88a1c9a19f1daa7193de6f5d
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6328-adb-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 = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 keys {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21
22 reset {
23 label = "reset";
24 gpios = <&pinctrl 23 1>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
27 };
28
29 wps {
30 label = "wps";
31 gpios = <&pinctrl 24 1>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
34 };
35 };
36
37 leds {
38 compatible = "gpio-leds";
39
40 inet_red {
41 label = "A4001N:red:inet";
42 gpios = <&pinctrl 1 0>;
43 };
44 power_red {
45 label = "A4001N:red:power";
46 gpios = <&pinctrl 4 0>;
47 };
48 power_green {
49 label = "A4001N:green:power";
50 gpios = <&pinctrl 8 0>;
51 default-state = "on";
52 };
53 usb_green {
54 label = "A4001N:green:usb";
55 gpios = <&pinctrl 10 1>;
56 };
57 dsl_green {
58 label = "A4001N:green:dsl";
59 gpios = <&pinctrl 11 1>;
60 };
61 };
62 };
63
64 &hsspi {
65 status = "ok";
66
67 flash@0 {
68 compatible = "jedec,spi-nor";
69 spi-max-frequency = <16666667>;
70 spi-tx-bus-width = <2>;
71 spi-rx-bus-width = <2>;
72 reg = <0>;
73
74 partitions {
75 compatible = "fixed-partitions";
76 #address-cells = <1>;
77 #size-cells = <1>;
78
79 cfe@0 {
80 reg = <0x000000 0x010000>;
81 label = "cfe";
82 read-only;
83 };
84
85 linux@10000 {
86 reg = <0x010000 0x7e0000>;
87 label = "linux";
88 compatible = "brcm,bcm963xx-imagetag";
89 };
90
91 nvram@7f0000 {
92 reg = <0x7f0000 0x010000>;
93 label = "nvram";
94 };
95 };
96 };
97 };
98
99 &uart0 {
100 status = "ok";
101 };