Re: [PATCH v6 3/5] arm64: dts: exynos: add initial support for Samsung Galaxy J7 Prime

From: Kaustabh Chakraborty
Date: Thu May 01 2025 - 07:02:12 EST


On 2025-05-01 10:13, Krzysztof Kozlowski wrote:
> On 13/04/2025 20:58, Kaustabh Chakraborty wrote:
>> + key-volup {
>> + label = "Volume Up Key";
>> + gpios = <&gpa2 0 GPIO_ACTIVE_LOW>;
>> + linux,code = <KEY_VOLUMEUP>;
>> + };
>> + };
>> +
>> + memory@40000000 {
>> + device_type = "memory";
>> + reg = <0x0 0x40000000 0x3e400000>;
>> + };
>> +
>> + memory@80000000 {
>
> Why are these two separate device nodes, instead of one for two ranges?
> Does device has somehow two independent memory controllers?

This is from Galaxy J6:

memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0x3d800000>;
};

memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x40000000>;
};

changes to

memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0x3d800000>,
<0x0 0x80000000 0x7d800000>;
};

I assume I have changed it correctly? `free -h` displays the full
and correct memory capacity.

>
>
> Best regards,
> Krzysztof