Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: uniphier: Add PCIe endpoint and PHY node for Pro5

This adds PCIe endpoint controller and PHY nodes for Pro5 SoC,
and also adds pinctrl node for PCIe.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

authored by

Kunihiko Hayashi and committed by
Masahiro Yamada
c60a5cee 656d6482

+35
+5
arch/arm/boot/dts/uniphier-pinctrl.dtsi
··· 126 126 function = "nand"; 127 127 }; 128 128 129 + pinctrl_pcie: pcie { 130 + groups = "pcie"; 131 + function = "pcie"; 132 + }; 133 + 129 134 pinctrl_sd: sd { 130 135 groups = "sd"; 131 136 function = "sd";
+30
arch/arm/boot/dts/uniphier-pro5.dtsi
··· 613 613 }; 614 614 }; 615 615 616 + pcie_ep: pcie-ep@66000000 { 617 + compatible = "socionext,uniphier-pro5-pcie-ep", 618 + "snps,dw-pcie-ep"; 619 + status = "disabled"; 620 + reg-names = "dbi", "dbi2", "link", "addr_space"; 621 + reg = <0x66000000 0x1000>, <0x66001000 0x1000>, 622 + <0x66010000 0x10000>, <0x67000000 0x400000>; 623 + pinctrl-names = "default"; 624 + pinctrl-0 = <&pinctrl_pcie>; 625 + clock-names = "gio", "link"; 626 + clocks = <&sys_clk 12>, <&sys_clk 24>; 627 + reset-names = "gio", "link"; 628 + resets = <&sys_rst 12>, <&sys_rst 24>; 629 + num-ib-windows = <16>; 630 + num-ob-windows = <16>; 631 + num-lanes = <4>; 632 + phy-names = "pcie-phy"; 633 + phys = <&pcie_phy>; 634 + }; 635 + 636 + pcie_phy: phy@66038000 { 637 + compatible = "socionext,uniphier-pro5-pcie-phy"; 638 + reg = <0x66038000 0x4000>; 639 + #phy-cells = <0>; 640 + clock-names = "gio", "link"; 641 + clocks = <&sys_clk 12>, <&sys_clk 24>; 642 + reset-names = "gio", "link"; 643 + resets = <&sys_rst 12>, <&sys_rst 24>; 644 + }; 645 + 616 646 nand: nand-controller@68000000 { 617 647 compatible = "socionext,uniphier-denali-nand-v5b"; 618 648 status = "disabled";