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

#include "mt7628an_netgear_r6xxx.dtsi"

/ {
	compatible = "netgear,r6020", "mediatek,mt7628an-soc";
	model = "Netgear R6020";
};

&state_default {
	gpio {
		groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an",
		         "p4led_an", "wdt", "wled_an";
		function = "gpio";
	};
};

&partitions {
	partition@90000 {
		compatible = "denx,uimage";
		label = "firmware";
		reg = <0x90000 0x6f0000>;
	};

	partition@780000 {
		label = "ML";
		reg = <0x780000 0x20000>;
		read-only;
	};

	partition@7a0000 {
		label = "ML1";
		reg = <0x7a0000 0x20000>;
		read-only;
	};

	partition@7c0000 {
		label = "ML2";
		reg = <0x7c0000 0x20000>;
		read-only;
	};

	partition@7e0000 {
		label = "POT";
		reg = <0x7e0000 0x10000>;
		read-only;
	};

	partition@7f0000 {
		label = "reserved";
		reg = <0x7f0000 0x10000>;
		read-only;
	};
};

&ehci {
	status = "disabled";
};

&ohci {
	status = "disabled";
};