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
868fefbfeSKishon Vijay Abraham I#include <dt-bindings/phy/phy-cadence.h>
968fefbfeSKishon Vijay Abraham I#include <dt-bindings/phy/phy-ti.h>
1068fefbfeSKishon Vijay Abraham I
1168fefbfeSKishon Vijay Abraham I/ {
1268fefbfeSKishon Vijay Abraham I	serdes_refclk: clock-cmnrefclk {
1368fefbfeSKishon Vijay Abraham I		#clock-cells = <0>;
1468fefbfeSKishon Vijay Abraham I		compatible = "fixed-clock";
1568fefbfeSKishon Vijay Abraham I		clock-frequency = <0>;
1668fefbfeSKishon Vijay Abraham I	};
1768fefbfeSKishon Vijay Abraham I};
1868fefbfeSKishon Vijay Abraham I
198abae938SDave Gerlach&cbass_main {
208abae938SDave Gerlach	oc_sram: sram@70000000 {
218abae938SDave Gerlach		compatible = "mmio-sram";
228abae938SDave Gerlach		reg = <0x00 0x70000000 0x00 0x200000>;
238abae938SDave Gerlach		#address-cells = <1>;
248abae938SDave Gerlach		#size-cells = <1>;
258abae938SDave Gerlach		ranges = <0x0 0x00 0x70000000 0x200000>;
268abae938SDave Gerlach
273de27ef1SAswath Govindraju		tfa-sram@1c0000 {
283de27ef1SAswath Govindraju			reg = <0x1c0000 0x20000>;
298abae938SDave Gerlach		};
30454a9d4aSAswath Govindraju
31454a9d4aSAswath Govindraju		dmsc-sram@1e0000 {
32454a9d4aSAswath Govindraju			reg = <0x1e0000 0x1c000>;
33454a9d4aSAswath Govindraju		};
34454a9d4aSAswath Govindraju
35454a9d4aSAswath Govindraju		sproxy-sram@1fc000 {
36454a9d4aSAswath Govindraju			reg = <0x1fc000 0x4000>;
37454a9d4aSAswath Govindraju		};
388abae938SDave Gerlach	};
398abae938SDave Gerlach
4068fefbfeSKishon Vijay Abraham I	main_conf: syscon@43000000 {
4168fefbfeSKishon Vijay Abraham I		compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
4268fefbfeSKishon Vijay Abraham I		reg = <0x0 0x43000000 0x0 0x20000>;
4368fefbfeSKishon Vijay Abraham I		#address-cells = <1>;
4468fefbfeSKishon Vijay Abraham I		#size-cells = <1>;
4568fefbfeSKishon Vijay Abraham I		ranges = <0x0 0x0 0x43000000 0x20000>;
4668fefbfeSKishon Vijay Abraham I
4768fefbfeSKishon Vijay Abraham I		serdes_ln_ctrl: mux-controller {
4868fefbfeSKishon Vijay Abraham I			compatible = "mmio-mux";
4968fefbfeSKishon Vijay Abraham I			#mux-control-cells = <1>;
5068fefbfeSKishon Vijay Abraham I			mux-reg-masks = <0x4080 0x3>; /* SERDES0 lane0 select */
5168fefbfeSKishon Vijay Abraham I		};
5268fefbfeSKishon Vijay Abraham I	};
5368fefbfeSKishon Vijay Abraham I
548abae938SDave Gerlach	gic500: interrupt-controller@1800000 {
558abae938SDave Gerlach		compatible = "arm,gic-v3";
568abae938SDave Gerlach		#address-cells = <2>;
578abae938SDave Gerlach		#size-cells = <2>;
588abae938SDave Gerlach		ranges;
598abae938SDave Gerlach		#interrupt-cells = <3>;
608abae938SDave Gerlach		interrupt-controller;
618abae938SDave Gerlach		reg = <0x00 0x01800000 0x00 0x10000>,	/* GICD */
628abae938SDave Gerlach		      <0x00 0x01840000 0x00 0xC0000>;	/* GICR */
638abae938SDave Gerlach		/*
648abae938SDave Gerlach		 * vcpumntirq:
658abae938SDave Gerlach		 * virtual CPU interface maintenance interrupt
668abae938SDave Gerlach		 */
678abae938SDave Gerlach		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
688abae938SDave Gerlach
698abae938SDave Gerlach		gic_its: msi-controller@1820000 {
708abae938SDave Gerlach			compatible = "arm,gic-v3-its";
718abae938SDave Gerlach			reg = <0x00 0x01820000 0x00 0x10000>;
728abae938SDave Gerlach			socionext,synquacer-pre-its = <0x1000000 0x400000>;
738abae938SDave Gerlach			msi-controller;
748abae938SDave Gerlach			#msi-cells = <1>;
758abae938SDave Gerlach		};
768abae938SDave Gerlach	};
778abae938SDave Gerlach
789ecdb6d6SNishanth Menon	dmss: bus@48000000 {
798abae938SDave Gerlach		compatible = "simple-mfd";
808abae938SDave Gerlach		#address-cells = <2>;
818abae938SDave Gerlach		#size-cells = <2>;
828abae938SDave Gerlach		dma-ranges;
839ecdb6d6SNishanth Menon		ranges = <0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>;
848abae938SDave Gerlach
85943f1723SPeter Ujfalusi		ti,sci-dev-id = <25>;
86943f1723SPeter Ujfalusi
878abae938SDave Gerlach		secure_proxy_main: mailbox@4d000000 {
888abae938SDave Gerlach			compatible = "ti,am654-secure-proxy";
898abae938SDave Gerlach			#mbox-cells = <1>;
908abae938SDave Gerlach			reg-names = "target_data", "rt", "scfg";
918abae938SDave Gerlach			reg = <0x00 0x4d000000 0x00 0x80000>,
928abae938SDave Gerlach			      <0x00 0x4a600000 0x00 0x80000>,
938abae938SDave Gerlach			      <0x00 0x4a400000 0x00 0x80000>;
948abae938SDave Gerlach			interrupt-names = "rx_012";
958abae938SDave Gerlach			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
968abae938SDave Gerlach		};
97943f1723SPeter Ujfalusi
98943f1723SPeter Ujfalusi		inta_main_dmss: interrupt-controller@48000000 {
99943f1723SPeter Ujfalusi			compatible = "ti,sci-inta";
100943f1723SPeter Ujfalusi			reg = <0x00 0x48000000 0x00 0x100000>;
101943f1723SPeter Ujfalusi			#interrupt-cells = <0>;
102943f1723SPeter Ujfalusi			interrupt-controller;
103943f1723SPeter Ujfalusi			interrupt-parent = <&gic500>;
104943f1723SPeter Ujfalusi			msi-controller;
105943f1723SPeter Ujfalusi			ti,sci = <&dmsc>;
106943f1723SPeter Ujfalusi			ti,sci-dev-id = <28>;
107943f1723SPeter Ujfalusi			ti,interrupt-ranges = <4 68 36>;
108943f1723SPeter Ujfalusi			ti,unmapped-event-sources = <&main_bcdma>, <&main_pktdma>;
109943f1723SPeter Ujfalusi		};
110943f1723SPeter Ujfalusi
111943f1723SPeter Ujfalusi		main_bcdma: dma-controller@485c0100 {
112943f1723SPeter Ujfalusi			compatible = "ti,am64-dmss-bcdma";
113943f1723SPeter Ujfalusi			reg = <0x00 0x485c0100 0x00 0x100>,
114943f1723SPeter Ujfalusi			      <0x00 0x4c000000 0x00 0x20000>,
115943f1723SPeter Ujfalusi			      <0x00 0x4a820000 0x00 0x20000>,
116943f1723SPeter Ujfalusi			      <0x00 0x4aa40000 0x00 0x20000>,
117943f1723SPeter Ujfalusi			      <0x00 0x4bc00000 0x00 0x100000>;
118943f1723SPeter Ujfalusi			reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt";
119943f1723SPeter Ujfalusi			msi-parent = <&inta_main_dmss>;
120943f1723SPeter Ujfalusi			#dma-cells = <3>;
121943f1723SPeter Ujfalusi
122943f1723SPeter Ujfalusi			ti,sci = <&dmsc>;
123943f1723SPeter Ujfalusi			ti,sci-dev-id = <26>;
124943f1723SPeter Ujfalusi			ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
125943f1723SPeter Ujfalusi			ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
126943f1723SPeter Ujfalusi			ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
127943f1723SPeter Ujfalusi		};
128943f1723SPeter Ujfalusi
129943f1723SPeter Ujfalusi		main_pktdma: dma-controller@485c0000 {
130943f1723SPeter Ujfalusi			compatible = "ti,am64-dmss-pktdma";
131943f1723SPeter Ujfalusi			reg = <0x00 0x485c0000 0x00 0x100>,
132943f1723SPeter Ujfalusi			      <0x00 0x4a800000 0x00 0x20000>,
133943f1723SPeter Ujfalusi			      <0x00 0x4aa00000 0x00 0x40000>,
134943f1723SPeter Ujfalusi			      <0x00 0x4b800000 0x00 0x400000>;
135943f1723SPeter Ujfalusi			reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
136943f1723SPeter Ujfalusi			msi-parent = <&inta_main_dmss>;
137943f1723SPeter Ujfalusi			#dma-cells = <2>;
138943f1723SPeter Ujfalusi
139943f1723SPeter Ujfalusi			ti,sci = <&dmsc>;
140943f1723SPeter Ujfalusi			ti,sci-dev-id = <30>;
141943f1723SPeter Ujfalusi			ti,sci-rm-range-tchan = <0x23>, /* UNMAPPED_TX_CHAN */
142943f1723SPeter Ujfalusi						<0x24>, /* CPSW_TX_CHAN */
143943f1723SPeter Ujfalusi						<0x25>, /* SAUL_TX_0_CHAN */
144943f1723SPeter Ujfalusi						<0x26>, /* SAUL_TX_1_CHAN */
145943f1723SPeter Ujfalusi						<0x27>, /* ICSSG_0_TX_CHAN */
146943f1723SPeter Ujfalusi						<0x28>; /* ICSSG_1_TX_CHAN */
147943f1723SPeter Ujfalusi			ti,sci-rm-range-tflow = <0x10>, /* RING_UNMAPPED_TX_CHAN */
148943f1723SPeter Ujfalusi						<0x11>, /* RING_CPSW_TX_CHAN */
149943f1723SPeter Ujfalusi						<0x12>, /* RING_SAUL_TX_0_CHAN */
150943f1723SPeter Ujfalusi						<0x13>, /* RING_SAUL_TX_1_CHAN */
151943f1723SPeter Ujfalusi						<0x14>, /* RING_ICSSG_0_TX_CHAN */
152943f1723SPeter Ujfalusi						<0x15>; /* RING_ICSSG_1_TX_CHAN */
153943f1723SPeter Ujfalusi			ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */
154943f1723SPeter Ujfalusi						<0x2b>, /* CPSW_RX_CHAN */
155943f1723SPeter Ujfalusi						<0x2d>, /* SAUL_RX_0_CHAN */
156943f1723SPeter Ujfalusi						<0x2f>, /* SAUL_RX_1_CHAN */
157943f1723SPeter Ujfalusi						<0x31>, /* SAUL_RX_2_CHAN */
158943f1723SPeter Ujfalusi						<0x33>, /* SAUL_RX_3_CHAN */
159943f1723SPeter Ujfalusi						<0x35>, /* ICSSG_0_RX_CHAN */
160943f1723SPeter Ujfalusi						<0x37>; /* ICSSG_1_RX_CHAN */
161943f1723SPeter Ujfalusi			ti,sci-rm-range-rflow = <0x2a>, /* FLOW_UNMAPPED_RX_CHAN */
162943f1723SPeter Ujfalusi						<0x2c>, /* FLOW_CPSW_RX_CHAN */
163943f1723SPeter Ujfalusi						<0x2e>, /* FLOW_SAUL_RX_0/1_CHAN */
164943f1723SPeter Ujfalusi						<0x32>, /* FLOW_SAUL_RX_2/3_CHAN */
165943f1723SPeter Ujfalusi						<0x36>, /* FLOW_ICSSG_0_RX_CHAN */
166943f1723SPeter Ujfalusi						<0x38>; /* FLOW_ICSSG_1_RX_CHAN */
167943f1723SPeter Ujfalusi		};
1688abae938SDave Gerlach	};
1698abae938SDave Gerlach
1709d3c9378SNishanth Menon	dmsc: system-controller@44043000 {
1718abae938SDave Gerlach		compatible = "ti,k2g-sci";
1728abae938SDave Gerlach		ti,host-id = <12>;
1738abae938SDave Gerlach		mbox-names = "rx", "tx";
1748abae938SDave Gerlach		mboxes= <&secure_proxy_main 12>,
1758abae938SDave Gerlach			<&secure_proxy_main 13>;
1768abae938SDave Gerlach		reg-names = "debug_messages";
1778abae938SDave Gerlach		reg = <0x00 0x44043000 0x00 0xfe0>;
1788abae938SDave Gerlach
1798abae938SDave Gerlach		k3_pds: power-controller {
1808abae938SDave Gerlach			compatible = "ti,sci-pm-domain";
1818abae938SDave Gerlach			#power-domain-cells = <2>;
1828abae938SDave Gerlach		};
1838abae938SDave Gerlach
184a0812885SNishanth Menon		k3_clks: clock-controller {
1858abae938SDave Gerlach			compatible = "ti,k2g-sci-clk";
1868abae938SDave Gerlach			#clock-cells = <2>;
1878abae938SDave Gerlach		};
1888abae938SDave Gerlach
1898abae938SDave Gerlach		k3_reset: reset-controller {
1908abae938SDave Gerlach			compatible = "ti,sci-reset";
1918abae938SDave Gerlach			#reset-cells = <2>;
1928abae938SDave Gerlach		};
1938abae938SDave Gerlach	};
1948abae938SDave Gerlach
1958abae938SDave Gerlach	main_pmx0: pinctrl@f4000 {
1968abae938SDave Gerlach		compatible = "pinctrl-single";
1978abae938SDave Gerlach		reg = <0x00 0xf4000 0x00 0x2d0>;
1988abae938SDave Gerlach		#pinctrl-cells = <1>;
1998abae938SDave Gerlach		pinctrl-single,register-width = <32>;
2008abae938SDave Gerlach		pinctrl-single,function-mask = <0xffffffff>;
2018abae938SDave Gerlach	};
2028abae938SDave Gerlach
2038abae938SDave Gerlach	main_conf: syscon@43000000 {
2048abae938SDave Gerlach		compatible = "syscon", "simple-mfd";
2058abae938SDave Gerlach		reg = <0x00 0x43000000 0x00 0x20000>;
2068abae938SDave Gerlach		#address-cells = <1>;
2078abae938SDave Gerlach		#size-cells = <1>;
2088abae938SDave Gerlach		ranges = <0x00 0x00 0x43000000 0x20000>;
2098abae938SDave Gerlach
2108abae938SDave Gerlach		chipid@14 {
2118abae938SDave Gerlach			compatible = "ti,am654-chipid";
2128abae938SDave Gerlach			reg = <0x00000014 0x4>;
2138abae938SDave Gerlach		};
2143753b128SVignesh Raghavendra
2153753b128SVignesh Raghavendra		phy_gmii_sel: phy@4044 {
2163753b128SVignesh Raghavendra			compatible = "ti,am654-phy-gmii-sel";
2173753b128SVignesh Raghavendra			reg = <0x4044 0x8>;
2183753b128SVignesh Raghavendra			#phy-cells = <1>;
2193753b128SVignesh Raghavendra		};
22013a9a3efSLokesh Vutla
22113a9a3efSLokesh Vutla		epwm_tbclk: clock@4140 {
22213a9a3efSLokesh Vutla			compatible = "ti,am64-epwm-tbclk", "syscon";
22313a9a3efSLokesh Vutla			reg = <0x4130 0x4>;
22413a9a3efSLokesh Vutla			#clock-cells = <1>;
22513a9a3efSLokesh Vutla		};
2268abae938SDave Gerlach	};
2278abae938SDave Gerlach
2288abae938SDave Gerlach	main_uart0: serial@2800000 {
2298abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
2308abae938SDave Gerlach		reg = <0x00 0x02800000 0x00 0x100>;
2318abae938SDave Gerlach		interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
2328abae938SDave Gerlach		clock-frequency = <48000000>;
2338abae938SDave Gerlach		current-speed = <115200>;
2348abae938SDave Gerlach		power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
2358abae938SDave Gerlach		clocks = <&k3_clks 146 0>;
2368abae938SDave Gerlach		clock-names = "fclk";
2378abae938SDave Gerlach	};
2388abae938SDave Gerlach
2398abae938SDave Gerlach	main_uart1: serial@2810000 {
2408abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
2418abae938SDave Gerlach		reg = <0x00 0x02810000 0x00 0x100>;
2428abae938SDave Gerlach		interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
2438abae938SDave Gerlach		clock-frequency = <48000000>;
2448abae938SDave Gerlach		current-speed = <115200>;
2458abae938SDave Gerlach		power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
2468abae938SDave Gerlach		clocks = <&k3_clks 152 0>;
2478abae938SDave Gerlach		clock-names = "fclk";
2488abae938SDave Gerlach	};
2498abae938SDave Gerlach
2508abae938SDave Gerlach	main_uart2: serial@2820000 {
2518abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
2528abae938SDave Gerlach		reg = <0x00 0x02820000 0x00 0x100>;
2538abae938SDave Gerlach		interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
2548abae938SDave Gerlach		clock-frequency = <48000000>;
2558abae938SDave Gerlach		current-speed = <115200>;
2568abae938SDave Gerlach		power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>;
2578abae938SDave Gerlach		clocks = <&k3_clks 153 0>;
2588abae938SDave Gerlach		clock-names = "fclk";
2598abae938SDave Gerlach	};
2608abae938SDave Gerlach
2618abae938SDave Gerlach	main_uart3: serial@2830000 {
2628abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
2638abae938SDave Gerlach		reg = <0x00 0x02830000 0x00 0x100>;
2648abae938SDave Gerlach		interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
2658abae938SDave Gerlach		clock-frequency = <48000000>;
2668abae938SDave Gerlach		current-speed = <115200>;
2678abae938SDave Gerlach		power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
2688abae938SDave Gerlach		clocks = <&k3_clks 154 0>;
2698abae938SDave Gerlach		clock-names = "fclk";
2708abae938SDave Gerlach	};
2718abae938SDave Gerlach
2728abae938SDave Gerlach	main_uart4: serial@2840000 {
2738abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
2748abae938SDave Gerlach		reg = <0x00 0x02840000 0x00 0x100>;
2758abae938SDave Gerlach		interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
2768abae938SDave Gerlach		clock-frequency = <48000000>;
2778abae938SDave Gerlach		current-speed = <115200>;
2788abae938SDave Gerlach		power-domains = <&k3_pds 155 TI_SCI_PD_EXCLUSIVE>;
2798abae938SDave Gerlach		clocks = <&k3_clks 155 0>;
2808abae938SDave Gerlach		clock-names = "fclk";
2818abae938SDave Gerlach	};
2828abae938SDave Gerlach
2838abae938SDave Gerlach	main_uart5: serial@2850000 {
2848abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
2858abae938SDave Gerlach		reg = <0x00 0x02850000 0x00 0x100>;
2868abae938SDave Gerlach		interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
2878abae938SDave Gerlach		clock-frequency = <48000000>;
2888abae938SDave Gerlach		current-speed = <115200>;
2898abae938SDave Gerlach		power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>;
2908abae938SDave Gerlach		clocks = <&k3_clks 156 0>;
2918abae938SDave Gerlach		clock-names = "fclk";
2928abae938SDave Gerlach	};
2938abae938SDave Gerlach
2948abae938SDave Gerlach	main_uart6: serial@2860000 {
2958abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
2968abae938SDave Gerlach		reg = <0x00 0x02860000 0x00 0x100>;
2978abae938SDave Gerlach		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
2988abae938SDave Gerlach		clock-frequency = <48000000>;
2998abae938SDave Gerlach		current-speed = <115200>;
3008abae938SDave Gerlach		power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>;
3018abae938SDave Gerlach		clocks = <&k3_clks 158 0>;
3028abae938SDave Gerlach		clock-names = "fclk";
3038abae938SDave Gerlach	};
3048abae938SDave Gerlach
3058abae938SDave Gerlach	main_i2c0: i2c@20000000 {
3068abae938SDave Gerlach		compatible = "ti,am64-i2c", "ti,omap4-i2c";
3078abae938SDave Gerlach		reg = <0x00 0x20000000 0x00 0x100>;
3088abae938SDave Gerlach		interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
3098abae938SDave Gerlach		#address-cells = <1>;
3108abae938SDave Gerlach		#size-cells = <0>;
3118abae938SDave Gerlach		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
3128abae938SDave Gerlach		clocks = <&k3_clks 102 2>;
3138abae938SDave Gerlach		clock-names = "fck";
3148abae938SDave Gerlach	};
3158abae938SDave Gerlach
3168abae938SDave Gerlach	main_i2c1: i2c@20010000 {
3178abae938SDave Gerlach		compatible = "ti,am64-i2c", "ti,omap4-i2c";
3188abae938SDave Gerlach		reg = <0x00 0x20010000 0x00 0x100>;
3198abae938SDave Gerlach		interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
3208abae938SDave Gerlach		#address-cells = <1>;
3218abae938SDave Gerlach		#size-cells = <0>;
3228abae938SDave Gerlach		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
3238abae938SDave Gerlach		clocks = <&k3_clks 103 2>;
3248abae938SDave Gerlach		clock-names = "fck";
3258abae938SDave Gerlach	};
3268abae938SDave Gerlach
3278abae938SDave Gerlach	main_i2c2: i2c@20020000 {
3288abae938SDave Gerlach		compatible = "ti,am64-i2c", "ti,omap4-i2c";
3298abae938SDave Gerlach		reg = <0x00 0x20020000 0x00 0x100>;
3308abae938SDave Gerlach		interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
3318abae938SDave Gerlach		#address-cells = <1>;
3328abae938SDave Gerlach		#size-cells = <0>;
3338abae938SDave Gerlach		power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
3348abae938SDave Gerlach		clocks = <&k3_clks 104 2>;
3358abae938SDave Gerlach		clock-names = "fck";
3368abae938SDave Gerlach	};
3378abae938SDave Gerlach
3388abae938SDave Gerlach	main_i2c3: i2c@20030000 {
3398abae938SDave Gerlach		compatible = "ti,am64-i2c", "ti,omap4-i2c";
3408abae938SDave Gerlach		reg = <0x00 0x20030000 0x00 0x100>;
3418abae938SDave Gerlach		interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
3428abae938SDave Gerlach		#address-cells = <1>;
3438abae938SDave Gerlach		#size-cells = <0>;
3448abae938SDave Gerlach		power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
3458abae938SDave Gerlach		clocks = <&k3_clks 105 2>;
3468abae938SDave Gerlach		clock-names = "fck";
3478abae938SDave Gerlach	};
3488abae938SDave Gerlach
3498abae938SDave Gerlach	main_spi0: spi@20100000 {
3508abae938SDave Gerlach		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
3518abae938SDave Gerlach		reg = <0x00 0x20100000 0x00 0x400>;
3528abae938SDave Gerlach		interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
3538abae938SDave Gerlach		#address-cells = <1>;
3548abae938SDave Gerlach		#size-cells = <0>;
3558abae938SDave Gerlach		power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
3568abae938SDave Gerlach		clocks = <&k3_clks 141 0>;
3578abae938SDave Gerlach		dmas = <&main_pktdma 0xc300 0>, <&main_pktdma 0x4300 0>;
3588abae938SDave Gerlach		dma-names = "tx0", "rx0";
3598abae938SDave Gerlach	};
3608abae938SDave Gerlach
3618abae938SDave Gerlach	main_spi1: spi@20110000 {
3628abae938SDave Gerlach		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
3638abae938SDave Gerlach		reg = <0x00 0x20110000 0x00 0x400>;
3648abae938SDave Gerlach		interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
3658abae938SDave Gerlach		#address-cells = <1>;
3668abae938SDave Gerlach		#size-cells = <0>;
3678abae938SDave Gerlach		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
3688abae938SDave Gerlach		clocks = <&k3_clks 142 0>;
3698abae938SDave Gerlach	};
3708abae938SDave Gerlach
3718abae938SDave Gerlach	main_spi2: spi@20120000 {
3728abae938SDave Gerlach		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
3738abae938SDave Gerlach		reg = <0x00 0x20120000 0x00 0x400>;
3748abae938SDave Gerlach		interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
3758abae938SDave Gerlach		#address-cells = <1>;
3768abae938SDave Gerlach		#size-cells = <0>;
3778abae938SDave Gerlach		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
3788abae938SDave Gerlach		clocks = <&k3_clks 143 0>;
3798abae938SDave Gerlach	};
3808abae938SDave Gerlach
3818abae938SDave Gerlach	main_spi3: spi@20130000 {
3828abae938SDave Gerlach		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
3838abae938SDave Gerlach		reg = <0x00 0x20130000 0x00 0x400>;
3848abae938SDave Gerlach		interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
3858abae938SDave Gerlach		#address-cells = <1>;
3868abae938SDave Gerlach		#size-cells = <0>;
3878abae938SDave Gerlach		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
3888abae938SDave Gerlach		clocks = <&k3_clks 144 0>;
3898abae938SDave Gerlach	};
3908abae938SDave Gerlach
3918abae938SDave Gerlach	main_spi4: spi@20140000 {
3928abae938SDave Gerlach		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
3938abae938SDave Gerlach		reg = <0x00 0x20140000 0x00 0x400>;
3948abae938SDave Gerlach		interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
3958abae938SDave Gerlach		#address-cells = <1>;
3968abae938SDave Gerlach		#size-cells = <0>;
3978abae938SDave Gerlach		power-domains = <&k3_pds 145 TI_SCI_PD_EXCLUSIVE>;
3988abae938SDave Gerlach		clocks = <&k3_clks 145 0>;
3998abae938SDave Gerlach	};
4008abae938SDave Gerlach
401cab12badSNishanth Menon	main_gpio_intr: interrupt-controller@a00000 {
40201a91e01SAswath Govindraju		compatible = "ti,sci-intr";
403cab12badSNishanth Menon		reg = <0x00 0x00a00000 0x00 0x800>;
40401a91e01SAswath Govindraju		ti,intr-trigger-type = <1>;
40501a91e01SAswath Govindraju		interrupt-controller;
40601a91e01SAswath Govindraju		interrupt-parent = <&gic500>;
40701a91e01SAswath Govindraju		#interrupt-cells = <1>;
40801a91e01SAswath Govindraju		ti,sci = <&dmsc>;
40901a91e01SAswath Govindraju		ti,sci-dev-id = <3>;
41001a91e01SAswath Govindraju		ti,interrupt-ranges = <0 32 16>;
41101a91e01SAswath Govindraju	};
41201a91e01SAswath Govindraju
41301a91e01SAswath Govindraju	main_gpio0: gpio@600000 {
41401a91e01SAswath Govindraju		compatible = "ti,am64-gpio", "ti,keystone-gpio";
41501a91e01SAswath Govindraju		reg = <0x0 0x00600000 0x0 0x100>;
41601a91e01SAswath Govindraju		gpio-controller;
41701a91e01SAswath Govindraju		#gpio-cells = <2>;
41801a91e01SAswath Govindraju		interrupt-parent = <&main_gpio_intr>;
41901a91e01SAswath Govindraju		interrupts = <190>, <191>, <192>,
42001a91e01SAswath Govindraju			     <193>, <194>, <195>;
42101a91e01SAswath Govindraju		interrupt-controller;
42201a91e01SAswath Govindraju		#interrupt-cells = <2>;
42301a91e01SAswath Govindraju		ti,ngpio = <87>;
42401a91e01SAswath Govindraju		ti,davinci-gpio-unbanked = <0>;
42501a91e01SAswath Govindraju		power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
42601a91e01SAswath Govindraju		clocks = <&k3_clks 77 0>;
42701a91e01SAswath Govindraju		clock-names = "gpio";
42801a91e01SAswath Govindraju	};
42901a91e01SAswath Govindraju
43001a91e01SAswath Govindraju	main_gpio1: gpio@601000 {
43101a91e01SAswath Govindraju		compatible = "ti,am64-gpio", "ti,keystone-gpio";
43201a91e01SAswath Govindraju		reg = <0x0 0x00601000 0x0 0x100>;
43301a91e01SAswath Govindraju		gpio-controller;
43401a91e01SAswath Govindraju		#gpio-cells = <2>;
43501a91e01SAswath Govindraju		interrupt-parent = <&main_gpio_intr>;
43601a91e01SAswath Govindraju		interrupts = <180>, <181>, <182>,
43701a91e01SAswath Govindraju			     <183>, <184>, <185>;
43801a91e01SAswath Govindraju		interrupt-controller;
43901a91e01SAswath Govindraju		#interrupt-cells = <2>;
44001a91e01SAswath Govindraju		ti,ngpio = <88>;
44101a91e01SAswath Govindraju		ti,davinci-gpio-unbanked = <0>;
44201a91e01SAswath Govindraju		power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
44301a91e01SAswath Govindraju		clocks = <&k3_clks 78 0>;
44401a91e01SAswath Govindraju		clock-names = "gpio";
44501a91e01SAswath Govindraju	};
44601a91e01SAswath Govindraju
4478abae938SDave Gerlach	sdhci0: mmc@fa10000 {
4488abae938SDave Gerlach		compatible = "ti,am64-sdhci-8bit";
4498abae938SDave Gerlach		reg = <0x00 0xfa10000 0x00 0x260>, <0x00 0xfa18000 0x00 0x134>;
4508abae938SDave Gerlach		interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
4518abae938SDave Gerlach		power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
4528abae938SDave Gerlach		clocks = <&k3_clks 57 0>, <&k3_clks 57 1>;
4538abae938SDave Gerlach		clock-names = "clk_ahb", "clk_xin";
4548abae938SDave Gerlach		mmc-ddr-1_8v;
4558abae938SDave Gerlach		mmc-hs200-1_8v;
4568abae938SDave Gerlach		mmc-hs400-1_8v;
4578abae938SDave Gerlach		ti,trm-icp = <0x2>;
4588abae938SDave Gerlach		ti,otap-del-sel-legacy = <0x0>;
4598abae938SDave Gerlach		ti,otap-del-sel-mmc-hs = <0x0>;
4608abae938SDave Gerlach		ti,otap-del-sel-ddr52 = <0x6>;
4618abae938SDave Gerlach		ti,otap-del-sel-hs200 = <0x7>;
4628abae938SDave Gerlach		ti,otap-del-sel-hs400 = <0x4>;
4638abae938SDave Gerlach	};
4648abae938SDave Gerlach
4658abae938SDave Gerlach	sdhci1: mmc@fa00000 {
4668abae938SDave Gerlach		compatible = "ti,am64-sdhci-4bit";
4678abae938SDave Gerlach		reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>;
4688abae938SDave Gerlach		interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
4698abae938SDave Gerlach		power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
4708abae938SDave Gerlach		clocks = <&k3_clks 58 3>, <&k3_clks 58 4>;
4718abae938SDave Gerlach		clock-names = "clk_ahb", "clk_xin";
4728abae938SDave Gerlach		ti,trm-icp = <0x2>;
4738abae938SDave Gerlach		ti,otap-del-sel-legacy = <0x0>;
4748abae938SDave Gerlach		ti,otap-del-sel-sd-hs = <0xf>;
4758abae938SDave Gerlach		ti,otap-del-sel-sdr12 = <0xf>;
4768abae938SDave Gerlach		ti,otap-del-sel-sdr25 = <0xf>;
4778abae938SDave Gerlach		ti,otap-del-sel-sdr50 = <0xc>;
4788abae938SDave Gerlach		ti,otap-del-sel-sdr104 = <0x6>;
4798abae938SDave Gerlach		ti,otap-del-sel-ddr50 = <0x9>;
4808abae938SDave Gerlach		ti,clkbuf-sel = <0x7>;
4818abae938SDave Gerlach	};
4823753b128SVignesh Raghavendra
4833753b128SVignesh Raghavendra	cpsw3g: ethernet@8000000 {
4843753b128SVignesh Raghavendra		compatible = "ti,am642-cpsw-nuss";
4853753b128SVignesh Raghavendra		#address-cells = <2>;
4863753b128SVignesh Raghavendra		#size-cells = <2>;
4873753b128SVignesh Raghavendra		reg = <0x0 0x8000000 0x0 0x200000>;
4883753b128SVignesh Raghavendra		reg-names = "cpsw_nuss";
4893753b128SVignesh Raghavendra		ranges = <0x0 0x0 0x0 0x8000000 0x0 0x200000>;
4903753b128SVignesh Raghavendra		clocks = <&k3_clks 13 0>;
4913753b128SVignesh Raghavendra		assigned-clocks = <&k3_clks 13 1>;
4923753b128SVignesh Raghavendra		assigned-clock-parents = <&k3_clks 13 9>;
4933753b128SVignesh Raghavendra		clock-names = "fck";
4943753b128SVignesh Raghavendra		power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>;
4953753b128SVignesh Raghavendra
4963753b128SVignesh Raghavendra		dmas = <&main_pktdma 0xC500 15>,
4973753b128SVignesh Raghavendra		       <&main_pktdma 0xC501 15>,
4983753b128SVignesh Raghavendra		       <&main_pktdma 0xC502 15>,
4993753b128SVignesh Raghavendra		       <&main_pktdma 0xC503 15>,
5003753b128SVignesh Raghavendra		       <&main_pktdma 0xC504 15>,
5013753b128SVignesh Raghavendra		       <&main_pktdma 0xC505 15>,
5023753b128SVignesh Raghavendra		       <&main_pktdma 0xC506 15>,
5033753b128SVignesh Raghavendra		       <&main_pktdma 0xC507 15>,
5043753b128SVignesh Raghavendra		       <&main_pktdma 0x4500 15>;
5053753b128SVignesh Raghavendra		dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6",
5063753b128SVignesh Raghavendra			    "tx7", "rx";
5073753b128SVignesh Raghavendra
5083753b128SVignesh Raghavendra		ethernet-ports {
5093753b128SVignesh Raghavendra			#address-cells = <1>;
5103753b128SVignesh Raghavendra			#size-cells = <0>;
5113753b128SVignesh Raghavendra
5123753b128SVignesh Raghavendra			cpsw_port1: port@1 {
5133753b128SVignesh Raghavendra				reg = <1>;
5143753b128SVignesh Raghavendra				ti,mac-only;
5153753b128SVignesh Raghavendra				label = "port1";
5163753b128SVignesh Raghavendra				phys = <&phy_gmii_sel 1>;
51750c9bfcaSGrygorii Strashko				mac-address = [00 00 00 00 00 00];
51850c9bfcaSGrygorii Strashko				ti,syscon-efuse = <&main_conf 0x200>;
5193753b128SVignesh Raghavendra			};
5203753b128SVignesh Raghavendra
5213753b128SVignesh Raghavendra			cpsw_port2: port@2 {
5223753b128SVignesh Raghavendra				reg = <2>;
5233753b128SVignesh Raghavendra				ti,mac-only;
5243753b128SVignesh Raghavendra				label = "port2";
5253753b128SVignesh Raghavendra				phys = <&phy_gmii_sel 2>;
52650c9bfcaSGrygorii Strashko				mac-address = [00 00 00 00 00 00];
5273753b128SVignesh Raghavendra			};
5283753b128SVignesh Raghavendra		};
5293753b128SVignesh Raghavendra
5303753b128SVignesh Raghavendra		cpsw3g_mdio: mdio@f00 {
5313753b128SVignesh Raghavendra			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
5323753b128SVignesh Raghavendra			reg = <0x0 0xf00 0x0 0x100>;
5333753b128SVignesh Raghavendra			#address-cells = <1>;
5343753b128SVignesh Raghavendra			#size-cells = <0>;
5353753b128SVignesh Raghavendra			clocks = <&k3_clks 13 0>;
5363753b128SVignesh Raghavendra			clock-names = "fck";
5373753b128SVignesh Raghavendra			bus_freq = <1000000>;
5383753b128SVignesh Raghavendra		};
5393753b128SVignesh Raghavendra
5403753b128SVignesh Raghavendra		cpts@3d000 {
5413753b128SVignesh Raghavendra			compatible = "ti,j721e-cpts";
5423753b128SVignesh Raghavendra			reg = <0x0 0x3d000 0x0 0x400>;
5433753b128SVignesh Raghavendra			clocks = <&k3_clks 13 1>;
5443753b128SVignesh Raghavendra			clock-names = "cpts";
5453753b128SVignesh Raghavendra			interrupts-extended = <&gic500 GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
5463753b128SVignesh Raghavendra			interrupt-names = "cpts";
5473753b128SVignesh Raghavendra			ti,cpts-ext-ts-inputs = <4>;
5483753b128SVignesh Raghavendra			ti,cpts-periodic-outputs = <2>;
5493753b128SVignesh Raghavendra		};
5503753b128SVignesh Raghavendra	};
551e7ae26a3SGrygorii Strashko
552e7ae26a3SGrygorii Strashko	cpts@39000000 {
553e7ae26a3SGrygorii Strashko		compatible = "ti,j721e-cpts";
554e7ae26a3SGrygorii Strashko		reg = <0x0 0x39000000 0x0 0x400>;
555e7ae26a3SGrygorii Strashko		reg-names = "cpts";
556e7ae26a3SGrygorii Strashko		power-domains = <&k3_pds 84 TI_SCI_PD_EXCLUSIVE>;
557e7ae26a3SGrygorii Strashko		clocks = <&k3_clks 84 0>;
558e7ae26a3SGrygorii Strashko		clock-names = "cpts";
559e7ae26a3SGrygorii Strashko		assigned-clocks = <&k3_clks 84 0>;
560e7ae26a3SGrygorii Strashko		assigned-clock-parents = <&k3_clks 84 8>;
561e7ae26a3SGrygorii Strashko		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
562e7ae26a3SGrygorii Strashko		interrupt-names = "cpts";
563e7ae26a3SGrygorii Strashko		ti,cpts-periodic-outputs = <6>;
564e7ae26a3SGrygorii Strashko		ti,cpts-ext-ts-inputs = <8>;
565e7ae26a3SGrygorii Strashko	};
566d06a6613SAswath Govindraju
567*44226253SChristian Gmeiner	timesync_router: pinctrl@a40000 {
568*44226253SChristian Gmeiner		compatible = "pinctrl-single";
569*44226253SChristian Gmeiner		reg = <0x0 0xa40000 0x0 0x800>;
570*44226253SChristian Gmeiner		#pinctrl-cells = <1>;
571*44226253SChristian Gmeiner		pinctrl-single,register-width = <32>;
572*44226253SChristian Gmeiner		pinctrl-single,function-mask = <0x000107ff>;
573*44226253SChristian Gmeiner	};
574*44226253SChristian Gmeiner
575d06a6613SAswath Govindraju	usbss0: cdns-usb@f900000{
576d06a6613SAswath Govindraju		compatible = "ti,am64-usb";
577d06a6613SAswath Govindraju		reg = <0x00 0xf900000 0x00 0x100>;
578d06a6613SAswath Govindraju		power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>;
579d06a6613SAswath Govindraju		clocks = <&k3_clks 161 9>, <&k3_clks 161 1>;
580d06a6613SAswath Govindraju		clock-names = "ref", "lpm";
581d06a6613SAswath Govindraju		assigned-clocks = <&k3_clks 161 9>; /* USB2_REFCLK */
582d06a6613SAswath Govindraju		assigned-clock-parents = <&k3_clks 161 10>; /* HF0SC0 */
583d06a6613SAswath Govindraju		#address-cells = <2>;
584d06a6613SAswath Govindraju		#size-cells = <2>;
585d06a6613SAswath Govindraju		ranges;
586d06a6613SAswath Govindraju		usb0: usb@f400000{
587d06a6613SAswath Govindraju			compatible = "cdns,usb3";
588d06a6613SAswath Govindraju			reg = <0x00 0xf400000 0x00 0x10000>,
589d06a6613SAswath Govindraju			      <0x00 0xf410000 0x00 0x10000>,
590d06a6613SAswath Govindraju			      <0x00 0xf420000 0x00 0x10000>;
591d06a6613SAswath Govindraju			reg-names = "otg",
592d06a6613SAswath Govindraju				    "xhci",
593d06a6613SAswath Govindraju				    "dev";
594d06a6613SAswath Govindraju			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
595d06a6613SAswath Govindraju				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
596d06a6613SAswath Govindraju				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; /* otgirq */
597d06a6613SAswath Govindraju			interrupt-names = "host",
598d06a6613SAswath Govindraju					  "peripheral",
599d06a6613SAswath Govindraju					  "otg";
600d06a6613SAswath Govindraju			maximum-speed = "super-speed";
601d06a6613SAswath Govindraju			dr_mode = "otg";
602d06a6613SAswath Govindraju		};
603d06a6613SAswath Govindraju	};
604fad4e18fSVignesh Raghavendra
605fad4e18fSVignesh Raghavendra	tscadc0: tscadc@28001000 {
606fad4e18fSVignesh Raghavendra		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
607fad4e18fSVignesh Raghavendra		reg = <0x00 0x28001000 0x00 0x1000>;
608fad4e18fSVignesh Raghavendra		interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
609fad4e18fSVignesh Raghavendra		power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
610fad4e18fSVignesh Raghavendra		clocks = <&k3_clks 0 0>;
611fad4e18fSVignesh Raghavendra		assigned-clocks = <&k3_clks 0 0>;
612fad4e18fSVignesh Raghavendra		assigned-clock-parents = <&k3_clks 0 3>;
613fad4e18fSVignesh Raghavendra		assigned-clock-rates = <60000000>;
614fad4e18fSVignesh Raghavendra		clock-names = "adc_tsc_fck";
615fad4e18fSVignesh Raghavendra
616fad4e18fSVignesh Raghavendra		adc {
617fad4e18fSVignesh Raghavendra			#io-channel-cells = <1>;
618fad4e18fSVignesh Raghavendra			compatible = "ti,am654-adc", "ti,am3359-adc";
619fad4e18fSVignesh Raghavendra		};
620fad4e18fSVignesh Raghavendra	};
62181623c55SVignesh Raghavendra
62281623c55SVignesh Raghavendra	fss: bus@fc00000 {
62381623c55SVignesh Raghavendra		compatible = "simple-bus";
62481623c55SVignesh Raghavendra		reg = <0x00 0x0fc00000 0x00 0x70000>;
62581623c55SVignesh Raghavendra		#address-cells = <2>;
62681623c55SVignesh Raghavendra		#size-cells = <2>;
62781623c55SVignesh Raghavendra		ranges;
62881623c55SVignesh Raghavendra
62981623c55SVignesh Raghavendra		ospi0: spi@fc40000 {
630112e5934SPratyush Yadav			compatible = "ti,am654-ospi", "cdns,qspi-nor";
63181623c55SVignesh Raghavendra			reg = <0x00 0x0fc40000 0x00 0x100>,
63281623c55SVignesh Raghavendra			      <0x05 0x00000000 0x01 0x00000000>;
63381623c55SVignesh Raghavendra			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
63481623c55SVignesh Raghavendra			cdns,fifo-depth = <256>;
63581623c55SVignesh Raghavendra			cdns,fifo-width = <4>;
63681623c55SVignesh Raghavendra			cdns,trigger-address = <0x0>;
63781623c55SVignesh Raghavendra			#address-cells = <0x1>;
63881623c55SVignesh Raghavendra			#size-cells = <0x0>;
63981623c55SVignesh Raghavendra			clocks = <&k3_clks 75 6>;
64081623c55SVignesh Raghavendra			assigned-clocks = <&k3_clks 75 6>;
64181623c55SVignesh Raghavendra			assigned-clock-parents = <&k3_clks 75 7>;
64281623c55SVignesh Raghavendra			assigned-clock-rates = <166666666>;
64381623c55SVignesh Raghavendra			power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
64481623c55SVignesh Raghavendra		};
64581623c55SVignesh Raghavendra	};
6468248d5b3SSuman Anna
6478248d5b3SSuman Anna	hwspinlock: spinlock@2a000000 {
6488248d5b3SSuman Anna		compatible = "ti,am64-hwspinlock";
6498248d5b3SSuman Anna		reg = <0x00 0x2a000000 0x00 0x1000>;
6508248d5b3SSuman Anna		#hwlock-cells = <1>;
6518248d5b3SSuman Anna	};
652ef152576SSuman Anna
653ef152576SSuman Anna	mailbox0_cluster2: mailbox@29020000 {
654ef152576SSuman Anna		compatible = "ti,am64-mailbox";
655ef152576SSuman Anna		reg = <0x00 0x29020000 0x00 0x200>;
656ef152576SSuman Anna		interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
657ef152576SSuman Anna			     <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
658ef152576SSuman Anna		#mbox-cells = <1>;
659ef152576SSuman Anna		ti,mbox-num-users = <4>;
660ef152576SSuman Anna		ti,mbox-num-fifos = <16>;
661ef152576SSuman Anna	};
662ef152576SSuman Anna
663ef152576SSuman Anna	mailbox0_cluster3: mailbox@29030000 {
664ef152576SSuman Anna		compatible = "ti,am64-mailbox";
665ef152576SSuman Anna		reg = <0x00 0x29030000 0x00 0x200>;
666ef152576SSuman Anna		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
667ef152576SSuman Anna			     <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
668ef152576SSuman Anna		#mbox-cells = <1>;
669ef152576SSuman Anna		ti,mbox-num-users = <4>;
670ef152576SSuman Anna		ti,mbox-num-fifos = <16>;
671ef152576SSuman Anna	};
672ef152576SSuman Anna
673ef152576SSuman Anna	mailbox0_cluster4: mailbox@29040000 {
674ef152576SSuman Anna		compatible = "ti,am64-mailbox";
675ef152576SSuman Anna		reg = <0x00 0x29040000 0x00 0x200>;
676ef152576SSuman Anna		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
677ef152576SSuman Anna			     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
678ef152576SSuman Anna		#mbox-cells = <1>;
679ef152576SSuman Anna		ti,mbox-num-users = <4>;
680ef152576SSuman Anna		ti,mbox-num-fifos = <16>;
681ef152576SSuman Anna	};
682ef152576SSuman Anna
683ef152576SSuman Anna	mailbox0_cluster5: mailbox@29050000 {
684ef152576SSuman Anna		compatible = "ti,am64-mailbox";
685ef152576SSuman Anna		reg = <0x00 0x29050000 0x00 0x200>;
686ef152576SSuman Anna		interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
687ef152576SSuman Anna			     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
688ef152576SSuman Anna		#mbox-cells = <1>;
689ef152576SSuman Anna		ti,mbox-num-users = <4>;
690ef152576SSuman Anna		ti,mbox-num-fifos = <16>;
691ef152576SSuman Anna	};
692ef152576SSuman Anna
693ef152576SSuman Anna	mailbox0_cluster6: mailbox@29060000 {
694ef152576SSuman Anna		compatible = "ti,am64-mailbox";
695ef152576SSuman Anna		reg = <0x00 0x29060000 0x00 0x200>;
696ef152576SSuman Anna		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
697ef152576SSuman Anna		#mbox-cells = <1>;
698ef152576SSuman Anna		ti,mbox-num-users = <4>;
699ef152576SSuman Anna		ti,mbox-num-fifos = <16>;
700ef152576SSuman Anna	};
701ef152576SSuman Anna
702ef152576SSuman Anna	mailbox0_cluster7: mailbox@29070000 {
703ef152576SSuman Anna		compatible = "ti,am64-mailbox";
704ef152576SSuman Anna		reg = <0x00 0x29070000 0x00 0x200>;
705ef152576SSuman Anna		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
706ef152576SSuman Anna		#mbox-cells = <1>;
707ef152576SSuman Anna		ti,mbox-num-users = <4>;
708ef152576SSuman Anna		ti,mbox-num-fifos = <16>;
709ef152576SSuman Anna	};
71068fefbfeSKishon Vijay Abraham I
711a4f221cdSSuman Anna	main_r5fss0: r5fss@78000000 {
712a4f221cdSSuman Anna		compatible = "ti,am64-r5fss";
713a4f221cdSSuman Anna		ti,cluster-mode = <0>;
714a4f221cdSSuman Anna		#address-cells = <1>;
715a4f221cdSSuman Anna		#size-cells = <1>;
716a4f221cdSSuman Anna		ranges = <0x78000000 0x00 0x78000000 0x10000>,
717a4f221cdSSuman Anna			 <0x78100000 0x00 0x78100000 0x10000>,
718a4f221cdSSuman Anna			 <0x78200000 0x00 0x78200000 0x08000>,
719a4f221cdSSuman Anna			 <0x78300000 0x00 0x78300000 0x08000>;
720a4f221cdSSuman Anna		power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
721a4f221cdSSuman Anna
722a4f221cdSSuman Anna		main_r5fss0_core0: r5f@78000000 {
723a4f221cdSSuman Anna			compatible = "ti,am64-r5f";
724a4f221cdSSuman Anna			reg = <0x78000000 0x00010000>,
725a4f221cdSSuman Anna			      <0x78100000 0x00010000>;
726a4f221cdSSuman Anna			reg-names = "atcm", "btcm";
727a4f221cdSSuman Anna			ti,sci = <&dmsc>;
728a4f221cdSSuman Anna			ti,sci-dev-id = <121>;
729a4f221cdSSuman Anna			ti,sci-proc-ids = <0x01 0xff>;
730a4f221cdSSuman Anna			resets = <&k3_reset 121 1>;
731a4f221cdSSuman Anna			firmware-name = "am64-main-r5f0_0-fw";
732a4f221cdSSuman Anna			ti,atcm-enable = <1>;
733a4f221cdSSuman Anna			ti,btcm-enable = <1>;
734a4f221cdSSuman Anna			ti,loczrama = <1>;
735a4f221cdSSuman Anna		};
736a4f221cdSSuman Anna
737a4f221cdSSuman Anna		main_r5fss0_core1: r5f@78200000 {
738a4f221cdSSuman Anna			compatible = "ti,am64-r5f";
739a4f221cdSSuman Anna			reg = <0x78200000 0x00008000>,
740a4f221cdSSuman Anna			      <0x78300000 0x00008000>;
741a4f221cdSSuman Anna			reg-names = "atcm", "btcm";
742a4f221cdSSuman Anna			ti,sci = <&dmsc>;
743a4f221cdSSuman Anna			ti,sci-dev-id = <122>;
744a4f221cdSSuman Anna			ti,sci-proc-ids = <0x02 0xff>;
745a4f221cdSSuman Anna			resets = <&k3_reset 122 1>;
746a4f221cdSSuman Anna			firmware-name = "am64-main-r5f0_1-fw";
747a4f221cdSSuman Anna			ti,atcm-enable = <1>;
748a4f221cdSSuman Anna			ti,btcm-enable = <1>;
749a4f221cdSSuman Anna			ti,loczrama = <1>;
750a4f221cdSSuman Anna		};
751a4f221cdSSuman Anna	};
752a4f221cdSSuman Anna
753a4f221cdSSuman Anna	main_r5fss1: r5fss@78400000 {
754a4f221cdSSuman Anna		compatible = "ti,am64-r5fss";
755a4f221cdSSuman Anna		ti,cluster-mode = <0>;
756a4f221cdSSuman Anna		#address-cells = <1>;
757a4f221cdSSuman Anna		#size-cells = <1>;
758a4f221cdSSuman Anna		ranges = <0x78400000 0x00 0x78400000 0x10000>,
759a4f221cdSSuman Anna			 <0x78500000 0x00 0x78500000 0x10000>,
760a4f221cdSSuman Anna			 <0x78600000 0x00 0x78600000 0x08000>,
761a4f221cdSSuman Anna			 <0x78700000 0x00 0x78700000 0x08000>;
762a4f221cdSSuman Anna		power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
763a4f221cdSSuman Anna
764a4f221cdSSuman Anna		main_r5fss1_core0: r5f@78400000 {
765a4f221cdSSuman Anna			compatible = "ti,am64-r5f";
766a4f221cdSSuman Anna			reg = <0x78400000 0x00010000>,
767a4f221cdSSuman Anna			      <0x78500000 0x00010000>;
768a4f221cdSSuman Anna			reg-names = "atcm", "btcm";
769a4f221cdSSuman Anna			ti,sci = <&dmsc>;
770a4f221cdSSuman Anna			ti,sci-dev-id = <123>;
771a4f221cdSSuman Anna			ti,sci-proc-ids = <0x06 0xff>;
772a4f221cdSSuman Anna			resets = <&k3_reset 123 1>;
773a4f221cdSSuman Anna			firmware-name = "am64-main-r5f1_0-fw";
774a4f221cdSSuman Anna			ti,atcm-enable = <1>;
775a4f221cdSSuman Anna			ti,btcm-enable = <1>;
776a4f221cdSSuman Anna			ti,loczrama = <1>;
777a4f221cdSSuman Anna		};
778a4f221cdSSuman Anna
779a4f221cdSSuman Anna		main_r5fss1_core1: r5f@78600000 {
780a4f221cdSSuman Anna			compatible = "ti,am64-r5f";
781a4f221cdSSuman Anna			reg = <0x78600000 0x00008000>,
782a4f221cdSSuman Anna			      <0x78700000 0x00008000>;
783a4f221cdSSuman Anna			reg-names = "atcm", "btcm";
784a4f221cdSSuman Anna			ti,sci = <&dmsc>;
785a4f221cdSSuman Anna			ti,sci-dev-id = <124>;
786a4f221cdSSuman Anna			ti,sci-proc-ids = <0x07 0xff>;
787a4f221cdSSuman Anna			resets = <&k3_reset 124 1>;
788a4f221cdSSuman Anna			firmware-name = "am64-main-r5f1_1-fw";
789a4f221cdSSuman Anna			ti,atcm-enable = <1>;
790a4f221cdSSuman Anna			ti,btcm-enable = <1>;
791a4f221cdSSuman Anna			ti,loczrama = <1>;
792a4f221cdSSuman Anna		};
793a4f221cdSSuman Anna	};
794a4f221cdSSuman Anna
79568fefbfeSKishon Vijay Abraham I	serdes_wiz0: wiz@f000000 {
79668fefbfeSKishon Vijay Abraham I		compatible = "ti,am64-wiz-10g";
79768fefbfeSKishon Vijay Abraham I		#address-cells = <1>;
79868fefbfeSKishon Vijay Abraham I		#size-cells = <1>;
79968fefbfeSKishon Vijay Abraham I		power-domains = <&k3_pds 162 TI_SCI_PD_EXCLUSIVE>;
80068fefbfeSKishon Vijay Abraham I		clocks = <&k3_clks 162 0>, <&k3_clks 162 1>, <&serdes_refclk>;
80168fefbfeSKishon Vijay Abraham I		clock-names = "fck", "core_ref_clk", "ext_ref_clk";
80268fefbfeSKishon Vijay Abraham I		num-lanes = <1>;
80368fefbfeSKishon Vijay Abraham I		#reset-cells = <1>;
80468fefbfeSKishon Vijay Abraham I		#clock-cells = <1>;
80568fefbfeSKishon Vijay Abraham I		ranges = <0x0f000000 0x0 0x0f000000 0x00010000>;
80668fefbfeSKishon Vijay Abraham I
80768fefbfeSKishon Vijay Abraham I		assigned-clocks = <&k3_clks 162 1>;
80868fefbfeSKishon Vijay Abraham I		assigned-clock-parents = <&k3_clks 162 5>;
80968fefbfeSKishon Vijay Abraham I
81068fefbfeSKishon Vijay Abraham I		serdes0: serdes@f000000 {
81168fefbfeSKishon Vijay Abraham I			compatible = "ti,j721e-serdes-10g";
81268fefbfeSKishon Vijay Abraham I			reg = <0x0f000000 0x00010000>;
81368fefbfeSKishon Vijay Abraham I			reg-names = "torrent_phy";
81468fefbfeSKishon Vijay Abraham I			resets = <&serdes_wiz0 0>;
81568fefbfeSKishon Vijay Abraham I			reset-names = "torrent_reset";
81668fefbfeSKishon Vijay Abraham I			clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>,
81768fefbfeSKishon Vijay Abraham I				 <&serdes_wiz0 TI_WIZ_PHY_EN_REFCLK>;
81868fefbfeSKishon Vijay Abraham I			clock-names = "refclk", "phy_en_refclk";
81968fefbfeSKishon Vijay Abraham I			assigned-clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>,
82068fefbfeSKishon Vijay Abraham I					  <&serdes_wiz0 TI_WIZ_PLL1_REFCLK>,
82168fefbfeSKishon Vijay Abraham I					  <&serdes_wiz0 TI_WIZ_REFCLK_DIG>;
82268fefbfeSKishon Vijay Abraham I			assigned-clock-parents = <&k3_clks 162 1>,
82368fefbfeSKishon Vijay Abraham I						 <&k3_clks 162 1>,
82468fefbfeSKishon Vijay Abraham I						 <&k3_clks 162 1>;
82568fefbfeSKishon Vijay Abraham I			#address-cells = <1>;
82668fefbfeSKishon Vijay Abraham I			#size-cells = <0>;
82768fefbfeSKishon Vijay Abraham I			#clock-cells = <1>;
82868fefbfeSKishon Vijay Abraham I		};
82968fefbfeSKishon Vijay Abraham I	};
8304a868bffSKishon Vijay Abraham I
8314a868bffSKishon Vijay Abraham I	pcie0_rc: pcie@f102000 {
8324a868bffSKishon Vijay Abraham I		compatible = "ti,am64-pcie-host", "ti,j721e-pcie-host";
8334a868bffSKishon Vijay Abraham I		reg = <0x00 0x0f102000 0x00 0x1000>,
8344a868bffSKishon Vijay Abraham I		      <0x00 0x0f100000 0x00 0x400>,
8354a868bffSKishon Vijay Abraham I		      <0x00 0x0d000000 0x00 0x00800000>,
8364a868bffSKishon Vijay Abraham I		      <0x00 0x68000000 0x00 0x00001000>;
8374a868bffSKishon Vijay Abraham I		reg-names = "intd_cfg", "user_cfg", "reg", "cfg";
8384a868bffSKishon Vijay Abraham I		interrupt-names = "link_state";
8394a868bffSKishon Vijay Abraham I		interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
8404a868bffSKishon Vijay Abraham I		device_type = "pci";
8414a868bffSKishon Vijay Abraham I		ti,syscon-pcie-ctrl = <&main_conf 0x4070>;
8424a868bffSKishon Vijay Abraham I		max-link-speed = <2>;
8434a868bffSKishon Vijay Abraham I		num-lanes = <1>;
8444a868bffSKishon Vijay Abraham I		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
8454a868bffSKishon Vijay Abraham I		clocks = <&k3_clks 114 0>, <&serdes0 CDNS_TORRENT_REFCLK_DRIVER>;
8464a868bffSKishon Vijay Abraham I		clock-names = "fck", "pcie_refclk";
8474a868bffSKishon Vijay Abraham I		#address-cells = <3>;
8484a868bffSKishon Vijay Abraham I		#size-cells = <2>;
8494a868bffSKishon Vijay Abraham I		bus-range = <0x0 0xff>;
8504a868bffSKishon Vijay Abraham I		cdns,no-bar-match-nbits = <64>;
8514a868bffSKishon Vijay Abraham I		vendor-id = <0x104c>;
8524a868bffSKishon Vijay Abraham I		device-id = <0xb010>;
8534a868bffSKishon Vijay Abraham I		msi-map = <0x0 &gic_its 0x0 0x10000>;
8544a868bffSKishon Vijay Abraham I		ranges = <0x01000000 0x00 0x68001000  0x00 0x68001000  0x00 0x0010000>,
8554a868bffSKishon Vijay Abraham I			 <0x02000000 0x00 0x68011000  0x00 0x68011000  0x00 0x7fef000>;
8564a868bffSKishon Vijay Abraham I		dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x00000010 0x0>;
8574a868bffSKishon Vijay Abraham I	};
8584a868bffSKishon Vijay Abraham I
8594a868bffSKishon Vijay Abraham I	pcie0_ep: pcie-ep@f102000 {
8604a868bffSKishon Vijay Abraham I		compatible = "ti,am64-pcie-ep", "ti,j721e-pcie-ep";
8614a868bffSKishon Vijay Abraham I		reg = <0x00 0x0f102000 0x00 0x1000>,
8624a868bffSKishon Vijay Abraham I		      <0x00 0x0f100000 0x00 0x400>,
8634a868bffSKishon Vijay Abraham I		      <0x00 0x0d000000 0x00 0x00800000>,
8644a868bffSKishon Vijay Abraham I		      <0x00 0x68000000 0x00 0x08000000>;
8654a868bffSKishon Vijay Abraham I		reg-names = "intd_cfg", "user_cfg", "reg", "mem";
8664a868bffSKishon Vijay Abraham I		interrupt-names = "link_state";
8674a868bffSKishon Vijay Abraham I		interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
8684a868bffSKishon Vijay Abraham I		ti,syscon-pcie-ctrl = <&main_conf 0x4070>;
8694a868bffSKishon Vijay Abraham I		max-link-speed = <2>;
8704a868bffSKishon Vijay Abraham I		num-lanes = <1>;
8714a868bffSKishon Vijay Abraham I		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
8724a868bffSKishon Vijay Abraham I		clocks = <&k3_clks 114 0>;
8734a868bffSKishon Vijay Abraham I		clock-names = "fck";
8744a868bffSKishon Vijay Abraham I		max-functions = /bits/ 8 <1>;
8754a868bffSKishon Vijay Abraham I	};
87613a9a3efSLokesh Vutla
87713a9a3efSLokesh Vutla	epwm0: pwm@23000000 {
87813a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
87913a9a3efSLokesh Vutla		#pwm-cells = <3>;
88013a9a3efSLokesh Vutla		reg = <0x0 0x23000000 0x0 0x100>;
88113a9a3efSLokesh Vutla		power-domains = <&k3_pds 86 TI_SCI_PD_EXCLUSIVE>;
88213a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 0>, <&k3_clks 86 0>;
88313a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
88413a9a3efSLokesh Vutla	};
88513a9a3efSLokesh Vutla
88613a9a3efSLokesh Vutla	epwm1: pwm@23010000 {
88713a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
88813a9a3efSLokesh Vutla		#pwm-cells = <3>;
88913a9a3efSLokesh Vutla		reg = <0x0 0x23010000 0x0 0x100>;
89013a9a3efSLokesh Vutla		power-domains = <&k3_pds 87 TI_SCI_PD_EXCLUSIVE>;
89113a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 1>, <&k3_clks 87 0>;
89213a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
89313a9a3efSLokesh Vutla	};
89413a9a3efSLokesh Vutla
89513a9a3efSLokesh Vutla	epwm2: pwm@23020000 {
89613a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
89713a9a3efSLokesh Vutla		#pwm-cells = <3>;
89813a9a3efSLokesh Vutla		reg = <0x0 0x23020000 0x0 0x100>;
89913a9a3efSLokesh Vutla		power-domains = <&k3_pds 88 TI_SCI_PD_EXCLUSIVE>;
90013a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 2>, <&k3_clks 88 0>;
90113a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
90213a9a3efSLokesh Vutla	};
90313a9a3efSLokesh Vutla
90413a9a3efSLokesh Vutla	epwm3: pwm@23030000 {
90513a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
90613a9a3efSLokesh Vutla		#pwm-cells = <3>;
90713a9a3efSLokesh Vutla		reg = <0x0 0x23030000 0x0 0x100>;
90813a9a3efSLokesh Vutla		power-domains = <&k3_pds 89 TI_SCI_PD_EXCLUSIVE>;
90913a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 3>, <&k3_clks 89 0>;
91013a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
91113a9a3efSLokesh Vutla	};
91213a9a3efSLokesh Vutla
91313a9a3efSLokesh Vutla	epwm4: pwm@23040000 {
91413a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
91513a9a3efSLokesh Vutla		#pwm-cells = <3>;
91613a9a3efSLokesh Vutla		reg = <0x0 0x23040000 0x0 0x100>;
91713a9a3efSLokesh Vutla		power-domains = <&k3_pds 90 TI_SCI_PD_EXCLUSIVE>;
91813a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 4>, <&k3_clks 90 0>;
91913a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
92013a9a3efSLokesh Vutla	};
92113a9a3efSLokesh Vutla
92213a9a3efSLokesh Vutla	epwm5: pwm@23050000 {
92313a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
92413a9a3efSLokesh Vutla		#pwm-cells = <3>;
92513a9a3efSLokesh Vutla		reg = <0x0 0x23050000 0x0 0x100>;
92613a9a3efSLokesh Vutla		power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
92713a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 5>, <&k3_clks 91 0>;
92813a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
92913a9a3efSLokesh Vutla	};
93013a9a3efSLokesh Vutla
93113a9a3efSLokesh Vutla	epwm6: pwm@23060000 {
93213a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
93313a9a3efSLokesh Vutla		#pwm-cells = <3>;
93413a9a3efSLokesh Vutla		reg = <0x0 0x23060000 0x0 0x100>;
93513a9a3efSLokesh Vutla		power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>;
93613a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 6>, <&k3_clks 92 0>;
93713a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
93813a9a3efSLokesh Vutla	};
93913a9a3efSLokesh Vutla
94013a9a3efSLokesh Vutla	epwm7: pwm@23070000 {
94113a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
94213a9a3efSLokesh Vutla		#pwm-cells = <3>;
94313a9a3efSLokesh Vutla		reg = <0x0 0x23070000 0x0 0x100>;
94413a9a3efSLokesh Vutla		power-domains = <&k3_pds 93 TI_SCI_PD_EXCLUSIVE>;
94513a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 7>, <&k3_clks 93 0>;
94613a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
94713a9a3efSLokesh Vutla	};
94813a9a3efSLokesh Vutla
94913a9a3efSLokesh Vutla	epwm8: pwm@23080000 {
95013a9a3efSLokesh Vutla		compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
95113a9a3efSLokesh Vutla		#pwm-cells = <3>;
95213a9a3efSLokesh Vutla		reg = <0x0 0x23080000 0x0 0x100>;
95313a9a3efSLokesh Vutla		power-domains = <&k3_pds 94 TI_SCI_PD_EXCLUSIVE>;
95413a9a3efSLokesh Vutla		clocks = <&epwm_tbclk 8>, <&k3_clks 94 0>;
95513a9a3efSLokesh Vutla		clock-names = "tbclk", "fck";
95613a9a3efSLokesh Vutla	};
957ae0df139SLokesh Vutla
958ae0df139SLokesh Vutla	ecap0: pwm@23100000 {
959ae0df139SLokesh Vutla		compatible = "ti,am64-ecap", "ti,am3352-ecap";
960ae0df139SLokesh Vutla		#pwm-cells = <3>;
961ae0df139SLokesh Vutla		reg = <0x0 0x23100000 0x0 0x60>;
962ae0df139SLokesh Vutla		power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
963ae0df139SLokesh Vutla		clocks = <&k3_clks 51 0>;
964ae0df139SLokesh Vutla		clock-names = "fck";
965ae0df139SLokesh Vutla	};
966ae0df139SLokesh Vutla
967ae0df139SLokesh Vutla	ecap1: pwm@23110000 {
968ae0df139SLokesh Vutla		compatible = "ti,am64-ecap", "ti,am3352-ecap";
969ae0df139SLokesh Vutla		#pwm-cells = <3>;
970ae0df139SLokesh Vutla		reg = <0x0 0x23110000 0x0 0x60>;
971ae0df139SLokesh Vutla		power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>;
972ae0df139SLokesh Vutla		clocks = <&k3_clks 52 0>;
973ae0df139SLokesh Vutla		clock-names = "fck";
974ae0df139SLokesh Vutla	};
975ae0df139SLokesh Vutla
976ae0df139SLokesh Vutla	ecap2: pwm@23120000 {
977ae0df139SLokesh Vutla		compatible = "ti,am64-ecap", "ti,am3352-ecap";
978ae0df139SLokesh Vutla		#pwm-cells = <3>;
979ae0df139SLokesh Vutla		reg = <0x0 0x23120000 0x0 0x60>;
980ae0df139SLokesh Vutla		power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>;
981ae0df139SLokesh Vutla		clocks = <&k3_clks 53 0>;
982ae0df139SLokesh Vutla		clock-names = "fck";
983ae0df139SLokesh Vutla	};
984c9087e38SSuman Anna
985c9087e38SSuman Anna	icssg0: icssg@30000000 {
986c9087e38SSuman Anna		compatible = "ti,am642-icssg";
987c9087e38SSuman Anna		reg = <0x00 0x30000000 0x00 0x80000>;
988c9087e38SSuman Anna		power-domains = <&k3_pds 81 TI_SCI_PD_EXCLUSIVE>;
989c9087e38SSuman Anna		#address-cells = <1>;
990c9087e38SSuman Anna		#size-cells = <1>;
991c9087e38SSuman Anna		ranges = <0x0 0x00 0x30000000 0x80000>;
992c9087e38SSuman Anna
993c9087e38SSuman Anna		icssg0_mem: memories@0 {
994c9087e38SSuman Anna			reg = <0x0 0x2000>,
995c9087e38SSuman Anna			      <0x2000 0x2000>,
996c9087e38SSuman Anna			      <0x10000 0x10000>;
997c9087e38SSuman Anna			reg-names = "dram0", "dram1", "shrdram2";
998c9087e38SSuman Anna		};
999c9087e38SSuman Anna
1000c9087e38SSuman Anna		icssg0_cfg: cfg@26000 {
1001c9087e38SSuman Anna			compatible = "ti,pruss-cfg", "syscon";
1002c9087e38SSuman Anna			reg = <0x26000 0x200>;
1003c9087e38SSuman Anna			#address-cells = <1>;
1004c9087e38SSuman Anna			#size-cells = <1>;
1005c9087e38SSuman Anna			ranges = <0x0 0x26000 0x2000>;
1006c9087e38SSuman Anna
1007c9087e38SSuman Anna			clocks {
1008c9087e38SSuman Anna				#address-cells = <1>;
1009c9087e38SSuman Anna				#size-cells = <0>;
1010c9087e38SSuman Anna
1011c9087e38SSuman Anna				icssg0_coreclk_mux: coreclk-mux@3c {
1012c9087e38SSuman Anna					reg = <0x3c>;
1013c9087e38SSuman Anna					#clock-cells = <0>;
1014c9087e38SSuman Anna					clocks = <&k3_clks 81 0>,  /* icssg0_core_clk */
1015c9087e38SSuman Anna						 <&k3_clks 81 20>; /* icssg0_iclk */
1016c9087e38SSuman Anna					assigned-clocks = <&icssg0_coreclk_mux>;
1017c9087e38SSuman Anna					assigned-clock-parents = <&k3_clks 81 20>;
1018c9087e38SSuman Anna				};
1019c9087e38SSuman Anna
1020c9087e38SSuman Anna				icssg0_iepclk_mux: iepclk-mux@30 {
1021c9087e38SSuman Anna					reg = <0x30>;
1022c9087e38SSuman Anna					#clock-cells = <0>;
1023c9087e38SSuman Anna					clocks = <&k3_clks 81 3>,	/* icssg0_iep_clk */
1024c9087e38SSuman Anna						 <&icssg0_coreclk_mux>;	/* icssg0_coreclk_mux */
1025c9087e38SSuman Anna					assigned-clocks = <&icssg0_iepclk_mux>;
1026c9087e38SSuman Anna					assigned-clock-parents = <&icssg0_coreclk_mux>;
1027c9087e38SSuman Anna				};
1028c9087e38SSuman Anna			};
1029c9087e38SSuman Anna		};
1030c9087e38SSuman Anna
1031c9087e38SSuman Anna		icssg0_mii_rt: mii-rt@32000 {
1032c9087e38SSuman Anna			compatible = "ti,pruss-mii", "syscon";
1033c9087e38SSuman Anna			reg = <0x32000 0x100>;
1034c9087e38SSuman Anna		};
1035c9087e38SSuman Anna
1036c9087e38SSuman Anna		icssg0_mii_g_rt: mii-g-rt@33000 {
1037c9087e38SSuman Anna			compatible = "ti,pruss-mii-g", "syscon";
1038c9087e38SSuman Anna			reg = <0x33000 0x1000>;
1039c9087e38SSuman Anna		};
1040c9087e38SSuman Anna
1041c9087e38SSuman Anna		icssg0_intc: interrupt-controller@20000 {
1042c9087e38SSuman Anna			compatible = "ti,icssg-intc";
1043c9087e38SSuman Anna			reg = <0x20000 0x2000>;
1044c9087e38SSuman Anna			interrupt-controller;
1045c9087e38SSuman Anna			#interrupt-cells = <3>;
1046c9087e38SSuman Anna			interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1047c9087e38SSuman Anna				     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
1048c9087e38SSuman Anna				     <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
1049c9087e38SSuman Anna				     <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
1050c9087e38SSuman Anna				     <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
1051c9087e38SSuman Anna				     <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
1052c9087e38SSuman Anna				     <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
1053c9087e38SSuman Anna				     <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
1054c9087e38SSuman Anna			interrupt-names = "host_intr0", "host_intr1",
1055c9087e38SSuman Anna					  "host_intr2", "host_intr3",
1056c9087e38SSuman Anna					  "host_intr4", "host_intr5",
1057c9087e38SSuman Anna					  "host_intr6", "host_intr7";
1058c9087e38SSuman Anna		};
1059c9087e38SSuman Anna
1060c9087e38SSuman Anna		pru0_0: pru@34000 {
1061c9087e38SSuman Anna			compatible = "ti,am642-pru";
1062c9087e38SSuman Anna			reg = <0x34000 0x3000>,
1063c9087e38SSuman Anna			      <0x22000 0x100>,
1064c9087e38SSuman Anna			      <0x22400 0x100>;
1065c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1066c9087e38SSuman Anna			firmware-name = "am64x-pru0_0-fw";
1067c9087e38SSuman Anna		};
1068c9087e38SSuman Anna
1069c9087e38SSuman Anna		rtu0_0: rtu@4000 {
1070c9087e38SSuman Anna			compatible = "ti,am642-rtu";
1071c9087e38SSuman Anna			reg = <0x4000 0x2000>,
1072c9087e38SSuman Anna			      <0x23000 0x100>,
1073c9087e38SSuman Anna			      <0x23400 0x100>;
1074c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1075c9087e38SSuman Anna			firmware-name = "am64x-rtu0_0-fw";
1076c9087e38SSuman Anna		};
1077c9087e38SSuman Anna
1078c9087e38SSuman Anna		tx_pru0_0: txpru@a000 {
1079c9087e38SSuman Anna			compatible = "ti,am642-tx-pru";
1080c9087e38SSuman Anna			reg = <0xa000 0x1800>,
1081c9087e38SSuman Anna			      <0x25000 0x100>,
1082c9087e38SSuman Anna			      <0x25400 0x100>;
1083c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1084c9087e38SSuman Anna			firmware-name = "am64x-txpru0_0-fw";
1085c9087e38SSuman Anna		};
1086c9087e38SSuman Anna
1087c9087e38SSuman Anna		pru0_1: pru@38000 {
1088c9087e38SSuman Anna			compatible = "ti,am642-pru";
1089c9087e38SSuman Anna			reg = <0x38000 0x3000>,
1090c9087e38SSuman Anna			      <0x24000 0x100>,
1091c9087e38SSuman Anna			      <0x24400 0x100>;
1092c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1093c9087e38SSuman Anna			firmware-name = "am64x-pru0_1-fw";
1094c9087e38SSuman Anna		};
1095c9087e38SSuman Anna
1096c9087e38SSuman Anna		rtu0_1: rtu@6000 {
1097c9087e38SSuman Anna			compatible = "ti,am642-rtu";
1098c9087e38SSuman Anna			reg = <0x6000 0x2000>,
1099c9087e38SSuman Anna			      <0x23800 0x100>,
1100c9087e38SSuman Anna			      <0x23c00 0x100>;
1101c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1102c9087e38SSuman Anna			firmware-name = "am64x-rtu0_1-fw";
1103c9087e38SSuman Anna		};
1104c9087e38SSuman Anna
1105c9087e38SSuman Anna		tx_pru0_1: txpru@c000 {
1106c9087e38SSuman Anna			compatible = "ti,am642-tx-pru";
1107c9087e38SSuman Anna			reg = <0xc000 0x1800>,
1108c9087e38SSuman Anna			      <0x25800 0x100>,
1109c9087e38SSuman Anna			      <0x25c00 0x100>;
1110c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1111c9087e38SSuman Anna			firmware-name = "am64x-txpru0_1-fw";
1112c9087e38SSuman Anna		};
1113c9087e38SSuman Anna
1114c9087e38SSuman Anna		icssg0_mdio: mdio@32400 {
1115c9087e38SSuman Anna			compatible = "ti,davinci_mdio";
1116c9087e38SSuman Anna			reg = <0x32400 0x100>;
1117c9087e38SSuman Anna			clocks = <&k3_clks 62 3>;
1118c9087e38SSuman Anna			clock-names = "fck";
1119c9087e38SSuman Anna			#address-cells = <1>;
1120c9087e38SSuman Anna			#size-cells = <0>;
1121c9087e38SSuman Anna			bus_freq = <1000000>;
1122c9087e38SSuman Anna		};
1123c9087e38SSuman Anna	};
1124c9087e38SSuman Anna
1125c9087e38SSuman Anna	icssg1: icssg@30080000 {
1126c9087e38SSuman Anna		compatible = "ti,am642-icssg";
1127c9087e38SSuman Anna		reg = <0x00 0x30080000 0x00 0x80000>;
1128c9087e38SSuman Anna		power-domains = <&k3_pds 82 TI_SCI_PD_EXCLUSIVE>;
1129c9087e38SSuman Anna		#address-cells = <1>;
1130c9087e38SSuman Anna		#size-cells = <1>;
1131c9087e38SSuman Anna		ranges = <0x0 0x00 0x30080000 0x80000>;
1132c9087e38SSuman Anna
1133c9087e38SSuman Anna		icssg1_mem: memories@0 {
1134c9087e38SSuman Anna			reg = <0x0 0x2000>,
1135c9087e38SSuman Anna			      <0x2000 0x2000>,
1136c9087e38SSuman Anna			      <0x10000 0x10000>;
1137c9087e38SSuman Anna			reg-names = "dram0", "dram1", "shrdram2";
1138c9087e38SSuman Anna		};
1139c9087e38SSuman Anna
1140c9087e38SSuman Anna		icssg1_cfg: cfg@26000 {
1141c9087e38SSuman Anna			compatible = "ti,pruss-cfg", "syscon";
1142c9087e38SSuman Anna			reg = <0x26000 0x200>;
1143c9087e38SSuman Anna			#address-cells = <1>;
1144c9087e38SSuman Anna			#size-cells = <1>;
1145c9087e38SSuman Anna			ranges = <0x0 0x26000 0x2000>;
1146c9087e38SSuman Anna
1147c9087e38SSuman Anna			clocks {
1148c9087e38SSuman Anna				#address-cells = <1>;
1149c9087e38SSuman Anna				#size-cells = <0>;
1150c9087e38SSuman Anna
1151c9087e38SSuman Anna				icssg1_coreclk_mux: coreclk-mux@3c {
1152c9087e38SSuman Anna					reg = <0x3c>;
1153c9087e38SSuman Anna					#clock-cells = <0>;
1154c9087e38SSuman Anna					clocks = <&k3_clks 82 0>,   /* icssg1_core_clk */
1155c9087e38SSuman Anna						 <&k3_clks 82 20>;  /* icssg1_iclk */
1156c9087e38SSuman Anna					assigned-clocks = <&icssg1_coreclk_mux>;
1157c9087e38SSuman Anna					assigned-clock-parents = <&k3_clks 82 20>;
1158c9087e38SSuman Anna				};
1159c9087e38SSuman Anna
1160c9087e38SSuman Anna				icssg1_iepclk_mux: iepclk-mux@30 {
1161c9087e38SSuman Anna					reg = <0x30>;
1162c9087e38SSuman Anna					#clock-cells = <0>;
1163c9087e38SSuman Anna					clocks = <&k3_clks 82 3>,	/* icssg1_iep_clk */
1164c9087e38SSuman Anna						 <&icssg1_coreclk_mux>;	/* icssg1_coreclk_mux */
1165c9087e38SSuman Anna					assigned-clocks = <&icssg1_iepclk_mux>;
1166c9087e38SSuman Anna					assigned-clock-parents = <&icssg1_coreclk_mux>;
1167c9087e38SSuman Anna				};
1168c9087e38SSuman Anna			};
1169c9087e38SSuman Anna		};
1170c9087e38SSuman Anna
1171c9087e38SSuman Anna		icssg1_mii_rt: mii-rt@32000 {
1172c9087e38SSuman Anna			compatible = "ti,pruss-mii", "syscon";
1173c9087e38SSuman Anna			reg = <0x32000 0x100>;
1174c9087e38SSuman Anna		};
1175c9087e38SSuman Anna
1176c9087e38SSuman Anna		icssg1_mii_g_rt: mii-g-rt@33000 {
1177c9087e38SSuman Anna			compatible = "ti,pruss-mii-g", "syscon";
1178c9087e38SSuman Anna			reg = <0x33000 0x1000>;
1179c9087e38SSuman Anna		};
1180c9087e38SSuman Anna
1181c9087e38SSuman Anna		icssg1_intc: interrupt-controller@20000 {
1182c9087e38SSuman Anna			compatible = "ti,icssg-intc";
1183c9087e38SSuman Anna			reg = <0x20000 0x2000>;
1184c9087e38SSuman Anna			interrupt-controller;
1185c9087e38SSuman Anna			#interrupt-cells = <3>;
1186c9087e38SSuman Anna			interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
1187c9087e38SSuman Anna				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
1188c9087e38SSuman Anna				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
1189c9087e38SSuman Anna				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
1190c9087e38SSuman Anna				     <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
1191c9087e38SSuman Anna				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>,
1192c9087e38SSuman Anna				     <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1193c9087e38SSuman Anna				     <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
1194c9087e38SSuman Anna			interrupt-names = "host_intr0", "host_intr1",
1195c9087e38SSuman Anna					  "host_intr2", "host_intr3",
1196c9087e38SSuman Anna					  "host_intr4", "host_intr5",
1197c9087e38SSuman Anna					  "host_intr6", "host_intr7";
1198c9087e38SSuman Anna		};
1199c9087e38SSuman Anna
1200c9087e38SSuman Anna		pru1_0: pru@34000 {
1201c9087e38SSuman Anna			compatible = "ti,am642-pru";
1202c9087e38SSuman Anna			reg = <0x34000 0x4000>,
1203c9087e38SSuman Anna			      <0x22000 0x100>,
1204c9087e38SSuman Anna			      <0x22400 0x100>;
1205c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1206c9087e38SSuman Anna			firmware-name = "am64x-pru1_0-fw";
1207c9087e38SSuman Anna		};
1208c9087e38SSuman Anna
1209c9087e38SSuman Anna		rtu1_0: rtu@4000 {
1210c9087e38SSuman Anna			compatible = "ti,am642-rtu";
1211c9087e38SSuman Anna			reg = <0x4000 0x2000>,
1212c9087e38SSuman Anna			      <0x23000 0x100>,
1213c9087e38SSuman Anna			      <0x23400 0x100>;
1214c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1215c9087e38SSuman Anna			firmware-name = "am64x-rtu1_0-fw";
1216c9087e38SSuman Anna		};
1217c9087e38SSuman Anna
1218c9087e38SSuman Anna		tx_pru1_0: txpru@a000 {
1219c9087e38SSuman Anna			compatible = "ti,am642-tx-pru";
1220c9087e38SSuman Anna			reg = <0xa000 0x1800>,
1221c9087e38SSuman Anna			      <0x25000 0x100>,
1222c9087e38SSuman Anna			      <0x25400 0x100>;
1223c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1224c9087e38SSuman Anna			firmware-name = "am64x-txpru1_0-fw";
1225c9087e38SSuman Anna		};
1226c9087e38SSuman Anna
1227c9087e38SSuman Anna		pru1_1: pru@38000 {
1228c9087e38SSuman Anna			compatible = "ti,am642-pru";
1229c9087e38SSuman Anna			reg = <0x38000 0x4000>,
1230c9087e38SSuman Anna			      <0x24000 0x100>,
1231c9087e38SSuman Anna			      <0x24400 0x100>;
1232c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1233c9087e38SSuman Anna			firmware-name = "am64x-pru1_1-fw";
1234c9087e38SSuman Anna		};
1235c9087e38SSuman Anna
1236c9087e38SSuman Anna		rtu1_1: rtu@6000 {
1237c9087e38SSuman Anna			compatible = "ti,am642-rtu";
1238c9087e38SSuman Anna			reg = <0x6000 0x2000>,
1239c9087e38SSuman Anna			      <0x23800 0x100>,
1240c9087e38SSuman Anna			      <0x23c00 0x100>;
1241c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1242c9087e38SSuman Anna			firmware-name = "am64x-rtu1_1-fw";
1243c9087e38SSuman Anna		};
1244c9087e38SSuman Anna
1245c9087e38SSuman Anna		tx_pru1_1: txpru@c000 {
1246c9087e38SSuman Anna			compatible = "ti,am642-tx-pru";
1247c9087e38SSuman Anna			reg = <0xc000 0x1800>,
1248c9087e38SSuman Anna			      <0x25800 0x100>,
1249c9087e38SSuman Anna			      <0x25c00 0x100>;
1250c9087e38SSuman Anna			reg-names = "iram", "control", "debug";
1251c9087e38SSuman Anna			firmware-name = "am64x-txpru1_1-fw";
1252c9087e38SSuman Anna		};
1253c9087e38SSuman Anna
1254c9087e38SSuman Anna		icssg1_mdio: mdio@32400 {
1255c9087e38SSuman Anna			compatible = "ti,davinci_mdio";
1256c9087e38SSuman Anna			reg = <0x32400 0x100>;
1257c9087e38SSuman Anna			#address-cells = <1>;
1258c9087e38SSuman Anna			#size-cells = <0>;
1259c9087e38SSuman Anna			clocks = <&k3_clks 82 0>;
1260c9087e38SSuman Anna			clock-names = "fck";
1261c9087e38SSuman Anna			bus_freq = <1000000>;
1262c9087e38SSuman Anna		};
1263c9087e38SSuman Anna	};
12648abae938SDave Gerlach};
1265