Skip to content

Commit 259dd62

Browse files
committed
arm64: dts: apple: t6022-j180d: Probe all PCIe devices
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 5c0eb4a commit 259dd62

1 file changed

Lines changed: 24 additions & 7 deletions

File tree

arch/arm64/boot/dts/apple/t602x-dieX.dtsi

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -687,19 +687,33 @@
687687
interrupts = <AIC_IRQ DIE_NO 1356 IRQ_TYPE_LEVEL_HIGH>;
688688

689689
msi-controller;
690-
msi-parent = <&pcie0>;
691-
msi-ranges = <&aic AIC_IRQ DIE_NO 1672 IRQ_TYPE_EDGE_RISING 32>;
692-
693-
iommu-map = <0x100 &DIE_NODE(pcie_ge_dart) 1 1>;
690+
msi-parent = <&DIE_NODE(pcie_ge)>;
691+
msi-ranges = <&aic AIC_IRQ DIE_NO 1672 IRQ_TYPE_EDGE_RISING 128>;
692+
693+
iommu-map = <0x000 &DIE_NODE(pcie_ge_dart) 0 0>,
694+
<0x100 &DIE_NODE(pcie_ge_dart) 1 1>,
695+
<0x200 &DIE_NODE(pcie_ge_dart) 2 2>,
696+
<0x300 &DIE_NODE(pcie_ge_dart) 3 3>,
697+
<0x400 &DIE_NODE(pcie_ge_dart) 4 4>,
698+
<0x500 &DIE_NODE(pcie_ge_dart) 5 5>,
699+
<0x600 &DIE_NODE(pcie_ge_dart) 6 6>,
700+
<0x700 &DIE_NODE(pcie_ge_dart) 7 7>,
701+
<0x800 &DIE_NODE(pcie_ge_dart) 8 8>,
702+
<0x900 &DIE_NODE(pcie_ge_dart) 9 9>,
703+
<0xa00 &DIE_NODE(pcie_ge_dart) 10 10>,
704+
<0xb00 &DIE_NODE(pcie_ge_dart) 11 11>,
705+
<0xc00 &DIE_NODE(pcie_ge_dart) 12 12>,
706+
<0xd00 &DIE_NODE(pcie_ge_dart) 13 13>,
707+
<0xe00 &DIE_NODE(pcie_ge_dart) 14 14>;
694708
iommu-map-mask = <0xff00>;
695709

696-
bus-range = <0 1>;
710+
bus-range = <0 15>;
697711
#address-cells = <3>;
698712
#size-cells = <2>;
699713
ranges = <0x43000000 0x18 0x00000000 0x18 0x00000000 0x4 0x00000000>,
700714
<0x02000000 0x0 0x80000000 0x17 0x80000000 0x0 0x80000000>;
701715

702-
power-domains = <&ps_apcie_ge_sys>;
716+
power-domains = <&DIE_NODE(ps_apcie_ge_sys)>;
703717
pinctrl-0 = <&DIE_NODE(pcie_ge_pins)>;
704718
pinctrl-names = "default";
705719

@@ -720,7 +734,10 @@
720734
#interrupt-cells = <1>;
721735

722736
interrupt-map-mask = <0 0 0 7>;
723-
interrupt-map = <0 0 0 1 &port00 0 0 0 0>;
737+
interrupt-map = <0 0 0 1 &DIE_NODE(port_ge00) 0 0 0 0>,
738+
<0 0 0 2 &DIE_NODE(port_ge00) 0 0 0 1>,
739+
<0 0 0 3 &DIE_NODE(port_ge00) 0 0 0 2>,
740+
<0 0 0 4 &DIE_NODE(port_ge00) 0 0 0 3>;
724741
};
725742
};
726743

0 commit comments

Comments
 (0)