Re: [PATCH v2 4/4] arm64: dts: qcom: sc8280xp: add Radxa Dragon Q8B
From: Konrad Dybcio
Date: Thu Oct 22 2026 - 05:35:11 EST
On 10/20/26 11:11 AM, Xilin Wu wrote:
> On 10/20/2026 4:27 PM, Konrad Dybcio wrote:
>> On 10/9/26 9:55 AM, Xilin Wu wrote:
>>> Add initial device tree support for the Radxa Dragon Q8B,
>>> a single-board computer based on the Qualcomm Snapdragon 8cx Gen 3
>>> SC8280XP platform.
[...]
>>> +/* M-key Gen3 x4 */
>>> +&pcie2a {
>>> + /* Place ECAM and BAR space above 4 GiB to accommodate large BARs. */
>>> + reg = <0x0 0x01c20000 0x0 0x3000>,
>>> + <0x0 0x3c000000 0x0 0xf1d>,
>>> + <0x0 0x3c000f20 0x0 0xa8>,
>>> + <0x0 0x3c001000 0x0 0x1000>,
>>> + <0x5 0x00000000 0x0 0x10000000>, /* ECAM config */
>>> + <0x0 0x01c23000 0x0 0x1000>;
>>> +
>>> + ranges = /* IO (1 MiB) */
>>> + <0x01000000 0x0 0x00000000 0x0 0x3c200000 0x0 0x100000>,
>>> + /* 32-bit non-prefetchable memory (256 MiB) */
>>> + <0x02000000 0x0 0x40000000 0x5 0x10000000 0x0 0x10000000>,
>>> + /* 64-bit non-prefetchable memory (3.5 GiB) */
>>> + <0x03000000 0x5 0x20000000 0x5 0x20000000 0x0 0xe0000000>;
>>
>> Please drop this change on the board side, this is SoC-specific.
>> Likewise for the other ports.
>>
>
> Ack. Do you think this change can be applied to SoC DTSI?
Yes. I'm not sure about the extended ECAM thing because we seem to have
never moved forward with enabling that (oversight?) but in general:
PCIeN | base | sz |
-----------------------------------------
pcie4 | 0x4_0000_0000 | 1024 MiB
pcie3b | 0x4_4000_0000 | 1024 MiB
pcie3a | 0x4_8000_0000 | 1024 MiB
pcie2b | 0x4_c000_0000 | 1024 MiB
pcie2a | 0x5_0000_0000 | 4096 MiB
>>> +&sdc2 {
>>> + pinctrl-0 = <&sdc2_default_state>;
>>> + pinctrl-1 = <&sdc2_sleep_state>;
>>> + pinctrl-names = "default", "sleep";
>>> +
>>> + full-pwr-cycle;
>>
>> Hm, is that something that comes from the controller itself? Should
>> we advertise it on other SoCs too?
>>
>
> It is observed that the boot firmware can leave an inserted SD card in a state that makes the first Linux enumeration fall back to 50 MHz high-speed mode. This property allows the MMC core to fully cycle the controllable card supply after voltage selection so UHS-I voltage switching succeeds reliably.
Got it, maybe let's add a comment
Konrad