brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / bcm963268bu_p300.dts
1 /dts-v1/;
2
3 #include "bcm63268.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Broadcom BCM963268BU_P300 reference board";
9         compatible = "brcm,bcm963268bu_p300", "brcm,bcm63268";
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                 reset {
24                         label = "reset";
25                         gpios = <&pinctrl 32 0>;
26                         linux,code = <KEY_RESTART>;
27                 };
28
29                 wps {
30                         label = "wps";
31                         gpios = <&pinctrl 33 0>;
32                         linux,code = <KEY_WPS_BUTTON>;
33                 };
34         };
35 };
36
37 &hsspi {
38         status = "ok";
39
40         flash@0 {
41                 compatible = "jedec,spi-nor";
42                 spi-max-frequency = <20000000>;
43                 spi-tx-bus-width = <2>;
44                 spi-rx-bus-width = <2>;
45                 reg = <0>;
46
47                 #address-cells = <1>;
48                 #size-cells = <1>;
49
50                 linux,part-probe = "bcm63xxpart";
51
52                 partitions {
53                         compatible = "brcm,bcm963xx-cfe-nor-partitions";
54                 };
55         };
56 };
57
58 &uart0 {
59         status = "ok";
60 };