/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
	};

	mdu-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";
		};
	};
};

