brcm63xx: probe SPI flash through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / vg50.dts
1 /dts-v1/;
2
3 #include "bcm63268.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Inteno VG50";
9 compatible = "inteno,vg50", "brcm,bcm63268";
10
11 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 gpio-keys-polled {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19 poll-interval = <20>;
20 debounce-interval = <60>;
21
22 reset {
23 label = "reset";
24 gpios = <&gpio1 0 0>;
25 linux,code = <KEY_RESTART>;
26 };
27
28 wps {
29 label = "wps";
30 gpios = <&gpio1 2 0>;
31 linux,code = <KEY_WPS_BUTTON>;
32 };
33 };
34 };
35
36 &hsspi {
37 status = "ok";
38
39 flash@0 {
40 compatible = "jedec,spi-nor";
41 spi-max-frequency = <20000000>;
42 spi-tx-bus-width = <2>;
43 spi-rx-bus-width = <2>;
44 reg = <0>;
45
46 #address-cells = <1>;
47 #size-cells = <1>;
48
49 linux,part-probe = "bcm63xxpart";
50 };
51 };