brcm63xx: use bcm6328 and bcm6358 LED drivers
[openwrt/staging/noltari.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 = <&pinctrl 23 1>;
25 linux,code = <KEY_RESTART>;
26 };
27 wps {
28 label = "wps";
29 gpios = <&pinctrl 24 1>;
30 linux,code = <KEY_WPS_BUTTON>;
31 };
32 };
33 };
34
35 &leds0 {
36 status = "ok";
37
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_leds>;
40
41 inet_red@1 {
42 reg = <1>;
43 label = "A4001N:red:inet";
44 };
45 power_red@4 {
46 reg = <4>;
47 label = "A4001N:red:power";
48 };
49 inet_green@7 {
50 reg = <7>;
51 label = "A4001N:green:inet";
52 };
53 power_green@8 {
54 reg = <8>;
55 label = "A4001N:green:power";
56 default-state = "on";
57 };
58 usb_green@10 {
59 reg = <10>;
60 active-low;
61 label = "A4001N:green:usb";
62 };
63 dsl_green@11 {
64 reg = <11>;
65 active-low;
66 label = "A4001N:green:dsl";
67 };
68 };
69
70 &pinctrl {
71 pinctrl_leds: leds {
72 function = "led";
73 pins = "gpio1", "gpio4", "gpio7", "gpio8", "gpio10", "gpio11";
74 };
75 };