brcm63xx: add pflash for remaining pflash equipped boards
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96358VW.dts
index a978d41392a27e666da37bb195808b784d76b72a..f916d9db667b4f5beda59012080ed3ec890bbbe0 100644 (file)
@@ -1,8 +1,46 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96358VW reference board";
        compatible = "brcm,bcm96358vw", "brcm,bcm6358";
+
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               power_green {
+                       label = "96358VW:green:power";
+                       gpios = <&gpio0 4 0>;
+                       default-state = "on";
+               };
+               stop_green {
+                       label = "96358VW:green:stop";
+                       gpios = <&gpio0 5 0>;
+               };
+               adsl_fail_green {
+                       label = "96358VW:green:adsl-fail";
+                       gpios = <&gpio0 15 1>;
+               };
+               ppp_green {
+                       label = "96358VW:green:ppp";
+                       gpios = <&gpio0 22 1>;
+               };
+               ppp_fail_green {
+                       label = "96358VW:green:ppp-fail";
+                       gpios = <&gpio0 23 1>;
+               };
+       };
+};
+
+&pflash {
+       status = "ok";
+
+       linux,part-probe = "bcm63xxpart";
 };