brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96348R.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Broadcom 96348R reference board";
9 compatible = "brcm,bcm96348r", "brcm,bcm6348";
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 power_green {
19 label = "96348R:green:power";
20 gpios = <&pinctrl 0 1>;
21 default-state = "on";
22 };
23 stop_green {
24 label = "96348R:green:stop";
25 gpios = <&pinctrl 1 1>;
26 };
27 adsl_fail_green {
28 label = "96348R:green:adsl-fail";
29 gpios = <&pinctrl 2 1>;
30 };
31 ppp_green {
32 label = "96348R:green:ppp";
33 gpios = <&pinctrl 3 1>;
34 };
35 ppp_fail_green {
36 label = "96348R:green:ppp-fail";
37 gpios = <&pinctrl 4 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 };