18abae938SDave Gerlach// SPDX-License-Identifier: GPL-2.0 28abae938SDave Gerlach/* 38abae938SDave Gerlach * Device Tree Source for AM642 SoC Family Main Domain peripherals 48abae938SDave Gerlach * 58abae938SDave Gerlach * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 68abae938SDave Gerlach */ 78abae938SDave Gerlach 88abae938SDave Gerlach&cbass_main { 98abae938SDave Gerlach oc_sram: sram@70000000 { 108abae938SDave Gerlach compatible = "mmio-sram"; 118abae938SDave Gerlach reg = <0x00 0x70000000 0x00 0x200000>; 128abae938SDave Gerlach #address-cells = <1>; 138abae938SDave Gerlach #size-cells = <1>; 148abae938SDave Gerlach ranges = <0x0 0x00 0x70000000 0x200000>; 158abae938SDave Gerlach 168abae938SDave Gerlach atf-sram@0 { 178abae938SDave Gerlach reg = <0x0 0x1a000>; 188abae938SDave Gerlach }; 198abae938SDave Gerlach }; 208abae938SDave Gerlach 218abae938SDave Gerlach gic500: interrupt-controller@1800000 { 228abae938SDave Gerlach compatible = "arm,gic-v3"; 238abae938SDave Gerlach #address-cells = <2>; 248abae938SDave Gerlach #size-cells = <2>; 258abae938SDave Gerlach ranges; 268abae938SDave Gerlach #interrupt-cells = <3>; 278abae938SDave Gerlach interrupt-controller; 288abae938SDave Gerlach reg = <0x00 0x01800000 0x00 0x10000>, /* GICD */ 298abae938SDave Gerlach <0x00 0x01840000 0x00 0xC0000>; /* GICR */ 308abae938SDave Gerlach /* 318abae938SDave Gerlach * vcpumntirq: 328abae938SDave Gerlach * virtual CPU interface maintenance interrupt 338abae938SDave Gerlach */ 348abae938SDave Gerlach interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 358abae938SDave Gerlach 368abae938SDave Gerlach gic_its: msi-controller@1820000 { 378abae938SDave Gerlach compatible = "arm,gic-v3-its"; 388abae938SDave Gerlach reg = <0x00 0x01820000 0x00 0x10000>; 398abae938SDave Gerlach socionext,synquacer-pre-its = <0x1000000 0x400000>; 408abae938SDave Gerlach msi-controller; 418abae938SDave Gerlach #msi-cells = <1>; 428abae938SDave Gerlach }; 438abae938SDave Gerlach }; 448abae938SDave Gerlach 458abae938SDave Gerlach dmss: dmss { 468abae938SDave Gerlach compatible = "simple-mfd"; 478abae938SDave Gerlach #address-cells = <2>; 488abae938SDave Gerlach #size-cells = <2>; 498abae938SDave Gerlach dma-ranges; 508abae938SDave Gerlach ranges; 518abae938SDave Gerlach 52943f1723SPeter Ujfalusi ti,sci-dev-id = <25>; 53943f1723SPeter Ujfalusi 548abae938SDave Gerlach secure_proxy_main: mailbox@4d000000 { 558abae938SDave Gerlach compatible = "ti,am654-secure-proxy"; 568abae938SDave Gerlach #mbox-cells = <1>; 578abae938SDave Gerlach reg-names = "target_data", "rt", "scfg"; 588abae938SDave Gerlach reg = <0x00 0x4d000000 0x00 0x80000>, 598abae938SDave Gerlach <0x00 0x4a600000 0x00 0x80000>, 608abae938SDave Gerlach <0x00 0x4a400000 0x00 0x80000>; 618abae938SDave Gerlach interrupt-names = "rx_012"; 628abae938SDave Gerlach interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 638abae938SDave Gerlach }; 64943f1723SPeter Ujfalusi 65943f1723SPeter Ujfalusi inta_main_dmss: interrupt-controller@48000000 { 66943f1723SPeter Ujfalusi compatible = "ti,sci-inta"; 67943f1723SPeter Ujfalusi reg = <0x00 0x48000000 0x00 0x100000>; 68943f1723SPeter Ujfalusi #interrupt-cells = <0>; 69943f1723SPeter Ujfalusi interrupt-controller; 70943f1723SPeter Ujfalusi interrupt-parent = <&gic500>; 71943f1723SPeter Ujfalusi msi-controller; 72943f1723SPeter Ujfalusi ti,sci = <&dmsc>; 73943f1723SPeter Ujfalusi ti,sci-dev-id = <28>; 74943f1723SPeter Ujfalusi ti,interrupt-ranges = <4 68 36>; 75943f1723SPeter Ujfalusi ti,unmapped-event-sources = <&main_bcdma>, <&main_pktdma>; 76943f1723SPeter Ujfalusi }; 77943f1723SPeter Ujfalusi 78943f1723SPeter Ujfalusi main_bcdma: dma-controller@485c0100 { 79943f1723SPeter Ujfalusi compatible = "ti,am64-dmss-bcdma"; 80943f1723SPeter Ujfalusi reg = <0x00 0x485c0100 0x00 0x100>, 81943f1723SPeter Ujfalusi <0x00 0x4c000000 0x00 0x20000>, 82943f1723SPeter Ujfalusi <0x00 0x4a820000 0x00 0x20000>, 83943f1723SPeter Ujfalusi <0x00 0x4aa40000 0x00 0x20000>, 84943f1723SPeter Ujfalusi <0x00 0x4bc00000 0x00 0x100000>; 85943f1723SPeter Ujfalusi reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt"; 86943f1723SPeter Ujfalusi msi-parent = <&inta_main_dmss>; 87943f1723SPeter Ujfalusi #dma-cells = <3>; 88943f1723SPeter Ujfalusi 89943f1723SPeter Ujfalusi ti,sci = <&dmsc>; 90943f1723SPeter Ujfalusi ti,sci-dev-id = <26>; 91943f1723SPeter Ujfalusi ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */ 92943f1723SPeter Ujfalusi ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */ 93943f1723SPeter Ujfalusi ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */ 94943f1723SPeter Ujfalusi }; 95943f1723SPeter Ujfalusi 96943f1723SPeter Ujfalusi main_pktdma: dma-controller@485c0000 { 97943f1723SPeter Ujfalusi compatible = "ti,am64-dmss-pktdma"; 98943f1723SPeter Ujfalusi reg = <0x00 0x485c0000 0x00 0x100>, 99943f1723SPeter Ujfalusi <0x00 0x4a800000 0x00 0x20000>, 100943f1723SPeter Ujfalusi <0x00 0x4aa00000 0x00 0x40000>, 101943f1723SPeter Ujfalusi <0x00 0x4b800000 0x00 0x400000>; 102943f1723SPeter Ujfalusi reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt"; 103943f1723SPeter Ujfalusi msi-parent = <&inta_main_dmss>; 104943f1723SPeter Ujfalusi #dma-cells = <2>; 105943f1723SPeter Ujfalusi 106943f1723SPeter Ujfalusi ti,sci = <&dmsc>; 107943f1723SPeter Ujfalusi ti,sci-dev-id = <30>; 108943f1723SPeter Ujfalusi ti,sci-rm-range-tchan = <0x23>, /* UNMAPPED_TX_CHAN */ 109943f1723SPeter Ujfalusi <0x24>, /* CPSW_TX_CHAN */ 110943f1723SPeter Ujfalusi <0x25>, /* SAUL_TX_0_CHAN */ 111943f1723SPeter Ujfalusi <0x26>, /* SAUL_TX_1_CHAN */ 112943f1723SPeter Ujfalusi <0x27>, /* ICSSG_0_TX_CHAN */ 113943f1723SPeter Ujfalusi <0x28>; /* ICSSG_1_TX_CHAN */ 114943f1723SPeter Ujfalusi ti,sci-rm-range-tflow = <0x10>, /* RING_UNMAPPED_TX_CHAN */ 115943f1723SPeter Ujfalusi <0x11>, /* RING_CPSW_TX_CHAN */ 116943f1723SPeter Ujfalusi <0x12>, /* RING_SAUL_TX_0_CHAN */ 117943f1723SPeter Ujfalusi <0x13>, /* RING_SAUL_TX_1_CHAN */ 118943f1723SPeter Ujfalusi <0x14>, /* RING_ICSSG_0_TX_CHAN */ 119943f1723SPeter Ujfalusi <0x15>; /* RING_ICSSG_1_TX_CHAN */ 120943f1723SPeter Ujfalusi ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */ 121943f1723SPeter Ujfalusi <0x2b>, /* CPSW_RX_CHAN */ 122943f1723SPeter Ujfalusi <0x2d>, /* SAUL_RX_0_CHAN */ 123943f1723SPeter Ujfalusi <0x2f>, /* SAUL_RX_1_CHAN */ 124943f1723SPeter Ujfalusi <0x31>, /* SAUL_RX_2_CHAN */ 125943f1723SPeter Ujfalusi <0x33>, /* SAUL_RX_3_CHAN */ 126943f1723SPeter Ujfalusi <0x35>, /* ICSSG_0_RX_CHAN */ 127943f1723SPeter Ujfalusi <0x37>; /* ICSSG_1_RX_CHAN */ 128943f1723SPeter Ujfalusi ti,sci-rm-range-rflow = <0x2a>, /* FLOW_UNMAPPED_RX_CHAN */ 129943f1723SPeter Ujfalusi <0x2c>, /* FLOW_CPSW_RX_CHAN */ 130943f1723SPeter Ujfalusi <0x2e>, /* FLOW_SAUL_RX_0/1_CHAN */ 131943f1723SPeter Ujfalusi <0x32>, /* FLOW_SAUL_RX_2/3_CHAN */ 132943f1723SPeter Ujfalusi <0x36>, /* FLOW_ICSSG_0_RX_CHAN */ 133943f1723SPeter Ujfalusi <0x38>; /* FLOW_ICSSG_1_RX_CHAN */ 134943f1723SPeter Ujfalusi }; 1358abae938SDave Gerlach }; 1368abae938SDave Gerlach 1378abae938SDave Gerlach dmsc: dmsc@44043000 { 1388abae938SDave Gerlach compatible = "ti,k2g-sci"; 1398abae938SDave Gerlach ti,host-id = <12>; 1408abae938SDave Gerlach mbox-names = "rx", "tx"; 1418abae938SDave Gerlach mboxes= <&secure_proxy_main 12>, 1428abae938SDave Gerlach <&secure_proxy_main 13>; 1438abae938SDave Gerlach reg-names = "debug_messages"; 1448abae938SDave Gerlach reg = <0x00 0x44043000 0x00 0xfe0>; 1458abae938SDave Gerlach 1468abae938SDave Gerlach k3_pds: power-controller { 1478abae938SDave Gerlach compatible = "ti,sci-pm-domain"; 1488abae938SDave Gerlach #power-domain-cells = <2>; 1498abae938SDave Gerlach }; 1508abae938SDave Gerlach 1518abae938SDave Gerlach k3_clks: clocks { 1528abae938SDave Gerlach compatible = "ti,k2g-sci-clk"; 1538abae938SDave Gerlach #clock-cells = <2>; 1548abae938SDave Gerlach }; 1558abae938SDave Gerlach 1568abae938SDave Gerlach k3_reset: reset-controller { 1578abae938SDave Gerlach compatible = "ti,sci-reset"; 1588abae938SDave Gerlach #reset-cells = <2>; 1598abae938SDave Gerlach }; 1608abae938SDave Gerlach }; 1618abae938SDave Gerlach 1628abae938SDave Gerlach main_pmx0: pinctrl@f4000 { 1638abae938SDave Gerlach compatible = "pinctrl-single"; 1648abae938SDave Gerlach reg = <0x00 0xf4000 0x00 0x2d0>; 1658abae938SDave Gerlach #pinctrl-cells = <1>; 1668abae938SDave Gerlach pinctrl-single,register-width = <32>; 1678abae938SDave Gerlach pinctrl-single,function-mask = <0xffffffff>; 1688abae938SDave Gerlach }; 1698abae938SDave Gerlach 1708abae938SDave Gerlach main_conf: syscon@43000000 { 1718abae938SDave Gerlach compatible = "syscon", "simple-mfd"; 1728abae938SDave Gerlach reg = <0x00 0x43000000 0x00 0x20000>; 1738abae938SDave Gerlach #address-cells = <1>; 1748abae938SDave Gerlach #size-cells = <1>; 1758abae938SDave Gerlach ranges = <0x00 0x00 0x43000000 0x20000>; 1768abae938SDave Gerlach 1778abae938SDave Gerlach chipid@14 { 1788abae938SDave Gerlach compatible = "ti,am654-chipid"; 1798abae938SDave Gerlach reg = <0x00000014 0x4>; 1808abae938SDave Gerlach }; 1813753b128SVignesh Raghavendra 1823753b128SVignesh Raghavendra phy_gmii_sel: phy@4044 { 1833753b128SVignesh Raghavendra compatible = "ti,am654-phy-gmii-sel"; 1843753b128SVignesh Raghavendra reg = <0x4044 0x8>; 1853753b128SVignesh Raghavendra #phy-cells = <1>; 1863753b128SVignesh Raghavendra }; 1878abae938SDave Gerlach }; 1888abae938SDave Gerlach 1898abae938SDave Gerlach main_uart0: serial@2800000 { 1908abae938SDave Gerlach compatible = "ti,am64-uart", "ti,am654-uart"; 1918abae938SDave Gerlach reg = <0x00 0x02800000 0x00 0x100>; 1928abae938SDave Gerlach reg-shift = <2>; 1938abae938SDave Gerlach reg-io-width = <4>; 1948abae938SDave Gerlach interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; 1958abae938SDave Gerlach clock-frequency = <48000000>; 1968abae938SDave Gerlach current-speed = <115200>; 1978abae938SDave Gerlach power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; 1988abae938SDave Gerlach clocks = <&k3_clks 146 0>; 1998abae938SDave Gerlach clock-names = "fclk"; 2008abae938SDave Gerlach }; 2018abae938SDave Gerlach 2028abae938SDave Gerlach main_uart1: serial@2810000 { 2038abae938SDave Gerlach compatible = "ti,am64-uart", "ti,am654-uart"; 2048abae938SDave Gerlach reg = <0x00 0x02810000 0x00 0x100>; 2058abae938SDave Gerlach reg-shift = <2>; 2068abae938SDave Gerlach reg-io-width = <4>; 2078abae938SDave Gerlach interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>; 2088abae938SDave Gerlach clock-frequency = <48000000>; 2098abae938SDave Gerlach current-speed = <115200>; 2108abae938SDave Gerlach power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>; 2118abae938SDave Gerlach clocks = <&k3_clks 152 0>; 2128abae938SDave Gerlach clock-names = "fclk"; 2138abae938SDave Gerlach }; 2148abae938SDave Gerlach 2158abae938SDave Gerlach main_uart2: serial@2820000 { 2168abae938SDave Gerlach compatible = "ti,am64-uart", "ti,am654-uart"; 2178abae938SDave Gerlach reg = <0x00 0x02820000 0x00 0x100>; 2188abae938SDave Gerlach reg-shift = <2>; 2198abae938SDave Gerlach reg-io-width = <4>; 2208abae938SDave Gerlach interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>; 2218abae938SDave Gerlach clock-frequency = <48000000>; 2228abae938SDave Gerlach current-speed = <115200>; 2238abae938SDave Gerlach power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>; 2248abae938SDave Gerlach clocks = <&k3_clks 153 0>; 2258abae938SDave Gerlach clock-names = "fclk"; 2268abae938SDave Gerlach }; 2278abae938SDave Gerlach 2288abae938SDave Gerlach main_uart3: serial@2830000 { 2298abae938SDave Gerlach compatible = "ti,am64-uart", "ti,am654-uart"; 2308abae938SDave Gerlach reg = <0x00 0x02830000 0x00 0x100>; 2318abae938SDave Gerlach reg-shift = <2>; 2328abae938SDave Gerlach reg-io-width = <4>; 2338abae938SDave Gerlach interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>; 2348abae938SDave Gerlach clock-frequency = <48000000>; 2358abae938SDave Gerlach current-speed = <115200>; 2368abae938SDave Gerlach power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; 2378abae938SDave Gerlach clocks = <&k3_clks 154 0>; 2388abae938SDave Gerlach clock-names = "fclk"; 2398abae938SDave Gerlach }; 2408abae938SDave Gerlach 2418abae938SDave Gerlach main_uart4: serial@2840000 { 2428abae938SDave Gerlach compatible = "ti,am64-uart", "ti,am654-uart"; 2438abae938SDave Gerlach reg = <0x00 0x02840000 0x00 0x100>; 2448abae938SDave Gerlach reg-shift = <2>; 2458abae938SDave Gerlach reg-io-width = <4>; 2468abae938SDave Gerlach interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>; 2478abae938SDave Gerlach clock-frequency = <48000000>; 2488abae938SDave Gerlach current-speed = <115200>; 2498abae938SDave Gerlach power-domains = <&k3_pds 155 TI_SCI_PD_EXCLUSIVE>; 2508abae938SDave Gerlach clocks = <&k3_clks 155 0>; 2518abae938SDave Gerlach clock-names = "fclk"; 2528abae938SDave Gerlach }; 2538abae938SDave Gerlach 2548abae938SDave Gerlach main_uart5: serial@2850000 { 2558abae938SDave Gerlach compatible = "ti,am64-uart", "ti,am654-uart"; 2568abae938SDave Gerlach reg = <0x00 0x02850000 0x00 0x100>; 2578abae938SDave Gerlach reg-shift = <2>; 2588abae938SDave Gerlach reg-io-width = <4>; 2598abae938SDave Gerlach interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>; 2608abae938SDave Gerlach clock-frequency = <48000000>; 2618abae938SDave Gerlach current-speed = <115200>; 2628abae938SDave Gerlach power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>; 2638abae938SDave Gerlach clocks = <&k3_clks 156 0>; 2648abae938SDave Gerlach clock-names = "fclk"; 2658abae938SDave Gerlach }; 2668abae938SDave Gerlach 2678abae938SDave Gerlach main_uart6: serial@2860000 { 2688abae938SDave Gerlach compatible = "ti,am64-uart", "ti,am654-uart"; 2698abae938SDave Gerlach reg = <0x00 0x02860000 0x00 0x100>; 2708abae938SDave Gerlach reg-shift = <2>; 2718abae938SDave Gerlach reg-io-width = <4>; 2728abae938SDave Gerlach interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; 2738abae938SDave Gerlach clock-frequency = <48000000>; 2748abae938SDave Gerlach current-speed = <115200>; 2758abae938SDave Gerlach power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>; 2768abae938SDave Gerlach clocks = <&k3_clks 158 0>; 2778abae938SDave Gerlach clock-names = "fclk"; 2788abae938SDave Gerlach }; 2798abae938SDave Gerlach 2808abae938SDave Gerlach main_i2c0: i2c@20000000 { 2818abae938SDave Gerlach compatible = "ti,am64-i2c", "ti,omap4-i2c"; 2828abae938SDave Gerlach reg = <0x00 0x20000000 0x00 0x100>; 2838abae938SDave Gerlach interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; 2848abae938SDave Gerlach #address-cells = <1>; 2858abae938SDave Gerlach #size-cells = <0>; 2868abae938SDave Gerlach power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>; 2878abae938SDave Gerlach clocks = <&k3_clks 102 2>; 2888abae938SDave Gerlach clock-names = "fck"; 2898abae938SDave Gerlach }; 2908abae938SDave Gerlach 2918abae938SDave Gerlach main_i2c1: i2c@20010000 { 2928abae938SDave Gerlach compatible = "ti,am64-i2c", "ti,omap4-i2c"; 2938abae938SDave Gerlach reg = <0x00 0x20010000 0x00 0x100>; 2948abae938SDave Gerlach interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>; 2958abae938SDave Gerlach #address-cells = <1>; 2968abae938SDave Gerlach #size-cells = <0>; 2978abae938SDave Gerlach power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>; 2988abae938SDave Gerlach clocks = <&k3_clks 103 2>; 2998abae938SDave Gerlach clock-names = "fck"; 3008abae938SDave Gerlach }; 3018abae938SDave Gerlach 3028abae938SDave Gerlach main_i2c2: i2c@20020000 { 3038abae938SDave Gerlach compatible = "ti,am64-i2c", "ti,omap4-i2c"; 3048abae938SDave Gerlach reg = <0x00 0x20020000 0x00 0x100>; 3058abae938SDave Gerlach interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; 3068abae938SDave Gerlach #address-cells = <1>; 3078abae938SDave Gerlach #size-cells = <0>; 3088abae938SDave Gerlach power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>; 3098abae938SDave Gerlach clocks = <&k3_clks 104 2>; 3108abae938SDave Gerlach clock-names = "fck"; 3118abae938SDave Gerlach }; 3128abae938SDave Gerlach 3138abae938SDave Gerlach main_i2c3: i2c@20030000 { 3148abae938SDave Gerlach compatible = "ti,am64-i2c", "ti,omap4-i2c"; 3158abae938SDave Gerlach reg = <0x00 0x20030000 0x00 0x100>; 3168abae938SDave Gerlach interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 3178abae938SDave Gerlach #address-cells = <1>; 3188abae938SDave Gerlach #size-cells = <0>; 3198abae938SDave Gerlach power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>; 3208abae938SDave Gerlach clocks = <&k3_clks 105 2>; 3218abae938SDave Gerlach clock-names = "fck"; 3228abae938SDave Gerlach }; 3238abae938SDave Gerlach 3248abae938SDave Gerlach main_spi0: spi@20100000 { 3258abae938SDave Gerlach compatible = "ti,am654-mcspi", "ti,omap4-mcspi"; 3268abae938SDave Gerlach reg = <0x00 0x20100000 0x00 0x400>; 3278abae938SDave Gerlach interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>; 3288abae938SDave Gerlach #address-cells = <1>; 3298abae938SDave Gerlach #size-cells = <0>; 3308abae938SDave Gerlach power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>; 3318abae938SDave Gerlach clocks = <&k3_clks 141 0>; 3328abae938SDave Gerlach dmas = <&main_pktdma 0xc300 0>, <&main_pktdma 0x4300 0>; 3338abae938SDave Gerlach dma-names = "tx0", "rx0"; 3348abae938SDave Gerlach }; 3358abae938SDave Gerlach 3368abae938SDave Gerlach main_spi1: spi@20110000 { 3378abae938SDave Gerlach compatible = "ti,am654-mcspi","ti,omap4-mcspi"; 3388abae938SDave Gerlach reg = <0x00 0x20110000 0x00 0x400>; 3398abae938SDave Gerlach interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; 3408abae938SDave Gerlach #address-cells = <1>; 3418abae938SDave Gerlach #size-cells = <0>; 3428abae938SDave Gerlach power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>; 3438abae938SDave Gerlach clocks = <&k3_clks 142 0>; 3448abae938SDave Gerlach }; 3458abae938SDave Gerlach 3468abae938SDave Gerlach main_spi2: spi@20120000 { 3478abae938SDave Gerlach compatible = "ti,am654-mcspi","ti,omap4-mcspi"; 3488abae938SDave Gerlach reg = <0x00 0x20120000 0x00 0x400>; 3498abae938SDave Gerlach interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; 3508abae938SDave Gerlach #address-cells = <1>; 3518abae938SDave Gerlach #size-cells = <0>; 3528abae938SDave Gerlach power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>; 3538abae938SDave Gerlach clocks = <&k3_clks 143 0>; 3548abae938SDave Gerlach }; 3558abae938SDave Gerlach 3568abae938SDave Gerlach main_spi3: spi@20130000 { 3578abae938SDave Gerlach compatible = "ti,am654-mcspi","ti,omap4-mcspi"; 3588abae938SDave Gerlach reg = <0x00 0x20130000 0x00 0x400>; 3598abae938SDave Gerlach interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; 3608abae938SDave Gerlach #address-cells = <1>; 3618abae938SDave Gerlach #size-cells = <0>; 3628abae938SDave Gerlach power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>; 3638abae938SDave Gerlach clocks = <&k3_clks 144 0>; 3648abae938SDave Gerlach }; 3658abae938SDave Gerlach 3668abae938SDave Gerlach main_spi4: spi@20140000 { 3678abae938SDave Gerlach compatible = "ti,am654-mcspi","ti,omap4-mcspi"; 3688abae938SDave Gerlach reg = <0x00 0x20140000 0x00 0x400>; 3698abae938SDave Gerlach interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>; 3708abae938SDave Gerlach #address-cells = <1>; 3718abae938SDave Gerlach #size-cells = <0>; 3728abae938SDave Gerlach power-domains = <&k3_pds 145 TI_SCI_PD_EXCLUSIVE>; 3738abae938SDave Gerlach clocks = <&k3_clks 145 0>; 3748abae938SDave Gerlach }; 3758abae938SDave Gerlach 376*01a91e01SAswath Govindraju main_gpio_intr: interrupt-controller0 { 377*01a91e01SAswath Govindraju compatible = "ti,sci-intr"; 378*01a91e01SAswath Govindraju ti,intr-trigger-type = <1>; 379*01a91e01SAswath Govindraju interrupt-controller; 380*01a91e01SAswath Govindraju interrupt-parent = <&gic500>; 381*01a91e01SAswath Govindraju #interrupt-cells = <1>; 382*01a91e01SAswath Govindraju ti,sci = <&dmsc>; 383*01a91e01SAswath Govindraju ti,sci-dev-id = <3>; 384*01a91e01SAswath Govindraju ti,interrupt-ranges = <0 32 16>; 385*01a91e01SAswath Govindraju }; 386*01a91e01SAswath Govindraju 387*01a91e01SAswath Govindraju main_gpio0: gpio@600000 { 388*01a91e01SAswath Govindraju compatible = "ti,am64-gpio", "ti,keystone-gpio"; 389*01a91e01SAswath Govindraju reg = <0x0 0x00600000 0x0 0x100>; 390*01a91e01SAswath Govindraju gpio-controller; 391*01a91e01SAswath Govindraju #gpio-cells = <2>; 392*01a91e01SAswath Govindraju interrupt-parent = <&main_gpio_intr>; 393*01a91e01SAswath Govindraju interrupts = <190>, <191>, <192>, 394*01a91e01SAswath Govindraju <193>, <194>, <195>; 395*01a91e01SAswath Govindraju interrupt-controller; 396*01a91e01SAswath Govindraju #interrupt-cells = <2>; 397*01a91e01SAswath Govindraju ti,ngpio = <87>; 398*01a91e01SAswath Govindraju ti,davinci-gpio-unbanked = <0>; 399*01a91e01SAswath Govindraju power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>; 400*01a91e01SAswath Govindraju clocks = <&k3_clks 77 0>; 401*01a91e01SAswath Govindraju clock-names = "gpio"; 402*01a91e01SAswath Govindraju }; 403*01a91e01SAswath Govindraju 404*01a91e01SAswath Govindraju main_gpio1: gpio@601000 { 405*01a91e01SAswath Govindraju compatible = "ti,am64-gpio", "ti,keystone-gpio"; 406*01a91e01SAswath Govindraju reg = <0x0 0x00601000 0x0 0x100>; 407*01a91e01SAswath Govindraju gpio-controller; 408*01a91e01SAswath Govindraju #gpio-cells = <2>; 409*01a91e01SAswath Govindraju interrupt-parent = <&main_gpio_intr>; 410*01a91e01SAswath Govindraju interrupts = <180>, <181>, <182>, 411*01a91e01SAswath Govindraju <183>, <184>, <185>; 412*01a91e01SAswath Govindraju interrupt-controller; 413*01a91e01SAswath Govindraju #interrupt-cells = <2>; 414*01a91e01SAswath Govindraju ti,ngpio = <88>; 415*01a91e01SAswath Govindraju ti,davinci-gpio-unbanked = <0>; 416*01a91e01SAswath Govindraju power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>; 417*01a91e01SAswath Govindraju clocks = <&k3_clks 78 0>; 418*01a91e01SAswath Govindraju clock-names = "gpio"; 419*01a91e01SAswath Govindraju }; 420*01a91e01SAswath Govindraju 4218abae938SDave Gerlach sdhci0: mmc@fa10000 { 4228abae938SDave Gerlach compatible = "ti,am64-sdhci-8bit"; 4238abae938SDave Gerlach reg = <0x00 0xfa10000 0x00 0x260>, <0x00 0xfa18000 0x00 0x134>; 4248abae938SDave Gerlach interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 4258abae938SDave Gerlach power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>; 4268abae938SDave Gerlach clocks = <&k3_clks 57 0>, <&k3_clks 57 1>; 4278abae938SDave Gerlach clock-names = "clk_ahb", "clk_xin"; 4288abae938SDave Gerlach mmc-ddr-1_8v; 4298abae938SDave Gerlach mmc-hs200-1_8v; 4308abae938SDave Gerlach mmc-hs400-1_8v; 4318abae938SDave Gerlach ti,trm-icp = <0x2>; 4328abae938SDave Gerlach ti,otap-del-sel-legacy = <0x0>; 4338abae938SDave Gerlach ti,otap-del-sel-mmc-hs = <0x0>; 4348abae938SDave Gerlach ti,otap-del-sel-ddr52 = <0x6>; 4358abae938SDave Gerlach ti,otap-del-sel-hs200 = <0x7>; 4368abae938SDave Gerlach ti,otap-del-sel-hs400 = <0x4>; 4378abae938SDave Gerlach }; 4388abae938SDave Gerlach 4398abae938SDave Gerlach sdhci1: mmc@fa00000 { 4408abae938SDave Gerlach compatible = "ti,am64-sdhci-4bit"; 4418abae938SDave Gerlach reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>; 4428abae938SDave Gerlach interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; 4438abae938SDave Gerlach power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>; 4448abae938SDave Gerlach clocks = <&k3_clks 58 3>, <&k3_clks 58 4>; 4458abae938SDave Gerlach clock-names = "clk_ahb", "clk_xin"; 4468abae938SDave Gerlach ti,trm-icp = <0x2>; 4478abae938SDave Gerlach ti,otap-del-sel-legacy = <0x0>; 4488abae938SDave Gerlach ti,otap-del-sel-sd-hs = <0xf>; 4498abae938SDave Gerlach ti,otap-del-sel-sdr12 = <0xf>; 4508abae938SDave Gerlach ti,otap-del-sel-sdr25 = <0xf>; 4518abae938SDave Gerlach ti,otap-del-sel-sdr50 = <0xc>; 4528abae938SDave Gerlach ti,otap-del-sel-sdr104 = <0x6>; 4538abae938SDave Gerlach ti,otap-del-sel-ddr50 = <0x9>; 4548abae938SDave Gerlach ti,clkbuf-sel = <0x7>; 4558abae938SDave Gerlach }; 4563753b128SVignesh Raghavendra 4573753b128SVignesh Raghavendra cpsw3g: ethernet@8000000 { 4583753b128SVignesh Raghavendra compatible = "ti,am642-cpsw-nuss"; 4593753b128SVignesh Raghavendra #address-cells = <2>; 4603753b128SVignesh Raghavendra #size-cells = <2>; 4613753b128SVignesh Raghavendra reg = <0x0 0x8000000 0x0 0x200000>; 4623753b128SVignesh Raghavendra reg-names = "cpsw_nuss"; 4633753b128SVignesh Raghavendra ranges = <0x0 0x0 0x0 0x8000000 0x0 0x200000>; 4643753b128SVignesh Raghavendra clocks = <&k3_clks 13 0>; 4653753b128SVignesh Raghavendra assigned-clocks = <&k3_clks 13 1>; 4663753b128SVignesh Raghavendra assigned-clock-parents = <&k3_clks 13 9>; 4673753b128SVignesh Raghavendra clock-names = "fck"; 4683753b128SVignesh Raghavendra power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>; 4693753b128SVignesh Raghavendra 4703753b128SVignesh Raghavendra dmas = <&main_pktdma 0xC500 15>, 4713753b128SVignesh Raghavendra <&main_pktdma 0xC501 15>, 4723753b128SVignesh Raghavendra <&main_pktdma 0xC502 15>, 4733753b128SVignesh Raghavendra <&main_pktdma 0xC503 15>, 4743753b128SVignesh Raghavendra <&main_pktdma 0xC504 15>, 4753753b128SVignesh Raghavendra <&main_pktdma 0xC505 15>, 4763753b128SVignesh Raghavendra <&main_pktdma 0xC506 15>, 4773753b128SVignesh Raghavendra <&main_pktdma 0xC507 15>, 4783753b128SVignesh Raghavendra <&main_pktdma 0x4500 15>; 4793753b128SVignesh Raghavendra dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", 4803753b128SVignesh Raghavendra "tx7", "rx"; 4813753b128SVignesh Raghavendra 4823753b128SVignesh Raghavendra ethernet-ports { 4833753b128SVignesh Raghavendra #address-cells = <1>; 4843753b128SVignesh Raghavendra #size-cells = <0>; 4853753b128SVignesh Raghavendra 4863753b128SVignesh Raghavendra cpsw_port1: port@1 { 4873753b128SVignesh Raghavendra reg = <1>; 4883753b128SVignesh Raghavendra ti,mac-only; 4893753b128SVignesh Raghavendra label = "port1"; 4903753b128SVignesh Raghavendra phys = <&phy_gmii_sel 1>; 4913753b128SVignesh Raghavendra mac-address = [00 00 de ad be ef]; 4923753b128SVignesh Raghavendra }; 4933753b128SVignesh Raghavendra 4943753b128SVignesh Raghavendra cpsw_port2: port@2 { 4953753b128SVignesh Raghavendra reg = <2>; 4963753b128SVignesh Raghavendra ti,mac-only; 4973753b128SVignesh Raghavendra label = "port2"; 4983753b128SVignesh Raghavendra phys = <&phy_gmii_sel 2>; 4993753b128SVignesh Raghavendra mac-address = [00 01 de ad be ef]; 5003753b128SVignesh Raghavendra }; 5013753b128SVignesh Raghavendra }; 5023753b128SVignesh Raghavendra 5033753b128SVignesh Raghavendra cpsw3g_mdio: mdio@f00 { 5043753b128SVignesh Raghavendra compatible = "ti,cpsw-mdio","ti,davinci_mdio"; 5053753b128SVignesh Raghavendra reg = <0x0 0xf00 0x0 0x100>; 5063753b128SVignesh Raghavendra #address-cells = <1>; 5073753b128SVignesh Raghavendra #size-cells = <0>; 5083753b128SVignesh Raghavendra clocks = <&k3_clks 13 0>; 5093753b128SVignesh Raghavendra clock-names = "fck"; 5103753b128SVignesh Raghavendra bus_freq = <1000000>; 5113753b128SVignesh Raghavendra }; 5123753b128SVignesh Raghavendra 5133753b128SVignesh Raghavendra cpts@3d000 { 5143753b128SVignesh Raghavendra compatible = "ti,j721e-cpts"; 5153753b128SVignesh Raghavendra reg = <0x0 0x3d000 0x0 0x400>; 5163753b128SVignesh Raghavendra clocks = <&k3_clks 13 1>; 5173753b128SVignesh Raghavendra clock-names = "cpts"; 5183753b128SVignesh Raghavendra interrupts-extended = <&gic500 GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 5193753b128SVignesh Raghavendra interrupt-names = "cpts"; 5203753b128SVignesh Raghavendra ti,cpts-ext-ts-inputs = <4>; 5213753b128SVignesh Raghavendra ti,cpts-periodic-outputs = <2>; 5223753b128SVignesh Raghavendra }; 5233753b128SVignesh Raghavendra }; 524e7ae26a3SGrygorii Strashko 525e7ae26a3SGrygorii Strashko cpts@39000000 { 526e7ae26a3SGrygorii Strashko compatible = "ti,j721e-cpts"; 527e7ae26a3SGrygorii Strashko reg = <0x0 0x39000000 0x0 0x400>; 528e7ae26a3SGrygorii Strashko reg-names = "cpts"; 529e7ae26a3SGrygorii Strashko power-domains = <&k3_pds 84 TI_SCI_PD_EXCLUSIVE>; 530e7ae26a3SGrygorii Strashko clocks = <&k3_clks 84 0>; 531e7ae26a3SGrygorii Strashko clock-names = "cpts"; 532e7ae26a3SGrygorii Strashko assigned-clocks = <&k3_clks 84 0>; 533e7ae26a3SGrygorii Strashko assigned-clock-parents = <&k3_clks 84 8>; 534e7ae26a3SGrygorii Strashko interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 535e7ae26a3SGrygorii Strashko interrupt-names = "cpts"; 536e7ae26a3SGrygorii Strashko ti,cpts-periodic-outputs = <6>; 537e7ae26a3SGrygorii Strashko ti,cpts-ext-ts-inputs = <8>; 538e7ae26a3SGrygorii Strashko }; 539d06a6613SAswath Govindraju 540d06a6613SAswath Govindraju usbss0: cdns-usb@f900000{ 541d06a6613SAswath Govindraju compatible = "ti,am64-usb"; 542d06a6613SAswath Govindraju reg = <0x00 0xf900000 0x00 0x100>; 543d06a6613SAswath Govindraju power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>; 544d06a6613SAswath Govindraju clocks = <&k3_clks 161 9>, <&k3_clks 161 1>; 545d06a6613SAswath Govindraju clock-names = "ref", "lpm"; 546d06a6613SAswath Govindraju assigned-clocks = <&k3_clks 161 9>; /* USB2_REFCLK */ 547d06a6613SAswath Govindraju assigned-clock-parents = <&k3_clks 161 10>; /* HF0SC0 */ 548d06a6613SAswath Govindraju #address-cells = <2>; 549d06a6613SAswath Govindraju #size-cells = <2>; 550d06a6613SAswath Govindraju ranges; 551d06a6613SAswath Govindraju usb0: usb@f400000{ 552d06a6613SAswath Govindraju compatible = "cdns,usb3"; 553d06a6613SAswath Govindraju reg = <0x00 0xf400000 0x00 0x10000>, 554d06a6613SAswath Govindraju <0x00 0xf410000 0x00 0x10000>, 555d06a6613SAswath Govindraju <0x00 0xf420000 0x00 0x10000>; 556d06a6613SAswath Govindraju reg-names = "otg", 557d06a6613SAswath Govindraju "xhci", 558d06a6613SAswath Govindraju "dev"; 559d06a6613SAswath Govindraju interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */ 560d06a6613SAswath Govindraju <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */ 561d06a6613SAswath Govindraju <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; /* otgirq */ 562d06a6613SAswath Govindraju interrupt-names = "host", 563d06a6613SAswath Govindraju "peripheral", 564d06a6613SAswath Govindraju "otg"; 565d06a6613SAswath Govindraju maximum-speed = "super-speed"; 566d06a6613SAswath Govindraju dr_mode = "otg"; 567d06a6613SAswath Govindraju }; 568d06a6613SAswath Govindraju }; 569fad4e18fSVignesh Raghavendra 570fad4e18fSVignesh Raghavendra tscadc0: tscadc@28001000 { 571fad4e18fSVignesh Raghavendra compatible = "ti,am654-tscadc", "ti,am3359-tscadc"; 572fad4e18fSVignesh Raghavendra reg = <0x00 0x28001000 0x00 0x1000>; 573fad4e18fSVignesh Raghavendra interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 574fad4e18fSVignesh Raghavendra power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>; 575fad4e18fSVignesh Raghavendra clocks = <&k3_clks 0 0>; 576fad4e18fSVignesh Raghavendra assigned-clocks = <&k3_clks 0 0>; 577fad4e18fSVignesh Raghavendra assigned-clock-parents = <&k3_clks 0 3>; 578fad4e18fSVignesh Raghavendra assigned-clock-rates = <60000000>; 579fad4e18fSVignesh Raghavendra clock-names = "adc_tsc_fck"; 580fad4e18fSVignesh Raghavendra 581fad4e18fSVignesh Raghavendra adc { 582fad4e18fSVignesh Raghavendra #io-channel-cells = <1>; 583fad4e18fSVignesh Raghavendra compatible = "ti,am654-adc", "ti,am3359-adc"; 584fad4e18fSVignesh Raghavendra }; 585fad4e18fSVignesh Raghavendra }; 58681623c55SVignesh Raghavendra 58781623c55SVignesh Raghavendra fss: bus@fc00000 { 58881623c55SVignesh Raghavendra compatible = "simple-bus"; 58981623c55SVignesh Raghavendra reg = <0x00 0x0fc00000 0x00 0x70000>; 59081623c55SVignesh Raghavendra #address-cells = <2>; 59181623c55SVignesh Raghavendra #size-cells = <2>; 59281623c55SVignesh Raghavendra ranges; 59381623c55SVignesh Raghavendra 59481623c55SVignesh Raghavendra ospi0: spi@fc40000 { 59581623c55SVignesh Raghavendra compatible = "ti,am654-ospi"; 59681623c55SVignesh Raghavendra reg = <0x00 0x0fc40000 0x00 0x100>, 59781623c55SVignesh Raghavendra <0x05 0x00000000 0x01 0x00000000>; 59881623c55SVignesh Raghavendra interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; 59981623c55SVignesh Raghavendra cdns,fifo-depth = <256>; 60081623c55SVignesh Raghavendra cdns,fifo-width = <4>; 60181623c55SVignesh Raghavendra cdns,trigger-address = <0x0>; 60281623c55SVignesh Raghavendra #address-cells = <0x1>; 60381623c55SVignesh Raghavendra #size-cells = <0x0>; 60481623c55SVignesh Raghavendra clocks = <&k3_clks 75 6>; 60581623c55SVignesh Raghavendra assigned-clocks = <&k3_clks 75 6>; 60681623c55SVignesh Raghavendra assigned-clock-parents = <&k3_clks 75 7>; 60781623c55SVignesh Raghavendra assigned-clock-rates = <166666666>; 60881623c55SVignesh Raghavendra power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>; 60981623c55SVignesh Raghavendra }; 61081623c55SVignesh Raghavendra }; 6118abae938SDave Gerlach}; 612