brcm63xx: dts: Unify naming of gpio-led nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96318ref.dts
1 /dts-v1/;
2
3 #include "bcm6318.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Broadcom BCM96318REF reference board";
9 compatible = "brcm,bcm96318ref", "brcm,bcm6318";
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 wps {
23 label = "wps";
24 gpios = <&pinctrl 33 1>;
25 linux,code = <KEY_WPS_BUTTON>;
26 debounce-interval = <60>;
27 };
28
29 reset {
30 label = "reset";
31 gpios = <&pinctrl 34 1>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
34 };
35 };
36
37 leds {
38 compatible = "gpio-leds";
39
40 inet {
41 label = "96318REF:green:inet";
42 gpios = <&pinctrl 8 1>;
43 };
44
45 inet_fail {
46 label = "96318REF:red:inet-fail";
47 gpios = <&pinctrl 9 1>;
48 };
49
50 post_failed {
51 label = "96318REF:red:post-failed";
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 = <62500000>;
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 = "brcm,bcm963xx-cfe-nor-partitions";
72 };
73 };
74 };
75
76 &pinctrl {
77 pinctrl-names = "default";
78 pinctrl-0 = <&pinctrl_usb_pwron>;
79 };
80
81 &uart0 {
82 status = "ok";
83 };