Skip to content

Commit 6a9f863

Browse files
inochisaRevySR
authored andcommitted
REVYOS: dts: sophgo: sg2042: add pcie port for sg2042 EVB V1.X/V2.0
Signed-off-by: Inochi Amaoto <[email protected]> Signed-off-by: Han Gao <[email protected]>
1 parent 049c245 commit 6a9f863

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

arch/riscv/boot/dts/sophgo/sg2042.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,24 @@
262262
status = "disabled";
263263
};
264264

265+
pcie_rc1: pcie@7060800000 {
266+
compatible = "sophgo,sg2042-pcie-host";
267+
device_type = "pci";
268+
reg-names = "reg", "cfg";
269+
#address-cells = <3>;
270+
#size-cells = <2>;
271+
ranges = <0x01000000 0x0 0xc0400000 0x44 0xc0400000 0x0 0x00400000>,
272+
<0x42000000 0x0 0xd0000000 0x44 0xd0000000 0x0 0x10000000>,
273+
<0x02000000 0x0 0xe0000000 0x44 0xe0000000 0x0 0x20000000>,
274+
<0x43000000 0x46 0x00000000 0x46 0x00000000 0x2 0x00000000>,
275+
<0x03000000 0x45 0x00000000 0x45 0x00000000 0x1 0x00000000>;
276+
cdns,no-bar-match-nbits = <48>;
277+
sophgo,link-id = <1>;
278+
sophgo,syscon-pcie-ctrl = <&cdns_pcie0_ctrl>;
279+
msi-parent = <&msi>;
280+
status = "disabled";
281+
};
282+
265283
cdns_pcie0_ctrl: syscon@7061800000 {
266284
compatible = "sophgo,sg2042-pcie-ctrl", "syscon";
267285
reg = <0x70 0x61800000 0x0 0x800000>;

0 commit comments

Comments
 (0)