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

Kaustabh Chakraborty kauschluss at disroot.org
Thu May 1 04:01:53 PDT 2025


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 at 40000000 {
>> +		device_type = "memory";
>> +		reg = <0x0 0x40000000 0x3e400000>;
>> +	};
>> +
>> +	memory at 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 at 40000000 {
		device_type = "memory";
		reg = <0x0 0x40000000 0x3d800000>;
	};

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

changes to

	memory at 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



More information about the linux-arm-kernel mailing list