2d19eeaeeec412183953aaa1aebb4c7b95b163df
[oweals/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 = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         gpio-keys-polled {
17                 compatible = "gpio-keys-polled";
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20                 poll-interval = <20>;
21                 debounce-interval = <60>;
22
23                 wps {
24                         label = "wps";
25                         gpios = <&pinctrl 33 1>;
26                         linux,code = <KEY_WPS_BUTTON>;
27                 };
28
29                 reset {
30                         label = "reset";
31                         gpios = <&pinctrl 34 1>;
32                         linux,code = <KEY_RESTART>;
33                 };
34         };
35
36         gpio-leds {
37                 compatible = "gpio-leds";
38
39                 inet {
40                         label = "96318REF:green:inet";
41                         gpios = <&pinctrl 8 1>;
42                 };
43
44                 inet_fail {
45                         label = "96318REF:red:inet-fail";
46                         gpios = <&pinctrl 9 1>;
47                 };
48
49                 post_failed {
50                         label = "96318REF:red:post-failed";
51                         gpios = <&pinctrl 11 1>;
52                 };
53         };
54 };
55
56 &hsspi {
57         status = "ok";
58
59         flash@0 {
60                 compatible = "jedec,spi-nor";
61                 spi-max-frequency = <62500000>;
62                 spi-tx-bus-width = <2>;
63                 spi-rx-bus-width = <2>;
64                 reg = <0>;
65
66                 #address-cells = <1>;
67                 #size-cells = <1>;
68
69                 linux,part-probe = "bcm63xxpart";
70
71                 partitions {
72                         compatible = "brcm,bcm963xx-cfe-nor-partitions";
73                 };
74         };
75 };
76
77 &pinctrl {
78         pinctrl-names = "default";
79         pinctrl-0 = <&pinctrl_usb_pwron>;
80 };
81
82 &uart0 {
83         status = "ok";
84 };