brcm47xx: rename target to bcm47xx
[openwrt/staging/pepe2k.git] / target / linux / brcm63xx / dts / bcm6318-brcm-bcm96318ref-p300.dts
1 /dts-v1/;
2
3 #include "bcm6318.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Broadcom BCM96318REF_P300 reference board";
9 compatible = "brcm,bcm96318ref-p300", "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_P300:green:inet";
42 gpios = <&pinctrl 8 1>;
43 };
44
45 inet_fail {
46 label = "96318REF_P300:red:inet-fail";
47 gpios = <&pinctrl 9 1>;
48 };
49
50 post_failed {
51 label = "96318REF_P300:red:post-failed";
52 gpios = <&pinctrl 11 1>;
53 };
54
55 usb_pwron {
56 label = "96318REF_P300::usb-pwron";
57 gpios = <&pinctrl 13 1>;
58 default-state = "on";
59 };
60 };
61 };
62
63 &hsspi {
64 status = "ok";
65
66 flash@0 {
67 compatible = "jedec,spi-nor";
68 spi-max-frequency = <62500000>;
69 spi-tx-bus-width = <2>;
70 spi-rx-bus-width = <2>;
71 reg = <0>;
72
73 #address-cells = <1>;
74 #size-cells = <1>;
75
76 partitions {
77 compatible = "brcm,bcm963xx-cfe-nor-partitions";
78 };
79 };
80 };
81
82 &pinctrl {
83 pinctrl-names = "default";
84 pinctrl-0 = <&pinctrl_usb_pwron>;
85 };
86
87 &uart0 {
88 status = "ok";
89 };