brcm63xx: dts: Unify naming of gpio-led nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / hg520v.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Huawei EchoLife HG520v";
9 compatible = "huawei,hg520v", "brcm,bcm6358";
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 37 1>;
25 linux,code = <KEY_RESTART>;
26 debounce-interval = <60>;
27 };
28 };
29
30 leds {
31 compatible = "gpio-leds";
32
33 inet_green {
34 label = "HW520:green:net";
35 gpios = <&pinctrl 32 1>;
36 };
37 };
38 };
39
40 &pflash {
41 status = "ok";
42
43 partitions {
44 compatible = "fixed-partitions";
45 #address-cells = <1>;
46 #size-cells = <1>;
47
48 cfe@0 {
49 label = "CFE";
50 reg = <0x000000 0x010000>;
51 read-only;
52 };
53
54 linux@10000 {
55 label = "linux";
56 reg = <0x010000 0x3e0000>;
57 compatible = "brcm,bcm963xx-imagetag";
58 };
59
60 nvram@3f0000 {
61 label = "nvram";
62 reg = <0x3f0000 0x010000>;
63 };
64 };
65 };
66
67 &uart0 {
68 status = "ok";
69 };