Skip to content

Commit b8e426a

Browse files
committed
REVYOS: riscv: dts: sophgo: enable pcie_rc for Sophgo SG2042_EVB_V1.X
Signed-off-by: Han Gao <[email protected]>
1 parent 6a9f863 commit b8e426a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

arch/riscv/boot/dts/sophgo/sg2042-evb-v1.dts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,36 @@
164164
};
165165
};
166166

167+
&pcie_rc0 {
168+
reg = <0x70 0x60000000 0x0 0x00800000>,
169+
<0x40 0x00000000 0x0 0x00001000>;
170+
linux,pci-domain = <0>;
171+
bus-range = <0x00 0x3f>;
172+
vendor-id = <0x1f1c>;
173+
device-id = <0x2042>;
174+
status = "okay";
175+
};
176+
177+
&pcie_rc1 {
178+
reg = <0x70 0x60800000 0x0 0x00800000>,
179+
<0x44 0x00000000 0x0 0x00001000>;
180+
linux,pci-domain = <1>;
181+
bus-range = <0x40 0x7f>;
182+
vendor-id = <0x1f1c>;
183+
device-id = <0x2042>;
184+
status = "okay";
185+
};
186+
187+
&pcie_rc2 {
188+
reg = <0x70 0x62000000 0x0 0x02000000>,
189+
<0x48 0x00000000 0x0 0x00001000>;
190+
linux,pci-domain = <2>;
191+
bus-range = <0x80 0xff>;
192+
vendor-id = <0x1f1c>;
193+
device-id = <0x2042>;
194+
status = "okay";
195+
};
196+
167197
&pinctrl {
168198
emmc_cfg: sdhci-emmc-cfg {
169199
sdhci-emmc-wp-pins {

0 commit comments

Comments
 (0)