bcm63xx: use generic diag.sh
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6348-asmax-ar-1004g.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "ASMAX AR 1004g";
9 compatible = "asmax,ar-1004g", "brcm,bcm6348";
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 33 1>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
34 };
35 };
36
37 leds {
38 compatible = "gpio-leds";
39
40 led_power_green: power_green {
41 label = "AR1004G:green:power";
42 gpios = <&pinctrl 0 1>;
43 default-state = "on";
44 };
45 inet_green {
46 label = "AR1004G:green:inet";
47 gpios = <&pinctrl 3 1>;
48 };
49 power_red {
50 label = "AR1004G:red:power";
51 gpios = <&pinctrl 6 1>;
52 };
53 };
54 };
55
56 &pflash {
57 status = "ok";
58
59 partitions {
60 compatible = "fixed-partitions";
61 #address-cells = <1>;
62 #size-cells = <1>;
63
64 cfe@0 {
65 label = "CFE";
66 reg = <0x000000 0x010000>;
67 read-only;
68 };
69
70 linux@10000 {
71 label = "linux";
72 reg = <0x010000 0x3e0000>;
73 compatible = "brcm,bcm963xx-imagetag";
74 };
75
76 nvram@3f0000 {
77 label = "nvram";
78 reg = <0x3f0000 0x010000>;
79 };
80 };
81 };
82
83 &pinctrl {
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_ext_mii &pinctrl_pci>;
86 };
87
88 &uart0 {
89 status = "ok";
90 };