Skip to content

Commit

Permalink
dts: npcm: add pci-rc node
Browse files Browse the repository at this point in the history
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
  • Loading branch information
tmaimon committed Apr 17, 2022
1 parent 3e42438 commit d63410b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,21 @@
status = "disabled";
};

pci_rc: pcie@e1000000 {
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
compatible = "nuvoton,npcm750-pcirc";
reg = <0xe1000000 0x1000>;
device_type = "pci";
interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
bus-range = <0x00 0xff>;
ranges = <0x02000000 0 0xea000000
0xea000000 0 0x02000000>;
resets = <&rstc NPCM7XX_RESET_IPSRST3 NPCM7XX_RESET_PCIE_RC>;
status = "disabled";
};

dvc: dvc@f0808000 {
compatible = "nuvoton,npcm750-dvc";
reg = <0xf0808000 0x1000>;
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/nuvoton-npcm750-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,14 @@
spix-mode;
};

/* Incase of using EVB with enabled PCI-RC
we should define the GPIO RC and EP */
/*pci_rc: pcie@e1000000 {
rst-rc-pci = <&gpio0 29 1>;
rst-ep-pci = <&gpio0 29 1>;
status = "okay";
};*/

sdhci0: sdhci@f0842000 {
status = "okay";
};
Expand Down

0 comments on commit d63410b

Please sign in to comment.