14201af25SNishanth Menon// SPDX-License-Identifier: GPL-2.0 24201af25SNishanth Menon/* 34201af25SNishanth Menon * Device Tree Source for AM6 SoC Family MCU Domain peripherals 44201af25SNishanth Menon * 55bb9e0f6SSuman Anna * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/ 64201af25SNishanth Menon */ 74201af25SNishanth Menon 84201af25SNishanth Menon&cbass_mcu { 9e5c956c4SNishanth Menon mcu_conf: scm-conf@40f00000 { 10f2965b99SGrygorii Strashko compatible = "syscon", "simple-mfd"; 11f2965b99SGrygorii Strashko reg = <0x0 0x40f00000 0x0 0x20000>; 12f2965b99SGrygorii Strashko #address-cells = <1>; 13f2965b99SGrygorii Strashko #size-cells = <1>; 14f2965b99SGrygorii Strashko ranges = <0x0 0x0 0x40f00000 0x20000>; 15243246b5SGrygorii Strashko 16243246b5SGrygorii Strashko phy_gmii_sel: phy@4040 { 17243246b5SGrygorii Strashko compatible = "ti,am654-phy-gmii-sel"; 18243246b5SGrygorii Strashko reg = <0x4040 0x4>; 19243246b5SGrygorii Strashko #phy-cells = <1>; 20243246b5SGrygorii Strashko }; 21f2965b99SGrygorii Strashko }; 22f2965b99SGrygorii Strashko 234201af25SNishanth Menon mcu_uart0: serial@40a00000 { 244201af25SNishanth Menon compatible = "ti,am654-uart"; 254201af25SNishanth Menon reg = <0x00 0x40a00000 0x00 0x100>; 264201af25SNishanth Menon reg-shift = <2>; 274201af25SNishanth Menon reg-io-width = <4>; 284201af25SNishanth Menon interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>; 294201af25SNishanth Menon clock-frequency = <96000000>; 304201af25SNishanth Menon current-speed = <115200>; 31c68272cbSLokesh Vutla power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; 324201af25SNishanth Menon }; 3319a1768fSVignesh R 34f853f005SSuman Anna mcu_ram: sram@41c00000 { 35f853f005SSuman Anna compatible = "mmio-sram"; 36f853f005SSuman Anna reg = <0x00 0x41c00000 0x00 0x80000>; 37f853f005SSuman Anna ranges = <0x0 0x00 0x41c00000 0x80000>; 38f853f005SSuman Anna #address-cells = <1>; 39f853f005SSuman Anna #size-cells = <1>; 40f853f005SSuman Anna }; 41f853f005SSuman Anna 4219a1768fSVignesh R mcu_i2c0: i2c@40b00000 { 4319a1768fSVignesh R compatible = "ti,am654-i2c", "ti,omap4-i2c"; 4419a1768fSVignesh R reg = <0x0 0x40b00000 0x0 0x100>; 4519a1768fSVignesh R interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>; 4619a1768fSVignesh R #address-cells = <1>; 4719a1768fSVignesh R #size-cells = <0>; 4819a1768fSVignesh R clock-names = "fck"; 4919a1768fSVignesh R clocks = <&k3_clks 114 1>; 50c68272cbSLokesh Vutla power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>; 5119a1768fSVignesh R }; 522cd7d393SVignesh R 532cd7d393SVignesh R mcu_spi0: spi@40300000 { 542cd7d393SVignesh R compatible = "ti,am654-mcspi","ti,omap4-mcspi"; 552cd7d393SVignesh R reg = <0x0 0x40300000 0x0 0x400>; 562cd7d393SVignesh R interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>; 572cd7d393SVignesh R clocks = <&k3_clks 142 1>; 58c68272cbSLokesh Vutla power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>; 592cd7d393SVignesh R #address-cells = <1>; 602cd7d393SVignesh R #size-cells = <0>; 612cd7d393SVignesh R }; 622cd7d393SVignesh R 632cd7d393SVignesh R mcu_spi1: spi@40310000 { 642cd7d393SVignesh R compatible = "ti,am654-mcspi","ti,omap4-mcspi"; 652cd7d393SVignesh R reg = <0x0 0x40310000 0x0 0x400>; 662cd7d393SVignesh R interrupts = <GIC_SPI 561 IRQ_TYPE_LEVEL_HIGH>; 672cd7d393SVignesh R clocks = <&k3_clks 143 1>; 68c68272cbSLokesh Vutla power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>; 692cd7d393SVignesh R #address-cells = <1>; 702cd7d393SVignesh R #size-cells = <0>; 712cd7d393SVignesh R }; 722cd7d393SVignesh R 732cd7d393SVignesh R mcu_spi2: spi@40320000 { 742cd7d393SVignesh R compatible = "ti,am654-mcspi","ti,omap4-mcspi"; 752cd7d393SVignesh R reg = <0x0 0x40320000 0x0 0x400>; 762cd7d393SVignesh R interrupts = <GIC_SPI 562 IRQ_TYPE_LEVEL_HIGH>; 772cd7d393SVignesh R clocks = <&k3_clks 144 1>; 78c68272cbSLokesh Vutla power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>; 792cd7d393SVignesh R #address-cells = <1>; 802cd7d393SVignesh R #size-cells = <0>; 812cd7d393SVignesh R }; 82aa6eaaa2SVignesh R 83aa6eaaa2SVignesh R tscadc0: tscadc@40200000 { 84aa6eaaa2SVignesh R compatible = "ti,am654-tscadc", "ti,am3359-tscadc"; 85aa6eaaa2SVignesh R reg = <0x0 0x40200000 0x0 0x1000>; 86aa6eaaa2SVignesh R interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>; 87aa6eaaa2SVignesh R clocks = <&k3_clks 0 2>; 88aa6eaaa2SVignesh R assigned-clocks = <&k3_clks 0 2>; 89aa6eaaa2SVignesh R assigned-clock-rates = <60000000>; 90aa6eaaa2SVignesh R clock-names = "adc_tsc_fck"; 9185800da0SVignesh Raghavendra dmas = <&mcu_udmap 0x7100>, 9285800da0SVignesh Raghavendra <&mcu_udmap 0x7101 >; 9385800da0SVignesh Raghavendra dma-names = "fifo0", "fifo1"; 94aa6eaaa2SVignesh R 95aa6eaaa2SVignesh R adc { 96aa6eaaa2SVignesh R #io-channel-cells = <1>; 97aa6eaaa2SVignesh R compatible = "ti,am654-adc", "ti,am3359-adc"; 98aa6eaaa2SVignesh R }; 99aa6eaaa2SVignesh R }; 100aa6eaaa2SVignesh R 101aa6eaaa2SVignesh R tscadc1: tscadc@40210000 { 102aa6eaaa2SVignesh R compatible = "ti,am654-tscadc", "ti,am3359-tscadc"; 103aa6eaaa2SVignesh R reg = <0x0 0x40210000 0x0 0x1000>; 104aa6eaaa2SVignesh R interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>; 105aa6eaaa2SVignesh R clocks = <&k3_clks 1 2>; 106aa6eaaa2SVignesh R assigned-clocks = <&k3_clks 1 2>; 107aa6eaaa2SVignesh R assigned-clock-rates = <60000000>; 108aa6eaaa2SVignesh R clock-names = "adc_tsc_fck"; 10985800da0SVignesh Raghavendra dmas = <&mcu_udmap 0x7102>, 11085800da0SVignesh Raghavendra <&mcu_udmap 0x7103>; 11185800da0SVignesh Raghavendra dma-names = "fifo0", "fifo1"; 112aa6eaaa2SVignesh R 113aa6eaaa2SVignesh R adc { 114aa6eaaa2SVignesh R #io-channel-cells = <1>; 115aa6eaaa2SVignesh R compatible = "ti,am654-adc", "ti,am3359-adc"; 116aa6eaaa2SVignesh R }; 117aa6eaaa2SVignesh R }; 11807481770SVignesh Raghavendra 119*9ecdb6d6SNishanth Menon mcu_navss: bus@28380000 { 1203d623054SPeter Ujfalusi compatible = "simple-mfd"; 1213d623054SPeter Ujfalusi #address-cells = <2>; 1223d623054SPeter Ujfalusi #size-cells = <2>; 123*9ecdb6d6SNishanth Menon ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>; 1243d623054SPeter Ujfalusi dma-coherent; 1253d623054SPeter Ujfalusi dma-ranges; 1263d623054SPeter Ujfalusi 1273d623054SPeter Ujfalusi ti,sci-dev-id = <119>; 1283d623054SPeter Ujfalusi 1293d623054SPeter Ujfalusi mcu_ringacc: ringacc@2b800000 { 1303d623054SPeter Ujfalusi compatible = "ti,am654-navss-ringacc"; 1313d623054SPeter Ujfalusi reg = <0x0 0x2b800000 0x0 0x400000>, 1323d623054SPeter Ujfalusi <0x0 0x2b000000 0x0 0x400000>, 1333d623054SPeter Ujfalusi <0x0 0x28590000 0x0 0x100>, 1343d623054SPeter Ujfalusi <0x0 0x2a500000 0x0 0x40000>; 1353d623054SPeter Ujfalusi reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target"; 1363d623054SPeter Ujfalusi ti,num-rings = <286>; 1376da45875SLokesh Vutla ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */ 1383d623054SPeter Ujfalusi ti,sci = <&dmsc>; 1393d623054SPeter Ujfalusi ti,sci-dev-id = <195>; 1403d623054SPeter Ujfalusi msi-parent = <&inta_main_udmass>; 1413d623054SPeter Ujfalusi }; 1423d623054SPeter Ujfalusi 1433d623054SPeter Ujfalusi mcu_udmap: dma-controller@285c0000 { 1443d623054SPeter Ujfalusi compatible = "ti,am654-navss-mcu-udmap"; 1453d623054SPeter Ujfalusi reg = <0x0 0x285c0000 0x0 0x100>, 1463d623054SPeter Ujfalusi <0x0 0x2a800000 0x0 0x40000>, 1473d623054SPeter Ujfalusi <0x0 0x2aa00000 0x0 0x40000>; 1483d623054SPeter Ujfalusi reg-names = "gcfg", "rchanrt", "tchanrt"; 1493d623054SPeter Ujfalusi msi-parent = <&inta_main_udmass>; 1503d623054SPeter Ujfalusi #dma-cells = <1>; 1513d623054SPeter Ujfalusi 1523d623054SPeter Ujfalusi ti,sci = <&dmsc>; 1533d623054SPeter Ujfalusi ti,sci-dev-id = <194>; 1543d623054SPeter Ujfalusi ti,ringacc = <&mcu_ringacc>; 1553d623054SPeter Ujfalusi 1566da45875SLokesh Vutla ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */ 1576da45875SLokesh Vutla <0xd>; /* TX_CHAN */ 1586da45875SLokesh Vutla ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */ 1596da45875SLokesh Vutla <0xa>; /* RX_CHAN */ 1606da45875SLokesh Vutla ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */ 1613d623054SPeter Ujfalusi }; 1623d623054SPeter Ujfalusi }; 1633d623054SPeter Ujfalusi 16407481770SVignesh Raghavendra fss: fss@47000000 { 16507481770SVignesh Raghavendra compatible = "simple-bus"; 16607481770SVignesh Raghavendra #address-cells = <2>; 16707481770SVignesh Raghavendra #size-cells = <2>; 16807481770SVignesh Raghavendra ranges; 16907481770SVignesh Raghavendra 17007481770SVignesh Raghavendra ospi0: spi@47040000 { 17107481770SVignesh Raghavendra compatible = "ti,am654-ospi", "cdns,qspi-nor"; 17207481770SVignesh Raghavendra reg = <0x0 0x47040000 0x0 0x100>, 17307481770SVignesh Raghavendra <0x5 0x00000000 0x1 0x0000000>; 17407481770SVignesh Raghavendra interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>; 17507481770SVignesh Raghavendra cdns,fifo-depth = <256>; 17607481770SVignesh Raghavendra cdns,fifo-width = <4>; 17707481770SVignesh Raghavendra cdns,trigger-address = <0x0>; 17807481770SVignesh Raghavendra clocks = <&k3_clks 248 0>; 17907481770SVignesh Raghavendra assigned-clocks = <&k3_clks 248 0>; 18007481770SVignesh Raghavendra assigned-clock-parents = <&k3_clks 248 2>; 18107481770SVignesh Raghavendra assigned-clock-rates = <166666666>; 18207481770SVignesh Raghavendra power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>; 18307481770SVignesh Raghavendra #address-cells = <1>; 18407481770SVignesh Raghavendra #size-cells = <0>; 18507481770SVignesh Raghavendra }; 18607481770SVignesh Raghavendra 18707481770SVignesh Raghavendra ospi1: spi@47050000 { 18807481770SVignesh Raghavendra compatible = "ti,am654-ospi", "cdns,qspi-nor"; 18907481770SVignesh Raghavendra reg = <0x0 0x47050000 0x0 0x100>, 19007481770SVignesh Raghavendra <0x7 0x00000000 0x1 0x00000000>; 19107481770SVignesh Raghavendra interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>; 19207481770SVignesh Raghavendra cdns,fifo-depth = <256>; 19307481770SVignesh Raghavendra cdns,fifo-width = <4>; 19407481770SVignesh Raghavendra cdns,trigger-address = <0x0>; 19507481770SVignesh Raghavendra clocks = <&k3_clks 249 6>; 19607481770SVignesh Raghavendra power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>; 19707481770SVignesh Raghavendra #address-cells = <1>; 19807481770SVignesh Raghavendra #size-cells = <0>; 19907481770SVignesh Raghavendra }; 20007481770SVignesh Raghavendra }; 201ba86a6e9SGrygorii Strashko 202ba86a6e9SGrygorii Strashko mcu_cpsw: ethernet@46000000 { 203ba86a6e9SGrygorii Strashko compatible = "ti,am654-cpsw-nuss"; 204ba86a6e9SGrygorii Strashko #address-cells = <2>; 205ba86a6e9SGrygorii Strashko #size-cells = <2>; 206ba86a6e9SGrygorii Strashko reg = <0x0 0x46000000 0x0 0x200000>; 207ba86a6e9SGrygorii Strashko reg-names = "cpsw_nuss"; 208ba86a6e9SGrygorii Strashko ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>; 209ba86a6e9SGrygorii Strashko dma-coherent; 210ba86a6e9SGrygorii Strashko clocks = <&k3_clks 5 10>; 211ba86a6e9SGrygorii Strashko clock-names = "fck"; 212ba86a6e9SGrygorii Strashko power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>; 213ba86a6e9SGrygorii Strashko 214ba86a6e9SGrygorii Strashko dmas = <&mcu_udmap 0xf000>, 215ba86a6e9SGrygorii Strashko <&mcu_udmap 0xf001>, 216ba86a6e9SGrygorii Strashko <&mcu_udmap 0xf002>, 217ba86a6e9SGrygorii Strashko <&mcu_udmap 0xf003>, 218ba86a6e9SGrygorii Strashko <&mcu_udmap 0xf004>, 219ba86a6e9SGrygorii Strashko <&mcu_udmap 0xf005>, 220ba86a6e9SGrygorii Strashko <&mcu_udmap 0xf006>, 221ba86a6e9SGrygorii Strashko <&mcu_udmap 0xf007>, 222ba86a6e9SGrygorii Strashko <&mcu_udmap 0x7000>; 223ba86a6e9SGrygorii Strashko dma-names = "tx0", "tx1", "tx2", "tx3", 224ba86a6e9SGrygorii Strashko "tx4", "tx5", "tx6", "tx7", 225ba86a6e9SGrygorii Strashko "rx"; 226ba86a6e9SGrygorii Strashko 227ba86a6e9SGrygorii Strashko ethernet-ports { 228ba86a6e9SGrygorii Strashko #address-cells = <1>; 229ba86a6e9SGrygorii Strashko #size-cells = <0>; 230ba86a6e9SGrygorii Strashko 231ba86a6e9SGrygorii Strashko cpsw_port1: port@1 { 232ba86a6e9SGrygorii Strashko reg = <1>; 233ba86a6e9SGrygorii Strashko ti,mac-only; 234ba86a6e9SGrygorii Strashko label = "port1"; 235ba86a6e9SGrygorii Strashko ti,syscon-efuse = <&mcu_conf 0x200>; 236ba86a6e9SGrygorii Strashko phys = <&phy_gmii_sel 1>; 237ba86a6e9SGrygorii Strashko }; 238ba86a6e9SGrygorii Strashko }; 239ba86a6e9SGrygorii Strashko 240ba86a6e9SGrygorii Strashko davinci_mdio: mdio@f00 { 241ba86a6e9SGrygorii Strashko compatible = "ti,cpsw-mdio","ti,davinci_mdio"; 242ba86a6e9SGrygorii Strashko reg = <0x0 0xf00 0x0 0x100>; 243ba86a6e9SGrygorii Strashko #address-cells = <1>; 244ba86a6e9SGrygorii Strashko #size-cells = <0>; 245ba86a6e9SGrygorii Strashko clocks = <&k3_clks 5 10>; 246ba86a6e9SGrygorii Strashko clock-names = "fck"; 247ba86a6e9SGrygorii Strashko bus_freq = <1000000>; 248ba86a6e9SGrygorii Strashko }; 249885a26baSGrygorii Strashko 250ef2d1363SGrygorii Strashko cpts@3d000 { 251ef2d1363SGrygorii Strashko compatible = "ti,am65-cpts"; 252ef2d1363SGrygorii Strashko reg = <0x0 0x3d000 0x0 0x400>; 253885a26baSGrygorii Strashko clocks = <&mcu_cpsw_cpts_mux>; 254885a26baSGrygorii Strashko clock-names = "cpts"; 255885a26baSGrygorii Strashko interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>; 256885a26baSGrygorii Strashko interrupt-names = "cpts"; 257885a26baSGrygorii Strashko ti,cpts-ext-ts-inputs = <4>; 258885a26baSGrygorii Strashko ti,cpts-periodic-outputs = <2>; 259885a26baSGrygorii Strashko 260885a26baSGrygorii Strashko mcu_cpsw_cpts_mux: refclk-mux { 261885a26baSGrygorii Strashko #clock-cells = <0>; 262885a26baSGrygorii Strashko clocks = <&k3_clks 118 5>, <&k3_clks 118 11>, 263885a26baSGrygorii Strashko <&k3_clks 118 6>, <&k3_clks 118 3>, 264885a26baSGrygorii Strashko <&k3_clks 118 8>, <&k3_clks 118 14>, 265885a26baSGrygorii Strashko <&k3_clks 120 3>, <&k3_clks 121 3>; 266885a26baSGrygorii Strashko assigned-clocks = <&mcu_cpsw_cpts_mux>; 267885a26baSGrygorii Strashko assigned-clock-parents = <&k3_clks 118 5>; 268885a26baSGrygorii Strashko }; 269885a26baSGrygorii Strashko }; 270ba86a6e9SGrygorii Strashko }; 2715bb9e0f6SSuman Anna 2725bb9e0f6SSuman Anna mcu_r5fss0: r5fss@41000000 { 2735bb9e0f6SSuman Anna compatible = "ti,am654-r5fss"; 2745bb9e0f6SSuman Anna ti,cluster-mode = <1>; 2755bb9e0f6SSuman Anna #address-cells = <1>; 2765bb9e0f6SSuman Anna #size-cells = <1>; 2775bb9e0f6SSuman Anna ranges = <0x41000000 0x00 0x41000000 0x20000>, 2785bb9e0f6SSuman Anna <0x41400000 0x00 0x41400000 0x20000>; 2795bb9e0f6SSuman Anna power-domains = <&k3_pds 129 TI_SCI_PD_EXCLUSIVE>; 2805bb9e0f6SSuman Anna 2815bb9e0f6SSuman Anna mcu_r5fss0_core0: r5f@41000000 { 2825bb9e0f6SSuman Anna compatible = "ti,am654-r5f"; 2835bb9e0f6SSuman Anna reg = <0x41000000 0x00008000>, 2845bb9e0f6SSuman Anna <0x41010000 0x00008000>; 2855bb9e0f6SSuman Anna reg-names = "atcm", "btcm"; 2865bb9e0f6SSuman Anna ti,sci = <&dmsc>; 2875bb9e0f6SSuman Anna ti,sci-dev-id = <159>; 2885bb9e0f6SSuman Anna ti,sci-proc-ids = <0x01 0xff>; 2895bb9e0f6SSuman Anna resets = <&k3_reset 159 1>; 2905bb9e0f6SSuman Anna firmware-name = "am65x-mcu-r5f0_0-fw"; 2915bb9e0f6SSuman Anna ti,atcm-enable = <1>; 2925bb9e0f6SSuman Anna ti,btcm-enable = <1>; 2935bb9e0f6SSuman Anna ti,loczrama = <1>; 2945bb9e0f6SSuman Anna }; 2955bb9e0f6SSuman Anna 2965bb9e0f6SSuman Anna mcu_r5fss0_core1: r5f@41400000 { 2975bb9e0f6SSuman Anna compatible = "ti,am654-r5f"; 2985bb9e0f6SSuman Anna reg = <0x41400000 0x00008000>, 2995bb9e0f6SSuman Anna <0x41410000 0x00008000>; 3005bb9e0f6SSuman Anna reg-names = "atcm", "btcm"; 3015bb9e0f6SSuman Anna ti,sci = <&dmsc>; 3025bb9e0f6SSuman Anna ti,sci-dev-id = <245>; 3035bb9e0f6SSuman Anna ti,sci-proc-ids = <0x02 0xff>; 3045bb9e0f6SSuman Anna resets = <&k3_reset 245 1>; 3055bb9e0f6SSuman Anna firmware-name = "am65x-mcu-r5f0_1-fw"; 3065bb9e0f6SSuman Anna ti,atcm-enable = <1>; 3075bb9e0f6SSuman Anna ti,btcm-enable = <1>; 3085bb9e0f6SSuman Anna ti,loczrama = <1>; 3095bb9e0f6SSuman Anna }; 3105bb9e0f6SSuman Anna }; 3116674a90bSJan Kiszka 3126674a90bSJan Kiszka mcu_rti1: watchdog@40610000 { 3136674a90bSJan Kiszka compatible = "ti,j7-rti-wdt"; 3146674a90bSJan Kiszka reg = <0x0 0x40610000 0x0 0x100>; 3156674a90bSJan Kiszka clocks = <&k3_clks 135 0>; 3166674a90bSJan Kiszka power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>; 3176674a90bSJan Kiszka assigned-clocks = <&k3_clks 135 0>; 3186674a90bSJan Kiszka assigned-clock-parents = <&k3_clks 135 4>; 3196674a90bSJan Kiszka }; 3204201af25SNishanth Menon}; 321