bcm63xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git] / target / linux / bcm63xx / dts / bcm6358-brcm-bcm96358vw.dts
1 #include "bcm6358.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5
6 / {
7 model = "Broadcom BCM96358VW reference board";
8 compatible = "brcm,bcm96358vw", "brcm,bcm6358";
9
10 chosen {
11 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
12 stdout-path = "serial0:115200n8";
13 };
14
15 leds {
16 compatible = "gpio-leds";
17
18 power_green {
19 function = LED_FUNCTION_POWER;
20 color = <LED_COLOR_ID_GREEN>;
21 gpios = <&pinctrl 4 0>;
22 default-state = "on";
23 };
24 stop_green {
25 label = "green:stop";
26 gpios = <&pinctrl 5 0>;
27 };
28 adsl_fail_green {
29 label = "green:adsl-fail";
30 gpios = <&pinctrl 15 1>;
31 };
32 ppp_green {
33 label = "green:ppp";
34 gpios = <&pinctrl 22 1>;
35 };
36 ppp_fail_green {
37 label = "green:ppp-fail";
38 gpios = <&pinctrl 23 1>;
39 };
40 };
41 };
42
43 &pflash {
44 status = "okay";
45
46 partitions {
47 compatible = "brcm,bcm963xx-cfe-nor-partitions";
48 };
49 };
50
51 &uart0 {
52 status = "okay";
53 };