brcm63xx: use more systematic names for image and DTS files
[oweals/openwrt.git] / target / linux / brcm63xx / dts / bcm6328-comtrend-ar-5387un.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Comtrend AR-5387un";
9         compatible = "comtrend,ar-5387un", "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
30         leds {
31                 compatible = "gpio-leds";
32
33                 inet_red {
34                         label = "AR-5387un:red:inet";
35                         gpios = <&pinctrl 1 0>;
36                 };
37                 power_red {
38                         label = "AR-5387un:red:power";
39                         gpios = <&pinctrl 4 0>;
40                 };
41                 inet_green {
42                         label = "AR-5387un:green:inet";
43                         gpios = <&pinctrl 7 0>;
44                 };
45                 power_green {
46                         label = "AR-5387un:green:power";
47                         gpios = <&pinctrl 8 0>;
48                         default-state = "on";
49                 };
50                 dsl_green {
51                         label = "AR-5387un:green:dsl";
52                         gpios = <&pinctrl 11 1>;
53                 };
54         };
55 };
56
57 &hsspi {
58         status = "ok";
59
60         flash@0 {
61                 compatible = "jedec,spi-nor";
62                 spi-max-frequency = <16666667>;
63                 spi-tx-bus-width = <2>;
64                 spi-rx-bus-width = <2>;
65                 reg = <0>;
66
67                 #address-cells = <1>;
68                 #size-cells = <1>;
69
70                 partitions {
71                         compatible = "fixed-partitions";
72                         #address-cells = <1>;
73                         #size-cells = <1>;
74
75                         cfe@0 {
76                                 reg = <0x000000 0x010000>;
77                                 label = "cfe";
78                                 read-only;
79                         };
80
81                         linux@10000 {
82                                 reg = <0x010000 0xfe0000>;
83                                 label = "linux";
84                                 compatible = "brcm,bcm963xx-imagetag";
85                         };
86
87                         nvram@ff0000 {
88                                 reg = <0xff0000 0x010000>;
89                                 label = "nvram";
90                         };
91                 };
92         };
93 };
94
95 &uart0 {
96         status = "ok";
97 };