brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm963281TAN.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Broadcom bcm963281TAN reference board";
9 compatible = "brcm,bcm963281TAN", "brcm,bcm6328";
10
11 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 gpio-leds {
16 compatible = "gpio-leds";
17
18 inet {
19 label = "963281TAN::internet";
20 gpios = <&pinctrl 1 1>;
21 };
22 power {
23 label = "963281TAN::power";
24 gpios = <&pinctrl 4 1>;
25 default-state = "on";
26 };
27 inet_fail {
28 label = "963281TAN::internet-fail";
29 gpios = <&pinctrl 7 1>;
30 };
31 power_fail {
32 label = "963281TAN::power-fail";
33 gpios = <&pinctrl 8 1>;
34 };
35 wps {
36 label = "963281TAN::wps";
37 gpios = <&pinctrl 9 1>;
38 };
39 dsl {
40 label = "963281TAN::dsl";
41 gpios = <&pinctrl 11 1>;
42 };
43 };
44 };
45
46 &hsspi {
47 status = "ok";
48
49 flash@0 {
50 compatible = "jedec,spi-nor";
51 spi-max-frequency = <16666667>;
52 spi-tx-bus-width = <2>;
53 spi-rx-bus-width = <2>;
54 reg = <0>;
55
56 #address-cells = <1>;
57 #size-cells = <1>;
58
59 linux,part-probe = "bcm63xxpart";
60 };
61 };