bcm63xx: use generic diag.sh
[openwrt/staging/mans0n.git] / target / linux / bcm63xx / dts / bcm6328-comtrend-ar-5381u.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Comtrend AR-5381u";
9 compatible = "comtrend,ar-5381u", "brcm,bcm6328";
10
11 aliases {
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_green;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_green;
16 };
17
18 chosen {
19 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
20 stdout-path = "serial0:115200n8";
21 };
22
23 keys {
24 compatible = "gpio-keys-polled";
25 #address-cells = <1>;
26 #size-cells = <0>;
27 poll-interval = <20>;
28
29 reset {
30 label = "reset";
31 gpios = <&pinctrl 23 1>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
34 };
35 };
36
37 leds {
38 compatible = "gpio-leds";
39
40 alarm_red {
41 label = "AR-5381u:red:alarm";
42 gpios = <&pinctrl 2 1>;
43 };
44 inet_green {
45 label = "AR-5381u:green:inet";
46 gpios = <&pinctrl 3 1>;
47 };
48 led_power_green: power_green {
49 label = "AR-5381u:green:power";
50 gpios = <&pinctrl 4 1>;
51 default-state = "on";
52 };
53 };
54 };
55
56 &hsspi {
57 status = "ok";
58
59 flash@0 {
60 compatible = "jedec,spi-nor";
61 spi-max-frequency = <16666667>;
62 spi-tx-bus-width = <2>;
63 spi-rx-bus-width = <2>;
64 reg = <0>;
65
66 #address-cells = <1>;
67 #size-cells = <1>;
68
69 partitions {
70 compatible = "fixed-partitions";
71 #address-cells = <1>;
72 #size-cells = <1>;
73
74 cfe@0 {
75 reg = <0x000000 0x010000>;
76 label = "cfe";
77 read-only;
78 };
79
80 linux@10000 {
81 reg = <0x010000 0xfe0000>;
82 label = "linux";
83 compatible = "brcm,bcm963xx-imagetag";
84 };
85
86 nvram@ff0000 {
87 reg = <0xff0000 0x010000>;
88 label = "nvram";
89 };
90 };
91 };
92 };
93
94 &uart0 {
95 status = "ok";
96 };