1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Device Tree Source for K2G SOC 4724ba675SRob Herring * 5*11621bedSNishanth Menon * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 6724ba675SRob Herring */ 7724ba675SRob Herring 8724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 9724ba675SRob Herring#include <dt-bindings/pinctrl/keystone.h> 10724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 11724ba675SRob Herring 12724ba675SRob Herring/ { 13724ba675SRob Herring compatible = "ti,k2g","ti,keystone"; 14724ba675SRob Herring model = "Texas Instruments K2G SoC"; 15724ba675SRob Herring #address-cells = <2>; 16724ba675SRob Herring #size-cells = <2>; 17724ba675SRob Herring interrupt-parent = <&gic>; 18724ba675SRob Herring 19724ba675SRob Herring chosen { }; 20724ba675SRob Herring 21724ba675SRob Herring aliases { 22724ba675SRob Herring serial0 = &uart0; 23724ba675SRob Herring serial1 = &uart1; 24724ba675SRob Herring serial2 = &uart2; 25724ba675SRob Herring i2c0 = &i2c0; 26724ba675SRob Herring i2c1 = &i2c1; 27724ba675SRob Herring i2c2 = &i2c2; 28724ba675SRob Herring rproc0 = &dsp0; 29724ba675SRob Herring }; 30724ba675SRob Herring 31724ba675SRob Herring cpus { 32724ba675SRob Herring #address-cells = <1>; 33724ba675SRob Herring #size-cells = <0>; 34724ba675SRob Herring 35724ba675SRob Herring cpu@0 { 36724ba675SRob Herring compatible = "arm,cortex-a15"; 37724ba675SRob Herring device_type = "cpu"; 38724ba675SRob Herring reg = <0>; 39724ba675SRob Herring }; 40724ba675SRob Herring }; 41724ba675SRob Herring 42724ba675SRob Herring gic: interrupt-controller@2561000 { 43724ba675SRob Herring compatible = "arm,gic-400", "arm,cortex-a15-gic"; 44724ba675SRob Herring #interrupt-cells = <3>; 45724ba675SRob Herring interrupt-controller; 46724ba675SRob Herring reg = <0x0 0x02561000 0x0 0x1000>, 47724ba675SRob Herring <0x0 0x02562000 0x0 0x2000>, 48724ba675SRob Herring <0x0 0x02564000 0x0 0x2000>, 49724ba675SRob Herring <0x0 0x02566000 0x0 0x2000>; 50724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | 51724ba675SRob Herring IRQ_TYPE_LEVEL_HIGH)>; 52724ba675SRob Herring }; 53724ba675SRob Herring 54724ba675SRob Herring timer { 55724ba675SRob Herring compatible = "arm,armv7-timer"; 56724ba675SRob Herring interrupts = 57724ba675SRob Herring <GIC_PPI 13 58724ba675SRob Herring (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 59724ba675SRob Herring <GIC_PPI 14 60724ba675SRob Herring (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 61724ba675SRob Herring <GIC_PPI 11 62724ba675SRob Herring (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 63724ba675SRob Herring <GIC_PPI 10 64724ba675SRob Herring (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 65724ba675SRob Herring }; 66724ba675SRob Herring 67724ba675SRob Herring pmu { 68724ba675SRob Herring compatible = "arm,cortex-a15-pmu"; 69724ba675SRob Herring interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; 70724ba675SRob Herring }; 71724ba675SRob Herring 72724ba675SRob Herring usbphy { 73724ba675SRob Herring #address-cells = <1>; 74724ba675SRob Herring #size-cells = <0>; 75724ba675SRob Herring compatible = "simple-bus"; 76724ba675SRob Herring 77724ba675SRob Herring usb0_phy: usb-phy@0 { 78724ba675SRob Herring compatible = "usb-nop-xceiv"; 79724ba675SRob Herring reg = <0>; 80724ba675SRob Herring status = "disabled"; 81724ba675SRob Herring }; 82724ba675SRob Herring 83724ba675SRob Herring usb1_phy: usb-phy@1 { 84724ba675SRob Herring compatible = "usb-nop-xceiv"; 85724ba675SRob Herring reg = <1>; 86724ba675SRob Herring status = "disabled"; 87724ba675SRob Herring }; 88724ba675SRob Herring }; 89724ba675SRob Herring 90724ba675SRob Herring soc0: soc@0 { 91724ba675SRob Herring #address-cells = <1>; 92724ba675SRob Herring #size-cells = <1>; 93724ba675SRob Herring #pinctrl-cells = <1>; 94724ba675SRob Herring compatible = "ti,keystone","simple-bus"; 95724ba675SRob Herring ranges = <0x0 0x0 0x0 0xc0000000>; 96724ba675SRob Herring dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>; 97724ba675SRob Herring 98724ba675SRob Herring msm_ram: sram@c000000 { 99724ba675SRob Herring compatible = "mmio-sram"; 100724ba675SRob Herring reg = <0x0c000000 0x100000>; 101724ba675SRob Herring ranges = <0x0 0x0c000000 0x100000>; 102724ba675SRob Herring #address-cells = <1>; 103724ba675SRob Herring #size-cells = <1>; 104724ba675SRob Herring 105724ba675SRob Herring bm-sram@f7000 { 106724ba675SRob Herring reg = <0x000f7000 0x8000>; 107724ba675SRob Herring }; 108724ba675SRob Herring }; 109724ba675SRob Herring 110724ba675SRob Herring k2g_pinctrl: pinmux@2621000 { 111724ba675SRob Herring compatible = "pinctrl-single"; 112724ba675SRob Herring reg = <0x02621000 0x410>; 113724ba675SRob Herring pinctrl-single,register-width = <32>; 114724ba675SRob Herring pinctrl-single,function-mask = <0x001b0007>; 115724ba675SRob Herring }; 116724ba675SRob Herring 117724ba675SRob Herring devctrl: device-state-control@2620000 { 118724ba675SRob Herring compatible = "ti,keystone-devctrl", "syscon", "simple-mfd"; 119724ba675SRob Herring reg = <0x02620000 0x1000>; 120724ba675SRob Herring #address-cells = <1>; 121724ba675SRob Herring #size-cells = <1>; 122724ba675SRob Herring ranges = <0x0 0x02620000 0x1000>; 123724ba675SRob Herring 124724ba675SRob Herring kirq0: keystone_irq@2a0 { 125724ba675SRob Herring compatible = "ti,keystone-irq"; 126724ba675SRob Herring reg = <0x2a0 0x10>; 127724ba675SRob Herring interrupts = <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>; 128724ba675SRob Herring interrupt-controller; 129724ba675SRob Herring #interrupt-cells = <1>; 130724ba675SRob Herring ti,syscon-dev = <&devctrl 0x2a0>; 131724ba675SRob Herring }; 132724ba675SRob Herring 133724ba675SRob Herring dspgpio0: keystone_dsp_gpio@240 { 134724ba675SRob Herring compatible = "ti,keystone-dsp-gpio"; 135724ba675SRob Herring reg = <0x240 0x4>; 136724ba675SRob Herring gpio-controller; 137724ba675SRob Herring #gpio-cells = <2>; 138724ba675SRob Herring gpio,syscon-dev = <&devctrl 0x240>; 139724ba675SRob Herring }; 140724ba675SRob Herring }; 141724ba675SRob Herring 142724ba675SRob Herring uart0: serial@2530c00 { 143724ba675SRob Herring compatible = "ti,da830-uart", "ns16550a"; 144724ba675SRob Herring current-speed = <115200>; 145724ba675SRob Herring reg-shift = <2>; 146724ba675SRob Herring reg-io-width = <4>; 147724ba675SRob Herring reg = <0x02530c00 0x100>; 148724ba675SRob Herring interrupts = <GIC_SPI 164 IRQ_TYPE_EDGE_RISING>; 149724ba675SRob Herring clocks = <&k2g_clks 0x2c 0>; 150724ba675SRob Herring power-domains = <&k2g_pds 0x2c>; 151724ba675SRob Herring status = "disabled"; 152724ba675SRob Herring }; 153724ba675SRob Herring 154724ba675SRob Herring uart1: serial@2531000 { 155724ba675SRob Herring compatible = "ti,da830-uart", "ns16550a"; 156724ba675SRob Herring current-speed = <115200>; 157724ba675SRob Herring reg-shift = <2>; 158724ba675SRob Herring reg-io-width = <4>; 159724ba675SRob Herring reg = <0x02531000 0x100>; 160724ba675SRob Herring interrupts = <GIC_SPI 165 IRQ_TYPE_EDGE_RISING>; 161724ba675SRob Herring clocks = <&k2g_clks 0x2d 0>; 162724ba675SRob Herring power-domains = <&k2g_pds 0x2d>; 163724ba675SRob Herring status = "disabled"; 164724ba675SRob Herring }; 165724ba675SRob Herring 166724ba675SRob Herring uart2: serial@2531400 { 167724ba675SRob Herring compatible = "ti,da830-uart", "ns16550a"; 168724ba675SRob Herring current-speed = <115200>; 169724ba675SRob Herring reg-shift = <2>; 170724ba675SRob Herring reg-io-width = <4>; 171724ba675SRob Herring reg = <0x02531400 0x100>; 172724ba675SRob Herring interrupts = <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>; 173724ba675SRob Herring clocks = <&k2g_clks 0x2e 0>; 174724ba675SRob Herring power-domains = <&k2g_pds 0x2e>; 175724ba675SRob Herring status = "disabled"; 176724ba675SRob Herring }; 177724ba675SRob Herring 178724ba675SRob Herring dcan0: can@260b200 { 179724ba675SRob Herring compatible = "ti,am4372-d_can", "ti,am3352-d_can"; 180724ba675SRob Herring reg = <0x0260b200 0x200>; 181724ba675SRob Herring interrupts = <GIC_SPI 190 IRQ_TYPE_EDGE_RISING>; 182724ba675SRob Herring status = "disabled"; 183724ba675SRob Herring power-domains = <&k2g_pds 0x0008>; 184724ba675SRob Herring clocks = <&k2g_clks 0x0008 1>; 185724ba675SRob Herring }; 186724ba675SRob Herring 187724ba675SRob Herring dcan1: can@260b400 { 188724ba675SRob Herring compatible = "ti,am4372-d_can", "ti,am3352-d_can"; 189724ba675SRob Herring reg = <0x0260b400 0x200>; 190724ba675SRob Herring interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>; 191724ba675SRob Herring status = "disabled"; 192724ba675SRob Herring power-domains = <&k2g_pds 0x0009>; 193724ba675SRob Herring clocks = <&k2g_clks 0x0009 1>; 194724ba675SRob Herring }; 195724ba675SRob Herring 196724ba675SRob Herring i2c0: i2c@2530000 { 197724ba675SRob Herring compatible = "ti,keystone-i2c"; 198724ba675SRob Herring reg = <0x02530000 0x400>; 199724ba675SRob Herring clocks = <&k2g_clks 0x003a 0>; 200724ba675SRob Herring power-domains = <&k2g_pds 0x003a>; 201724ba675SRob Herring interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>; 202724ba675SRob Herring #address-cells = <1>; 203724ba675SRob Herring #size-cells = <0>; 204724ba675SRob Herring status = "disabled"; 205724ba675SRob Herring }; 206724ba675SRob Herring 207724ba675SRob Herring i2c1: i2c@2530400 { 208724ba675SRob Herring compatible = "ti,keystone-i2c"; 209724ba675SRob Herring reg = <0x02530400 0x400>; 210724ba675SRob Herring clocks = <&k2g_clks 0x003b 0>; 211724ba675SRob Herring power-domains = <&k2g_pds 0x003b>; 212724ba675SRob Herring interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>; 213724ba675SRob Herring #address-cells = <1>; 214724ba675SRob Herring #size-cells = <0>; 215724ba675SRob Herring status = "disabled"; 216724ba675SRob Herring }; 217724ba675SRob Herring 218724ba675SRob Herring i2c2: i2c@2530800 { 219724ba675SRob Herring compatible = "ti,keystone-i2c"; 220724ba675SRob Herring reg = <0x02530800 0x400>; 221724ba675SRob Herring clocks = <&k2g_clks 0x003c 0>; 222724ba675SRob Herring power-domains = <&k2g_pds 0x003c>; 223724ba675SRob Herring interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>; 224724ba675SRob Herring #address-cells = <1>; 225724ba675SRob Herring #size-cells = <0>; 226724ba675SRob Herring status = "disabled"; 227724ba675SRob Herring }; 228724ba675SRob Herring 229724ba675SRob Herring dsp0: dsp@10800000 { 230724ba675SRob Herring compatible = "ti,k2g-dsp"; 231724ba675SRob Herring reg = <0x10800000 0x00100000>, 232724ba675SRob Herring <0x10e00000 0x00008000>, 233724ba675SRob Herring <0x10f00000 0x00008000>; 234724ba675SRob Herring reg-names = "l2sram", "l1pram", "l1dram"; 235724ba675SRob Herring power-domains = <&k2g_pds 0x0046>; 236724ba675SRob Herring ti,syscon-dev = <&devctrl 0x844>; 237724ba675SRob Herring resets = <&k2g_reset 0x0046 0x1>; 238724ba675SRob Herring interrupt-parent = <&kirq0>; 239724ba675SRob Herring interrupts = <0 8>; 240724ba675SRob Herring interrupt-names = "vring", "exception"; 241724ba675SRob Herring kick-gpios = <&dspgpio0 27 0>; 242724ba675SRob Herring status = "disabled"; 243724ba675SRob Herring }; 244724ba675SRob Herring 245724ba675SRob Herring msgmgr: mailbox@2a00000 { 246724ba675SRob Herring compatible = "ti,k2g-message-manager"; 247724ba675SRob Herring #mbox-cells = <2>; 248724ba675SRob Herring reg-names = "queue_proxy_region", 249724ba675SRob Herring "queue_state_debug_region"; 250724ba675SRob Herring reg = <0x02a00000 0x400000>, <0x028c3400 0x400>; 251724ba675SRob Herring interrupt-names = "rx_005", 252724ba675SRob Herring "rx_057"; 253724ba675SRob Herring interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 254724ba675SRob Herring <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>; 255724ba675SRob Herring }; 256724ba675SRob Herring 257724ba675SRob Herring pmmc: system-controller@2921c00 { 258724ba675SRob Herring compatible = "ti,k2g-sci"; 259724ba675SRob Herring mbox-names = "rx", "tx"; 260724ba675SRob Herring mboxes = <&msgmgr 5 2>, 261724ba675SRob Herring <&msgmgr 0 0>; 262724ba675SRob Herring reg-names = "debug_messages"; 263724ba675SRob Herring reg = <0x02921c00 0x400>; 264724ba675SRob Herring 265724ba675SRob Herring k2g_pds: power-controller { 266724ba675SRob Herring compatible = "ti,sci-pm-domain"; 267724ba675SRob Herring #power-domain-cells = <1>; 268724ba675SRob Herring }; 269724ba675SRob Herring 270724ba675SRob Herring k2g_clks: clock-controller { 271724ba675SRob Herring compatible = "ti,k2g-sci-clk"; 272724ba675SRob Herring #clock-cells = <2>; 273724ba675SRob Herring }; 274724ba675SRob Herring 275724ba675SRob Herring k2g_reset: reset-controller { 276724ba675SRob Herring compatible = "ti,sci-reset"; 277724ba675SRob Herring #reset-cells = <2>; 278724ba675SRob Herring }; 279724ba675SRob Herring }; 280724ba675SRob Herring 281724ba675SRob Herring gpio0: gpio@2603000 { 282724ba675SRob Herring compatible = "ti,k2g-gpio", "ti,keystone-gpio"; 283724ba675SRob Herring reg = <0x02603000 0x100>; 284724ba675SRob Herring gpio-controller; 285724ba675SRob Herring #gpio-cells = <2>; 286724ba675SRob Herring 287724ba675SRob Herring interrupts = <GIC_SPI 432 IRQ_TYPE_EDGE_RISING>, 288724ba675SRob Herring <GIC_SPI 433 IRQ_TYPE_EDGE_RISING>, 289724ba675SRob Herring <GIC_SPI 434 IRQ_TYPE_EDGE_RISING>, 290724ba675SRob Herring <GIC_SPI 435 IRQ_TYPE_EDGE_RISING>, 291724ba675SRob Herring <GIC_SPI 436 IRQ_TYPE_EDGE_RISING>, 292724ba675SRob Herring <GIC_SPI 437 IRQ_TYPE_EDGE_RISING>, 293724ba675SRob Herring <GIC_SPI 438 IRQ_TYPE_EDGE_RISING>, 294724ba675SRob Herring <GIC_SPI 439 IRQ_TYPE_EDGE_RISING>, 295724ba675SRob Herring <GIC_SPI 440 IRQ_TYPE_EDGE_RISING>; 296724ba675SRob Herring interrupt-controller; 297724ba675SRob Herring #interrupt-cells = <2>; 298724ba675SRob Herring ti,ngpio = <144>; 299724ba675SRob Herring ti,davinci-gpio-unbanked = <0>; 300724ba675SRob Herring clocks = <&k2g_clks 0x001b 0x0>; 301724ba675SRob Herring clock-names = "gpio"; 302724ba675SRob Herring }; 303724ba675SRob Herring 304724ba675SRob Herring gpio1: gpio@260a000 { 305724ba675SRob Herring compatible = "ti,k2g-gpio", "ti,keystone-gpio"; 306724ba675SRob Herring reg = <0x0260a000 0x100>; 307724ba675SRob Herring gpio-controller; 308724ba675SRob Herring #gpio-cells = <2>; 309724ba675SRob Herring interrupts = <GIC_SPI 442 IRQ_TYPE_EDGE_RISING>, 310724ba675SRob Herring <GIC_SPI 443 IRQ_TYPE_EDGE_RISING>, 311724ba675SRob Herring <GIC_SPI 444 IRQ_TYPE_EDGE_RISING>, 312724ba675SRob Herring <GIC_SPI 445 IRQ_TYPE_EDGE_RISING>, 313724ba675SRob Herring <GIC_SPI 446 IRQ_TYPE_EDGE_RISING>; 314724ba675SRob Herring interrupt-controller; 315724ba675SRob Herring #interrupt-cells = <2>; 316724ba675SRob Herring ti,ngpio = <68>; 317724ba675SRob Herring ti,davinci-gpio-unbanked = <0>; 318724ba675SRob Herring clocks = <&k2g_clks 0x001c 0x0>; 319724ba675SRob Herring clock-names = "gpio"; 320724ba675SRob Herring }; 321724ba675SRob Herring 322724ba675SRob Herring dss: dss@02540000 { 323724ba675SRob Herring compatible = "ti,k2g-dss"; 324724ba675SRob Herring reg = <0x02540000 0x400>, 325724ba675SRob Herring <0x02550000 0x1000>, 326724ba675SRob Herring <0x02557000 0x1000>, 327724ba675SRob Herring <0x0255a800 0x100>, 328724ba675SRob Herring <0x0255ac00 0x100>; 329724ba675SRob Herring reg-names = "cfg", "common", "vid1", "ovr1", "vp1"; 330724ba675SRob Herring clocks = <&k2g_clks 0x2 0>, 331724ba675SRob Herring <&k2g_clks 0x2 1>; 332724ba675SRob Herring clock-names = "fck", "vp1"; 333724ba675SRob Herring interrupts = <GIC_SPI 247 IRQ_TYPE_EDGE_RISING>; 334724ba675SRob Herring 335724ba675SRob Herring power-domains = <&k2g_pds 0x2>; 336724ba675SRob Herring status = "disabled"; 337724ba675SRob Herring #address-cells = <1>; 338724ba675SRob Herring #size-cells = <1>; 339724ba675SRob Herring ranges; 340724ba675SRob Herring 341724ba675SRob Herring max-memory-bandwidth = <230000000>; 342724ba675SRob Herring }; 343724ba675SRob Herring 344724ba675SRob Herring edma0: edma@2700000 { 345724ba675SRob Herring compatible = "ti,k2g-edma3-tpcc", "ti,edma3-tpcc"; 346724ba675SRob Herring reg = <0x02700000 0x8000>; 347724ba675SRob Herring reg-names = "edma3_cc"; 348724ba675SRob Herring interrupts = <GIC_SPI 200 IRQ_TYPE_EDGE_RISING>, 349724ba675SRob Herring <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>, 350724ba675SRob Herring <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>; 351724ba675SRob Herring interrupt-names = "edma3_ccint", "emda3_mperr", 352724ba675SRob Herring "edma3_ccerrint"; 353724ba675SRob Herring dma-requests = <64>; 354724ba675SRob Herring #dma-cells = <2>; 355724ba675SRob Herring 356724ba675SRob Herring ti,tptcs = <&edma0_tptc0 7>, <&edma0_tptc1 0>; 357724ba675SRob Herring 358724ba675SRob Herring ti,edma-memcpy-channels = <32 33 34 35>; 359724ba675SRob Herring 360724ba675SRob Herring power-domains = <&k2g_pds 0x3f>; 361724ba675SRob Herring }; 362724ba675SRob Herring 363724ba675SRob Herring edma0_tptc0: tptc@2760000 { 364724ba675SRob Herring compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc"; 365724ba675SRob Herring reg = <0x02760000 0x400>; 366724ba675SRob Herring power-domains = <&k2g_pds 0x3f>; 367724ba675SRob Herring }; 368724ba675SRob Herring 369724ba675SRob Herring edma0_tptc1: tptc@2768000 { 370724ba675SRob Herring compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc"; 371724ba675SRob Herring reg = <0x02768000 0x400>; 372724ba675SRob Herring power-domains = <&k2g_pds 0x3f>; 373724ba675SRob Herring }; 374724ba675SRob Herring 375724ba675SRob Herring edma1: edma@2728000 { 376724ba675SRob Herring compatible = "ti,k2g-edma3-tpcc", "ti,edma3-tpcc"; 377724ba675SRob Herring reg = <0x02728000 0x8000>; 378724ba675SRob Herring reg-names = "edma3_cc"; 379724ba675SRob Herring interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>, 380724ba675SRob Herring <GIC_SPI 219 IRQ_TYPE_EDGE_RISING>, 381724ba675SRob Herring <GIC_SPI 220 IRQ_TYPE_EDGE_RISING>; 382724ba675SRob Herring interrupt-names = "edma3_ccint", "emda3_mperr", 383724ba675SRob Herring "edma3_ccerrint"; 384724ba675SRob Herring dma-requests = <64>; 385724ba675SRob Herring #dma-cells = <2>; 386724ba675SRob Herring 387724ba675SRob Herring ti,tptcs = <&edma1_tptc0 7>, <&edma1_tptc1 0>; 388724ba675SRob Herring 389724ba675SRob Herring /* 390724ba675SRob Herring * memcpy is disabled, can be enabled with: 391724ba675SRob Herring * ti,edma-memcpy-channels = <12 13 14 15>; 392724ba675SRob Herring * for example. 393724ba675SRob Herring */ 394724ba675SRob Herring 395724ba675SRob Herring power-domains = <&k2g_pds 0x4f>; 396724ba675SRob Herring }; 397724ba675SRob Herring 398724ba675SRob Herring edma1_tptc0: tptc@27b0000 { 399724ba675SRob Herring compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc"; 400724ba675SRob Herring reg = <0x027b0000 0x400>; 401724ba675SRob Herring power-domains = <&k2g_pds 0x4f>; 402724ba675SRob Herring }; 403724ba675SRob Herring 404724ba675SRob Herring edma1_tptc1: tptc@27b8000 { 405724ba675SRob Herring compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc"; 406724ba675SRob Herring reg = <0x027b8000 0x400>; 407724ba675SRob Herring power-domains = <&k2g_pds 0x4f>; 408724ba675SRob Herring }; 409724ba675SRob Herring 410724ba675SRob Herring mmc0: mmc@23000000 { 411724ba675SRob Herring compatible = "ti,k2g-sdhci"; 412724ba675SRob Herring reg = <0x23000000 0x400>; 413724ba675SRob Herring interrupts = <GIC_SPI 96 IRQ_TYPE_EDGE_RISING>; 414724ba675SRob Herring bus-width = <4>; 415724ba675SRob Herring no-1-8-v; 416724ba675SRob Herring max-frequency = <96000000>; 417724ba675SRob Herring power-domains = <&k2g_pds 0xb>; 418724ba675SRob Herring clocks = <&k2g_clks 0xb 1>, <&k2g_clks 0xb 2>; 419724ba675SRob Herring clock-names = "fck", "mmchsdb_fck"; 420724ba675SRob Herring status = "disabled"; 421724ba675SRob Herring }; 422724ba675SRob Herring 423724ba675SRob Herring mmc1: mmc@23100000 { 424724ba675SRob Herring compatible = "ti,k2g-sdhci"; 425724ba675SRob Herring reg = <0x23100000 0x400>; 426724ba675SRob Herring interrupts = <GIC_SPI 97 IRQ_TYPE_EDGE_RISING>; 427724ba675SRob Herring bus-width = <8>; 428724ba675SRob Herring no-1-8-v; 429724ba675SRob Herring non-removable; 430724ba675SRob Herring max-frequency = <96000000>; 431724ba675SRob Herring power-domains = <&k2g_pds 0xc>; 432724ba675SRob Herring clocks = <&k2g_clks 0xc 1>, <&k2g_clks 0xc 2>; 433724ba675SRob Herring clock-names = "fck", "mmchsdb_fck"; 434724ba675SRob Herring }; 435724ba675SRob Herring 436724ba675SRob Herring qspi: spi@2940000 { 437724ba675SRob Herring compatible = "ti,k2g-qspi", "cdns,qspi-nor"; 438724ba675SRob Herring #address-cells = <1>; 439724ba675SRob Herring #size-cells = <0>; 440724ba675SRob Herring reg = <0x02940000 0x1000>, 441724ba675SRob Herring <0x24000000 0x4000000>; 442724ba675SRob Herring interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>; 443724ba675SRob Herring cdns,fifo-depth = <256>; 444724ba675SRob Herring cdns,fifo-width = <4>; 445724ba675SRob Herring cdns,trigger-address = <0x24000000>; 446724ba675SRob Herring clocks = <&k2g_clks 0x43 0x0>; 447724ba675SRob Herring power-domains = <&k2g_pds 0x43>; 448724ba675SRob Herring status = "disabled"; 449724ba675SRob Herring }; 450724ba675SRob Herring 451724ba675SRob Herring mcasp0: mcasp@2340000 { 452724ba675SRob Herring compatible = "ti,am33xx-mcasp-audio"; 453724ba675SRob Herring reg = <0x02340000 0x2000>, 454724ba675SRob Herring <0x21804000 0x1000>; 455724ba675SRob Herring reg-names = "mpu","dat"; 456724ba675SRob Herring interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>, 457724ba675SRob Herring <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 458724ba675SRob Herring interrupt-names = "tx", "rx"; 459724ba675SRob Herring dmas = <&edma0 24 1>, <&edma0 25 1>; 460724ba675SRob Herring dma-names = "tx", "rx"; 461724ba675SRob Herring power-domains = <&k2g_pds 0x4>; 462724ba675SRob Herring clocks = <&k2g_clks 0x4 0>; 463724ba675SRob Herring clock-names = "fck"; 464724ba675SRob Herring status = "disabled"; 465724ba675SRob Herring }; 466724ba675SRob Herring 467724ba675SRob Herring mcasp1: mcasp@2342000 { 468724ba675SRob Herring compatible = "ti,am33xx-mcasp-audio"; 469724ba675SRob Herring reg = <0x02342000 0x2000>, 470724ba675SRob Herring <0x21804400 0x1000>; 471724ba675SRob Herring reg-names = "mpu","dat"; 472724ba675SRob Herring interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>, 473724ba675SRob Herring <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 474724ba675SRob Herring interrupt-names = "tx", "rx"; 475724ba675SRob Herring dmas = <&edma1 48 1>, <&edma1 49 1>; 476724ba675SRob Herring dma-names = "tx", "rx"; 477724ba675SRob Herring power-domains = <&k2g_pds 0x5>; 478724ba675SRob Herring clocks = <&k2g_clks 0x5 0>; 479724ba675SRob Herring clock-names = "fck"; 480724ba675SRob Herring status = "disabled"; 481724ba675SRob Herring }; 482724ba675SRob Herring 483724ba675SRob Herring mcasp2: mcasp@2344000 { 484724ba675SRob Herring compatible = "ti,am33xx-mcasp-audio"; 485724ba675SRob Herring reg = <0x02344000 0x2000>, 486724ba675SRob Herring <0x21804800 0x1000>; 487724ba675SRob Herring reg-names = "mpu","dat"; 488724ba675SRob Herring interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>, 489724ba675SRob Herring <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 490724ba675SRob Herring interrupt-names = "tx", "rx"; 491724ba675SRob Herring dmas = <&edma1 50 1>, <&edma1 51 1>; 492724ba675SRob Herring dma-names = "tx", "rx"; 493724ba675SRob Herring power-domains = <&k2g_pds 0x6>; 494724ba675SRob Herring clocks = <&k2g_clks 0x6 0>; 495724ba675SRob Herring clock-names = "fck"; 496724ba675SRob Herring status = "disabled"; 497724ba675SRob Herring }; 498724ba675SRob Herring 499724ba675SRob Herring keystone_usb0: keystone-dwc3@2680000 { 500724ba675SRob Herring compatible = "ti,keystone-dwc3"; 501724ba675SRob Herring #address-cells = <1>; 502724ba675SRob Herring #size-cells = <1>; 503724ba675SRob Herring reg = <0x2680000 0x10000>; 504724ba675SRob Herring interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>; 505724ba675SRob Herring ranges; 506724ba675SRob Herring dma-coherent; 507724ba675SRob Herring dma-ranges; 508724ba675SRob Herring status = "disabled"; 509724ba675SRob Herring power-domains = <&k2g_pds 0x0016>; 510724ba675SRob Herring 511724ba675SRob Herring usb0: usb@2690000 { 512724ba675SRob Herring compatible = "snps,dwc3"; 513724ba675SRob Herring reg = <0x2690000 0x10000>; 514724ba675SRob Herring interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>; 515724ba675SRob Herring maximum-speed = "high-speed"; 516724ba675SRob Herring dr_mode = "otg"; 517724ba675SRob Herring usb-phy = <&usb0_phy>; 518724ba675SRob Herring status = "disabled"; 519724ba675SRob Herring }; 520724ba675SRob Herring }; 521724ba675SRob Herring 522724ba675SRob Herring keystone_usb1: keystone-dwc3@2580000 { 523724ba675SRob Herring compatible = "ti,keystone-dwc3"; 524724ba675SRob Herring #address-cells = <1>; 525724ba675SRob Herring #size-cells = <1>; 526724ba675SRob Herring reg = <0x2580000 0x10000>; 527724ba675SRob Herring interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>; 528724ba675SRob Herring ranges; 529724ba675SRob Herring dma-coherent; 530724ba675SRob Herring dma-ranges; 531724ba675SRob Herring status = "disabled"; 532724ba675SRob Herring power-domains = <&k2g_pds 0x0017>; 533724ba675SRob Herring 534724ba675SRob Herring usb1: usb@2590000 { 535724ba675SRob Herring compatible = "snps,dwc3"; 536724ba675SRob Herring reg = <0x2590000 0x10000>; 537724ba675SRob Herring interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>; 538724ba675SRob Herring maximum-speed = "high-speed"; 539724ba675SRob Herring dr_mode = "otg"; 540724ba675SRob Herring usb-phy = <&usb1_phy>; 541724ba675SRob Herring status = "disabled"; 542724ba675SRob Herring }; 543724ba675SRob Herring }; 544724ba675SRob Herring 545724ba675SRob Herring ecap0: pwm@21d1800 { 546724ba675SRob Herring compatible = "ti,k2g-ecap", "ti,am3352-ecap"; 547724ba675SRob Herring #pwm-cells = <3>; 548724ba675SRob Herring reg = <0x021d1800 0x60>; 549724ba675SRob Herring power-domains = <&k2g_pds 0x38>; 550724ba675SRob Herring clocks = <&k2g_clks 0x38 0>; 551724ba675SRob Herring clock-names = "fck"; 552724ba675SRob Herring status = "disabled"; 553724ba675SRob Herring }; 554724ba675SRob Herring 555724ba675SRob Herring ecap1: pwm@21d1c00 { 556724ba675SRob Herring compatible = "ti,k2g-ecap", "ti,am3352-ecap"; 557724ba675SRob Herring #pwm-cells = <3>; 558724ba675SRob Herring reg = <0x021d1c00 0x60>; 559724ba675SRob Herring power-domains = <&k2g_pds 0x39>; 560724ba675SRob Herring clocks = <&k2g_clks 0x39 0x0>; 561724ba675SRob Herring clock-names = "fck"; 562724ba675SRob Herring status = "disabled"; 563724ba675SRob Herring }; 564724ba675SRob Herring 565724ba675SRob Herring spi0: spi@21805400 { 566724ba675SRob Herring compatible = "ti,keystone-spi"; 567724ba675SRob Herring reg = <0x21805400 0x200>; 568724ba675SRob Herring num-cs = <4>; 569724ba675SRob Herring ti,davinci-spi-intr-line = <0>; 570724ba675SRob Herring interrupts = <GIC_SPI 64 IRQ_TYPE_EDGE_RISING>; 571724ba675SRob Herring #address-cells = <1>; 572724ba675SRob Herring #size-cells = <0>; 573724ba675SRob Herring power-domains = <&k2g_pds 0x0010>; 574724ba675SRob Herring clocks = <&k2g_clks 0x0010 0>; 575724ba675SRob Herring }; 576724ba675SRob Herring 577724ba675SRob Herring spi1: spi@21805800 { 578724ba675SRob Herring compatible = "ti,keystone-spi"; 579724ba675SRob Herring reg = <0x21805800 0x200>; 580724ba675SRob Herring num-cs = <4>; 581724ba675SRob Herring ti,davinci-spi-intr-line = <0>; 582724ba675SRob Herring interrupts = <GIC_SPI 66 IRQ_TYPE_EDGE_RISING>; 583724ba675SRob Herring #address-cells = <1>; 584724ba675SRob Herring #size-cells = <0>; 585724ba675SRob Herring power-domains = <&k2g_pds 0x0011>; 586724ba675SRob Herring clocks = <&k2g_clks 0x0011 0>; 587724ba675SRob Herring }; 588724ba675SRob Herring 589724ba675SRob Herring spi2: spi@21805c00 { 590724ba675SRob Herring compatible = "ti,keystone-spi"; 591724ba675SRob Herring reg = <0x21805c00 0x200>; 592724ba675SRob Herring num-cs = <4>; 593724ba675SRob Herring ti,davinci-spi-intr-line = <0>; 594724ba675SRob Herring interrupts = <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>; 595724ba675SRob Herring #address-cells = <1>; 596724ba675SRob Herring #size-cells = <0>; 597724ba675SRob Herring power-domains = <&k2g_pds 0x0012>; 598724ba675SRob Herring clocks = <&k2g_clks 0x0012 0>; 599724ba675SRob Herring }; 600724ba675SRob Herring 601724ba675SRob Herring spi3: spi@21806000 { 602724ba675SRob Herring compatible = "ti,keystone-spi"; 603724ba675SRob Herring reg = <0x21806000 0x200>; 604724ba675SRob Herring num-cs = <4>; 605724ba675SRob Herring ti,davinci-spi-intr-line = <0>; 606724ba675SRob Herring interrupts = <GIC_SPI 70 IRQ_TYPE_EDGE_RISING>; 607724ba675SRob Herring #address-cells = <1>; 608724ba675SRob Herring #size-cells = <0>; 609724ba675SRob Herring power-domains = <&k2g_pds 0x0013>; 610724ba675SRob Herring clocks = <&k2g_clks 0x0013 0>; 611724ba675SRob Herring }; 612724ba675SRob Herring 613724ba675SRob Herring wdt: wdt@02250000 { 614724ba675SRob Herring compatible = "ti,keystone-wdt", "ti,davinci-wdt"; 615724ba675SRob Herring reg = <0x02250000 0x80>; 616724ba675SRob Herring power-domains = <&k2g_pds 0x22>; 617724ba675SRob Herring clocks = <&k2g_clks 0x22 0>; 618724ba675SRob Herring }; 619724ba675SRob Herring 620724ba675SRob Herring emif: emif@21010000 { 621724ba675SRob Herring compatible = "ti,emif-keystone"; 622724ba675SRob Herring reg = <0x21010000 0x200>; 623724ba675SRob Herring interrupts = <GIC_SPI 123 IRQ_TYPE_EDGE_RISING>; 624724ba675SRob Herring }; 625724ba675SRob Herring 626724ba675SRob Herring mdio: mdio@4200f00 { 627724ba675SRob Herring compatible = "ti,keystone_mdio", "ti,davinci_mdio"; 628724ba675SRob Herring reg = <0x04200f00 0x100>; 629724ba675SRob Herring #address-cells = <1>; 630724ba675SRob Herring #size-cells = <0>; 631724ba675SRob Herring clocks = <&k2g_clks 0x0018 3>; 632724ba675SRob Herring clock-names = "fck"; 633724ba675SRob Herring power-domains = <&k2g_pds 0x0018>; 634724ba675SRob Herring status = "disabled"; 635724ba675SRob Herring bus_freq = <2500000>; 636724ba675SRob Herring }; 637724ba675SRob Herring #include "keystone-k2g-netcp.dtsi" 638724ba675SRob Herring }; 639724ba675SRob Herring}; 640