r8a77990.dtsi (5c6479d9b25b40001e814003f62a93485f9ff82f) r8a77990.dtsi (3b46fa57e350dc4fb72b8e02feb7fb218a3640d1)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Device Tree Source for the R-Car E3 (R8A77990) SoC
4 *
5 * Copyright (C) 2018 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/clock/r8a77990-cpg-mssr.h>

--- 11 unchanged lines hidden (view full) ---

20 i2c2 = &i2c2;
21 i2c3 = &i2c3;
22 i2c4 = &i2c4;
23 i2c5 = &i2c5;
24 i2c6 = &i2c6;
25 i2c7 = &i2c7;
26 };
27
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Device Tree Source for the R-Car E3 (R8A77990) SoC
4 *
5 * Copyright (C) 2018 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/clock/r8a77990-cpg-mssr.h>

--- 11 unchanged lines hidden (view full) ---

20 i2c2 = &i2c2;
21 i2c3 = &i2c3;
22 i2c4 = &i2c4;
23 i2c5 = &i2c5;
24 i2c6 = &i2c6;
25 i2c7 = &i2c7;
26 };
27
28 /*
29 * The external audio clocks are configured as 0 Hz fixed frequency
30 * clocks by default.
31 * Boards that provide audio clocks should override them.
32 */
33 audio_clk_a: audio_clk_a {
34 compatible = "fixed-clock";
35 #clock-cells = <0>;
36 clock-frequency = <0>;
37 };
38
39 audio_clk_b: audio_clk_b {
40 compatible = "fixed-clock";
41 #clock-cells = <0>;
42 clock-frequency = <0>;
43 };
44
45 audio_clk_c: audio_clk_c {
46 compatible = "fixed-clock";
47 #clock-cells = <0>;
48 clock-frequency = <0>;
49 };
50
28 cpus {
29 #address-cells = <1>;
30 #size-cells = <0>;
31
32 a53_0: cpu@0 {
33 compatible = "arm,cortex-a53", "arm,armv8";
34 reg = <0>;
35 device_type = "cpu";

--- 892 unchanged lines hidden (view full) ---

928
929 vin5csi40: endpoint {
930 remote-endpoint= <&csi40vin5>;
931 };
932 };
933 };
934 };
935
51 cpus {
52 #address-cells = <1>;
53 #size-cells = <0>;
54
55 a53_0: cpu@0 {
56 compatible = "arm,cortex-a53", "arm,armv8";
57 reg = <0>;
58 device_type = "cpu";

--- 892 unchanged lines hidden (view full) ---

951
952 vin5csi40: endpoint {
953 remote-endpoint= <&csi40vin5>;
954 };
955 };
956 };
957 };
958
959 rcar_sound: sound@ec500000 {
960 /*
961 * #sound-dai-cells is required
962 *
963 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
964 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
965 */
966 /*
967 * #clock-cells is required for audio_clkout0/1/2/3
968 *
969 * clkout : #clock-cells = <0>; <&rcar_sound>;
970 * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>;
971 */
972 compatible = "renesas,rcar_sound-r8a77990", "renesas,rcar_sound-gen3";
973 reg = <0 0xec500000 0 0x1000>, /* SCU */
974 <0 0xec5a0000 0 0x100>, /* ADG */
975 <0 0xec540000 0 0x1000>, /* SSIU */
976 <0 0xec541000 0 0x280>, /* SSI */
977 <0 0xec760000 0 0x200>; /* Audio DMAC peri peri*/
978 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
979
980 clocks = <&cpg CPG_MOD 1005>,
981 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
982 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
983 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
984 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
985 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
986 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
987 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
988 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
989 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
990 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
991 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
992 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
993 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
994 <&audio_clk_a>, <&audio_clk_b>,
995 <&audio_clk_c>,
996 <&cpg CPG_CORE R8A77990_CLK_ZA2>;
997 clock-names = "ssi-all",
998 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
999 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1000 "ssi.1", "ssi.0",
1001 "src.9", "src.8", "src.7", "src.6",
1002 "src.5", "src.4", "src.3", "src.2",
1003 "src.1", "src.0",
1004 "mix.1", "mix.0",
1005 "ctu.1", "ctu.0",
1006 "dvc.0", "dvc.1",
1007 "clk_a", "clk_b", "clk_c", "clk_i";
1008 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1009 resets = <&cpg 1005>,
1010 <&cpg 1006>, <&cpg 1007>,
1011 <&cpg 1008>, <&cpg 1009>,
1012 <&cpg 1010>, <&cpg 1011>,
1013 <&cpg 1012>, <&cpg 1013>,
1014 <&cpg 1014>, <&cpg 1015>;
1015 reset-names = "ssi-all",
1016 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1017 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1018 "ssi.1", "ssi.0";
1019 status = "disabled";
1020
1021 rcar_sound,dvc {
1022 dvc0: dvc-0 {
1023 dmas = <&audma0 0xbc>;
1024 dma-names = "tx";
1025 };
1026 dvc1: dvc-1 {
1027 dmas = <&audma0 0xbe>;
1028 dma-names = "tx";
1029 };
1030 };
1031
1032 rcar_sound,mix {
1033 mix0: mix-0 { };
1034 mix1: mix-1 { };
1035 };
1036
1037 rcar_sound,ctu {
1038 ctu00: ctu-0 { };
1039 ctu01: ctu-1 { };
1040 ctu02: ctu-2 { };
1041 ctu03: ctu-3 { };
1042 ctu10: ctu-4 { };
1043 ctu11: ctu-5 { };
1044 ctu12: ctu-6 { };
1045 ctu13: ctu-7 { };
1046 };
1047
1048 rcar_sound,src {
1049 src0: src-0 {
1050 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1051 dmas = <&audma0 0x85>, <&audma0 0x9a>;
1052 dma-names = "rx", "tx";
1053 };
1054 src1: src-1 {
1055 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1056 dmas = <&audma0 0x87>, <&audma0 0x9c>;
1057 dma-names = "rx", "tx";
1058 };
1059 src2: src-2 {
1060 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1061 dmas = <&audma0 0x89>, <&audma0 0x9e>;
1062 dma-names = "rx", "tx";
1063 };
1064 src3: src-3 {
1065 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1066 dmas = <&audma0 0x8b>, <&audma0 0xa0>;
1067 dma-names = "rx", "tx";
1068 };
1069 src4: src-4 {
1070 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1071 dmas = <&audma0 0x8d>, <&audma0 0xb0>;
1072 dma-names = "rx", "tx";
1073 };
1074 src5: src-5 {
1075 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1076 dmas = <&audma0 0x8f>, <&audma0 0xb2>;
1077 dma-names = "rx", "tx";
1078 };
1079 src6: src-6 {
1080 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1081 dmas = <&audma0 0x91>, <&audma0 0xb4>;
1082 dma-names = "rx", "tx";
1083 };
1084 src7: src-7 {
1085 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1086 dmas = <&audma0 0x93>, <&audma0 0xb6>;
1087 dma-names = "rx", "tx";
1088 };
1089 src8: src-8 {
1090 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1091 dmas = <&audma0 0x95>, <&audma0 0xb8>;
1092 dma-names = "rx", "tx";
1093 };
1094 src9: src-9 {
1095 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1096 dmas = <&audma0 0x97>, <&audma0 0xba>;
1097 dma-names = "rx", "tx";
1098 };
1099 };
1100
1101 rcar_sound,ssi {
1102 ssi0: ssi-0 {
1103 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1104 dmas = <&audma0 0x01>, <&audma0 0x02>,
1105 <&audma0 0x15>, <&audma0 0x16>;
1106 dma-names = "rx", "tx", "rxu", "txu";
1107 };
1108 ssi1: ssi-1 {
1109 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1110 dmas = <&audma0 0x03>, <&audma0 0x04>,
1111 <&audma0 0x49>, <&audma0 0x4a>;
1112 dma-names = "rx", "tx", "rxu", "txu";
1113 };
1114 ssi2: ssi-2 {
1115 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1116 dmas = <&audma0 0x05>, <&audma0 0x06>,
1117 <&audma0 0x63>, <&audma0 0x64>;
1118 dma-names = "rx", "tx", "rxu", "txu";
1119 };
1120 ssi3: ssi-3 {
1121 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1122 dmas = <&audma0 0x07>, <&audma0 0x08>,
1123 <&audma0 0x6f>, <&audma0 0x70>;
1124 dma-names = "rx", "tx", "rxu", "txu";
1125 };
1126 ssi4: ssi-4 {
1127 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1128 dmas = <&audma0 0x09>, <&audma0 0x0a>,
1129 <&audma0 0x71>, <&audma0 0x72>;
1130 dma-names = "rx", "tx", "rxu", "txu";
1131 };
1132 ssi5: ssi-5 {
1133 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1134 dmas = <&audma0 0x0b>, <&audma0 0x0c>,
1135 <&audma0 0x73>, <&audma0 0x74>;
1136 dma-names = "rx", "tx", "rxu", "txu";
1137 };
1138 ssi6: ssi-6 {
1139 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1140 dmas = <&audma0 0x0d>, <&audma0 0x0e>,
1141 <&audma0 0x75>, <&audma0 0x76>;
1142 dma-names = "rx", "tx", "rxu", "txu";
1143 };
1144 ssi7: ssi-7 {
1145 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1146 dmas = <&audma0 0x0f>, <&audma0 0x10>,
1147 <&audma0 0x79>, <&audma0 0x7a>;
1148 dma-names = "rx", "tx", "rxu", "txu";
1149 };
1150 ssi8: ssi-8 {
1151 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1152 dmas = <&audma0 0x11>, <&audma0 0x12>,
1153 <&audma0 0x7b>, <&audma0 0x7c>;
1154 dma-names = "rx", "tx", "rxu", "txu";
1155 };
1156 ssi9: ssi-9 {
1157 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1158 dmas = <&audma0 0x13>, <&audma0 0x14>,
1159 <&audma0 0x7d>, <&audma0 0x7e>;
1160 dma-names = "rx", "tx", "rxu", "txu";
1161 };
1162 };
1163 };
1164
1165 audma0: dma-controller@ec700000 {
1166 compatible = "renesas,dmac-r8a77990",
1167 "renesas,rcar-dmac";
1168 reg = <0 0xec700000 0 0x10000>;
1169 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
1170 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1171 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1172 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1173 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1174 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1175 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1176 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1177 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1178 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1179 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1180 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1181 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1182 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
1183 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1184 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1185 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
1186 interrupt-names = "error",
1187 "ch0", "ch1", "ch2", "ch3",
1188 "ch4", "ch5", "ch6", "ch7",
1189 "ch8", "ch9", "ch10", "ch11",
1190 "ch12", "ch13", "ch14", "ch15";
1191 clocks = <&cpg CPG_MOD 502>;
1192 clock-names = "fck";
1193 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1194 resets = <&cpg 502>;
1195 #dma-cells = <1>;
1196 dma-channels = <16>;
1197 iommus = <&ipmmu_mp 0>, <&ipmmu_mp 1>,
1198 <&ipmmu_mp 2>, <&ipmmu_mp 3>,
1199 <&ipmmu_mp 4>, <&ipmmu_mp 5>,
1200 <&ipmmu_mp 6>, <&ipmmu_mp 7>,
1201 <&ipmmu_mp 8>, <&ipmmu_mp 9>,
1202 <&ipmmu_mp 10>, <&ipmmu_mp 11>,
1203 <&ipmmu_mp 12>, <&ipmmu_mp 13>,
1204 <&ipmmu_mp 14>, <&ipmmu_mp 15>;
1205 };
1206
936 xhci0: usb@ee000000 {
937 compatible = "renesas,xhci-r8a77990",
938 "renesas,rcar-gen3-xhci";
939 reg = <0 0xee000000 0 0xc00>;
940 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
941 clocks = <&cpg CPG_MOD 328>;
942 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
943 resets = <&cpg 328>;

--- 280 unchanged lines hidden ---
1207 xhci0: usb@ee000000 {
1208 compatible = "renesas,xhci-r8a77990",
1209 "renesas,rcar-gen3-xhci";
1210 reg = <0 0xee000000 0 0xc00>;
1211 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1212 clocks = <&cpg CPG_MOD 328>;
1213 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1214 resets = <&cpg 328>;

--- 280 unchanged lines hidden ---