brcm63xx: move the bootargs into the dtb files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96348R.dts
index 004abcbd79acaee4b0decb9f2f0b6ff428e40f2d..62d4bd325d97175a2e561c24e0cb4457223e7f60 100644 (file)
@@ -1,8 +1,40 @@
 /dts-v1/;
 
-/include/ "bcm6348.dtsi"
+#include "bcm6348.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom 96348R reference board";
        compatible = "brcm,bcm96348r", "brcm,bcm6348";
+
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               power_green {
+                       label = "96348R:green:power";
+                       gpios = <&gpio0 0 1>;
+                       default-state = "on";
+               };
+               stop_green {
+                       label = "96348R:green:stop";
+                       gpios = <&gpio0 1 1>;
+               };
+               adsl_fail_green {
+                       label = "96348R:green:adsl-fail";
+                       gpios = <&gpio0 2 1>;
+               };
+               ppp_green {
+                       label = "96348R:green:ppp";
+                       gpios = <&gpio0 3 1>;
+               };
+               ppp_fail_green {
+                       label = "96348R:green:ppp-fail";
+                       gpios = <&gpio0 4 1>;
+               };
+       };
 };