brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96368MVNgr.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Broadcom BCM96368MVNgr reference board";
9 compatible = "brcm,bcm96368mvngr", "brcm,bcm6368";
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 dsl_green {
19 label = "96368MVNgr:green:adsl";
20 gpios = <&pinctrl 2 1>;
21 };
22 inet_fail_green {
23 label = "96368MVNgr:green:inet-fail";
24 gpios = <&pinctrl 3 0>;
25 };
26 inet_green {
27 label = "96368MVNgr:green:inet";
28 gpios = <&pinctrl 5 0>;
29 };
30 power_green {
31 label = "96368MVNgr:green:power";
32 gpios = <&pinctrl 22 0>;
33 default-state = "on";
34 };
35 wps_green {
36 label = "96368MVNgr:green:wps";
37 gpios = <&pinctrl 23 1>;
38 };
39 };
40 };
41
42 &pflash {
43 status = "ok";
44
45 linux,part-probe = "bcm63xxpart";
46 };
47
48 &pinctrl {
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_pci>;
51 };