1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7621_ubnt_unifi.dtsi"
6 compatible = "ubnt,unifi-nanohd", "mediatek,mt7621-soc";
7 model = "Ubiquiti UniFi nanoHD";
14 compatible = "jedec,spi-nor";
16 spi-max-frequency = <50000000>;
19 compatible = "fixed-partitions";
31 reg = <0x60000 0x10000>;
35 factory: partition@70000 {
37 reg = <0x70000 0x10000>;
41 compatible = "fixed-layout";
45 eeprom_factory_0: eeprom@0 {
49 eeprom_factory_8000: eeprom@8000 {
50 reg = <0x8000 0x4da8>;
55 eeprom: partition@80000 {
57 reg = <0x80000 0x10000>;
61 compatible = "fixed-layout";
65 macaddr_eeprom_0: macaddr@0 {
73 reg = <0x90000 0x10000>;
78 reg = <0xa0000 0x100000>;
83 compatible = "denx,uimage";
85 reg = <0x1a0000 0xf30000>;
90 reg = <0x10d0000 0xf30000>;
98 nvmem-cells = <&macaddr_eeprom_0>;
99 nvmem-cell-names = "mac-address";
103 nvmem-cells = <&eeprom_factory_0>;
104 nvmem-cell-names = "eeprom";
108 nvmem-cells = <&eeprom_factory_8000>;
109 nvmem-cell-names = "eeprom";