brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm963269bhr.dts
1 /dts-v1/;
2
3 #include "bcm63268.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Broadcom BCM963269BHR reference board";
9 compatible = "brcm,bcm963269bhr", "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 = <&pinctrl 32 0>;
25 linux,code = <KEY_RESTART>;
26 };
27 };
28
29 gpio-leds {
30 compatible = "gpio-leds";
31
32 usb1 {
33 label = "963269BHR:green:usb1";
34 gpios = <&pinctrl 9 1>;
35 };
36
37 usb2 {
38 label = "963269BHR:green:usb2";
39 gpios = <&pinctrl 10 1>;
40 };
41 };
42 };
43
44 &hsspi {
45 status = "ok";
46
47 flash@0 {
48 compatible = "jedec,spi-nor";
49 spi-max-frequency = <20000000>;
50 spi-tx-bus-width = <2>;
51 spi-rx-bus-width = <2>;
52 reg = <0>;
53
54 #address-cells = <1>;
55 #size-cells = <1>;
56
57 linux,part-probe = "bcm63xxpart";
58 };
59 };