diff options
author | Marek Vasut | 2019-08-31 18:25:21 +0200 |
---|---|---|
committer | Marek Vasut | 2019-09-02 17:38:43 +0200 |
commit | eaae4ee2bd349797a69f74240abd8329e18d5dbd (patch) | |
tree | 95aaec9347adb15b319cdf48b6a5981532ec5aa3 /arch | |
parent | 72c2f4acd76f11e99c7546c635c0533020f68788 (diff) |
sh: r2dplus: Switch to DM PCI driver
Add DT entry for the DM PCI driver, update board configs
and drop ad-hoc board init code for the PCI bus. Instead,
let the DM PCI driver initialize and operate the hardware.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/dts/sh7751-r2dplus.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sh/dts/sh7751-r2dplus.dts b/arch/sh/dts/sh7751-r2dplus.dts index 2d291bf1ee2..ecaf0772d8f 100644 --- a/arch/sh/dts/sh7751-r2dplus.dts +++ b/arch/sh/dts/sh7751-r2dplus.dts @@ -9,4 +9,18 @@ / { model = "R2D"; compatible = "renesas,r2d", "renesas,sh7751"; + + pci@fe200000 { + compatible = "renesas,pci-sh7751"; + device_type = "pci"; + reg = <0 0xfe200000 0 0x1000>; + status = "okay"; + + bus-range = <0 0>; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + ranges = <0x01000000 0 0xfe240000 0 0xfe240000 0 0x00040000 + 0x02000000 0 0xfd000000 0 0xfd000000 0 0x01000000>; + }; }; |