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

Merge tags 'genpd-dts-dra7', 'genpd-dts-omap4' and 'genpd-dts-omap5' into omap-for-v5.13/dts-genpd

Merge together genpd related dts changes to provide base for dropping the
legacy data to prevent merge conflicts and to send dts changes separately.

+322 -168
+24 -15
arch/arm/boot/dts/omap4-l4.dtsi
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 &l4_cfg { /* 0x4a000000 */ 3 - compatible = "ti,omap4-l4-cfg", "simple-bus"; 3 + compatible = "ti,omap4-l4-cfg", "simple-pm-bus"; 4 + power-domains = <&prm_core>; 5 + clocks = <&l4_cfg_clkctrl OMAP4_L4_CFG_CLKCTRL 0>; 6 + clock-names = "fck"; 4 7 reg = <0x4a000000 0x800>, 5 8 <0x4a000800 0x800>, 6 9 <0x4a001000 0x1000>; ··· 19 16 <0x00300000 0x4a300000 0x080000>; /* segment 6 */ 20 17 21 18 segment@0 { /* 0x4a000000 */ 22 - compatible = "simple-bus"; 19 + compatible = "simple-pm-bus"; 23 20 #address-cells = <1>; 24 21 #size-cells = <1>; 25 22 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */ ··· 350 347 }; 351 348 352 349 segment@80000 { /* 0x4a080000 */ 353 - compatible = "simple-bus"; 350 + compatible = "simple-pm-bus"; 354 351 #address-cells = <1>; 355 352 #size-cells = <1>; 356 353 ranges = <0x00059000 0x000d9000 0x001000>, /* ap 13 */ ··· 642 639 }; 643 640 644 641 segment@100000 { /* 0x4a100000 */ 645 - compatible = "simple-bus"; 642 + compatible = "simple-pm-bus"; 646 643 #address-cells = <1>; 647 644 #size-cells = <1>; 648 645 ranges = <0x00000000 0x00100000 0x001000>, /* ap 21 */ ··· 744 741 }; 745 742 746 743 segment@180000 { /* 0x4a180000 */ 747 - compatible = "simple-bus"; 744 + compatible = "simple-pm-bus"; 748 745 #address-cells = <1>; 749 746 #size-cells = <1>; 750 747 }; 751 748 752 749 segment@200000 { /* 0x4a200000 */ 753 - compatible = "simple-bus"; 750 + compatible = "simple-pm-bus"; 754 751 #address-cells = <1>; 755 752 #size-cells = <1>; 756 753 ranges = <0x0001e000 0x0021e000 0x001000>, /* ap 31 */ ··· 906 903 }; 907 904 908 905 segment@280000 { /* 0x4a280000 */ 909 - compatible = "simple-bus"; 906 + compatible = "simple-pm-bus"; 910 907 #address-cells = <1>; 911 908 #size-cells = <1>; 912 909 }; 913 910 914 911 l4_cfg_segment_300000: segment@300000 { /* 0x4a300000 */ 915 - compatible = "simple-bus"; 912 + compatible = "simple-pm-bus"; 916 913 #address-cells = <1>; 917 914 #size-cells = <1>; 918 915 ranges = <0x00000000 0x00300000 0x020000>, /* ap 67 */ ··· 947 944 }; 948 945 949 946 &l4_wkup { /* 0x4a300000 */ 950 - compatible = "ti,omap4-l4-wkup", "simple-bus"; 947 + compatible = "ti,omap4-l4-wkup", "simple-pm-bus"; 948 + power-domains = <&prm_wkup>; 949 + clocks = <&l4_wkup_clkctrl OMAP4_L4_WKUP_CLKCTRL 0>; 950 + clock-names = "fck"; 951 951 reg = <0x4a300000 0x800>, 952 952 <0x4a300800 0x800>, 953 953 <0x4a301000 0x1000>; ··· 962 956 <0x00020000 0x4a320000 0x010000>; /* segment 2 */ 963 957 964 958 segment@0 { /* 0x4a300000 */ 965 - compatible = "simple-bus"; 959 + compatible = "simple-pm-bus"; 966 960 #address-cells = <1>; 967 961 #size-cells = <1>; 968 962 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */ ··· 1068 1062 }; 1069 1063 1070 1064 segment@10000 { /* 0x4a310000 */ 1071 - compatible = "simple-bus"; 1065 + compatible = "simple-pm-bus"; 1072 1066 #address-cells = <1>; 1073 1067 #size-cells = <1>; 1074 1068 ranges = <0x00000000 0x00010000 0x001000>, /* ap 5 */ ··· 1237 1231 }; 1238 1232 1239 1233 segment@20000 { /* 0x4a320000 */ 1240 - compatible = "simple-bus"; 1234 + compatible = "simple-pm-bus"; 1241 1235 #address-cells = <1>; 1242 1236 #size-cells = <1>; 1243 1237 ranges = <0x00006000 0x00026000 0x001000>, /* ap 13 */ ··· 1290 1284 }; 1291 1285 1292 1286 &l4_per { /* 0x48000000 */ 1293 - compatible = "ti,omap4-l4-per", "simple-bus"; 1287 + compatible = "ti,omap4-l4-per", "simple-pm-bus"; 1288 + power-domains = <&prm_l4per>; 1289 + clocks = <&l4_per_clkctrl OMAP4_L4_PER_CLKCTRL 0>; 1290 + clock-names = "fck"; 1294 1291 reg = <0x48000000 0x800>, 1295 1292 <0x48000800 0x800>, 1296 1293 <0x48001000 0x400>, ··· 1307 1298 <0x00200000 0x48200000 0x200000>; /* segment 1 */ 1308 1299 1309 1300 segment@0 { /* 0x48000000 */ 1310 - compatible = "simple-bus"; 1301 + compatible = "simple-pm-bus"; 1311 1302 #address-cells = <1>; 1312 1303 #size-cells = <1>; 1313 1304 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */ ··· 2446 2437 }; 2447 2438 2448 2439 segment@200000 { /* 0x48200000 */ 2449 - compatible = "simple-bus"; 2440 + compatible = "simple-pm-bus"; 2450 2441 #address-cells = <1>; 2451 2442 #size-cells = <1>; 2452 2443 ranges = <0x00150000 0x00350000 0x001000>, /* ap 77 */
+113 -52
arch/arm/boot/dts/omap4.dtsi
··· 59 59 }; 60 60 61 61 /* 62 - * Note that 4430 needs cross trigger interface (CTI) supported 63 - * before we can configure the interrupts. This means sampling 64 - * events are not supported for pmu. Note that 4460 does not use 65 - * CTI, see also 4460.dtsi. 62 + * Needed early by omap4_sram_init() for barrier, do not move to l3 63 + * interconnect as simple-pm-bus probes at module_init() time. 66 64 */ 67 - pmu { 68 - compatible = "arm,cortex-a9-pmu"; 69 - ti,hwmods = "debugss"; 65 + ocmcram: sram@40304000 { 66 + compatible = "mmio-sram"; 67 + reg = <0x40304000 0xa000>; /* 40k */ 70 68 }; 71 69 72 70 gic: interrupt-controller@48241000 { ··· 100 102 }; 101 103 102 104 /* 103 - * The soc node represents the soc top level view. It is used for IPs 104 - * that are not memory mapped in the MPU view or for the MPU itself. 105 - */ 106 - soc { 107 - compatible = "ti,omap-infra"; 108 - mpu { 109 - compatible = "ti,omap4-mpu"; 110 - ti,hwmods = "mpu"; 111 - sram = <&ocmcram>; 112 - }; 113 - }; 114 - 115 - /* 116 105 * XXX: Use a flat representation of the OMAP4 interconnect. 117 106 * The real OMAP interconnect network is quite complex. 118 107 * Since it will not bring real advantage to represent that in DT for ··· 107 122 * hierarchy. 108 123 */ 109 124 ocp { 110 - compatible = "ti,omap4-l3-noc", "simple-bus"; 125 + compatible = "simple-bus"; 126 + power-domains = <&prm_l4per>; 127 + clocks = <&l3_1_clkctrl OMAP4_L3_MAIN_1_CLKCTRL 0>, 128 + <&l3_2_clkctrl OMAP4_L3_MAIN_2_CLKCTRL 0>, 129 + <&l3_instr_clkctrl OMAP4_L3_MAIN_3_CLKCTRL 0>; 111 130 #address-cells = <1>; 112 131 #size-cells = <1>; 113 132 ranges; 114 133 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; 115 - reg = <0x44000000 0x1000>, 116 - <0x44800000 0x2000>, 117 - <0x45000000 0x1000>; 118 - interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 119 - <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 134 + 135 + l3-noc@44000000 { 136 + compatible = "ti,omap4-l3-noc"; 137 + reg = <0x44000000 0x1000>, 138 + <0x44800000 0x2000>, 139 + <0x45000000 0x1000>; 140 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 141 + <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 142 + }; 120 143 121 144 l4_wkup: interconnect@4a300000 { 122 145 }; ··· 135 142 l4_per: interconnect@48000000 { 136 143 }; 137 144 138 - l4_abe: interconnect@40100000 { 145 + target-module@48210000 { 146 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 147 + power-domains = <&prm_mpu>; 148 + clocks = <&mpuss_clkctrl OMAP4_MPU_CLKCTRL 0>; 149 + clock-names = "fck"; 150 + #address-cells = <1>; 151 + #size-cells = <1>; 152 + ranges = <0 0x48210000 0x1f0000>; 153 + 154 + mpu { 155 + compatible = "ti,omap4-mpu"; 156 + sram = <&ocmcram>; 157 + }; 139 158 }; 140 159 141 - ocmcram: sram@40304000 { 142 - compatible = "mmio-sram"; 143 - reg = <0x40304000 0xa000>; /* 40k */ 160 + l4_abe: interconnect@40100000 { 144 161 }; 145 162 146 163 target-module@50000000 { ··· 206 203 <SYSC_IDLE_SMART>, 207 204 <SYSC_IDLE_SMART_WKUP>; 208 205 ti,sysc-delay-us = <2>; 206 + power-domains = <&prm_cam>; 209 207 clocks = <&iss_clkctrl OMAP4_ISS_CLKCTRL 0>; 210 208 clock-names = "fck"; 211 209 #address-cells = <1>; ··· 214 210 ranges = <0 0x52000000 0x1000000>; 215 211 216 212 /* No child device binding, driver in staging */ 213 + }; 214 + 215 + /* 216 + * Note that 4430 needs cross trigger interface (CTI) supported 217 + * before we can configure the interrupts. This means sampling 218 + * events are not supported for pmu. Note that 4460 does not use 219 + * CTI, see also 4460.dtsi. 220 + */ 221 + target-module@54000000 { 222 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 223 + ti,hwmods = "debugss"; 224 + power-domains = <&prm_emu>; 225 + clocks = <&emu_sys_clkctrl OMAP4_DEBUGSS_CLKCTRL 0>; 226 + clock-names = "fck"; 227 + #address-cells = <1>; 228 + #size-cells = <1>; 229 + ranges = <0x0 0x54000000 0x1000000>; 230 + 231 + pmu: pmu { 232 + compatible = "arm,cortex-a9-pmu"; 233 + }; 217 234 }; 218 235 219 236 target-module@55082000 { ··· 286 261 /* No child device binding or driver in mainline */ 287 262 }; 288 263 289 - dmm@4e000000 { 290 - compatible = "ti,omap4-dmm"; 291 - reg = <0x4e000000 0x800>; 292 - interrupts = <0 113 0x4>; 264 + target-module@4e000000 { 265 + compatible = "ti,sysc-omap2", "ti,sysc"; 293 266 ti,hwmods = "dmm"; 267 + reg = <0x4e000000 0x4>, 268 + <0x4e000010 0x4>; 269 + reg-names = "rev", "sysc"; 270 + ti,sysc-sidle = <SYSC_IDLE_FORCE>, 271 + <SYSC_IDLE_NO>, 272 + <SYSC_IDLE_SMART>; 273 + ranges = <0x0 0x4e000000 0x2000000>; 274 + #size-cells = <1>; 275 + #address-cells = <1>; 276 + 277 + dmm@0 { 278 + compatible = "ti,omap4-dmm"; 279 + reg = <0 0x800>; 280 + interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; 281 + }; 294 282 }; 295 283 296 - emif1: emif@4c000000 { 297 - compatible = "ti,emif-4d"; 298 - reg = <0x4c000000 0x100>; 299 - interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 284 + target-module@4c000000 { 285 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 300 286 ti,hwmods = "emif1"; 301 - ti,no-idle-on-init; 302 - phy-type = <1>; 303 - hw-caps-read-idle-ctrl; 304 - hw-caps-ll-interface; 305 - hw-caps-temp-alert; 287 + reg = <0x4c000000 0x4>; 288 + reg-names = "rev"; 289 + clocks = <&l3_emif_clkctrl OMAP4_EMIF1_CLKCTRL 0>; 290 + clock-names = "fck"; 291 + ti,no-idle; 292 + #address-cells = <1>; 293 + #size-cells = <1>; 294 + ranges = <0x0 0x4c000000 0x1000000>; 295 + 296 + emif1: emif@0 { 297 + compatible = "ti,emif-4d"; 298 + reg = <0 0x100>; 299 + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 300 + phy-type = <1>; 301 + hw-caps-read-idle-ctrl; 302 + hw-caps-ll-interface; 303 + hw-caps-temp-alert; 304 + }; 306 305 }; 307 306 308 - emif2: emif@4d000000 { 309 - compatible = "ti,emif-4d"; 310 - reg = <0x4d000000 0x100>; 311 - interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 307 + target-module@4d000000 { 308 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 312 309 ti,hwmods = "emif2"; 313 - ti,no-idle-on-init; 314 - phy-type = <1>; 315 - hw-caps-read-idle-ctrl; 316 - hw-caps-ll-interface; 317 - hw-caps-temp-alert; 310 + reg = <0x4d000000 0x4>; 311 + reg-names = "rev"; 312 + clocks = <&l3_emif_clkctrl OMAP4_EMIF2_CLKCTRL 0>; 313 + clock-names = "fck"; 314 + ti,no-idle; 315 + #address-cells = <1>; 316 + #size-cells = <1>; 317 + ranges = <0x0 0x4d000000 0x1000000>; 318 + 319 + emif2: emif@0 { 320 + compatible = "ti,emif-4d"; 321 + reg = <0 0x100>; 322 + interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 323 + phy-type = <1>; 324 + hw-caps-read-idle-ctrl; 325 + hw-caps-ll-interface; 326 + hw-caps-temp-alert; 327 + }; 318 328 }; 319 329 320 330 dsp: dsp { ··· 500 440 <SYSC_IDLE_NO>, 501 441 <SYSC_IDLE_SMART>, 502 442 <SYSC_IDLE_SMART_WKUP>; 443 + power-domains = <&prm_gfx>; 503 444 clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 0>; 504 445 clock-names = "fck"; 505 446 #address-cells = <1>;
+6 -7
arch/arm/boot/dts/omap4460.dtsi
··· 26 26 }; 27 27 }; 28 28 29 - pmu { 30 - compatible = "arm,cortex-a9-pmu"; 31 - interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 32 - <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 33 - ti,hwmods = "debugss"; 34 - }; 35 - 36 29 thermal-zones { 37 30 #include "omap4-cpu-thermal.dtsi" 38 31 }; ··· 119 126 <0x0002a000 0x0002a000 0x00002000>, 120 127 <0x0002c000 0x0002c000 0x00004000>, 121 128 <0x00030000 0x00030000 0x00010000>; 129 + }; 130 + 131 + &pmu { 132 + compatible = "arm,cortex-a9-pmu"; 133 + interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 134 + <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 122 135 }; 123 136 124 137 /include/ "omap446x-clocks.dtsi"
+49 -18
arch/arm/boot/dts/omap5-l4.dtsi
··· 1 1 &l4_cfg { /* 0x4a000000 */ 2 - compatible = "ti,omap5-l4-cfg", "simple-bus"; 2 + compatible = "ti,omap5-l4-cfg", "simple-pm-bus"; 3 + power-domains = <&prm_core>; 4 + clocks = <&l4cfg_clkctrl OMAP5_L4_CFG_CLKCTRL 0>; 5 + clock-names = "fck"; 3 6 reg = <0x4a000000 0x800>, 4 7 <0x4a000800 0x800>, 5 8 <0x4a001000 0x1000>; ··· 18 15 <0x00300000 0x4a300000 0x080000>; /* segment 6 */ 19 16 20 17 segment@0 { /* 0x4a000000 */ 21 - compatible = "simple-bus"; 18 + compatible = "simple-pm-bus"; 22 19 #address-cells = <1>; 23 20 #size-cells = <1>; 24 21 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */ ··· 394 391 }; 395 392 396 393 segment@80000 { /* 0x4a080000 */ 397 - compatible = "simple-bus"; 394 + compatible = "simple-pm-bus"; 398 395 #address-cells = <1>; 399 396 #size-cells = <1>; 400 397 ranges = <0x00059000 0x000d9000 0x001000>, /* ap 13 */ ··· 657 654 }; 658 655 659 656 segment@100000 { /* 0x4a100000 */ 660 - compatible = "simple-bus"; 657 + compatible = "simple-pm-bus"; 661 658 #address-cells = <1>; 662 659 #size-cells = <1>; 663 660 ranges = <0x00002000 0x00102000 0x001000>, /* ap 59 */ ··· 694 691 }; 695 692 696 693 target-module@40000 { /* 0x4a140000, ap 101 16.0 */ 697 - compatible = "ti,sysc"; 698 - status = "disabled"; 699 - #address-cells = <1>; 694 + compatible = "ti,sysc-omap4", "ti,sysc"; 695 + reg = <0x400fc 4>, 696 + <0x41100 4>; 697 + reg-names = "rev", "sysc"; 698 + ti,sysc-midle = <SYSC_IDLE_FORCE>, 699 + <SYSC_IDLE_NO>, 700 + <SYSC_IDLE_SMART>; 701 + ti,sysc-sidle = <SYSC_IDLE_FORCE>, 702 + <SYSC_IDLE_NO>, 703 + <SYSC_IDLE_SMART>, 704 + <SYSC_IDLE_SMART_WKUP>; 705 + power-domains = <&prm_l3init>; 706 + clocks = <&l3init_clkctrl OMAP5_SATA_CLKCTRL 0>; 707 + clock-names = "fck"; 700 708 #size-cells = <1>; 709 + #address-cells = <1>; 701 710 ranges = <0x0 0x40000 0x10000>; 711 + 712 + sata: sata@0 { 713 + compatible = "snps,dwc-ahci"; 714 + reg = <0 0x1100>, <0x1100 0x8>; 715 + interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; 716 + phys = <&sata_phy>; 717 + phy-names = "sata-phy"; 718 + clocks = <&l3init_clkctrl OMAP5_SATA_CLKCTRL 8>; 719 + ports-implemented = <0x1>; 720 + }; 702 721 }; 703 722 }; 704 723 705 724 segment@180000 { /* 0x4a180000 */ 706 - compatible = "simple-bus"; 725 + compatible = "simple-pm-bus"; 707 726 #address-cells = <1>; 708 727 #size-cells = <1>; 709 728 }; 710 729 711 730 segment@200000 { /* 0x4a200000 */ 712 - compatible = "simple-bus"; 731 + compatible = "simple-pm-bus"; 713 732 #address-cells = <1>; 714 733 #size-cells = <1>; 715 734 ranges = <0x0001e000 0x0021e000 0x001000>, /* ap 29 */ ··· 937 912 }; 938 913 939 914 segment@280000 { /* 0x4a280000 */ 940 - compatible = "simple-bus"; 915 + compatible = "simple-pm-bus"; 941 916 #address-cells = <1>; 942 917 #size-cells = <1>; 943 918 }; 944 919 945 920 segment@300000 { /* 0x4a300000 */ 946 - compatible = "simple-bus"; 921 + compatible = "simple-pm-bus"; 947 922 #address-cells = <1>; 948 923 #size-cells = <1>; 949 924 }; 950 925 }; 951 926 952 927 &l4_per { /* 0x48000000 */ 953 - compatible = "ti,omap5-l4-per", "simple-bus"; 928 + compatible = "ti,omap5-l4-per", "simple-pm-bus"; 929 + power-domains = <&prm_core>; 930 + clocks = <&l4per_clkctrl OMAP5_L4_PER_CLKCTRL 0>; 931 + clock-names = "fck"; 954 932 reg = <0x48000000 0x800>, 955 933 <0x48000800 0x800>, 956 934 <0x48001000 0x400>, ··· 967 939 <0x00200000 0x48200000 0x200000>; /* segment 1 */ 968 940 969 941 segment@0 { /* 0x48000000 */ 970 - compatible = "simple-bus"; 942 + compatible = "simple-pm-bus"; 971 943 #address-cells = <1>; 972 944 #size-cells = <1>; 973 945 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */ ··· 2176 2148 }; 2177 2149 2178 2150 segment@200000 { /* 0x48200000 */ 2179 - compatible = "simple-bus"; 2151 + compatible = "simple-pm-bus"; 2180 2152 #address-cells = <1>; 2181 2153 #size-cells = <1>; 2182 2154 }; 2183 2155 }; 2184 2156 2185 2157 &l4_wkup { /* 0x4ae00000 */ 2186 - compatible = "ti,omap5-l4-wkup", "simple-bus"; 2158 + compatible = "ti,omap5-l4-wkup", "simple-pm-bus"; 2159 + power-domains = <&prm_wkupaon>; 2160 + clocks = <&wkupaon_clkctrl OMAP5_L4_WKUP_CLKCTRL 0>; 2161 + clock-names = "fck"; 2187 2162 reg = <0x4ae00000 0x800>, 2188 2163 <0x4ae00800 0x800>, 2189 2164 <0x4ae01000 0x1000>; ··· 2198 2167 <0x00020000 0x4ae20000 0x010000>; /* segment 2 */ 2199 2168 2200 2169 segment@0 { /* 0x4ae00000 */ 2201 - compatible = "simple-bus"; 2170 + compatible = "simple-pm-bus"; 2202 2171 #address-cells = <1>; 2203 2172 #size-cells = <1>; 2204 2173 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */ ··· 2327 2296 }; 2328 2297 2329 2298 segment@10000 { /* 0x4ae10000 */ 2330 - compatible = "simple-bus"; 2299 + compatible = "simple-pm-bus"; 2331 2300 #address-cells = <1>; 2332 2301 #size-cells = <1>; 2333 2302 ranges = <0x00000000 0x00010000 0x001000>, /* ap 5 */ ··· 2454 2423 }; 2455 2424 2456 2425 segment@20000 { /* 0x4ae20000 */ 2457 - compatible = "simple-bus"; 2426 + compatible = "simple-pm-bus"; 2458 2427 #address-cells = <1>; 2459 2428 #size-cells = <1>; 2460 2429 ranges = <0x00006000 0x00026000 0x001000>, /* ap 13 */
+130 -76
arch/arm/boot/dts/omap5.dtsi
··· 106 106 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>; 107 107 }; 108 108 109 + /* 110 + * Needed early by omap4_sram_init() for barrier, do not move to l3 111 + * interconnect as simple-pm-bus probes at module_init() time. 112 + */ 113 + ocmcram: sram@40300000 { 114 + compatible = "mmio-sram"; 115 + reg = <0 0x40300000 0 0x20000>; /* 128k */ 116 + }; 117 + 109 118 gic: interrupt-controller@48211000 { 110 119 compatible = "arm,cortex-a15-gic"; 111 120 interrupt-controller; ··· 135 126 }; 136 127 137 128 /* 138 - * The soc node represents the soc top level view. It is used for IPs 139 - * that are not memory mapped in the MPU view or for the MPU itself. 140 - */ 141 - soc { 142 - compatible = "ti,omap-infra"; 143 - mpu { 144 - compatible = "ti,omap4-mpu"; 145 - ti,hwmods = "mpu"; 146 - sram = <&ocmcram>; 147 - }; 148 - }; 149 - 150 - /* 151 129 * XXX: Use a flat representation of the OMAP3 interconnect. 152 130 * The real OMAP interconnect network is quite complex. 153 131 * Since it will not bring real advantage to represent that in DT for ··· 142 146 * hierarchy. 143 147 */ 144 148 ocp { 145 - compatible = "ti,omap5-l3-noc", "simple-bus"; 149 + compatible = "simple-pm-bus"; 150 + power-domains = <&prm_core>; 151 + clocks = <&l3main1_clkctrl OMAP5_L3_MAIN_1_CLKCTRL 0>, 152 + <&l3main2_clkctrl OMAP5_L3_MAIN_2_CLKCTRL 0>, 153 + <&l3instr_clkctrl OMAP5_L3_MAIN_3_CLKCTRL 0>; 146 154 #address-cells = <1>; 147 155 #size-cells = <1>; 148 156 ranges = <0 0 0 0xc0000000>; 149 157 dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>; 150 158 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; 151 - reg = <0 0x44000000 0 0x2000>, 152 - <0 0x44800000 0 0x3000>, 153 - <0 0x45000000 0 0x4000>; 154 - interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 155 - <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 159 + 160 + l3-noc@44000000 { 161 + compatible = "ti,omap5-l3-noc"; 162 + reg = <0x44000000 0x2000>, 163 + <0x44800000 0x3000>, 164 + <0x45000000 0x4000>; 165 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 166 + <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 167 + }; 156 168 157 169 l4_wkup: interconnect@4ae00000 { 158 170 }; ··· 171 167 l4_per: interconnect@48000000 { 172 168 }; 173 169 170 + target-module@48210000 { 171 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 172 + power-domains = <&prm_mpu>; 173 + clocks = <&mpu_clkctrl OMAP5_MPU_CLKCTRL 0>; 174 + clock-names = "fck"; 175 + #address-cells = <1>; 176 + #size-cells = <1>; 177 + ranges = <0 0x48210000 0x1f0000>; 178 + 179 + mpu { 180 + compatible = "ti,omap4-mpu"; 181 + sram = <&ocmcram>; 182 + }; 183 + }; 184 + 174 185 l4_abe: interconnect@40100000 { 175 186 }; 176 187 177 - ocmcram: sram@40300000 { 178 - compatible = "mmio-sram"; 179 - reg = <0x40300000 0x20000>; /* 128k */ 180 - }; 181 - 182 - gpmc: gpmc@50000000 { 183 - compatible = "ti,omap4430-gpmc"; 184 - reg = <0x50000000 0x1000>; 185 - #address-cells = <2>; 186 - #size-cells = <1>; 187 - interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 188 - dmas = <&sdma 4>; 189 - dma-names = "rxtx"; 190 - gpmc,num-cs = <8>; 191 - gpmc,num-waitpins = <4>; 192 - ti,hwmods = "gpmc"; 193 - clocks = <&l3_iclk_div>; 188 + target-module@50000000 { 189 + compatible = "ti,sysc-omap2", "ti,sysc"; 190 + reg = <0x50000000 4>, 191 + <0x50000010 4>, 192 + <0x50000014 4>; 193 + reg-names = "rev", "sysc", "syss"; 194 + ti,sysc-sidle = <SYSC_IDLE_FORCE>, 195 + <SYSC_IDLE_NO>, 196 + <SYSC_IDLE_SMART>; 197 + ti,syss-mask = <1>; 198 + ti,no-idle-on-init; 199 + clocks = <&l3main2_clkctrl OMAP5_L3_MAIN_2_GPMC_CLKCTRL 0>; 194 200 clock-names = "fck"; 195 - interrupt-controller; 196 - #interrupt-cells = <2>; 197 - gpio-controller; 198 - #gpio-cells = <2>; 201 + #address-cells = <1>; 202 + #size-cells = <1>; 203 + ranges = <0x50000000 0x50000000 0x00001000>, /* regs */ 204 + <0x00000000 0x00000000 0x40000000>; /* data */ 205 + 206 + gpmc: gpmc@50000000 { 207 + compatible = "ti,omap4430-gpmc"; 208 + reg = <0x50000000 0x1000>; 209 + #address-cells = <2>; 210 + #size-cells = <1>; 211 + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 212 + dmas = <&sdma 4>; 213 + dma-names = "rxtx"; 214 + gpmc,num-cs = <8>; 215 + gpmc,num-waitpins = <4>; 216 + clock-names = "fck"; 217 + interrupt-controller; 218 + #interrupt-cells = <2>; 219 + gpio-controller; 220 + #gpio-cells = <2>; 221 + }; 199 222 }; 200 223 201 224 target-module@55082000 { ··· 277 246 status = "disabled"; 278 247 }; 279 248 280 - dmm@4e000000 { 281 - compatible = "ti,omap5-dmm"; 282 - reg = <0x4e000000 0x800>; 283 - interrupts = <0 113 0x4>; 249 + target-module@4e000000 { 250 + compatible = "ti,sysc-omap2", "ti,sysc"; 284 251 ti,hwmods = "dmm"; 252 + reg = <0x4e000000 0x4>, 253 + <0x4e000010 0x4>; 254 + reg-names = "rev", "sysc"; 255 + ti,sysc-sidle = <SYSC_IDLE_FORCE>, 256 + <SYSC_IDLE_NO>, 257 + <SYSC_IDLE_SMART>; 258 + ranges = <0x0 0x4e000000 0x2000000>; 259 + #size-cells = <1>; 260 + #address-cells = <1>; 261 + 262 + dmm@0 { 263 + compatible = "ti,omap5-dmm"; 264 + reg = <0 0x800>; 265 + interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; 266 + }; 285 267 }; 286 268 287 - emif1: emif@4c000000 { 288 - compatible = "ti,emif-4d5"; 289 - ti,hwmods = "emif1"; 290 - ti,no-idle-on-init; 291 - phy-type = <2>; /* DDR PHY type: Intelli PHY */ 292 - reg = <0x4c000000 0x400>; 293 - interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 294 - hw-caps-read-idle-ctrl; 295 - hw-caps-ll-interface; 296 - hw-caps-temp-alert; 269 + target-module@4c000000 { 270 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 271 + ti,hwmods = "emif1"; 272 + reg = <0x4c000000 0x4>; 273 + reg-names = "rev"; 274 + clocks = <&emif_clkctrl OMAP5_EMIF1_CLKCTRL 0>; 275 + clock-names = "fck"; 276 + ti,no-idle; 277 + #address-cells = <1>; 278 + #size-cells = <1>; 279 + ranges = <0x0 0x4c000000 0x1000000>; 280 + 281 + emif1: emif@0 { 282 + compatible = "ti,emif-4d5"; 283 + reg = <0 0x400>; 284 + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 285 + phy-type = <2>; /* DDR PHY type: Intelli PHY */ 286 + hw-caps-read-idle-ctrl; 287 + hw-caps-ll-interface; 288 + hw-caps-temp-alert; 289 + }; 297 290 }; 298 291 299 - emif2: emif@4d000000 { 300 - compatible = "ti,emif-4d5"; 301 - ti,hwmods = "emif2"; 302 - ti,no-idle-on-init; 303 - phy-type = <2>; /* DDR PHY type: Intelli PHY */ 304 - reg = <0x4d000000 0x400>; 305 - interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 306 - hw-caps-read-idle-ctrl; 307 - hw-caps-ll-interface; 308 - hw-caps-temp-alert; 292 + target-module@4d000000 { 293 + compatible = "ti,sysc-omap4-simple", "ti,sysc"; 294 + ti,hwmods = "emif2"; 295 + reg = <0x4d000000 0x4>; 296 + reg-names = "rev"; 297 + clocks = <&emif_clkctrl OMAP5_EMIF2_CLKCTRL 0>; 298 + clock-names = "fck"; 299 + ti,no-idle; 300 + #address-cells = <1>; 301 + #size-cells = <1>; 302 + ranges = <0x0 0x4d000000 0x1000000>; 303 + 304 + emif2: emif@0 { 305 + compatible = "ti,emif-4d5"; 306 + reg = <0 0x400>; 307 + interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 308 + phy-type = <2>; /* DDR PHY type: Intelli PHY */ 309 + hw-caps-read-idle-ctrl; 310 + hw-caps-ll-interface; 311 + hw-caps-temp-alert; 312 + }; 309 313 }; 310 314 311 315 aes1_target: target-module@4b501000 { ··· 438 372 compatible = "ti,omap5430-bandgap"; 439 373 440 374 #thermal-sensor-cells = <1>; 441 - }; 442 - 443 - /* OCP2SCP3 */ 444 - sata: sata@4a141100 { 445 - compatible = "snps,dwc-ahci"; 446 - reg = <0x4a140000 0x1100>, <0x4a141100 0x7>; 447 - interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; 448 - phys = <&sata_phy>; 449 - phy-names = "sata-phy"; 450 - clocks = <&l3init_clkctrl OMAP5_SATA_CLKCTRL 8>; 451 - ti,hwmods = "sata"; 452 - ports-implemented = <0x1>; 453 375 }; 454 376 455 377 target-module@56000000 {