1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Create a 64 and a 128Mo flash version for z8102ax

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-12-04 14:26:27 +01:00
parent b66f9555c7
commit 47e758e4e9
6 changed files with 61 additions and 8 deletions

View file

@ -0,0 +1,13 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7981b-zbt-z8102ax.dtsi"
/ {
model = "ZBT Z8102AX 128M";
compatible = "z8102ax-128m", "z8102ax", "mediatek,mt7981";
};
&nand_rootfs {
reg = <0x0580000 0x7220000>;
};

View file

@ -0,0 +1,14 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7981b-zbt-z8102ax.dtsi"
/ {
model = "ZBT Z8102AX 64M";
compatible = "z8102ax-64m", "z8102ax", "mediatek,mt7981";
};
&nand_rootfs {
reg = <0x0580000 0x4000000>;
};

View file

@ -66,9 +66,13 @@
label = "4g2:status";
gpios = <&pio 13 GPIO_ACTIVE_LOW>;
};
};
watchdog {
compatible = "linux,wdt-gpio";
gpios = <&pio 2 GPIO_ACTIVE_HIGH>;
hw_algo = "toggle";
hw_margin_ms = <1000>;
};
usb_vbus: regulator-usb-vbus {
compatible = "regulator-fixed";
regulator-name = "usb_vbus";
@ -160,9 +164,8 @@
read-only;
};
partition@580000 {
nand_rootfs: partition@580000 {
label = "ubi";
reg = <0x0580000 0x4000000>;
};
};
};