1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
4 #include "mt7622-linksys-e8450.dtsi"
7 model = "Linksys E8450 (UBI)";
8 compatible = "linksys,e8450-ubi", "mediatek,mt7622";
11 label-mac-device = &wan;
15 rootdisk = <&ubi_rootfs>;
16 bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512 ubi.block=0,fit root=/dev/fit0";
22 compatible = "fixed-partitions";
34 reg = <0x80000 0x7f80000>;
35 compatible = "linux,ubi";
41 compatible = "u-boot,env-redundant-bool-layout";
45 ubi-volume-ubootenv2 {
46 volname = "ubootenv2";
48 compatible = "u-boot,env-redundant-bool-layout";
52 ubi_rootfs: ubi-volume-fit {
56 ubi_factory: ubi-volume-factory {
66 compatible = "fixed-layout";
70 eeprom_factory_0: eeprom@0 {
71 reg = <0x0 0x4da8>; /* actual length 0x400 */
74 eeprom_factory_5000: eeprom@5000 {
78 macaddr_factory_7fff4: macaddr@7fff4 {
82 macaddr_factory_7fffa: macaddr@7fffa {
89 nvmem-cells = <&eeprom_factory_0>;
90 nvmem-cell-names = "eeprom";
95 nvmem-cells = <&eeprom_factory_5000>;
96 nvmem-cell-names = "eeprom";
100 nvmem-cells = <&macaddr_factory_7fff4>;
101 nvmem-cell-names = "mac-address";
105 nvmem-cells = <&macaddr_factory_7fffa>;
106 nvmem-cell-names = "mac-address";