1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2021 MediaTek Inc.
4 * Author: Sam.Shih <sam.shih@mediatek.com>
8 #include "mt7986a.dtsi"
9 #include "mt7986a-zyxel-ex5601-t0-common.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
14 model = "Zyxel EX5601-T0";
15 compatible = "zyxel,ex5601-t0", "mediatek,mt7986a-rfb-snand";
18 device_type = "memory";
19 reg = <0x40000000 0x20000000>;
25 mediatek,bmt-max-ratio = <1>;
26 mediatek,bmt-max-reserved-blocks = <64>;
33 reg = <0x00000 0x0100000>;
39 reg = <0x0100000 0x0080000>;
42 factory: partition@180000 {
44 reg = <0x180000 0x0200000>;
50 reg = <0x380000 0x01C0000>;
56 reg = <0x540000 0x0040000>;
62 reg = <0x580000 0x4000000>;
67 reg = <0x4580000 0x4000000>;
73 reg = <0x8580000 0x15A80000>;
78 compatible = "nvmem-cells";
83 compatible = "fixed-layout";
86 eeprom_factory: eeprom@0 {
91 macaddr_factory_0004: macaddr@0004 {
92 compatible = "mac-base";
94 #nvmem-cell-cells = <1>;
97 macaddr_factory_0024: macaddr@0024 {
98 compatible = "mac-base";
100 #nvmem-cell-cells = <1>;
103 macaddr_factory_002a: macaddr@002a {
104 compatible = "mac-base";
106 #nvmem-cell-cells = <1>;
112 nvmem-cells = <&macaddr_factory_002a 0>;
113 nvmem-cell-names = "mac-address";
117 nvmem-cells = <&macaddr_factory_0024 0>;
118 nvmem-cell-names = "mac-address";
122 nvmem-cells = <&eeprom_factory>;
123 nvmem-cell-names = "eeprom";