brcm63xx: use more systematic names for image and DTS files
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6338-brcm-bcm96338w.dts
diff --git a/target/linux/brcm63xx/dts/bcm6338-brcm-bcm96338w.dts b/target/linux/brcm63xx/dts/bcm6338-brcm-bcm96338w.dts
new file mode 100644 (file)
index 0000000..3f6e8c0
--- /dev/null
@@ -0,0 +1,53 @@
+/dts-v1/;
+
+#include "bcm6338.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+       model = "Broadcom BCM96338W reference board";
+       compatible = "brcm,bcm96338w", "brcm,bcm6338";
+
+       chosen {
+               bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
+       };
+
+       leds {
+               compatible = "gpio-leds";
+
+               power_green {
+                       label = "96338W:green:power";
+                       gpios = <&gpio0 0 1>;
+                       default-state = "on";
+               };
+               stop_green {
+                       label = "96338W:green:stop";
+                       gpios = <&gpio0 1 1>;
+               };
+               dsl_green {
+                       label = "96338W:green:adsl";
+                       gpios = <&gpio0 3 1>;
+               };
+               ppp_fail_green {
+                       label = "96338W:green:ppp-fail";
+                       gpios = <&gpio0 4 1>;
+               };
+               ses_green {
+                       label = "96338W:green:ses";
+                       gpios = <&gpio0 5 1>;
+               };
+       };
+};
+
+&pflash {
+       status = "ok";
+
+       partitions {
+               compatible = "brcm,bcm963xx-cfe-nor-partitions";
+       };
+};
+
+&uart0 {
+       status = "ok";
+};