aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2014-06-24 13:59:54 -0400
committerSimon Horman <horms+renesas@verge.net.au>2014-06-26 03:05:46 -0400
commitff4f3eb8b3386208944fe60b85e6cba4d338198e (patch)
tree1f4eb7bfbc2e557c0ca4d6078d7290a5243d6344
parent09abd1fd11f98d6abde9c23244234170e7e36c2f (diff)
ARM: shmobile: r8a7790: add internal PCI bridge nodes
Add device nodes for the R8A7790 internal PCI bridge devices. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk> [Sergei: added several properties to the PCI bridge nodes] Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r8a7790.dtsi60
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 994330e81a52..373d9a21c912 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -930,6 +930,66 @@
930 status = "disabled"; 930 status = "disabled";
931 }; 931 };
932 932
933 pci0: pci@ee090000 {
934 compatible = "renesas,pci-r8a7790";
935 device_type = "pci";
936 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
937 reg = <0 0xee090000 0 0xc00>,
938 <0 0xee080000 0 0x1100>;
939 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
940 status = "disabled";
941
942 bus-range = <0 0>;
943 #address-cells = <3>;
944 #size-cells = <2>;
945 #interrupt-cells = <1>;
946 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
947 interrupt-map-mask = <0xff00 0 0 0x7>;
948 interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
949 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
950 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
951 };
952
953 pci1: pci@ee0b0000 {
954 compatible = "renesas,pci-r8a7790";
955 device_type = "pci";
956 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
957 reg = <0 0xee0b0000 0 0xc00>,
958 <0 0xee0a0000 0 0x1100>;
959 interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>;
960 status = "disabled";
961
962 bus-range = <1 1>;
963 #address-cells = <3>;
964 #size-cells = <2>;
965 #interrupt-cells = <1>;
966 ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
967 interrupt-map-mask = <0xff00 0 0 0x7>;
968 interrupt-map = <0x0000 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
969 0x0800 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
970 0x1000 0 0 2 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>;
971 };
972
973 pci2: pci@ee0d0000 {
974 compatible = "renesas,pci-r8a7790";
975 device_type = "pci";
976 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
977 reg = <0 0xee0d0000 0 0xc00>,
978 <0 0xee0c0000 0 0x1100>;
979 interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
980 status = "disabled";
981
982 bus-range = <2 2>;
983 #address-cells = <3>;
984 #size-cells = <2>;
985 #interrupt-cells = <1>;
986 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
987 interrupt-map-mask = <0xff00 0 0 0x7>;
988 interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
989 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
990 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
991 };
992
933 pciec: pcie@fe000000 { 993 pciec: pcie@fe000000 {
934 compatible = "renesas,pcie-r8a7790"; 994 compatible = "renesas,pcie-r8a7790";
935 reg = <0 0xfe000000 0 0x80000>; 995 reg = <0 0xfe000000 0 0x80000>;