[PATCH 1/1] riscv: dts: spacemit: Add 'linux,pci-domain' to PCIe nodes for K1

Yixun Lan dlan at gentoo.org
Sun Mar 1 23:42:35 PST 2026


Hi Chukun,

On 15:15 Mon 02 Mar     , Chukun Pan wrote:
> Hi,
> 
> > The SpacemiT K1 SoC has 3 PCIe EP controller nodes. Add the
> > 'linux,pci-domain' property to assign a PCI domain number to
> > each of the controllers instead of assigning it randomly.
> 
> Does anyone have any thoughts on this?
> Without this patch, the PCI domain number is random.
> 
You describe what's has been done here, but no why?
Can you add description about why problem with random domain,
and the motivation of the change behind?

from my understanding of reading DT document, either way seems
fine..

> ```
> /# find /sys/devices -name net
> /sys/devices/platform/soc/soc:pcie-bus/ca800000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net
> /sys/devices/platform/soc/soc:pcie-bus/ca400000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net
> 
> /# find /sys/devices -name net
> /sys/devices/platform/soc/soc:pcie-bus/ca800000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net
> /sys/devices/platform/soc/soc:pcie-bus/ca400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net
> ```
> 
> Thanks,
> Chukun
> 

-- 
Yixun Lan (dlan)



More information about the linux-riscv mailing list