Skip to content

Commit 435d4b0

Browse files
committed
REVYOS: riscv: dts: sophgo: enable pcie_rc for Sophgo SG2042_EVB_V2.0
Signed-off-by: Han Gao <[email protected]>
1 parent b8e426a commit 435d4b0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,36 @@
152152
};
153153
};
154154

155+
&pcie_rc0 {
156+
reg = <0x70 0x60000000 0x0 0x00800000>,
157+
<0x40 0x00000000 0x0 0x00001000>;
158+
linux,pci-domain = <0>;
159+
bus-range = <0x00 0x3f>;
160+
vendor-id = <0x1f1c>;
161+
device-id = <0x2042>;
162+
status = "okay";
163+
};
164+
165+
&pcie_rc1 {
166+
reg = <0x70 0x60800000 0x0 0x00800000>,
167+
<0x44 0x00000000 0x0 0x00001000>;
168+
linux,pci-domain = <1>;
169+
bus-range = <0x40 0x7f>;
170+
vendor-id = <0x1f1c>;
171+
device-id = <0x2042>;
172+
status = "okay";
173+
};
174+
175+
&pcie_rc2 {
176+
reg = <0x70 0x62000000 0x0 0x02000000>,
177+
<0x48 0x00000000 0x0 0x00001000>;
178+
linux,pci-domain = <2>;
179+
bus-range = <0x80 0xff>;
180+
vendor-id = <0x1f1c>;
181+
device-id = <0x2042>;
182+
status = "okay";
183+
};
184+
155185
&pinctrl {
156186
emmc_cfg: sdhci-emmc-cfg {
157187
sdhci-emmc-wp-pins {

0 commit comments

Comments
 (0)