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
3768abae938SDave Gerlach	sdhci0: mmc@fa10000 {
3778abae938SDave Gerlach		compatible = "ti,am64-sdhci-8bit";
3788abae938SDave Gerlach		reg = <0x00 0xfa10000 0x00 0x260>, <0x00 0xfa18000 0x00 0x134>;
3798abae938SDave Gerlach		interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
3808abae938SDave Gerlach		power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
3818abae938SDave Gerlach		clocks = <&k3_clks 57 0>, <&k3_clks 57 1>;
3828abae938SDave Gerlach		clock-names = "clk_ahb", "clk_xin";
3838abae938SDave Gerlach		mmc-ddr-1_8v;
3848abae938SDave Gerlach		mmc-hs200-1_8v;
3858abae938SDave Gerlach		mmc-hs400-1_8v;
3868abae938SDave Gerlach		ti,trm-icp = <0x2>;
3878abae938SDave Gerlach		ti,otap-del-sel-legacy = <0x0>;
3888abae938SDave Gerlach		ti,otap-del-sel-mmc-hs = <0x0>;
3898abae938SDave Gerlach		ti,otap-del-sel-ddr52 = <0x6>;
3908abae938SDave Gerlach		ti,otap-del-sel-hs200 = <0x7>;
3918abae938SDave Gerlach		ti,otap-del-sel-hs400 = <0x4>;
3928abae938SDave Gerlach	};
3938abae938SDave Gerlach
3948abae938SDave Gerlach	sdhci1: mmc@fa00000 {
3958abae938SDave Gerlach		compatible = "ti,am64-sdhci-4bit";
3968abae938SDave Gerlach		reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>;
3978abae938SDave Gerlach		interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
3988abae938SDave Gerlach		power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
3998abae938SDave Gerlach		clocks = <&k3_clks 58 3>, <&k3_clks 58 4>;
4008abae938SDave Gerlach		clock-names = "clk_ahb", "clk_xin";
4018abae938SDave Gerlach		ti,trm-icp = <0x2>;
4028abae938SDave Gerlach		ti,otap-del-sel-legacy = <0x0>;
4038abae938SDave Gerlach		ti,otap-del-sel-sd-hs = <0xf>;
4048abae938SDave Gerlach		ti,otap-del-sel-sdr12 = <0xf>;
4058abae938SDave Gerlach		ti,otap-del-sel-sdr25 = <0xf>;
4068abae938SDave Gerlach		ti,otap-del-sel-sdr50 = <0xc>;
4078abae938SDave Gerlach		ti,otap-del-sel-sdr104 = <0x6>;
4088abae938SDave Gerlach		ti,otap-del-sel-ddr50 = <0x9>;
4098abae938SDave Gerlach		ti,clkbuf-sel = <0x7>;
4108abae938SDave Gerlach	};
4113753b128SVignesh Raghavendra
4123753b128SVignesh Raghavendra	cpsw3g: ethernet@8000000 {
4133753b128SVignesh Raghavendra		compatible = "ti,am642-cpsw-nuss";
4143753b128SVignesh Raghavendra		#address-cells = <2>;
4153753b128SVignesh Raghavendra		#size-cells = <2>;
4163753b128SVignesh Raghavendra		reg = <0x0 0x8000000 0x0 0x200000>;
4173753b128SVignesh Raghavendra		reg-names = "cpsw_nuss";
4183753b128SVignesh Raghavendra		ranges = <0x0 0x0 0x0 0x8000000 0x0 0x200000>;
4193753b128SVignesh Raghavendra		clocks = <&k3_clks 13 0>;
4203753b128SVignesh Raghavendra		assigned-clocks = <&k3_clks 13 1>;
4213753b128SVignesh Raghavendra		assigned-clock-parents = <&k3_clks 13 9>;
4223753b128SVignesh Raghavendra		clock-names = "fck";
4233753b128SVignesh Raghavendra		power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>;
4243753b128SVignesh Raghavendra
4253753b128SVignesh Raghavendra		dmas = <&main_pktdma 0xC500 15>,
4263753b128SVignesh Raghavendra		       <&main_pktdma 0xC501 15>,
4273753b128SVignesh Raghavendra		       <&main_pktdma 0xC502 15>,
4283753b128SVignesh Raghavendra		       <&main_pktdma 0xC503 15>,
4293753b128SVignesh Raghavendra		       <&main_pktdma 0xC504 15>,
4303753b128SVignesh Raghavendra		       <&main_pktdma 0xC505 15>,
4313753b128SVignesh Raghavendra		       <&main_pktdma 0xC506 15>,
4323753b128SVignesh Raghavendra		       <&main_pktdma 0xC507 15>,
4333753b128SVignesh Raghavendra		       <&main_pktdma 0x4500 15>;
4343753b128SVignesh Raghavendra		dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6",
4353753b128SVignesh Raghavendra			    "tx7", "rx";
4363753b128SVignesh Raghavendra
4373753b128SVignesh Raghavendra		ethernet-ports {
4383753b128SVignesh Raghavendra			#address-cells = <1>;
4393753b128SVignesh Raghavendra			#size-cells = <0>;
4403753b128SVignesh Raghavendra
4413753b128SVignesh Raghavendra			cpsw_port1: port@1 {
4423753b128SVignesh Raghavendra				reg = <1>;
4433753b128SVignesh Raghavendra				ti,mac-only;
4443753b128SVignesh Raghavendra				label = "port1";
4453753b128SVignesh Raghavendra				phys = <&phy_gmii_sel 1>;
4463753b128SVignesh Raghavendra				mac-address = [00 00 de ad be ef];
4473753b128SVignesh Raghavendra			};
4483753b128SVignesh Raghavendra
4493753b128SVignesh Raghavendra			cpsw_port2: port@2 {
4503753b128SVignesh Raghavendra				reg = <2>;
4513753b128SVignesh Raghavendra				ti,mac-only;
4523753b128SVignesh Raghavendra				label = "port2";
4533753b128SVignesh Raghavendra				phys = <&phy_gmii_sel 2>;
4543753b128SVignesh Raghavendra				mac-address = [00 01 de ad be ef];
4553753b128SVignesh Raghavendra			};
4563753b128SVignesh Raghavendra		};
4573753b128SVignesh Raghavendra
4583753b128SVignesh Raghavendra		cpsw3g_mdio: mdio@f00 {
4593753b128SVignesh Raghavendra			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
4603753b128SVignesh Raghavendra			reg = <0x0 0xf00 0x0 0x100>;
4613753b128SVignesh Raghavendra			#address-cells = <1>;
4623753b128SVignesh Raghavendra			#size-cells = <0>;
4633753b128SVignesh Raghavendra			clocks = <&k3_clks 13 0>;
4643753b128SVignesh Raghavendra			clock-names = "fck";
4653753b128SVignesh Raghavendra			bus_freq = <1000000>;
4663753b128SVignesh Raghavendra		};
4673753b128SVignesh Raghavendra
4683753b128SVignesh Raghavendra		cpts@3d000 {
4693753b128SVignesh Raghavendra			compatible = "ti,j721e-cpts";
4703753b128SVignesh Raghavendra			reg = <0x0 0x3d000 0x0 0x400>;
4713753b128SVignesh Raghavendra			clocks = <&k3_clks 13 1>;
4723753b128SVignesh Raghavendra			clock-names = "cpts";
4733753b128SVignesh Raghavendra			interrupts-extended = <&gic500 GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
4743753b128SVignesh Raghavendra			interrupt-names = "cpts";
4753753b128SVignesh Raghavendra			ti,cpts-ext-ts-inputs = <4>;
4763753b128SVignesh Raghavendra			ti,cpts-periodic-outputs = <2>;
4773753b128SVignesh Raghavendra		};
4783753b128SVignesh Raghavendra	};
479e7ae26a3SGrygorii Strashko
480e7ae26a3SGrygorii Strashko	cpts@39000000 {
481e7ae26a3SGrygorii Strashko		compatible = "ti,j721e-cpts";
482e7ae26a3SGrygorii Strashko		reg = <0x0 0x39000000 0x0 0x400>;
483e7ae26a3SGrygorii Strashko		reg-names = "cpts";
484e7ae26a3SGrygorii Strashko		power-domains = <&k3_pds 84 TI_SCI_PD_EXCLUSIVE>;
485e7ae26a3SGrygorii Strashko		clocks = <&k3_clks 84 0>;
486e7ae26a3SGrygorii Strashko		clock-names = "cpts";
487e7ae26a3SGrygorii Strashko		assigned-clocks = <&k3_clks 84 0>;
488e7ae26a3SGrygorii Strashko		assigned-clock-parents = <&k3_clks 84 8>;
489e7ae26a3SGrygorii Strashko		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
490e7ae26a3SGrygorii Strashko		interrupt-names = "cpts";
491e7ae26a3SGrygorii Strashko		ti,cpts-periodic-outputs = <6>;
492e7ae26a3SGrygorii Strashko		ti,cpts-ext-ts-inputs = <8>;
493e7ae26a3SGrygorii Strashko	};
494*d06a6613SAswath Govindraju
495*d06a6613SAswath Govindraju	usbss0: cdns-usb@f900000{
496*d06a6613SAswath Govindraju		compatible = "ti,am64-usb";
497*d06a6613SAswath Govindraju		reg = <0x00 0xf900000 0x00 0x100>;
498*d06a6613SAswath Govindraju		power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>;
499*d06a6613SAswath Govindraju		clocks = <&k3_clks 161 9>, <&k3_clks 161 1>;
500*d06a6613SAswath Govindraju		clock-names = "ref", "lpm";
501*d06a6613SAswath Govindraju		assigned-clocks = <&k3_clks 161 9>; /* USB2_REFCLK */
502*d06a6613SAswath Govindraju		assigned-clock-parents = <&k3_clks 161 10>; /* HF0SC0 */
503*d06a6613SAswath Govindraju		#address-cells = <2>;
504*d06a6613SAswath Govindraju		#size-cells = <2>;
505*d06a6613SAswath Govindraju		ranges;
506*d06a6613SAswath Govindraju		usb0: usb@f400000{
507*d06a6613SAswath Govindraju			compatible = "cdns,usb3";
508*d06a6613SAswath Govindraju			reg = <0x00 0xf400000 0x00 0x10000>,
509*d06a6613SAswath Govindraju			      <0x00 0xf410000 0x00 0x10000>,
510*d06a6613SAswath Govindraju			      <0x00 0xf420000 0x00 0x10000>;
511*d06a6613SAswath Govindraju			reg-names = "otg",
512*d06a6613SAswath Govindraju				    "xhci",
513*d06a6613SAswath Govindraju				    "dev";
514*d06a6613SAswath Govindraju			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
515*d06a6613SAswath Govindraju				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
516*d06a6613SAswath Govindraju				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; /* otgirq */
517*d06a6613SAswath Govindraju			interrupt-names = "host",
518*d06a6613SAswath Govindraju					  "peripheral",
519*d06a6613SAswath Govindraju					  "otg";
520*d06a6613SAswath Govindraju			maximum-speed = "super-speed";
521*d06a6613SAswath Govindraju			dr_mode = "otg";
522*d06a6613SAswath Govindraju		};
523*d06a6613SAswath Govindraju	};
5248abae938SDave Gerlach};
525