brcm63xx: dts: Unify naming of gpio-led nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / 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 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 alarm_red {
34 label = "AR-5381u:red:alarm";
35 gpios = <&pinctrl 2 1>;
36 };
37 inet_green {
38 label = "AR-5381u:green:inet";
39 gpios = <&pinctrl 3 1>;
40 };
41 power_green {
42 label = "AR-5381u:green:power";
43 gpios = <&pinctrl 4 1>;
44 default-state = "on";
45 };
46 };
47 };
48
49 &hsspi {
50 status = "ok";
51
52 flash@0 {
53 compatible = "jedec,spi-nor";
54 spi-max-frequency = <16666667>;
55 spi-tx-bus-width = <2>;
56 spi-rx-bus-width = <2>;
57 reg = <0>;
58
59 #address-cells = <1>;
60 #size-cells = <1>;
61
62 partitions {
63 compatible = "fixed-partitions";
64 #address-cells = <1>;
65 #size-cells = <1>;
66
67 cfe@0 {
68 reg = <0x000000 0x010000>;
69 label = "cfe";
70 read-only;
71 };
72
73 linux@10000 {
74 reg = <0x010000 0xfe0000>;
75 label = "linux";
76 compatible = "brcm,bcm963xx-imagetag";
77 };
78
79 nvram@ff0000 {
80 reg = <0xff0000 0x010000>;
81 label = "nvram";
82 };
83 };
84 };
85 };
86
87 &uart0 {
88 status = "ok";
89 };