lantiq: copy target to kernel 5.4
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-5.4 / arch / mips / boot / dts / lantiq / falcon_lantiq_falcon-mdu.dts
diff --git a/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/falcon_lantiq_falcon-mdu.dts b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/falcon_lantiq_falcon-mdu.dts
new file mode 100644 (file)
index 0000000..130d49e
--- /dev/null
@@ -0,0 +1,53 @@
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "falcon.dtsi"
+#include "falcon_sflash-16m.dtsi"
+
+/ {
+       model = "Lantiq Falcon / Vinax MDU Board";
+       compatible = "lantiq,falcon-mdu", "lantiq,falcon";
+
+       aliases {
+               spi0 = &ebu_cs0;
+       };
+
+       memory@0 {
+               device_type = "memory";
+               reg = <0x0 0x4000000>;  // 64M at 0x0
+       };
+
+       leds {
+               compatible = "gpio-leds";
+               pinctrl-names = "default";
+               pinctrl-0 = <&bootled_pins>;
+
+               LED_0 {
+                       label = "mdu:green:gpon";
+                       gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+                       default-state = "keep";
+               };
+               LED_1 {
+                       label = "mdu:green:status";
+                       gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
+                       default-state = "keep";
+               };
+               LED_2 {
+                       label = "mdu:green:2";
+                       gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
+                       default-state = "keep";
+               };
+               LED_3 {
+                       label = "mdu:green:3";
+                       gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+                       default-state = "keep";
+               };
+               LED_4 {
+                       label = "mdu:green:4";
+                       gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
+                       default-state = "keep";
+               };
+       };
+};
+