openwrt/target/linux/ramips/dts/mt7628an_netgear_r6020.dts
Mieczyslaw Nalewaj 3ce71a1ead ramips: netgear_r6xxx: cleaning up nvmem-cells definitions
Move nvmem-cells definitions to dts files to prevent overwriting

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
2024-06-16 21:24:11 +02:00

68 lines
1.0 KiB
Plaintext

// 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";
};
&wifi5 {
nvmem-cells = <&eeprom_factory_8000>;
nvmem-cell-names = "eeprom";
};