1d361ed88SLokesh Vutla// SPDX-License-Identifier: GPL-2.0 2d361ed88SLokesh Vutla/* 3d361ed88SLokesh Vutla * Device Tree Source for J7200 SoC Family MCU/WAKEUP Domain peripherals 4d361ed88SLokesh Vutla * 5d361ed88SLokesh Vutla * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 6d361ed88SLokesh Vutla */ 7d361ed88SLokesh Vutla 8d361ed88SLokesh Vutla&cbass_mcu_wakeup { 9d361ed88SLokesh Vutla dmsc: dmsc@44083000 { 10d361ed88SLokesh Vutla compatible = "ti,k2g-sci"; 11d361ed88SLokesh Vutla ti,host-id = <12>; 12d361ed88SLokesh Vutla 13d361ed88SLokesh Vutla mbox-names = "rx", "tx"; 14d361ed88SLokesh Vutla 15d361ed88SLokesh Vutla mboxes= <&secure_proxy_main 11>, 16d361ed88SLokesh Vutla <&secure_proxy_main 13>; 17d361ed88SLokesh Vutla 18d361ed88SLokesh Vutla reg-names = "debug_messages"; 19d361ed88SLokesh Vutla reg = <0x00 0x44083000 0x00 0x1000>; 20d361ed88SLokesh Vutla 21d361ed88SLokesh Vutla k3_pds: power-controller { 22d361ed88SLokesh Vutla compatible = "ti,sci-pm-domain"; 23d361ed88SLokesh Vutla #power-domain-cells = <2>; 24d361ed88SLokesh Vutla }; 25d361ed88SLokesh Vutla 26d361ed88SLokesh Vutla k3_clks: clocks { 27d361ed88SLokesh Vutla compatible = "ti,k2g-sci-clk"; 28d361ed88SLokesh Vutla #clock-cells = <2>; 29d361ed88SLokesh Vutla }; 30d361ed88SLokesh Vutla 31d361ed88SLokesh Vutla k3_reset: reset-controller { 32d361ed88SLokesh Vutla compatible = "ti,sci-reset"; 33d361ed88SLokesh Vutla #reset-cells = <2>; 34d361ed88SLokesh Vutla }; 35d361ed88SLokesh Vutla }; 36d361ed88SLokesh Vutla 37a323da4bSGrygorii Strashko mcu_conf: syscon@40f00000 { 38a323da4bSGrygorii Strashko compatible = "syscon", "simple-mfd"; 39a323da4bSGrygorii Strashko reg = <0x00 0x40f00000 0x00 0x20000>; 40a323da4bSGrygorii Strashko #address-cells = <1>; 41a323da4bSGrygorii Strashko #size-cells = <1>; 42a323da4bSGrygorii Strashko ranges = <0x00 0x00 0x40f00000 0x20000>; 43a323da4bSGrygorii Strashko 44a323da4bSGrygorii Strashko phy_gmii_sel: phy@4040 { 45a323da4bSGrygorii Strashko compatible = "ti,am654-phy-gmii-sel"; 46a323da4bSGrygorii Strashko reg = <0x4040 0x4>; 47a323da4bSGrygorii Strashko #phy-cells = <1>; 48a323da4bSGrygorii Strashko }; 49a323da4bSGrygorii Strashko }; 50a323da4bSGrygorii Strashko 51d361ed88SLokesh Vutla chipid@43000014 { 52d361ed88SLokesh Vutla compatible = "ti,am654-chipid"; 53d361ed88SLokesh Vutla reg = <0x00 0x43000014 0x00 0x4>; 54d361ed88SLokesh Vutla }; 55d361ed88SLokesh Vutla 56d361ed88SLokesh Vutla wkup_pmx0: pinctrl@4301c000 { 57d361ed88SLokesh Vutla compatible = "pinctrl-single"; 58d361ed88SLokesh Vutla /* Proxy 0 addressing */ 59d361ed88SLokesh Vutla reg = <0x00 0x4301c000 0x00 0x178>; 60d361ed88SLokesh Vutla #pinctrl-cells = <1>; 61d361ed88SLokesh Vutla pinctrl-single,register-width = <32>; 62d361ed88SLokesh Vutla pinctrl-single,function-mask = <0xffffffff>; 63d361ed88SLokesh Vutla }; 64d361ed88SLokesh Vutla 65d361ed88SLokesh Vutla mcu_ram: sram@41c00000 { 66d361ed88SLokesh Vutla compatible = "mmio-sram"; 67d361ed88SLokesh Vutla reg = <0x00 0x41c00000 0x00 0x100000>; 68d361ed88SLokesh Vutla ranges = <0x00 0x00 0x41c00000 0x100000>; 69d361ed88SLokesh Vutla #address-cells = <1>; 70d361ed88SLokesh Vutla #size-cells = <1>; 71d361ed88SLokesh Vutla }; 72d361ed88SLokesh Vutla 73d361ed88SLokesh Vutla wkup_uart0: serial@42300000 { 74d361ed88SLokesh Vutla compatible = "ti,j721e-uart", "ti,am654-uart"; 75d361ed88SLokesh Vutla reg = <0x00 0x42300000 0x00 0x100>; 76d361ed88SLokesh Vutla reg-shift = <2>; 77d361ed88SLokesh Vutla reg-io-width = <4>; 78d361ed88SLokesh Vutla interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>; 79d361ed88SLokesh Vutla clock-frequency = <48000000>; 80d361ed88SLokesh Vutla current-speed = <115200>; 81d361ed88SLokesh Vutla power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>; 82d361ed88SLokesh Vutla clocks = <&k3_clks 287 2>; 83d361ed88SLokesh Vutla clock-names = "fclk"; 84d361ed88SLokesh Vutla }; 85d361ed88SLokesh Vutla 86d361ed88SLokesh Vutla mcu_uart0: serial@40a00000 { 87d361ed88SLokesh Vutla compatible = "ti,j721e-uart", "ti,am654-uart"; 88d361ed88SLokesh Vutla reg = <0x00 0x40a00000 0x00 0x100>; 89d361ed88SLokesh Vutla reg-shift = <2>; 90d361ed88SLokesh Vutla reg-io-width = <4>; 91d361ed88SLokesh Vutla interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>; 92d361ed88SLokesh Vutla clock-frequency = <96000000>; 93d361ed88SLokesh Vutla current-speed = <115200>; 94d361ed88SLokesh Vutla power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; 95d361ed88SLokesh Vutla clocks = <&k3_clks 149 2>; 96d361ed88SLokesh Vutla clock-names = "fclk"; 97d361ed88SLokesh Vutla }; 98d361ed88SLokesh Vutla 99d361ed88SLokesh Vutla wkup_gpio_intr: interrupt-controller2 { 100d361ed88SLokesh Vutla compatible = "ti,sci-intr"; 101d361ed88SLokesh Vutla ti,intr-trigger-type = <1>; 102d361ed88SLokesh Vutla interrupt-controller; 103d361ed88SLokesh Vutla interrupt-parent = <&gic500>; 104d361ed88SLokesh Vutla #interrupt-cells = <1>; 105d361ed88SLokesh Vutla ti,sci = <&dmsc>; 106d361ed88SLokesh Vutla ti,sci-dev-id = <137>; 107d361ed88SLokesh Vutla ti,interrupt-ranges = <16 960 16>; 108d361ed88SLokesh Vutla }; 10946374264SPeter Ujfalusi 11046374264SPeter Ujfalusi mcu_navss: bus@28380000 { 11146374264SPeter Ujfalusi compatible = "simple-mfd"; 11246374264SPeter Ujfalusi #address-cells = <2>; 11346374264SPeter Ujfalusi #size-cells = <2>; 11446374264SPeter Ujfalusi ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>; 11546374264SPeter Ujfalusi dma-coherent; 11646374264SPeter Ujfalusi dma-ranges; 11746374264SPeter Ujfalusi ti,sci-dev-id = <232>; 11846374264SPeter Ujfalusi 11946374264SPeter Ujfalusi mcu_ringacc: ringacc@2b800000 { 12046374264SPeter Ujfalusi compatible = "ti,am654-navss-ringacc"; 12146374264SPeter Ujfalusi reg = <0x00 0x2b800000 0x00 0x400000>, 12246374264SPeter Ujfalusi <0x00 0x2b000000 0x00 0x400000>, 12346374264SPeter Ujfalusi <0x00 0x28590000 0x00 0x100>, 12446374264SPeter Ujfalusi <0x00 0x2a500000 0x00 0x40000>; 12546374264SPeter Ujfalusi reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target"; 12646374264SPeter Ujfalusi ti,num-rings = <286>; 12746374264SPeter Ujfalusi ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */ 12846374264SPeter Ujfalusi ti,sci = <&dmsc>; 12946374264SPeter Ujfalusi ti,sci-dev-id = <235>; 13046374264SPeter Ujfalusi msi-parent = <&main_udmass_inta>; 13146374264SPeter Ujfalusi }; 13246374264SPeter Ujfalusi 13346374264SPeter Ujfalusi mcu_udmap: dma-controller@285c0000 { 13446374264SPeter Ujfalusi compatible = "ti,j721e-navss-mcu-udmap"; 13546374264SPeter Ujfalusi reg = <0x00 0x285c0000 0x00 0x100>, 13646374264SPeter Ujfalusi <0x00 0x2a800000 0x00 0x40000>, 13746374264SPeter Ujfalusi <0x00 0x2aa00000 0x00 0x40000>; 13846374264SPeter Ujfalusi reg-names = "gcfg", "rchanrt", "tchanrt"; 13946374264SPeter Ujfalusi msi-parent = <&main_udmass_inta>; 14046374264SPeter Ujfalusi #dma-cells = <1>; 14146374264SPeter Ujfalusi 14246374264SPeter Ujfalusi ti,sci = <&dmsc>; 14346374264SPeter Ujfalusi ti,sci-dev-id = <236>; 14446374264SPeter Ujfalusi ti,ringacc = <&mcu_ringacc>; 14546374264SPeter Ujfalusi 14646374264SPeter Ujfalusi ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */ 14746374264SPeter Ujfalusi <0x0f>; /* TX_HCHAN */ 14846374264SPeter Ujfalusi ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */ 14946374264SPeter Ujfalusi <0x0b>; /* RX_HCHAN */ 15046374264SPeter Ujfalusi ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */ 15146374264SPeter Ujfalusi }; 15246374264SPeter Ujfalusi }; 153a323da4bSGrygorii Strashko 154a323da4bSGrygorii Strashko mcu_cpsw: ethernet@46000000 { 155a323da4bSGrygorii Strashko compatible = "ti,j721e-cpsw-nuss"; 156a323da4bSGrygorii Strashko #address-cells = <2>; 157a323da4bSGrygorii Strashko #size-cells = <2>; 158a323da4bSGrygorii Strashko reg = <0x00 0x46000000 0x00 0x200000>; 159a323da4bSGrygorii Strashko reg-names = "cpsw_nuss"; 160a323da4bSGrygorii Strashko ranges = <0x00 0x00 0x00 0x46000000 0x00 0x200000>; 161a323da4bSGrygorii Strashko dma-coherent; 162a323da4bSGrygorii Strashko clocks = <&k3_clks 18 21>; 163a323da4bSGrygorii Strashko clock-names = "fck"; 164a323da4bSGrygorii Strashko power-domains = <&k3_pds 18 TI_SCI_PD_EXCLUSIVE>; 165a323da4bSGrygorii Strashko 166a323da4bSGrygorii Strashko dmas = <&mcu_udmap 0xf000>, 167a323da4bSGrygorii Strashko <&mcu_udmap 0xf001>, 168a323da4bSGrygorii Strashko <&mcu_udmap 0xf002>, 169a323da4bSGrygorii Strashko <&mcu_udmap 0xf003>, 170a323da4bSGrygorii Strashko <&mcu_udmap 0xf004>, 171a323da4bSGrygorii Strashko <&mcu_udmap 0xf005>, 172a323da4bSGrygorii Strashko <&mcu_udmap 0xf006>, 173a323da4bSGrygorii Strashko <&mcu_udmap 0xf007>, 174a323da4bSGrygorii Strashko <&mcu_udmap 0x7000>; 175a323da4bSGrygorii Strashko dma-names = "tx0", "tx1", "tx2", "tx3", 176a323da4bSGrygorii Strashko "tx4", "tx5", "tx6", "tx7", 177a323da4bSGrygorii Strashko "rx"; 178a323da4bSGrygorii Strashko 179a323da4bSGrygorii Strashko ethernet-ports { 180a323da4bSGrygorii Strashko #address-cells = <1>; 181a323da4bSGrygorii Strashko #size-cells = <0>; 182a323da4bSGrygorii Strashko 183a323da4bSGrygorii Strashko cpsw_port1: port@1 { 184a323da4bSGrygorii Strashko reg = <1>; 185a323da4bSGrygorii Strashko ti,mac-only; 186a323da4bSGrygorii Strashko label = "port1"; 187a323da4bSGrygorii Strashko ti,syscon-efuse = <&mcu_conf 0x200>; 188a323da4bSGrygorii Strashko phys = <&phy_gmii_sel 1>; 189a323da4bSGrygorii Strashko }; 190a323da4bSGrygorii Strashko }; 191a323da4bSGrygorii Strashko 192a323da4bSGrygorii Strashko davinci_mdio: mdio@f00 { 193a323da4bSGrygorii Strashko compatible = "ti,cpsw-mdio","ti,davinci_mdio"; 194a323da4bSGrygorii Strashko reg = <0x00 0xf00 0x00 0x100>; 195a323da4bSGrygorii Strashko #address-cells = <1>; 196a323da4bSGrygorii Strashko #size-cells = <0>; 197a323da4bSGrygorii Strashko clocks = <&k3_clks 18 21>; 198a323da4bSGrygorii Strashko clock-names = "fck"; 199a323da4bSGrygorii Strashko bus_freq = <1000000>; 200a323da4bSGrygorii Strashko }; 201a323da4bSGrygorii Strashko 202a323da4bSGrygorii Strashko cpts@3d000 { 203a323da4bSGrygorii Strashko compatible = "ti,am65-cpts"; 204a323da4bSGrygorii Strashko reg = <0x00 0x3d000 0x00 0x400>; 205a323da4bSGrygorii Strashko clocks = <&k3_clks 18 2>; 206a323da4bSGrygorii Strashko clock-names = "cpts"; 207a323da4bSGrygorii Strashko interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>; 208a323da4bSGrygorii Strashko interrupt-names = "cpts"; 209a323da4bSGrygorii Strashko ti,cpts-ext-ts-inputs = <4>; 210a323da4bSGrygorii Strashko ti,cpts-periodic-outputs = <2>; 211a323da4bSGrygorii Strashko }; 212a323da4bSGrygorii Strashko }; 213d361ed88SLokesh Vutla}; 214