brcm63xx: add pflash for remaining pflash equipped boards
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96368MVNgr.dts
index b274bfdb9863157cbc2badc5dc191c6bc1f260c1..ca07b654053b4caf52e3b83f72c80da5a3e57697 100644 (file)
@@ -1,8 +1,46 @@
 /dts-v1/;
 
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM96368MVNgr reference board";
        compatible = "brcm,bcm96368mvngr", "brcm,bcm6368";
+
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               dsl_green {
+                       label = "96368MVNgr:green:adsl";
+                       gpios = <&gpio0 2 1>;
+               };
+               inet_fail_green {
+                       label = "96368MVNgr:green:inet-fail";
+                       gpios = <&gpio0 3 0>;
+               };
+               inet_green {
+                       label = "96368MVNgr:green:inet";
+                       gpios = <&gpio0 5 0>;
+               };
+               power_green {
+                       label = "96368MVNgr:green:power";
+                       gpios = <&gpio0 22 0>;
+                       default-state = "on";
+               };
+               wps_green {
+                       label = "96368MVNgr:green:wps";
+                       gpios = <&gpio0 23 1>;
+               };
+       };
+};
+
+&pflash {
+       status = "ok";
+
+       linux,part-probe = "bcm63xxpart";
 };