1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Keystone 2 Lamarr SoC specific device tree 4f126890aSEmmanuel Vadot * 5*01950c46SEmmanuel Vadot * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/ 6f126890aSEmmanuel Vadot */ 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot#include <dt-bindings/reset/ti-syscon.h> 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot/ { 11f126890aSEmmanuel Vadot compatible = "ti,k2l", "ti,keystone"; 12f126890aSEmmanuel Vadot model = "Texas Instruments Keystone 2 Lamarr SoC"; 13f126890aSEmmanuel Vadot 14f126890aSEmmanuel Vadot cpus { 15f126890aSEmmanuel Vadot #address-cells = <1>; 16f126890aSEmmanuel Vadot #size-cells = <0>; 17f126890aSEmmanuel Vadot 18f126890aSEmmanuel Vadot interrupt-parent = <&gic>; 19f126890aSEmmanuel Vadot 20f126890aSEmmanuel Vadot cpu@0 { 21f126890aSEmmanuel Vadot compatible = "arm,cortex-a15"; 22f126890aSEmmanuel Vadot device_type = "cpu"; 23f126890aSEmmanuel Vadot reg = <0>; 24f126890aSEmmanuel Vadot }; 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot cpu@1 { 27f126890aSEmmanuel Vadot compatible = "arm,cortex-a15"; 28f126890aSEmmanuel Vadot device_type = "cpu"; 29f126890aSEmmanuel Vadot reg = <1>; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot }; 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot aliases { 34f126890aSEmmanuel Vadot rproc0 = &dsp0; 35f126890aSEmmanuel Vadot rproc1 = &dsp1; 36f126890aSEmmanuel Vadot rproc2 = &dsp2; 37f126890aSEmmanuel Vadot rproc3 = &dsp3; 38f126890aSEmmanuel Vadot }; 39f126890aSEmmanuel Vadot}; 40f126890aSEmmanuel Vadot 41f126890aSEmmanuel Vadot&soc0 { 42f126890aSEmmanuel Vadot /include/ "keystone-k2l-clocks.dtsi" 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot uart2: serial@2348400 { 45f126890aSEmmanuel Vadot compatible = "ti,da830-uart", "ns16550a"; 46f126890aSEmmanuel Vadot current-speed = <115200>; 47f126890aSEmmanuel Vadot reg-shift = <2>; 48f126890aSEmmanuel Vadot reg-io-width = <4>; 49f126890aSEmmanuel Vadot reg = <0x02348400 0x100>; 50f126890aSEmmanuel Vadot clocks = <&clkuart2>; 51f126890aSEmmanuel Vadot interrupts = <GIC_SPI 432 IRQ_TYPE_EDGE_RISING>; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot uart3: serial@2348800 { 55f126890aSEmmanuel Vadot compatible = "ti,da830-uart", "ns16550a"; 56f126890aSEmmanuel Vadot current-speed = <115200>; 57f126890aSEmmanuel Vadot reg-shift = <2>; 58f126890aSEmmanuel Vadot reg-io-width = <4>; 59f126890aSEmmanuel Vadot reg = <0x02348800 0x100>; 60f126890aSEmmanuel Vadot clocks = <&clkuart3>; 61f126890aSEmmanuel Vadot interrupts = <GIC_SPI 435 IRQ_TYPE_EDGE_RISING>; 62f126890aSEmmanuel Vadot }; 63f126890aSEmmanuel Vadot 64f126890aSEmmanuel Vadot gpio1: gpio@2348000 { 65f126890aSEmmanuel Vadot compatible = "ti,keystone-gpio"; 66f126890aSEmmanuel Vadot reg = <0x02348000 0x100>; 67f126890aSEmmanuel Vadot gpio-controller; 68f126890aSEmmanuel Vadot #gpio-cells = <2>; 69f126890aSEmmanuel Vadot /* HW Interrupts mapped to GPIO pins */ 70f126890aSEmmanuel Vadot interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>, 71f126890aSEmmanuel Vadot <GIC_SPI 153 IRQ_TYPE_EDGE_RISING>, 72f126890aSEmmanuel Vadot <GIC_SPI 154 IRQ_TYPE_EDGE_RISING>, 73f126890aSEmmanuel Vadot <GIC_SPI 155 IRQ_TYPE_EDGE_RISING>, 74f126890aSEmmanuel Vadot <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>, 75f126890aSEmmanuel Vadot <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>, 76f126890aSEmmanuel Vadot <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>, 77f126890aSEmmanuel Vadot <GIC_SPI 159 IRQ_TYPE_EDGE_RISING>, 78f126890aSEmmanuel Vadot <GIC_SPI 160 IRQ_TYPE_EDGE_RISING>, 79f126890aSEmmanuel Vadot <GIC_SPI 161 IRQ_TYPE_EDGE_RISING>, 80f126890aSEmmanuel Vadot <GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, 81f126890aSEmmanuel Vadot <GIC_SPI 163 IRQ_TYPE_EDGE_RISING>, 82f126890aSEmmanuel Vadot <GIC_SPI 164 IRQ_TYPE_EDGE_RISING>, 83f126890aSEmmanuel Vadot <GIC_SPI 165 IRQ_TYPE_EDGE_RISING>, 84f126890aSEmmanuel Vadot <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>, 85f126890aSEmmanuel Vadot <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>, 86f126890aSEmmanuel Vadot <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>, 87f126890aSEmmanuel Vadot <GIC_SPI 169 IRQ_TYPE_EDGE_RISING>, 88f126890aSEmmanuel Vadot <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>, 89f126890aSEmmanuel Vadot <GIC_SPI 171 IRQ_TYPE_EDGE_RISING>, 90f126890aSEmmanuel Vadot <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>, 91f126890aSEmmanuel Vadot <GIC_SPI 173 IRQ_TYPE_EDGE_RISING>, 92f126890aSEmmanuel Vadot <GIC_SPI 174 IRQ_TYPE_EDGE_RISING>, 93f126890aSEmmanuel Vadot <GIC_SPI 175 IRQ_TYPE_EDGE_RISING>, 94f126890aSEmmanuel Vadot <GIC_SPI 176 IRQ_TYPE_EDGE_RISING>, 95f126890aSEmmanuel Vadot <GIC_SPI 401 IRQ_TYPE_EDGE_RISING>, 96f126890aSEmmanuel Vadot <GIC_SPI 402 IRQ_TYPE_EDGE_RISING>, 97f126890aSEmmanuel Vadot <GIC_SPI 403 IRQ_TYPE_EDGE_RISING>, 98f126890aSEmmanuel Vadot <GIC_SPI 404 IRQ_TYPE_EDGE_RISING>, 99f126890aSEmmanuel Vadot <GIC_SPI 405 IRQ_TYPE_EDGE_RISING>, 100f126890aSEmmanuel Vadot <GIC_SPI 406 IRQ_TYPE_EDGE_RISING>, 101f126890aSEmmanuel Vadot <GIC_SPI 407 IRQ_TYPE_EDGE_RISING>; 102f126890aSEmmanuel Vadot clocks = <&clkgpio>; 103f126890aSEmmanuel Vadot clock-names = "gpio"; 104f126890aSEmmanuel Vadot ti,ngpio = <32>; 105f126890aSEmmanuel Vadot ti,davinci-gpio-unbanked = <32>; 106f126890aSEmmanuel Vadot }; 107f126890aSEmmanuel Vadot 108f126890aSEmmanuel Vadot k2l_pmx: pinmux@2620690 { 109f126890aSEmmanuel Vadot compatible = "pinctrl-single"; 110f126890aSEmmanuel Vadot reg = <0x02620690 0xc>; 111f126890aSEmmanuel Vadot #address-cells = <1>; 112f126890aSEmmanuel Vadot #size-cells = <0>; 113f126890aSEmmanuel Vadot #pinctrl-cells = <2>; 114f126890aSEmmanuel Vadot pinctrl-single,bit-per-mux; 115f126890aSEmmanuel Vadot pinctrl-single,register-width = <32>; 116f126890aSEmmanuel Vadot pinctrl-single,function-mask = <0x1>; 117f126890aSEmmanuel Vadot status = "disabled"; 118f126890aSEmmanuel Vadot 119f126890aSEmmanuel Vadot uart3_emifa_pins: uart3-emifa-pins { 120f126890aSEmmanuel Vadot pinctrl-single,bits = < 121f126890aSEmmanuel Vadot /* UART3_EMIFA_SEL */ 122f126890aSEmmanuel Vadot 0x0 0x0 0xc0 123f126890aSEmmanuel Vadot >; 124f126890aSEmmanuel Vadot }; 125f126890aSEmmanuel Vadot 126f126890aSEmmanuel Vadot uart2_emifa_pins: uart2-emifa-pins { 127f126890aSEmmanuel Vadot pinctrl-single,bits = < 128f126890aSEmmanuel Vadot /* UART2_EMIFA_SEL */ 129f126890aSEmmanuel Vadot 0x0 0x0 0x30 130f126890aSEmmanuel Vadot >; 131f126890aSEmmanuel Vadot }; 132f126890aSEmmanuel Vadot 133f126890aSEmmanuel Vadot uart01_spi2_pins: uart01-spi2-pins { 134f126890aSEmmanuel Vadot pinctrl-single,bits = < 135f126890aSEmmanuel Vadot /* UART01_SPI2_SEL */ 136f126890aSEmmanuel Vadot 0x0 0x0 0x4 137f126890aSEmmanuel Vadot >; 138f126890aSEmmanuel Vadot }; 139f126890aSEmmanuel Vadot 140f126890aSEmmanuel Vadot dfesync_rp1_pins: dfesync-rp1-pins { 141f126890aSEmmanuel Vadot pinctrl-single,bits = < 142f126890aSEmmanuel Vadot /* DFESYNC_RP1_SEL */ 143f126890aSEmmanuel Vadot 0x0 0x0 0x2 144f126890aSEmmanuel Vadot >; 145f126890aSEmmanuel Vadot }; 146f126890aSEmmanuel Vadot 147f126890aSEmmanuel Vadot avsif_pins: avsif-pins { 148f126890aSEmmanuel Vadot pinctrl-single,bits = < 149f126890aSEmmanuel Vadot /* AVSIF_SEL */ 150f126890aSEmmanuel Vadot 0x0 0x0 0x1 151f126890aSEmmanuel Vadot >; 152f126890aSEmmanuel Vadot }; 153f126890aSEmmanuel Vadot 154f126890aSEmmanuel Vadot gpio_emu_pins: gpio-emu-pins { 155f126890aSEmmanuel Vadot pinctrl-single,bits = < 156f126890aSEmmanuel Vadot /* 157f126890aSEmmanuel Vadot * GPIO_EMU_SEL[31]: 0-GPIO31, 1-EMU33 158f126890aSEmmanuel Vadot * GPIO_EMU_SEL[30]: 0-GPIO30, 1-EMU32 159f126890aSEmmanuel Vadot * GPIO_EMU_SEL[29]: 0-GPIO29, 1-EMU31 160f126890aSEmmanuel Vadot * GPIO_EMU_SEL[28]: 0-GPIO28, 1-EMU30 161f126890aSEmmanuel Vadot * GPIO_EMU_SEL[27]: 0-GPIO27, 1-EMU29 162f126890aSEmmanuel Vadot * GPIO_EMU_SEL[26]: 0-GPIO26, 1-EMU28 163f126890aSEmmanuel Vadot * GPIO_EMU_SEL[25]: 0-GPIO25, 1-EMU27 164f126890aSEmmanuel Vadot * GPIO_EMU_SEL[24]: 0-GPIO24, 1-EMU26 165f126890aSEmmanuel Vadot * GPIO_EMU_SEL[23]: 0-GPIO23, 1-EMU25 166f126890aSEmmanuel Vadot * GPIO_EMU_SEL[22]: 0-GPIO22, 1-EMU24 167f126890aSEmmanuel Vadot * GPIO_EMU_SEL[21]: 0-GPIO21, 1-EMU23 168f126890aSEmmanuel Vadot * GPIO_EMU_SEL[20]: 0-GPIO20, 1-EMU22 169f126890aSEmmanuel Vadot * GPIO_EMU_SEL[19]: 0-GPIO19, 1-EMU21 170f126890aSEmmanuel Vadot * GPIO_EMU_SEL[18]: 0-GPIO18, 1-EMU20 171f126890aSEmmanuel Vadot * GPIO_EMU_SEL[17]: 0-GPIO17, 1-EMU19 172f126890aSEmmanuel Vadot */ 173f126890aSEmmanuel Vadot 0x4 0x0000 0xfffe0000 174f126890aSEmmanuel Vadot >; 175f126890aSEmmanuel Vadot }; 176f126890aSEmmanuel Vadot 177f126890aSEmmanuel Vadot gpio_timio_pins: gpio-timio-pins { 178f126890aSEmmanuel Vadot pinctrl-single,bits = < 179f126890aSEmmanuel Vadot /* 180f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[15]: 0-GPIO15, 1-TIMO7 181f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[14]: 0-GPIO14, 1-TIMO6 182f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[13]: 0-GPIO13, 1-TIMO5 183f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[12]: 0-GPIO12, 1-TIMO4 184f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[11]: 0-GPIO11, 1-TIMO3 185f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[10]: 0-GPIO10, 1-TIMO2 186f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[9]: 0-GPIO9, 1-TIMI7 187f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[8]: 0-GPIO8, 1-TIMI6 188f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[7]: 0-GPIO7, 1-TIMI5 189f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[6]: 0-GPIO6, 1-TIMI4 190f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[5]: 0-GPIO5, 1-TIMI3 191f126890aSEmmanuel Vadot * GPIO_TIMIO_SEL[4]: 0-GPIO4, 1-TIMI2 192f126890aSEmmanuel Vadot */ 193f126890aSEmmanuel Vadot 0x4 0x0 0xfff0 194f126890aSEmmanuel Vadot >; 195f126890aSEmmanuel Vadot }; 196f126890aSEmmanuel Vadot 197f126890aSEmmanuel Vadot gpio_spi2cs_pins: gpio-spi2cs-pins { 198f126890aSEmmanuel Vadot pinctrl-single,bits = < 199f126890aSEmmanuel Vadot /* 200f126890aSEmmanuel Vadot * GPIO_SPI2CS_SEL[3]: 0-GPIO3, 1-SPI2CS4 201f126890aSEmmanuel Vadot * GPIO_SPI2CS_SEL[2]: 0-GPIO2, 1-SPI2CS3 202f126890aSEmmanuel Vadot * GPIO_SPI2CS_SEL[1]: 0-GPIO1, 1-SPI2CS2 203f126890aSEmmanuel Vadot * GPIO_SPI2CS_SEL[0]: 0-GPIO0, 1-SPI2CS1 204f126890aSEmmanuel Vadot */ 205f126890aSEmmanuel Vadot 0x4 0x0 0xf 206f126890aSEmmanuel Vadot >; 207f126890aSEmmanuel Vadot }; 208f126890aSEmmanuel Vadot 209f126890aSEmmanuel Vadot gpio_dfeio_pins: gpio-dfeio-pins { 210f126890aSEmmanuel Vadot pinctrl-single,bits = < 211f126890aSEmmanuel Vadot /* 212f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[31]: 0-DFEIO17, 1-GPIO63 213f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[30]: 0-DFEIO16, 1-GPIO62 214f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[29]: 0-DFEIO15, 1-GPIO61 215f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[28]: 0-DFEIO14, 1-GPIO60 216f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[27]: 0-DFEIO13, 1-GPIO59 217f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[26]: 0-DFEIO12, 1-GPIO58 218f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[25]: 0-DFEIO11, 1-GPIO57 219f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[24]: 0-DFEIO10, 1-GPIO56 220f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[23]: 0-DFEIO9, 1-GPIO55 221f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[22]: 0-DFEIO8, 1-GPIO54 222f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[21]: 0-DFEIO7, 1-GPIO53 223f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[20]: 0-DFEIO6, 1-GPIO52 224f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[19]: 0-DFEIO5, 1-GPIO51 225f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[18]: 0-DFEIO4, 1-GPIO50 226f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[17]: 0-DFEIO3, 1-GPIO49 227f126890aSEmmanuel Vadot * GPIO_DFEIO_SEL[16]: 0-DFEIO2, 1-GPIO48 228f126890aSEmmanuel Vadot */ 229f126890aSEmmanuel Vadot 0x8 0x0 0xffff0000 230f126890aSEmmanuel Vadot >; 231f126890aSEmmanuel Vadot }; 232f126890aSEmmanuel Vadot 233f126890aSEmmanuel Vadot gpio_emifa_pins: gpio-emifa-pins { 234f126890aSEmmanuel Vadot pinctrl-single,bits = < 235f126890aSEmmanuel Vadot /* 236f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[15]: 0-EMIFA17, 1-GPIO47 237f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[14]: 0-EMIFA16, 1-GPIO46 238f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[13]: 0-EMIFA15, 1-GPIO45 239f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[12]: 0-EMIFA14, 1-GPIO44 240f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[11]: 0-EMIFA13, 1-GPIO43 241f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[10]: 0-EMIFA10, 1-GPIO42 242f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[9]: 0-EMIFA9, 1-GPIO41 243f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[8]: 0-EMIFA8, 1-GPIO40 244f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[7]: 0-EMIFA7, 1-GPIO39 245f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[6]: 0-EMIFA6, 1-GPIO38 246f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[5]: 0-EMIFA5, 1-GPIO37 247f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[4]: 0-EMIFA4, 1-GPIO36 248f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[3]: 0-EMIFA3, 1-GPIO35 249f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[2]: 0-EMIFA2, 1-GPIO34 250f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[1]: 0-EMIFA1, 1-GPIO33 251f126890aSEmmanuel Vadot * GPIO_EMIFA_SEL[0]: 0-EMIFA0, 1-GPIO32 252f126890aSEmmanuel Vadot */ 253f126890aSEmmanuel Vadot 0x8 0x0 0xffff 254f126890aSEmmanuel Vadot >; 255f126890aSEmmanuel Vadot }; 256f126890aSEmmanuel Vadot }; 257f126890aSEmmanuel Vadot 258f126890aSEmmanuel Vadot msm_ram: sram@c000000 { 259f126890aSEmmanuel Vadot compatible = "mmio-sram"; 260f126890aSEmmanuel Vadot reg = <0x0c000000 0x200000>; 261f126890aSEmmanuel Vadot ranges = <0x0 0x0c000000 0x200000>; 262f126890aSEmmanuel Vadot #address-cells = <1>; 263f126890aSEmmanuel Vadot #size-cells = <1>; 264f126890aSEmmanuel Vadot 265f126890aSEmmanuel Vadot bm-sram@1f8000 { 266f126890aSEmmanuel Vadot reg = <0x001f8000 0x8000>; 267f126890aSEmmanuel Vadot }; 268f126890aSEmmanuel Vadot }; 269f126890aSEmmanuel Vadot 270f126890aSEmmanuel Vadot psc: power-sleep-controller@2350000 { 271f126890aSEmmanuel Vadot pscrst: reset-controller { 272f126890aSEmmanuel Vadot compatible = "ti,k2l-pscrst", "ti,syscon-reset"; 273f126890aSEmmanuel Vadot #reset-cells = <1>; 274f126890aSEmmanuel Vadot 275f126890aSEmmanuel Vadot ti,reset-bits = < 276f126890aSEmmanuel Vadot 0xa3c 8 0xa3c 8 0x83c 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 0: dsp0 */ 277f126890aSEmmanuel Vadot 0xa40 8 0xa40 8 0x840 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 1: dsp1 */ 278f126890aSEmmanuel Vadot 0xa44 8 0xa44 8 0x844 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 2: dsp2 */ 279f126890aSEmmanuel Vadot 0xa48 8 0xa48 8 0x848 8 (ASSERT_CLEAR | DEASSERT_SET | STATUS_CLEAR) /* 3: dsp3 */ 280f126890aSEmmanuel Vadot >; 281f126890aSEmmanuel Vadot }; 282f126890aSEmmanuel Vadot }; 283f126890aSEmmanuel Vadot 284f126890aSEmmanuel Vadot osr: sram@70000000 { 285f126890aSEmmanuel Vadot compatible = "mmio-sram"; 286f126890aSEmmanuel Vadot reg = <0x70000000 0x10000>; 287f126890aSEmmanuel Vadot #address-cells = <1>; 288f126890aSEmmanuel Vadot #size-cells = <1>; 289f126890aSEmmanuel Vadot clocks = <&clkosr>; 290f126890aSEmmanuel Vadot }; 291f126890aSEmmanuel Vadot 292f126890aSEmmanuel Vadot devctrl: device-state-control@2620000 { 293f126890aSEmmanuel Vadot dspgpio0: keystone_dsp_gpio@240 { 294f126890aSEmmanuel Vadot compatible = "ti,keystone-dsp-gpio"; 295f126890aSEmmanuel Vadot reg = <0x240 0x4>; 296f126890aSEmmanuel Vadot gpio-controller; 297f126890aSEmmanuel Vadot #gpio-cells = <2>; 298f126890aSEmmanuel Vadot gpio,syscon-dev = <&devctrl 0x240>; 299f126890aSEmmanuel Vadot }; 300f126890aSEmmanuel Vadot 301f126890aSEmmanuel Vadot dspgpio1: keystone_dsp_gpio@244 { 302f126890aSEmmanuel Vadot compatible = "ti,keystone-dsp-gpio"; 303f126890aSEmmanuel Vadot reg = <0x244 0x4>; 304f126890aSEmmanuel Vadot gpio-controller; 305f126890aSEmmanuel Vadot #gpio-cells = <2>; 306f126890aSEmmanuel Vadot gpio,syscon-dev = <&devctrl 0x244>; 307f126890aSEmmanuel Vadot }; 308f126890aSEmmanuel Vadot 309f126890aSEmmanuel Vadot dspgpio2: keystone_dsp_gpio@248 { 310f126890aSEmmanuel Vadot compatible = "ti,keystone-dsp-gpio"; 311f126890aSEmmanuel Vadot reg = <0x248 0x4>; 312f126890aSEmmanuel Vadot gpio-controller; 313f126890aSEmmanuel Vadot #gpio-cells = <2>; 314f126890aSEmmanuel Vadot gpio,syscon-dev = <&devctrl 0x248>; 315f126890aSEmmanuel Vadot }; 316f126890aSEmmanuel Vadot 317f126890aSEmmanuel Vadot dspgpio3: keystone_dsp_gpio@24c { 318f126890aSEmmanuel Vadot compatible = "ti,keystone-dsp-gpio"; 319f126890aSEmmanuel Vadot reg = <0x24c 0x4>; 320f126890aSEmmanuel Vadot gpio-controller; 321f126890aSEmmanuel Vadot #gpio-cells = <2>; 322f126890aSEmmanuel Vadot gpio,syscon-dev = <&devctrl 0x24c>; 323f126890aSEmmanuel Vadot }; 324f126890aSEmmanuel Vadot }; 325f126890aSEmmanuel Vadot 326f126890aSEmmanuel Vadot dsp0: dsp@10800000 { 327f126890aSEmmanuel Vadot compatible = "ti,k2l-dsp"; 328f126890aSEmmanuel Vadot reg = <0x10800000 0x00100000>, 329f126890aSEmmanuel Vadot <0x10e00000 0x00008000>, 330f126890aSEmmanuel Vadot <0x10f00000 0x00008000>; 331f126890aSEmmanuel Vadot reg-names = "l2sram", "l1pram", "l1dram"; 332f126890aSEmmanuel Vadot clocks = <&clkgem0>; 333f126890aSEmmanuel Vadot ti,syscon-dev = <&devctrl 0x844>; 334f126890aSEmmanuel Vadot resets = <&pscrst 0>; 335f126890aSEmmanuel Vadot interrupt-parent = <&kirq0>; 336f126890aSEmmanuel Vadot interrupts = <0 8>; 337f126890aSEmmanuel Vadot interrupt-names = "vring", "exception"; 338f126890aSEmmanuel Vadot kick-gpios = <&dspgpio0 27 0>; 339f126890aSEmmanuel Vadot status = "disabled"; 340f126890aSEmmanuel Vadot }; 341f126890aSEmmanuel Vadot 342f126890aSEmmanuel Vadot dsp1: dsp@11800000 { 343f126890aSEmmanuel Vadot compatible = "ti,k2l-dsp"; 344f126890aSEmmanuel Vadot reg = <0x11800000 0x00100000>, 345f126890aSEmmanuel Vadot <0x11e00000 0x00008000>, 346f126890aSEmmanuel Vadot <0x11f00000 0x00008000>; 347f126890aSEmmanuel Vadot reg-names = "l2sram", "l1pram", "l1dram"; 348f126890aSEmmanuel Vadot clocks = <&clkgem1>; 349f126890aSEmmanuel Vadot ti,syscon-dev = <&devctrl 0x848>; 350f126890aSEmmanuel Vadot resets = <&pscrst 1>; 351f126890aSEmmanuel Vadot interrupt-parent = <&kirq0>; 352f126890aSEmmanuel Vadot interrupts = <1 9>; 353f126890aSEmmanuel Vadot interrupt-names = "vring", "exception"; 354f126890aSEmmanuel Vadot kick-gpios = <&dspgpio1 27 0>; 355f126890aSEmmanuel Vadot status = "disabled"; 356f126890aSEmmanuel Vadot }; 357f126890aSEmmanuel Vadot 358f126890aSEmmanuel Vadot dsp2: dsp@12800000 { 359f126890aSEmmanuel Vadot compatible = "ti,k2l-dsp"; 360f126890aSEmmanuel Vadot reg = <0x12800000 0x00100000>, 361f126890aSEmmanuel Vadot <0x12e00000 0x00008000>, 362f126890aSEmmanuel Vadot <0x12f00000 0x00008000>; 363f126890aSEmmanuel Vadot reg-names = "l2sram", "l1pram", "l1dram"; 364f126890aSEmmanuel Vadot clocks = <&clkgem2>; 365f126890aSEmmanuel Vadot ti,syscon-dev = <&devctrl 0x84c>; 366f126890aSEmmanuel Vadot resets = <&pscrst 2>; 367f126890aSEmmanuel Vadot interrupt-parent = <&kirq0>; 368f126890aSEmmanuel Vadot interrupts = <2 10>; 369f126890aSEmmanuel Vadot interrupt-names = "vring", "exception"; 370f126890aSEmmanuel Vadot kick-gpios = <&dspgpio2 27 0>; 371f126890aSEmmanuel Vadot status = "disabled"; 372f126890aSEmmanuel Vadot }; 373f126890aSEmmanuel Vadot 374f126890aSEmmanuel Vadot dsp3: dsp@13800000 { 375f126890aSEmmanuel Vadot compatible = "ti,k2l-dsp"; 376f126890aSEmmanuel Vadot reg = <0x13800000 0x00100000>, 377f126890aSEmmanuel Vadot <0x13e00000 0x00008000>, 378f126890aSEmmanuel Vadot <0x13f00000 0x00008000>; 379f126890aSEmmanuel Vadot reg-names = "l2sram", "l1pram", "l1dram"; 380f126890aSEmmanuel Vadot clocks = <&clkgem3>; 381f126890aSEmmanuel Vadot ti,syscon-dev = <&devctrl 0x850>; 382f126890aSEmmanuel Vadot resets = <&pscrst 3>; 383f126890aSEmmanuel Vadot interrupt-parent = <&kirq0>; 384f126890aSEmmanuel Vadot interrupts = <3 11>; 385f126890aSEmmanuel Vadot interrupt-names = "vring", "exception"; 386f126890aSEmmanuel Vadot kick-gpios = <&dspgpio3 27 0>; 387f126890aSEmmanuel Vadot status = "disabled"; 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot 390f126890aSEmmanuel Vadot mdio: mdio@26200f00 { 391f126890aSEmmanuel Vadot compatible = "ti,keystone_mdio", "ti,davinci_mdio"; 392f126890aSEmmanuel Vadot #address-cells = <1>; 393f126890aSEmmanuel Vadot #size-cells = <0>; 394f126890aSEmmanuel Vadot reg = <0x26200f00 0x100>; 395f126890aSEmmanuel Vadot status = "disabled"; 396f126890aSEmmanuel Vadot clocks = <&clkcpgmac>; 397f126890aSEmmanuel Vadot clock-names = "fck"; 398f126890aSEmmanuel Vadot bus_freq = <2500000>; 399f126890aSEmmanuel Vadot }; 400f126890aSEmmanuel Vadot /include/ "keystone-k2l-netcp.dtsi" 401f126890aSEmmanuel Vadot}; 402f126890aSEmmanuel Vadot 403f126890aSEmmanuel Vadot&spi0 { 404f126890aSEmmanuel Vadot ti,davinci-spi-num-cs = <5>; 405f126890aSEmmanuel Vadot}; 406f126890aSEmmanuel Vadot 407f126890aSEmmanuel Vadot&spi1 { 408f126890aSEmmanuel Vadot ti,davinci-spi-num-cs = <3>; 409f126890aSEmmanuel Vadot}; 410f126890aSEmmanuel Vadot 411f126890aSEmmanuel Vadot&spi2 { 412f126890aSEmmanuel Vadot ti,davinci-spi-num-cs = <5>; 413f126890aSEmmanuel Vadot /* Pin muxed. Enabled and configured by Bootloader */ 414f126890aSEmmanuel Vadot status = "disabled"; 415f126890aSEmmanuel Vadot}; 416