From d63410b472dbd4b67b5ce56fa30572495d6322fa Mon Sep 17 00:00:00 2001 From: Tomer Maimon Date: Sun, 17 Apr 2022 16:59:03 +0300 Subject: [PATCH] dts: npcm: add pci-rc node Signed-off-by: Tomer Maimon --- arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 15 +++++++++++++++ arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 8 ++++++++ 2 files changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi index 9b387ad852b132..4deaf559da83fe 100644 --- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi +++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi @@ -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 = ; + 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>; diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts index a776c0df99b38b..f06765d1190b16 100644 --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts @@ -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"; };