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 ubootmod";
15 compatible = "zyxel,ex5601-t0-ubootmod", "mediatek,mt7986a";
17 device_type = "memory";
18 reg = <0x40000000 0x20000000>;
31 reg = <0x0100000 0x0080000>;
35 factory: partition@180000 {
37 reg = <0x180000 0x0200000>;
43 reg = <0x380000 0x0200000>;
49 reg = <0x540000 0x0040000>;
55 reg = <0x580000 0x1da80000>;
60 compatible = "nvmem-cells";
65 compatible = "fixed-layout";
68 eeprom_factory: eeprom@0 {
73 macaddr_factory_0004: macaddr@0004 {
74 compatible = "mac-base";
76 #nvmem-cell-cells = <1>;
79 macaddr_factory_0024: macaddr@0024 {
80 compatible = "mac-base";
82 #nvmem-cell-cells = <1>;
85 macaddr_factory_002a: macaddr@002a {
86 compatible = "mac-base";
88 #nvmem-cell-cells = <1>;
94 nvmem-cells = <&macaddr_factory_002a 0>;
95 nvmem-cell-names = "mac-address";
99 nvmem-cells = <&macaddr_factory_0024 0>;
100 nvmem-cell-names = "mac-address";
104 nvmem-cells = <&eeprom_factory>;
105 nvmem-cell-names = "eeprom";