// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7620n_netgear_n300.dtsi"

/ {
	compatible = "netgear,jwnr2010-v5", "ralink,mt7620n-soc";
	model = "Netgear JWNR2010 v5";

	aliases {
		led-boot = &led_power;
		led-failsafe = &led_power;
		led-running = &led_power;
		led-upgrade = &led_power;
		label-mac-device = &ethernet;
	};

	leds {
		compatible = "gpio-leds";

		led_power: power {
			label = "green:power";
			gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
		};

		wan {
			label = "green:wan";
			gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
		};

		wlan {
			label = "green:wlan";
			gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "phy0radio";
		};

		lan1 {
			label = "green:lan1";
			gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
		};

		lan2 {
			label = "green:lan2";
			gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
		};

		lan3 {
			label = "green:lan3";
			gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
		};

		lan4 {
			label = "green:lan4";
			gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
		};
	};
};
