1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 4*724ba675SRob Herring * 5*724ba675SRob Herring * Common PRUSS data for TI AM57xx platforms 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring&ocp { 9*724ba675SRob Herring pruss1_tm: target-module@4b226000 { 10*724ba675SRob Herring compatible = "ti,sysc-pruss", "ti,sysc"; 11*724ba675SRob Herring reg = <0x4b226000 0x4>, 12*724ba675SRob Herring <0x4b226004 0x4>; 13*724ba675SRob Herring reg-names = "rev", "sysc"; 14*724ba675SRob Herring ti,sysc-mask = <(SYSC_PRUSS_STANDBY_INIT | 15*724ba675SRob Herring SYSC_PRUSS_SUB_MWAIT)>; 16*724ba675SRob Herring ti,sysc-midle = <SYSC_IDLE_FORCE>, 17*724ba675SRob Herring <SYSC_IDLE_NO>, 18*724ba675SRob Herring <SYSC_IDLE_SMART>; 19*724ba675SRob Herring ti,sysc-sidle = <SYSC_IDLE_FORCE>, 20*724ba675SRob Herring <SYSC_IDLE_NO>, 21*724ba675SRob Herring <SYSC_IDLE_SMART>; 22*724ba675SRob Herring /* Domains (P, C): coreaon_pwrdm, l4per2_clkdm */ 23*724ba675SRob Herring clocks = <&l4per2_clkctrl DRA7_L4PER2_PRUSS1_CLKCTRL 0>; 24*724ba675SRob Herring clock-names = "fck"; 25*724ba675SRob Herring #address-cells = <1>; 26*724ba675SRob Herring #size-cells = <1>; 27*724ba675SRob Herring ranges = <0x00000000 0x4b200000 0x80000>; 28*724ba675SRob Herring 29*724ba675SRob Herring pruss1: pruss@0 { 30*724ba675SRob Herring compatible = "ti,am5728-pruss"; 31*724ba675SRob Herring reg = <0x0 0x80000>; 32*724ba675SRob Herring #address-cells = <1>; 33*724ba675SRob Herring #size-cells = <1>; 34*724ba675SRob Herring ranges; 35*724ba675SRob Herring 36*724ba675SRob Herring pruss1_mem: memories@0 { 37*724ba675SRob Herring reg = <0x0 0x2000>, 38*724ba675SRob Herring <0x2000 0x2000>, 39*724ba675SRob Herring <0x10000 0x8000>; 40*724ba675SRob Herring reg-names = "dram0", "dram1", 41*724ba675SRob Herring "shrdram2"; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring pruss1_cfg: cfg@26000 { 45*724ba675SRob Herring compatible = "ti,pruss-cfg", "syscon"; 46*724ba675SRob Herring reg = <0x26000 0x2000>; 47*724ba675SRob Herring #address-cells = <1>; 48*724ba675SRob Herring #size-cells = <1>; 49*724ba675SRob Herring ranges = <0x0 0x26000 0x2000>; 50*724ba675SRob Herring 51*724ba675SRob Herring clocks { 52*724ba675SRob Herring #address-cells = <1>; 53*724ba675SRob Herring #size-cells = <0>; 54*724ba675SRob Herring 55*724ba675SRob Herring pruss1_iepclk_mux: iepclk-mux@30 { 56*724ba675SRob Herring reg = <0x30>; 57*724ba675SRob Herring #clock-cells = <0>; 58*724ba675SRob Herring clocks = <&dpll_gmac_m3x2_ck>, /* icss_iep_clk */ 59*724ba675SRob Herring <&dpll_gmac_h13x2_ck>; /* icss_clk */ 60*724ba675SRob Herring }; 61*724ba675SRob Herring }; 62*724ba675SRob Herring }; 63*724ba675SRob Herring 64*724ba675SRob Herring pruss1_mii_rt: mii-rt@32000 { 65*724ba675SRob Herring compatible = "ti,pruss-mii", "syscon"; 66*724ba675SRob Herring reg = <0x32000 0x58>; 67*724ba675SRob Herring }; 68*724ba675SRob Herring 69*724ba675SRob Herring pruss1_intc: interrupt-controller@20000 { 70*724ba675SRob Herring compatible = "ti,pruss-intc"; 71*724ba675SRob Herring reg = <0x20000 0x2000>; 72*724ba675SRob Herring interrupt-controller; 73*724ba675SRob Herring #interrupt-cells = <3>; 74*724ba675SRob Herring interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 75*724ba675SRob Herring <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 76*724ba675SRob Herring <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 77*724ba675SRob Herring <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 78*724ba675SRob Herring <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 79*724ba675SRob Herring <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 80*724ba675SRob Herring <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 81*724ba675SRob Herring <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; 82*724ba675SRob Herring interrupt-names = "host_intr0", "host_intr1", 83*724ba675SRob Herring "host_intr2", "host_intr3", 84*724ba675SRob Herring "host_intr4", "host_intr5", 85*724ba675SRob Herring "host_intr6", "host_intr7"; 86*724ba675SRob Herring }; 87*724ba675SRob Herring 88*724ba675SRob Herring pru1_0: pru@34000 { 89*724ba675SRob Herring compatible = "ti,am5728-pru"; 90*724ba675SRob Herring reg = <0x34000 0x3000>, 91*724ba675SRob Herring <0x22000 0x400>, 92*724ba675SRob Herring <0x22400 0x100>; 93*724ba675SRob Herring reg-names = "iram", "control", "debug"; 94*724ba675SRob Herring firmware-name = "am57xx-pru1_0-fw"; 95*724ba675SRob Herring }; 96*724ba675SRob Herring 97*724ba675SRob Herring pru1_1: pru@38000 { 98*724ba675SRob Herring compatible = "ti,am5728-pru"; 99*724ba675SRob Herring reg = <0x38000 0x3000>, 100*724ba675SRob Herring <0x24000 0x400>, 101*724ba675SRob Herring <0x24400 0x100>; 102*724ba675SRob Herring reg-names = "iram", "control", "debug"; 103*724ba675SRob Herring firmware-name = "am57xx-pru1_1-fw"; 104*724ba675SRob Herring }; 105*724ba675SRob Herring 106*724ba675SRob Herring pruss1_mdio: mdio@32400 { 107*724ba675SRob Herring compatible = "ti,davinci_mdio"; 108*724ba675SRob Herring #address-cells = <1>; 109*724ba675SRob Herring #size-cells = <0>; 110*724ba675SRob Herring clocks = <&dpll_gmac_h13x2_ck>; 111*724ba675SRob Herring clock-names = "fck"; 112*724ba675SRob Herring bus_freq = <1000000>; 113*724ba675SRob Herring reg = <0x32400 0x90>; 114*724ba675SRob Herring }; 115*724ba675SRob Herring }; 116*724ba675SRob Herring }; 117*724ba675SRob Herring 118*724ba675SRob Herring pruss2_tm: target-module@4b2a6000 { 119*724ba675SRob Herring compatible = "ti,sysc-pruss", "ti,sysc"; 120*724ba675SRob Herring reg = <0x4b2a6000 0x4>, 121*724ba675SRob Herring <0x4b2a6004 0x4>; 122*724ba675SRob Herring reg-names = "rev", "sysc"; 123*724ba675SRob Herring ti,sysc-mask = <(SYSC_PRUSS_STANDBY_INIT | 124*724ba675SRob Herring SYSC_PRUSS_SUB_MWAIT)>; 125*724ba675SRob Herring ti,sysc-midle = <SYSC_IDLE_FORCE>, 126*724ba675SRob Herring <SYSC_IDLE_NO>, 127*724ba675SRob Herring <SYSC_IDLE_SMART>; 128*724ba675SRob Herring ti,sysc-sidle = <SYSC_IDLE_FORCE>, 129*724ba675SRob Herring <SYSC_IDLE_NO>, 130*724ba675SRob Herring <SYSC_IDLE_SMART>; 131*724ba675SRob Herring /* Domains (P, C): coreaon_pwrdm, l4per2_clkdm */ 132*724ba675SRob Herring clocks = <&l4per2_clkctrl DRA7_L4PER2_PRUSS2_CLKCTRL 0>; 133*724ba675SRob Herring clock-names = "fck"; 134*724ba675SRob Herring #address-cells = <1>; 135*724ba675SRob Herring #size-cells = <1>; 136*724ba675SRob Herring ranges = <0x00000000 0x4b280000 0x80000>; 137*724ba675SRob Herring 138*724ba675SRob Herring pruss2: pruss@0 { 139*724ba675SRob Herring compatible = "ti,am5728-pruss"; 140*724ba675SRob Herring reg = <0x0 0x80000>; 141*724ba675SRob Herring #address-cells = <1>; 142*724ba675SRob Herring #size-cells = <1>; 143*724ba675SRob Herring ranges; 144*724ba675SRob Herring 145*724ba675SRob Herring pruss2_mem: memories@0 { 146*724ba675SRob Herring reg = <0x0 0x2000>, 147*724ba675SRob Herring <0x2000 0x2000>, 148*724ba675SRob Herring <0x10000 0x8000>; 149*724ba675SRob Herring reg-names = "dram0", "dram1", 150*724ba675SRob Herring "shrdram2"; 151*724ba675SRob Herring }; 152*724ba675SRob Herring 153*724ba675SRob Herring pruss2_cfg: cfg@26000 { 154*724ba675SRob Herring compatible = "ti,pruss-cfg", "syscon"; 155*724ba675SRob Herring reg = <0x26000 0x2000>; 156*724ba675SRob Herring #address-cells = <1>; 157*724ba675SRob Herring #size-cells = <1>; 158*724ba675SRob Herring ranges = <0x0 0x26000 0x2000>; 159*724ba675SRob Herring 160*724ba675SRob Herring clocks { 161*724ba675SRob Herring #address-cells = <1>; 162*724ba675SRob Herring #size-cells = <0>; 163*724ba675SRob Herring 164*724ba675SRob Herring pruss2_iepclk_mux: iepclk-mux@30 { 165*724ba675SRob Herring reg = <0x30>; 166*724ba675SRob Herring #clock-cells = <0>; 167*724ba675SRob Herring clocks = <&dpll_gmac_m3x2_ck>, /* icss_iep_clk */ 168*724ba675SRob Herring <&dpll_gmac_h13x2_ck>; /* icss_clk */ 169*724ba675SRob Herring }; 170*724ba675SRob Herring }; 171*724ba675SRob Herring }; 172*724ba675SRob Herring 173*724ba675SRob Herring pruss2_mii_rt: mii-rt@32000 { 174*724ba675SRob Herring compatible = "ti,pruss-mii", "syscon"; 175*724ba675SRob Herring reg = <0x32000 0x58>; 176*724ba675SRob Herring }; 177*724ba675SRob Herring 178*724ba675SRob Herring pruss2_intc: interrupt-controller@20000 { 179*724ba675SRob Herring compatible = "ti,pruss-intc"; 180*724ba675SRob Herring reg = <0x20000 0x2000>; 181*724ba675SRob Herring interrupt-controller; 182*724ba675SRob Herring #interrupt-cells = <3>; 183*724ba675SRob Herring interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, 184*724ba675SRob Herring <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>, 185*724ba675SRob Herring <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, 186*724ba675SRob Herring <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>, 187*724ba675SRob Herring <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>, 188*724ba675SRob Herring <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>, 189*724ba675SRob Herring <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>, 190*724ba675SRob Herring <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>; 191*724ba675SRob Herring interrupt-names = "host_intr0", "host_intr1", 192*724ba675SRob Herring "host_intr2", "host_intr3", 193*724ba675SRob Herring "host_intr4", "host_intr5", 194*724ba675SRob Herring "host_intr6", "host_intr7"; 195*724ba675SRob Herring }; 196*724ba675SRob Herring 197*724ba675SRob Herring pru2_0: pru@34000 { 198*724ba675SRob Herring compatible = "ti,am5728-pru"; 199*724ba675SRob Herring reg = <0x34000 0x3000>, 200*724ba675SRob Herring <0x22000 0x400>, 201*724ba675SRob Herring <0x22400 0x100>; 202*724ba675SRob Herring reg-names = "iram", "control", "debug"; 203*724ba675SRob Herring firmware-name = "am57xx-pru2_0-fw"; 204*724ba675SRob Herring }; 205*724ba675SRob Herring 206*724ba675SRob Herring pru2_1: pru@38000 { 207*724ba675SRob Herring compatible = "ti,am5728-pru"; 208*724ba675SRob Herring reg = <0x38000 0x3000>, 209*724ba675SRob Herring <0x24000 0x400>, 210*724ba675SRob Herring <0x24400 0x100>; 211*724ba675SRob Herring reg-names = "iram", "control", "debug"; 212*724ba675SRob Herring firmware-name = "am57xx-pru2_1-fw"; 213*724ba675SRob Herring }; 214*724ba675SRob Herring 215*724ba675SRob Herring pruss2_mdio: mdio@32400 { 216*724ba675SRob Herring compatible = "ti,davinci_mdio"; 217*724ba675SRob Herring #address-cells = <1>; 218*724ba675SRob Herring #size-cells = <0>; 219*724ba675SRob Herring clocks = <&dpll_gmac_h13x2_ck>; 220*724ba675SRob Herring clock-names = "fck"; 221*724ba675SRob Herring bus_freq = <1000000>; 222*724ba675SRob Herring reg = <0x32400 0x90>; 223*724ba675SRob Herring }; 224*724ba675SRob Herring }; 225*724ba675SRob Herring }; 226*724ba675SRob Herring}; 227