1*29075cc0SBryan Brattlof// SPDX-License-Identifier: GPL-2.0 2*29075cc0SBryan Brattlof/* 3*29075cc0SBryan Brattlof * Device Tree file for the AM62P main domain peripherals 4*29075cc0SBryan Brattlof * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/ 5*29075cc0SBryan Brattlof */ 6*29075cc0SBryan Brattlof 7*29075cc0SBryan Brattlof&cbass_main { 8*29075cc0SBryan Brattlof oc_sram: sram@70000000 { 9*29075cc0SBryan Brattlof compatible = "mmio-sram"; 10*29075cc0SBryan Brattlof reg = <0x00 0x70000000 0x00 0x10000>; 11*29075cc0SBryan Brattlof #address-cells = <1>; 12*29075cc0SBryan Brattlof #size-cells = <1>; 13*29075cc0SBryan Brattlof ranges = <0x00 0x00 0x70000000 0x10000>; 14*29075cc0SBryan Brattlof }; 15*29075cc0SBryan Brattlof 16*29075cc0SBryan Brattlof gic500: interrupt-controller@1800000 { 17*29075cc0SBryan Brattlof compatible = "arm,gic-v3"; 18*29075cc0SBryan Brattlof #address-cells = <2>; 19*29075cc0SBryan Brattlof #size-cells = <2>; 20*29075cc0SBryan Brattlof ranges; 21*29075cc0SBryan Brattlof #interrupt-cells = <3>; 22*29075cc0SBryan Brattlof interrupt-controller; 23*29075cc0SBryan Brattlof reg = <0x00 0x01800000 0x00 0x10000>, /* GICD */ 24*29075cc0SBryan Brattlof <0x00 0x01880000 0x00 0xc0000>, /* GICR */ 25*29075cc0SBryan Brattlof <0x01 0x00000000 0x00 0x2000>, /* GICC */ 26*29075cc0SBryan Brattlof <0x01 0x00010000 0x00 0x1000>, /* GICH */ 27*29075cc0SBryan Brattlof <0x01 0x00020000 0x00 0x2000>; /* GICV */ 28*29075cc0SBryan Brattlof /* 29*29075cc0SBryan Brattlof * vcpumntirq: 30*29075cc0SBryan Brattlof * virtual CPU interface maintenance interrupt 31*29075cc0SBryan Brattlof */ 32*29075cc0SBryan Brattlof interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 33*29075cc0SBryan Brattlof 34*29075cc0SBryan Brattlof gic_its: msi-controller@1820000 { 35*29075cc0SBryan Brattlof compatible = "arm,gic-v3-its"; 36*29075cc0SBryan Brattlof reg = <0x00 0x01820000 0x00 0x10000>; 37*29075cc0SBryan Brattlof socionext,synquacer-pre-its = <0x1000000 0x400000>; 38*29075cc0SBryan Brattlof msi-controller; 39*29075cc0SBryan Brattlof #msi-cells = <1>; 40*29075cc0SBryan Brattlof }; 41*29075cc0SBryan Brattlof }; 42*29075cc0SBryan Brattlof 43*29075cc0SBryan Brattlof dmss: bus@48000000 { 44*29075cc0SBryan Brattlof bootph-all; 45*29075cc0SBryan Brattlof compatible = "simple-mfd"; 46*29075cc0SBryan Brattlof #address-cells = <2>; 47*29075cc0SBryan Brattlof #size-cells = <2>; 48*29075cc0SBryan Brattlof dma-ranges; 49*29075cc0SBryan Brattlof ranges = <0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>; 50*29075cc0SBryan Brattlof 51*29075cc0SBryan Brattlof ti,sci-dev-id = <25>; 52*29075cc0SBryan Brattlof 53*29075cc0SBryan Brattlof secure_proxy_main: mailbox@4d000000 { 54*29075cc0SBryan Brattlof bootph-all; 55*29075cc0SBryan Brattlof compatible = "ti,am654-secure-proxy"; 56*29075cc0SBryan Brattlof #mbox-cells = <1>; 57*29075cc0SBryan Brattlof reg-names = "target_data", "rt", "scfg"; 58*29075cc0SBryan Brattlof reg = <0x00 0x4d000000 0x00 0x80000>, 59*29075cc0SBryan Brattlof <0x00 0x4a600000 0x00 0x80000>, 60*29075cc0SBryan Brattlof <0x00 0x4a400000 0x00 0x80000>; 61*29075cc0SBryan Brattlof interrupt-names = "rx_012"; 62*29075cc0SBryan Brattlof interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 63*29075cc0SBryan Brattlof }; 64*29075cc0SBryan Brattlof }; 65*29075cc0SBryan Brattlof 66*29075cc0SBryan Brattlof dmsc: system-controller@44043000 { 67*29075cc0SBryan Brattlof bootph-all; 68*29075cc0SBryan Brattlof compatible = "ti,k2g-sci"; 69*29075cc0SBryan Brattlof ti,host-id = <12>; 70*29075cc0SBryan Brattlof mbox-names = "rx", "tx"; 71*29075cc0SBryan Brattlof mboxes = <&secure_proxy_main 12>, 72*29075cc0SBryan Brattlof <&secure_proxy_main 13>; 73*29075cc0SBryan Brattlof reg-names = "debug_messages"; 74*29075cc0SBryan Brattlof reg = <0x00 0x44043000 0x00 0xfe0>; 75*29075cc0SBryan Brattlof 76*29075cc0SBryan Brattlof k3_pds: power-controller { 77*29075cc0SBryan Brattlof bootph-all; 78*29075cc0SBryan Brattlof compatible = "ti,sci-pm-domain"; 79*29075cc0SBryan Brattlof #power-domain-cells = <2>; 80*29075cc0SBryan Brattlof }; 81*29075cc0SBryan Brattlof 82*29075cc0SBryan Brattlof k3_clks: clock-controller { 83*29075cc0SBryan Brattlof bootph-all; 84*29075cc0SBryan Brattlof compatible = "ti,k2g-sci-clk"; 85*29075cc0SBryan Brattlof #clock-cells = <2>; 86*29075cc0SBryan Brattlof }; 87*29075cc0SBryan Brattlof 88*29075cc0SBryan Brattlof k3_reset: reset-controller { 89*29075cc0SBryan Brattlof bootph-all; 90*29075cc0SBryan Brattlof compatible = "ti,sci-reset"; 91*29075cc0SBryan Brattlof #reset-cells = <2>; 92*29075cc0SBryan Brattlof }; 93*29075cc0SBryan Brattlof }; 94*29075cc0SBryan Brattlof 95*29075cc0SBryan Brattlof main_pmx0: pinctrl@f4000 { 96*29075cc0SBryan Brattlof bootph-all; 97*29075cc0SBryan Brattlof compatible = "pinctrl-single"; 98*29075cc0SBryan Brattlof reg = <0x00 0xf4000 0x00 0x2ac>; 99*29075cc0SBryan Brattlof #pinctrl-cells = <1>; 100*29075cc0SBryan Brattlof pinctrl-single,register-width = <32>; 101*29075cc0SBryan Brattlof pinctrl-single,function-mask = <0xffffffff>; 102*29075cc0SBryan Brattlof }; 103*29075cc0SBryan Brattlof 104*29075cc0SBryan Brattlof main_timer0: timer@2400000 { 105*29075cc0SBryan Brattlof bootph-all; 106*29075cc0SBryan Brattlof compatible = "ti,am654-timer"; 107*29075cc0SBryan Brattlof reg = <0x00 0x2400000 0x00 0x400>; 108*29075cc0SBryan Brattlof interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 109*29075cc0SBryan Brattlof clocks = <&k3_clks 36 2>; 110*29075cc0SBryan Brattlof clock-names = "fck"; 111*29075cc0SBryan Brattlof assigned-clocks = <&k3_clks 36 2>; 112*29075cc0SBryan Brattlof assigned-clock-parents = <&k3_clks 36 3>; 113*29075cc0SBryan Brattlof power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>; 114*29075cc0SBryan Brattlof ti,timer-pwm; 115*29075cc0SBryan Brattlof }; 116*29075cc0SBryan Brattlof 117*29075cc0SBryan Brattlof main_uart0: serial@2800000 { 118*29075cc0SBryan Brattlof compatible = "ti,am64-uart", "ti,am654-uart"; 119*29075cc0SBryan Brattlof reg = <0x00 0x02800000 0x00 0x100>; 120*29075cc0SBryan Brattlof interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; 121*29075cc0SBryan Brattlof power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; 122*29075cc0SBryan Brattlof clocks = <&k3_clks 146 0>; 123*29075cc0SBryan Brattlof clock-names = "fclk"; 124*29075cc0SBryan Brattlof status = "disabled"; 125*29075cc0SBryan Brattlof }; 126*29075cc0SBryan Brattlof 127*29075cc0SBryan Brattlof main_uart1: serial@2810000 { 128*29075cc0SBryan Brattlof compatible = "ti,am64-uart", "ti,am654-uart"; 129*29075cc0SBryan Brattlof reg = <0x00 0x02810000 0x00 0x100>; 130*29075cc0SBryan Brattlof interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>; 131*29075cc0SBryan Brattlof power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>; 132*29075cc0SBryan Brattlof clocks = <&k3_clks 152 0>; 133*29075cc0SBryan Brattlof clock-names = "fclk"; 134*29075cc0SBryan Brattlof status = "disabled"; 135*29075cc0SBryan Brattlof }; 136*29075cc0SBryan Brattlof}; 137