1b8545f9dSAswath Govindraju// SPDX-License-Identifier: GPL-2.0 2b8545f9dSAswath Govindraju/* 3b8545f9dSAswath Govindraju * Device Tree Source for J721S2 SoC Family MCU/WAKEUP Domain peripherals 4b8545f9dSAswath Govindraju * 5b8545f9dSAswath Govindraju * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 6b8545f9dSAswath Govindraju */ 7b8545f9dSAswath Govindraju 8b8545f9dSAswath Govindraju&cbass_mcu_wakeup { 9b8545f9dSAswath Govindraju sms: system-controller@44083000 { 10b8545f9dSAswath Govindraju compatible = "ti,k2g-sci"; 11b8545f9dSAswath Govindraju ti,host-id = <12>; 12b8545f9dSAswath Govindraju 13b8545f9dSAswath Govindraju mbox-names = "rx", "tx"; 14b8545f9dSAswath Govindraju 15b8545f9dSAswath Govindraju mboxes = <&secure_proxy_main 11>, 16b8545f9dSAswath Govindraju <&secure_proxy_main 13>; 17b8545f9dSAswath Govindraju 18b8545f9dSAswath Govindraju reg-names = "debug_messages"; 19b8545f9dSAswath Govindraju reg = <0x00 0x44083000 0x00 0x1000>; 20b8545f9dSAswath Govindraju 21b8545f9dSAswath Govindraju k3_pds: power-controller { 22b8545f9dSAswath Govindraju compatible = "ti,sci-pm-domain"; 23b8545f9dSAswath Govindraju #power-domain-cells = <2>; 24b8545f9dSAswath Govindraju }; 25b8545f9dSAswath Govindraju 26b8545f9dSAswath Govindraju k3_clks: clock-controller { 27b8545f9dSAswath Govindraju compatible = "ti,k2g-sci-clk"; 28b8545f9dSAswath Govindraju #clock-cells = <2>; 29b8545f9dSAswath Govindraju }; 30b8545f9dSAswath Govindraju 31b8545f9dSAswath Govindraju k3_reset: reset-controller { 32b8545f9dSAswath Govindraju compatible = "ti,sci-reset"; 33b8545f9dSAswath Govindraju #reset-cells = <2>; 34b8545f9dSAswath Govindraju }; 35b8545f9dSAswath Govindraju }; 36b8545f9dSAswath Govindraju 37b8545f9dSAswath Govindraju chipid@43000014 { 38b8545f9dSAswath Govindraju compatible = "ti,am654-chipid"; 39b8545f9dSAswath Govindraju reg = <0x00 0x43000014 0x00 0x4>; 40b8545f9dSAswath Govindraju }; 41b8545f9dSAswath Govindraju 42b8545f9dSAswath Govindraju mcu_ram: sram@41c00000 { 43b8545f9dSAswath Govindraju compatible = "mmio-sram"; 44b8545f9dSAswath Govindraju reg = <0x00 0x41c00000 0x00 0x100000>; 45b8545f9dSAswath Govindraju ranges = <0x00 0x00 0x41c00000 0x100000>; 46b8545f9dSAswath Govindraju #address-cells = <1>; 47b8545f9dSAswath Govindraju #size-cells = <1>; 48b8545f9dSAswath Govindraju }; 49b8545f9dSAswath Govindraju 50b8545f9dSAswath Govindraju wkup_pmx0: pinctrl@4301c000 { 51b8545f9dSAswath Govindraju compatible = "pinctrl-single"; 52b8545f9dSAswath Govindraju /* Proxy 0 addressing */ 53b8545f9dSAswath Govindraju reg = <0x00 0x4301c000 0x00 0x178>; 54b8545f9dSAswath Govindraju #pinctrl-cells = <1>; 55b8545f9dSAswath Govindraju pinctrl-single,register-width = <32>; 56b8545f9dSAswath Govindraju pinctrl-single,function-mask = <0xffffffff>; 57b8545f9dSAswath Govindraju }; 58b8545f9dSAswath Govindraju 59b8545f9dSAswath Govindraju wkup_gpio_intr: interrupt-controller@42200000 { 60b8545f9dSAswath Govindraju compatible = "ti,sci-intr"; 61b8545f9dSAswath Govindraju reg = <0x00 0x42200000 0x00 0x400>; 62b8545f9dSAswath Govindraju ti,intr-trigger-type = <1>; 63b8545f9dSAswath Govindraju interrupt-controller; 64b8545f9dSAswath Govindraju interrupt-parent = <&gic500>; 65b8545f9dSAswath Govindraju #interrupt-cells = <1>; 66b8545f9dSAswath Govindraju ti,sci = <&sms>; 67b8545f9dSAswath Govindraju ti,sci-dev-id = <125>; 68b8545f9dSAswath Govindraju ti,interrupt-ranges = <16 928 16>; 69b8545f9dSAswath Govindraju }; 70b8545f9dSAswath Govindraju 71b8545f9dSAswath Govindraju mcu_conf: syscon@40f00000 { 72b8545f9dSAswath Govindraju compatible = "syscon", "simple-mfd"; 73b8545f9dSAswath Govindraju reg = <0x0 0x40f00000 0x0 0x20000>; 74b8545f9dSAswath Govindraju #address-cells = <1>; 75b8545f9dSAswath Govindraju #size-cells = <1>; 76b8545f9dSAswath Govindraju ranges = <0x0 0x0 0x40f00000 0x20000>; 77b8545f9dSAswath Govindraju 78b8545f9dSAswath Govindraju phy_gmii_sel: phy@4040 { 79b8545f9dSAswath Govindraju compatible = "ti,am654-phy-gmii-sel"; 80b8545f9dSAswath Govindraju reg = <0x4040 0x4>; 81b8545f9dSAswath Govindraju #phy-cells = <1>; 82b8545f9dSAswath Govindraju }; 83b8545f9dSAswath Govindraju 84b8545f9dSAswath Govindraju }; 85b8545f9dSAswath Govindraju 86b8545f9dSAswath Govindraju wkup_uart0: serial@42300000 { 87b8545f9dSAswath Govindraju compatible = "ti,j721e-uart", "ti,am654-uart"; 88b8545f9dSAswath Govindraju reg = <0x00 0x42300000 0x00 0x200>; 89b8545f9dSAswath Govindraju interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>; 90b8545f9dSAswath Govindraju current-speed = <115200>; 91b8545f9dSAswath Govindraju clocks = <&k3_clks 359 3>; 92b8545f9dSAswath Govindraju clock-names = "fclk"; 93b8545f9dSAswath Govindraju power-domains = <&k3_pds 359 TI_SCI_PD_EXCLUSIVE>; 94*0e63f35aSAndrew Davis status = "disabled"; 95b8545f9dSAswath Govindraju }; 96b8545f9dSAswath Govindraju 97b8545f9dSAswath Govindraju mcu_uart0: serial@40a00000 { 98b8545f9dSAswath Govindraju compatible = "ti,j721e-uart", "ti,am654-uart"; 99b8545f9dSAswath Govindraju reg = <0x00 0x40a00000 0x00 0x200>; 100b8545f9dSAswath Govindraju interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>; 101b8545f9dSAswath Govindraju current-speed = <115200>; 102b8545f9dSAswath Govindraju clocks = <&k3_clks 149 3>; 103b8545f9dSAswath Govindraju clock-names = "fclk"; 104b8545f9dSAswath Govindraju power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; 105*0e63f35aSAndrew Davis status = "disabled"; 106b8545f9dSAswath Govindraju }; 107b8545f9dSAswath Govindraju 108b8545f9dSAswath Govindraju wkup_gpio0: gpio@42110000 { 109b8545f9dSAswath Govindraju compatible = "ti,j721e-gpio", "ti,keystone-gpio"; 110b8545f9dSAswath Govindraju reg = <0x00 0x42110000 0x00 0x100>; 111b8545f9dSAswath Govindraju gpio-controller; 112b8545f9dSAswath Govindraju #gpio-cells = <2>; 113223d9ac4SKeerthy interrupt-parent = <&wkup_gpio_intr>; 114b8545f9dSAswath Govindraju interrupts = <103>, <104>, <105>, <106>, <107>, <108>; 115b8545f9dSAswath Govindraju interrupt-controller; 116b8545f9dSAswath Govindraju #interrupt-cells = <2>; 117b8545f9dSAswath Govindraju ti,ngpio = <89>; 118b8545f9dSAswath Govindraju ti,davinci-gpio-unbanked = <0>; 119b8545f9dSAswath Govindraju power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>; 120b8545f9dSAswath Govindraju clocks = <&k3_clks 115 0>; 121b8545f9dSAswath Govindraju clock-names = "gpio"; 122b8545f9dSAswath Govindraju }; 123b8545f9dSAswath Govindraju 124b8545f9dSAswath Govindraju wkup_gpio1: gpio@42100000 { 125b8545f9dSAswath Govindraju compatible = "ti,j721e-gpio", "ti,keystone-gpio"; 126b8545f9dSAswath Govindraju reg = <0x00 0x42100000 0x00 0x100>; 127b8545f9dSAswath Govindraju gpio-controller; 128b8545f9dSAswath Govindraju #gpio-cells = <2>; 129223d9ac4SKeerthy interrupt-parent = <&wkup_gpio_intr>; 130b8545f9dSAswath Govindraju interrupts = <112>, <113>, <114>, <115>, <116>, <117>; 131b8545f9dSAswath Govindraju interrupt-controller; 132b8545f9dSAswath Govindraju #interrupt-cells = <2>; 133b8545f9dSAswath Govindraju ti,ngpio = <89>; 134b8545f9dSAswath Govindraju ti,davinci-gpio-unbanked = <0>; 135b8545f9dSAswath Govindraju power-domains = <&k3_pds 116 TI_SCI_PD_EXCLUSIVE>; 136b8545f9dSAswath Govindraju clocks = <&k3_clks 116 0>; 137b8545f9dSAswath Govindraju clock-names = "gpio"; 138b8545f9dSAswath Govindraju }; 139b8545f9dSAswath Govindraju 140b8545f9dSAswath Govindraju wkup_i2c0: i2c@42120000 { 141b8545f9dSAswath Govindraju compatible = "ti,j721e-i2c", "ti,omap4-i2c"; 142b8545f9dSAswath Govindraju reg = <0x00 0x42120000 0x00 0x100>; 143b8545f9dSAswath Govindraju interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>; 144b8545f9dSAswath Govindraju #address-cells = <1>; 145b8545f9dSAswath Govindraju #size-cells = <0>; 146b8545f9dSAswath Govindraju clocks = <&k3_clks 223 1>; 147b8545f9dSAswath Govindraju clock-names = "fck"; 148b8545f9dSAswath Govindraju power-domains = <&k3_pds 223 TI_SCI_PD_EXCLUSIVE>; 149b8545f9dSAswath Govindraju }; 150b8545f9dSAswath Govindraju 151b8545f9dSAswath Govindraju mcu_i2c0: i2c@40b00000 { 152b8545f9dSAswath Govindraju compatible = "ti,j721e-i2c", "ti,omap4-i2c"; 153b8545f9dSAswath Govindraju reg = <0x00 0x40b00000 0x00 0x100>; 154b8545f9dSAswath Govindraju interrupts = <GIC_SPI 852 IRQ_TYPE_LEVEL_HIGH>; 155b8545f9dSAswath Govindraju #address-cells = <1>; 156b8545f9dSAswath Govindraju #size-cells = <0>; 157b8545f9dSAswath Govindraju clocks = <&k3_clks 221 1>; 158b8545f9dSAswath Govindraju clock-names = "fck"; 159b8545f9dSAswath Govindraju power-domains = <&k3_pds 221 TI_SCI_PD_EXCLUSIVE>; 160b8545f9dSAswath Govindraju }; 161b8545f9dSAswath Govindraju 162b8545f9dSAswath Govindraju mcu_i2c1: i2c@40b10000 { 163b8545f9dSAswath Govindraju compatible = "ti,j721e-i2c", "ti,omap4-i2c"; 164b8545f9dSAswath Govindraju reg = <0x00 0x40b10000 0x00 0x100>; 165b8545f9dSAswath Govindraju interrupts = <GIC_SPI 853 IRQ_TYPE_LEVEL_HIGH>; 166b8545f9dSAswath Govindraju #address-cells = <1>; 167b8545f9dSAswath Govindraju #size-cells = <0>; 168b8545f9dSAswath Govindraju clocks = <&k3_clks 222 1>; 169b8545f9dSAswath Govindraju clock-names = "fck"; 170b8545f9dSAswath Govindraju power-domains = <&k3_pds 222 TI_SCI_PD_EXCLUSIVE>; 171b8545f9dSAswath Govindraju }; 172b8545f9dSAswath Govindraju 173b8545f9dSAswath Govindraju mcu_mcan0: can@40528000 { 174b8545f9dSAswath Govindraju compatible = "bosch,m_can"; 175b8545f9dSAswath Govindraju reg = <0x00 0x40528000 0x00 0x200>, 176b8545f9dSAswath Govindraju <0x00 0x40500000 0x00 0x8000>; 177b8545f9dSAswath Govindraju reg-names = "m_can", "message_ram"; 178b8545f9dSAswath Govindraju power-domains = <&k3_pds 207 TI_SCI_PD_EXCLUSIVE>; 179b8545f9dSAswath Govindraju clocks = <&k3_clks 207 0>, <&k3_clks 207 1>; 180b8545f9dSAswath Govindraju clock-names = "hclk", "cclk"; 181b8545f9dSAswath Govindraju interrupts = <GIC_SPI 832 IRQ_TYPE_LEVEL_HIGH>, 182b8545f9dSAswath Govindraju <GIC_SPI 833 IRQ_TYPE_LEVEL_HIGH>; 183b8545f9dSAswath Govindraju interrupt-names = "int0", "int1"; 184b8545f9dSAswath Govindraju bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; 185b8545f9dSAswath Govindraju }; 186b8545f9dSAswath Govindraju 187b8545f9dSAswath Govindraju mcu_mcan1: can@40568000 { 188b8545f9dSAswath Govindraju compatible = "bosch,m_can"; 189b8545f9dSAswath Govindraju reg = <0x00 0x40568000 0x00 0x200>, 190b8545f9dSAswath Govindraju <0x00 0x40540000 0x00 0x8000>; 191b8545f9dSAswath Govindraju reg-names = "m_can", "message_ram"; 192b8545f9dSAswath Govindraju power-domains = <&k3_pds 208 TI_SCI_PD_EXCLUSIVE>; 193b8545f9dSAswath Govindraju clocks = <&k3_clks 208 0>, <&k3_clks 208 1>; 194b8545f9dSAswath Govindraju clock-names = "hclk", "cclk"; 195b8545f9dSAswath Govindraju interrupts = <GIC_SPI 835 IRQ_TYPE_LEVEL_HIGH>, 196b8545f9dSAswath Govindraju <GIC_SPI 836 IRQ_TYPE_LEVEL_HIGH>; 197b8545f9dSAswath Govindraju interrupt-names = "int0", "int1"; 198b8545f9dSAswath Govindraju bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; 199b8545f9dSAswath Govindraju }; 200b8545f9dSAswath Govindraju 201b8545f9dSAswath Govindraju mcu_navss: bus@28380000{ 202b8545f9dSAswath Govindraju compatible = "simple-mfd"; 203b8545f9dSAswath Govindraju #address-cells = <2>; 204b8545f9dSAswath Govindraju #size-cells = <2>; 205b8545f9dSAswath Govindraju ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>; 206b8545f9dSAswath Govindraju dma-coherent; 207b8545f9dSAswath Govindraju dma-ranges; 208b8545f9dSAswath Govindraju 209b8545f9dSAswath Govindraju ti,sci-dev-id = <267>; 210b8545f9dSAswath Govindraju 211b8545f9dSAswath Govindraju mcu_ringacc: ringacc@2b800000 { 212b8545f9dSAswath Govindraju compatible = "ti,am654-navss-ringacc"; 213b8545f9dSAswath Govindraju reg = <0x0 0x2b800000 0x0 0x400000>, 214b8545f9dSAswath Govindraju <0x0 0x2b000000 0x0 0x400000>, 215b8545f9dSAswath Govindraju <0x0 0x28590000 0x0 0x100>, 216b8545f9dSAswath Govindraju <0x0 0x2a500000 0x0 0x40000>; 217b8545f9dSAswath Govindraju reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target"; 218b8545f9dSAswath Govindraju ti,num-rings = <286>; 219b8545f9dSAswath Govindraju ti,sci-rm-range-gp-rings = <0x1>; 220b8545f9dSAswath Govindraju ti,sci = <&sms>; 221b8545f9dSAswath Govindraju ti,sci-dev-id = <272>; 222b8545f9dSAswath Govindraju msi-parent = <&main_udmass_inta>; 223b8545f9dSAswath Govindraju }; 224b8545f9dSAswath Govindraju 225b8545f9dSAswath Govindraju mcu_udmap: dma-controller@285c0000 { 226b8545f9dSAswath Govindraju compatible = "ti,j721e-navss-mcu-udmap"; 227b8545f9dSAswath Govindraju reg = <0x0 0x285c0000 0x0 0x100>, 228b8545f9dSAswath Govindraju <0x0 0x2a800000 0x0 0x40000>, 229b8545f9dSAswath Govindraju <0x0 0x2aa00000 0x0 0x40000>; 230b8545f9dSAswath Govindraju reg-names = "gcfg", "rchanrt", "tchanrt"; 231b8545f9dSAswath Govindraju msi-parent = <&main_udmass_inta>; 232b8545f9dSAswath Govindraju #dma-cells = <1>; 233b8545f9dSAswath Govindraju 234b8545f9dSAswath Govindraju ti,sci = <&sms>; 235b8545f9dSAswath Govindraju ti,sci-dev-id = <273>; 236b8545f9dSAswath Govindraju ti,ringacc = <&mcu_ringacc>; 237b8545f9dSAswath Govindraju ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */ 238b8545f9dSAswath Govindraju <0x0f>; /* TX_HCHAN */ 239b8545f9dSAswath Govindraju ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */ 240b8545f9dSAswath Govindraju <0x0b>; /* RX_HCHAN */ 241b8545f9dSAswath Govindraju ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */ 242b8545f9dSAswath Govindraju }; 243b8545f9dSAswath Govindraju }; 244b8545f9dSAswath Govindraju 245b8545f9dSAswath Govindraju mcu_cpsw: ethernet@46000000 { 246b8545f9dSAswath Govindraju compatible = "ti,j721e-cpsw-nuss"; 247b8545f9dSAswath Govindraju #address-cells = <2>; 248b8545f9dSAswath Govindraju #size-cells = <2>; 249b8545f9dSAswath Govindraju reg = <0x0 0x46000000 0x0 0x200000>; 250b8545f9dSAswath Govindraju reg-names = "cpsw_nuss"; 251b8545f9dSAswath Govindraju ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>; 252b8545f9dSAswath Govindraju dma-coherent; 253b8545f9dSAswath Govindraju clocks = <&k3_clks 29 28>; 254b8545f9dSAswath Govindraju clock-names = "fck"; 255b8545f9dSAswath Govindraju power-domains = <&k3_pds 29 TI_SCI_PD_EXCLUSIVE>; 256b8545f9dSAswath Govindraju 257b8545f9dSAswath Govindraju dmas = <&mcu_udmap 0xf000>, 258b8545f9dSAswath Govindraju <&mcu_udmap 0xf001>, 259b8545f9dSAswath Govindraju <&mcu_udmap 0xf002>, 260b8545f9dSAswath Govindraju <&mcu_udmap 0xf003>, 261b8545f9dSAswath Govindraju <&mcu_udmap 0xf004>, 262b8545f9dSAswath Govindraju <&mcu_udmap 0xf005>, 263b8545f9dSAswath Govindraju <&mcu_udmap 0xf006>, 264b8545f9dSAswath Govindraju <&mcu_udmap 0xf007>, 265b8545f9dSAswath Govindraju <&mcu_udmap 0x7000>; 266b8545f9dSAswath Govindraju dma-names = "tx0", "tx1", "tx2", "tx3", 267b8545f9dSAswath Govindraju "tx4", "tx5", "tx6", "tx7", 268b8545f9dSAswath Govindraju "rx"; 269b8545f9dSAswath Govindraju 270b8545f9dSAswath Govindraju ethernet-ports { 271b8545f9dSAswath Govindraju #address-cells = <1>; 272b8545f9dSAswath Govindraju #size-cells = <0>; 273b8545f9dSAswath Govindraju 274b8545f9dSAswath Govindraju cpsw_port1: port@1 { 275b8545f9dSAswath Govindraju reg = <1>; 276b8545f9dSAswath Govindraju ti,mac-only; 277b8545f9dSAswath Govindraju label = "port1"; 278b8545f9dSAswath Govindraju ti,syscon-efuse = <&mcu_conf 0x200>; 279b8545f9dSAswath Govindraju phys = <&phy_gmii_sel 1>; 280b8545f9dSAswath Govindraju }; 281b8545f9dSAswath Govindraju }; 282b8545f9dSAswath Govindraju 283b8545f9dSAswath Govindraju davinci_mdio: mdio@f00 { 284b8545f9dSAswath Govindraju compatible = "ti,cpsw-mdio","ti,davinci_mdio"; 285b8545f9dSAswath Govindraju reg = <0x0 0xf00 0x0 0x100>; 286b8545f9dSAswath Govindraju #address-cells = <1>; 287b8545f9dSAswath Govindraju #size-cells = <0>; 288b8545f9dSAswath Govindraju clocks = <&k3_clks 29 28>; 289b8545f9dSAswath Govindraju clock-names = "fck"; 290b8545f9dSAswath Govindraju bus_freq = <1000000>; 291b8545f9dSAswath Govindraju }; 292b8545f9dSAswath Govindraju 293b8545f9dSAswath Govindraju cpts@3d000 { 294b8545f9dSAswath Govindraju compatible = "ti,am65-cpts"; 295b8545f9dSAswath Govindraju reg = <0x0 0x3d000 0x0 0x400>; 296b8545f9dSAswath Govindraju clocks = <&k3_clks 29 3>; 297b8545f9dSAswath Govindraju clock-names = "cpts"; 298b8545f9dSAswath Govindraju interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>; 299b8545f9dSAswath Govindraju interrupt-names = "cpts"; 300b8545f9dSAswath Govindraju ti,cpts-ext-ts-inputs = <4>; 301b8545f9dSAswath Govindraju ti,cpts-periodic-outputs = <2>; 302b8545f9dSAswath Govindraju }; 303b8545f9dSAswath Govindraju }; 304b8545f9dSAswath Govindraju}; 305