Re: [PATCH v2 24/24] ARM: dts: zte: Add ZTE ZXHN H3600 board

From: Agustin Santiago Isasmendi

Date: Fri Nov 06 2026 - 05:19:22 EST


Hi Navid,

On Wed, Oct 14, 2026 at 08:21:04AM +0100, Navid Ghahremani wrote:
> + memory@40000000 {
> + device_type = "memory";
> + reg = <0x40000000 0x20000000>;
> + };

My unit has 256 MiB. It boots anyway because with
CONFIG_ARM_ATAG_DTB_COMPAT the ATAG_MEM from U-Boot overrides this
node, but without it the kernel takes 512 MiB at face value: the
upper half aliases the lower one (0x50100000 reads back what is at
0x40100000), CMA lands at 0x59800000, and it oopses in refill_objects
once ~300 MB are in use. pp@5da00000 is then outside RAM as well; the
vendor kernel reserves the top 64 MiB, i.e. 0x4c000000 on 256 MiB.
Does your unit really have 512 MiB? If both sizes exist, maybe leave
the size to the boot loader or use the smaller one.

> + macaddr_tag_1e: macaddr@1e {
> + compatible = "mac-base";
> + reg = <0x1e 0x6>;
> + #nvmem-cell-cells = <1>;
> + };

As far as I can see nothing in mainline implements the cell index for
"mac-base" here, so all five ports get the same address
(f4:f6:47:0f:42:64 on mine, wan included). The tag partition also
stores the WAN address as its own record at offset 0x36 (..:42:65 on
my unit), so a plain second cell works without mac-base:

macaddr_tag_36: macaddr@36 {
reg = <0x36 0x6>;
};

Agustin