Linux Audio

Check our new training course

Loading...
v6.2
   1// SPDX-License-Identifier: GPL-2.0-only
   2/*
   3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
   4 *
 
 
 
   5 * Based on "omap4.dtsi"
   6 */
   7
   8#include <dt-bindings/bus/ti-sysc.h>
   9#include <dt-bindings/clock/dra7.h>
  10#include <dt-bindings/interrupt-controller/arm-gic.h>
  11#include <dt-bindings/pinctrl/dra.h>
  12#include <dt-bindings/clock/dra7.h>
 
  13
  14#define MAX_SOURCES 400
  15
  16/ {
  17	#address-cells = <2>;
  18	#size-cells = <2>;
  19
  20	compatible = "ti,dra7xx";
  21	interrupt-parent = <&crossbar_mpu>;
  22	chosen { };
  23
  24	aliases {
  25		i2c0 = &i2c1;
  26		i2c1 = &i2c2;
  27		i2c2 = &i2c3;
  28		i2c3 = &i2c4;
  29		i2c4 = &i2c5;
  30		serial0 = &uart1;
  31		serial1 = &uart2;
  32		serial2 = &uart3;
  33		serial3 = &uart4;
  34		serial4 = &uart5;
  35		serial5 = &uart6;
  36		serial6 = &uart7;
  37		serial7 = &uart8;
  38		serial8 = &uart9;
  39		serial9 = &uart10;
  40		ethernet0 = &cpsw_port1;
  41		ethernet1 = &cpsw_port2;
  42		d_can0 = &dcan1;
  43		d_can1 = &dcan2;
  44		spi0 = &qspi;
  45	};
  46
  47	timer {
  48		compatible = "arm,armv7-timer";
  49		status = "disabled";	/* See ARM architected timer wrap erratum i940 */
  50		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  51			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  52			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  53			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
  54		interrupt-parent = <&gic>;
  55	};
  56
  57	gic: interrupt-controller@48211000 {
  58		compatible = "arm,cortex-a15-gic";
  59		interrupt-controller;
  60		#interrupt-cells = <3>;
  61		reg = <0x0 0x48211000 0x0 0x1000>,
  62		      <0x0 0x48212000 0x0 0x2000>,
  63		      <0x0 0x48214000 0x0 0x2000>,
  64		      <0x0 0x48216000 0x0 0x2000>;
  65		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
  66		interrupt-parent = <&gic>;
  67	};
  68
  69	wakeupgen: interrupt-controller@48281000 {
  70		compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
  71		interrupt-controller;
  72		#interrupt-cells = <3>;
  73		reg = <0x0 0x48281000 0x0 0x1000>;
  74		interrupt-parent = <&gic>;
  75	};
  76
  77	cpus {
  78		#address-cells = <1>;
  79		#size-cells = <0>;
  80
  81		cpu0: cpu@0 {
  82			device_type = "cpu";
  83			compatible = "arm,cortex-a15";
  84			reg = <0>;
  85
  86			operating-points-v2 = <&cpu0_opp_table>;
  87
  88			clocks = <&dpll_mpu_ck>;
  89			clock-names = "cpu";
  90
  91			clock-latency = <300000>; /* From omap-cpufreq driver */
  92
  93			/* cooling options */
  94			#cooling-cells = <2>; /* min followed by max */
  95
  96			vbb-supply = <&abb_mpu>;
  97		};
  98	};
  99
 100	cpu0_opp_table: opp-table {
 101		compatible = "operating-points-v2-ti-cpu";
 102		syscon = <&scm_wkup>;
 103
 104		opp_nom-1000000000 {
 105			opp-hz = /bits/ 64 <1000000000>;
 106			opp-microvolt = <1060000 850000 1150000>,
 107					<1060000 850000 1150000>;
 108			opp-supported-hw = <0xFF 0x01>;
 109			opp-suspend;
 110		};
 111
 112		opp_od-1176000000 {
 113			opp-hz = /bits/ 64 <1176000000>;
 114			opp-microvolt = <1160000 885000 1160000>,
 115					<1160000 885000 1160000>;
 116
 117			opp-supported-hw = <0xFF 0x02>;
 118		};
 119
 120		opp_high@1500000000 {
 121			opp-hz = /bits/ 64 <1500000000>;
 122			opp-microvolt = <1210000 950000 1250000>,
 123					<1210000 950000 1250000>;
 124			opp-supported-hw = <0xFF 0x04>;
 125		};
 126	};
 127
 128	/*
 129	 * XXX: Use a flat representation of the SOC interconnect.
 130	 * The real OMAP interconnect network is quite complex.
 131	 * Since it will not bring real advantage to represent that in DT for
 132	 * the moment, just use a fake OCP bus entry to represent the whole bus
 133	 * hierarchy.
 134	 */
 135	ocp: ocp {
 136		compatible = "simple-pm-bus";
 137		power-domains = <&prm_core>;
 138		clocks = <&l3main1_clkctrl DRA7_L3MAIN1_L3_MAIN_1_CLKCTRL 0>,
 139			 <&l3instr_clkctrl DRA7_L3INSTR_L3_MAIN_2_CLKCTRL 0>;
 140		#address-cells = <1>;
 141		#size-cells = <1>;
 142		ranges = <0x0 0x0 0x0 0xc0000000>;
 143		dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>;
 
 
 
 
 144
 145		l3-noc@44000000 {
 146			compatible = "ti,dra7-l3-noc";
 147			reg = <0x44000000 0x1000>,
 148			      <0x45000000 0x1000>;
 149			interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
 150					      <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 151		};
 152
 153		l4_cfg: interconnect@4a000000 {
 154		};
 155		l4_wkup: interconnect@4ae00000 {
 156		};
 157		l4_per1: interconnect@48000000 {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 158		};
 159
 160		target-module@48210000 {
 161			compatible = "ti,sysc-omap4-simple", "ti,sysc";
 162			power-domains = <&prm_mpu>;
 163			clocks = <&mpu_clkctrl DRA7_MPU_MPU_CLKCTRL 0>;
 164			clock-names = "fck";
 165			#address-cells = <1>;
 166			#size-cells = <1>;
 167			ranges = <0 0x48210000 0x1f0000>;
 168
 169			mpu {
 170				compatible = "ti,omap5-mpu";
 
 
 171			};
 172		};
 173
 174		l4_per2: interconnect@48400000 {
 175		};
 176		l4_per3: interconnect@48800000 {
 
 
 
 
 
 
 
 
 
 
 177		};
 178
 179		/*
 180		 * Register access seems to have complex dependencies and also
 181		 * seems to need an enabled phy. See the TRM chapter for "Table
 182		 * 26-678. Main Sequence PCIe Controller Global Initialization"
 183		 * and also dra7xx_pcie_probe().
 184		 */
 185		axi0: target-module@51000000 {
 186			compatible = "ti,sysc-omap4", "ti,sysc";
 187			power-domains = <&prm_l3init>;
 188			resets = <&prm_l3init 0>;
 189			reset-names = "rstctrl";
 190			clocks = <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 0>,
 191				 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 9>,
 192				 <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 10>;
 193			clock-names = "fck", "phy-clk", "phy-clk-div";
 194			#size-cells = <1>;
 195			#address-cells = <1>;
 196			ranges = <0x51000000 0x51000000 0x3000>,
 197				 <0x20000000 0x20000000 0x10000000>;
 198			dma-ranges;
 199			/**
 200			 * To enable PCI endpoint mode, disable the pcie1_rc
 201			 * node and enable pcie1_ep mode.
 202			 */
 203			pcie1_rc: pcie@51000000 {
 204				reg = <0x51000000 0x2000>,
 205				      <0x51002000 0x14c>,
 206				      <0x20001000 0x2000>;
 207				reg-names = "rc_dbics", "ti_conf", "config";
 208				interrupts = <0 232 0x4>, <0 233 0x4>;
 209				#address-cells = <3>;
 210				#size-cells = <2>;
 211				device_type = "pci";
 212				ranges = <0x81000000 0 0x00000000 0x20003000 0 0x00010000>,
 213					 <0x82000000 0 0x20013000 0x20013000 0 0x0ffed000>;
 214				bus-range = <0x00 0xff>;
 215				#interrupt-cells = <1>;
 216				num-lanes = <1>;
 217				linux,pci-domain = <0>;
 218				phys = <&pcie1_phy>;
 219				phy-names = "pcie-phy0";
 220				ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
 221				interrupt-map-mask = <0 0 0 7>;
 222				interrupt-map = <0 0 0 1 &pcie1_intc 1>,
 223						<0 0 0 2 &pcie1_intc 2>,
 224						<0 0 0 3 &pcie1_intc 3>,
 225						<0 0 0 4 &pcie1_intc 4>;
 226				ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
 227				status = "disabled";
 228				pcie1_intc: interrupt-controller {
 229					interrupt-controller;
 230					#address-cells = <0>;
 231					#interrupt-cells = <1>;
 232				};
 233			};
 234
 235			pcie1_ep: pcie_ep@51000000 {
 236				reg = <0x51000000 0x28>,
 237				      <0x51002000 0x14c>,
 238				      <0x51001000 0x28>,
 239				      <0x20001000 0x10000000>;
 240				reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
 241				interrupts = <0 232 0x4>;
 242				num-lanes = <1>;
 243				num-ib-windows = <4>;
 244				num-ob-windows = <16>;
 245				phys = <&pcie1_phy>;
 246				phy-names = "pcie-phy0";
 247				ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
 248				ti,syscon-lane-sel = <&scm_conf_pcie 0x18>;
 249				status = "disabled";
 250			};
 251		};
 252
 253		/*
 254		 * Register access seems to have complex dependencies and also
 255		 * seems to need an enabled phy. See the TRM chapter for "Table
 256		 * 26-678. Main Sequence PCIe Controller Global Initialization"
 257		 * and also dra7xx_pcie_probe().
 258		 */
 259		axi1: target-module@51800000 {
 260			compatible = "ti,sysc-omap4", "ti,sysc";
 261			clocks = <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 0>,
 262				 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 9>,
 263				 <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 10>;
 264			clock-names = "fck", "phy-clk", "phy-clk-div";
 265			power-domains = <&prm_l3init>;
 266			resets = <&prm_l3init 1>;
 267			reset-names = "rstctrl";
 268			#size-cells = <1>;
 269			#address-cells = <1>;
 270			ranges = <0x51800000 0x51800000 0x3000>,
 271				 <0x30000000 0x30000000 0x10000000>;
 272			dma-ranges;
 273			status = "disabled";
 274			pcie2_rc: pcie@51800000 {
 275				reg = <0x51800000 0x2000>,
 276				      <0x51802000 0x14c>,
 277				      <0x30001000 0x2000>;
 278				reg-names = "rc_dbics", "ti_conf", "config";
 279				interrupts = <0 355 0x4>, <0 356 0x4>;
 280				#address-cells = <3>;
 281				#size-cells = <2>;
 282				device_type = "pci";
 283				ranges = <0x81000000 0 0x00000000 0x30003000 0 0x00010000>,
 284					 <0x82000000 0 0x30013000 0x30013000 0 0x0ffed000>;
 285				bus-range = <0x00 0xff>;
 286				#interrupt-cells = <1>;
 287				num-lanes = <1>;
 288				linux,pci-domain = <1>;
 289				phys = <&pcie2_phy>;
 290				phy-names = "pcie-phy0";
 291				interrupt-map-mask = <0 0 0 7>;
 292				interrupt-map = <0 0 0 1 &pcie2_intc 1>,
 293						<0 0 0 2 &pcie2_intc 2>,
 294						<0 0 0 3 &pcie2_intc 3>,
 295						<0 0 0 4 &pcie2_intc 4>;
 296				ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
 297				pcie2_intc: interrupt-controller {
 298					interrupt-controller;
 299					#address-cells = <0>;
 300					#interrupt-cells = <1>;
 301				};
 302			};
 303		};
 304
 305		ocmcram1: ocmcram@40300000 {
 306			compatible = "mmio-sram";
 307			reg = <0x40300000 0x80000>;
 308			ranges = <0x0 0x40300000 0x80000>;
 309			#address-cells = <1>;
 310			#size-cells = <1>;
 311			/*
 312			 * This is a placeholder for an optional reserved
 313			 * region for use by secure software. The size
 314			 * of this region is not known until runtime so it
 315			 * is set as zero to either be updated to reserve
 316			 * space or left unchanged to leave all SRAM for use.
 317			 * On HS parts that that require the reserved region
 318			 * either the bootloader can update the size to
 319			 * the required amount or the node can be overridden
 320			 * from the board dts file for the secure platform.
 321			 */
 322			sram-hs@0 {
 323				compatible = "ti,secure-ram";
 324				reg = <0x0 0x0>;
 325			};
 326		};
 327
 328		/*
 329		 * NOTE: ocmcram2 and ocmcram3 are not available on all
 330		 * DRA7xx and AM57xx variants. Confirm availability in
 331		 * the data manual for the exact part number in use
 332		 * before enabling these nodes in the board dts file.
 333		 */
 334		ocmcram2: ocmcram@40400000 {
 335			status = "disabled";
 336			compatible = "mmio-sram";
 337			reg = <0x40400000 0x100000>;
 338			ranges = <0x0 0x40400000 0x100000>;
 339			#address-cells = <1>;
 340			#size-cells = <1>;
 341		};
 342
 343		ocmcram3: ocmcram@40500000 {
 344			status = "disabled";
 345			compatible = "mmio-sram";
 346			reg = <0x40500000 0x100000>;
 347			ranges = <0x0 0x40500000 0x100000>;
 348			#address-cells = <1>;
 349			#size-cells = <1>;
 350		};
 351
 352		bandgap: bandgap@4a0021e0 {
 353			reg = <0x4a0021e0 0xc
 354				0x4a00232c 0xc
 355				0x4a002380 0x2c
 356				0x4a0023C0 0x3c
 357				0x4a002564 0x8
 358				0x4a002574 0x50>;
 359				compatible = "ti,dra752-bandgap";
 360				interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
 361				#thermal-sensor-cells = <1>;
 362		};
 363
 364		dsp1_system: dsp_system@40d00000 {
 365			compatible = "syscon";
 366			reg = <0x40d00000 0x100>;
 367		};
 368
 369		dra7_iodelay_core: padconf@4844a000 {
 370			compatible = "ti,dra7-iodelay";
 371			reg = <0x4844a000 0x0d1c>;
 372			#address-cells = <1>;
 373			#size-cells = <0>;
 374			#pinctrl-cells = <2>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 375		};
 376
 377		target-module@43300000 {
 378			compatible = "ti,sysc-omap4", "ti,sysc";
 379			reg = <0x43300000 0x4>,
 380			      <0x43300010 0x4>;
 381			reg-names = "rev", "sysc";
 382			ti,sysc-midle = <SYSC_IDLE_FORCE>,
 383					<SYSC_IDLE_NO>,
 384					<SYSC_IDLE_SMART>;
 385			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 386					<SYSC_IDLE_NO>,
 387					<SYSC_IDLE_SMART>;
 388			clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>;
 389			clock-names = "fck";
 390			#address-cells = <1>;
 391			#size-cells = <1>;
 392			ranges = <0x0 0x43300000 0x100000>;
 393
 394			edma: dma@0 {
 395				compatible = "ti,edma3-tpcc";
 396				reg = <0 0x100000>;
 397				reg-names = "edma3_cc";
 398				interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
 399					     <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
 400					     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
 401				interrupt-names = "edma3_ccint", "edma3_mperr",
 402						  "edma3_ccerrint";
 403				dma-requests = <64>;
 404				#dma-cells = <2>;
 405
 406				ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
 407
 408				/*
 409				* memcpy is disabled, can be enabled with:
 410				* ti,edma-memcpy-channels = <20 21>;
 411				* for example. Note that these channels need to be
 412				* masked in the xbar as well.
 413				*/
 414			};
 415		};
 416
 417		target-module@43400000 {
 418			compatible = "ti,sysc-omap4", "ti,sysc";
 419			reg = <0x43400000 0x4>,
 420			      <0x43400010 0x4>;
 421			reg-names = "rev", "sysc";
 422			ti,sysc-midle = <SYSC_IDLE_FORCE>,
 423					<SYSC_IDLE_NO>,
 424					<SYSC_IDLE_SMART>;
 425			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 426					<SYSC_IDLE_NO>,
 427					<SYSC_IDLE_SMART>;
 428			clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>;
 429			clock-names = "fck";
 430			#address-cells = <1>;
 431			#size-cells = <1>;
 432			ranges = <0x0 0x43400000 0x100000>;
 433
 434			edma_tptc0: dma@0 {
 435				compatible = "ti,edma3-tptc";
 436				reg = <0 0x100000>;
 437				interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
 438				interrupt-names = "edma3_tcerrint";
 439			};
 
 
 
 440		};
 441
 442		target-module@43500000 {
 443			compatible = "ti,sysc-omap4", "ti,sysc";
 444			reg = <0x43500000 0x4>,
 445			      <0x43500010 0x4>;
 446			reg-names = "rev", "sysc";
 447			ti,sysc-midle = <SYSC_IDLE_FORCE>,
 448					<SYSC_IDLE_NO>,
 449					<SYSC_IDLE_SMART>;
 450			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 451					<SYSC_IDLE_NO>,
 452					<SYSC_IDLE_SMART>;
 453			clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC1_CLKCTRL 0>;
 454			clock-names = "fck";
 455			#address-cells = <1>;
 456			#size-cells = <1>;
 457			ranges = <0x0 0x43500000 0x100000>;
 458
 459			edma_tptc1: dma@0 {
 460				compatible = "ti,edma3-tptc";
 461				reg = <0 0x100000>;
 462				interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
 463				interrupt-names = "edma3_tcerrint";
 464			};
 
 
 
 465		};
 466
 467		target-module@4e000000 {
 468			compatible = "ti,sysc-omap2", "ti,sysc";
 469			reg = <0x4e000000 0x4>,
 470			      <0x4e000010 0x4>;
 471			reg-names = "rev", "sysc";
 472			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 473					<SYSC_IDLE_NO>,
 474					<SYSC_IDLE_SMART>;
 475			ranges = <0x0 0x4e000000 0x2000000>;
 476			#size-cells = <1>;
 477			#address-cells = <1>;
 478
 479			dmm@0 {
 480				compatible = "ti,omap5-dmm";
 481				reg = <0 0x800>;
 482				interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
 483			};
 
 
 
 
 484		};
 485
 486		ipu1: ipu@58820000 {
 487			compatible = "ti,dra7-ipu";
 488			reg = <0x58820000 0x10000>;
 489			reg-names = "l2ram";
 490			iommus = <&mmu_ipu1>;
 491			status = "disabled";
 492			resets = <&prm_ipu 0>, <&prm_ipu 1>;
 493			clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
 494			firmware-name = "dra7-ipu1-fw.xem4";
 495		};
 496
 497		ipu2: ipu@55020000 {
 498			compatible = "ti,dra7-ipu";
 499			reg = <0x55020000 0x10000>;
 500			reg-names = "l2ram";
 501			iommus = <&mmu_ipu2>;
 502			status = "disabled";
 503			resets = <&prm_core 0>, <&prm_core 1>;
 504			clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
 505			firmware-name = "dra7-ipu2-fw.xem4";
 506		};
 507
 508		dsp1: dsp@40800000 {
 509			compatible = "ti,dra7-dsp";
 510			reg = <0x40800000 0x48000>,
 511			      <0x40e00000 0x8000>,
 512			      <0x40f00000 0x8000>;
 513			reg-names = "l2ram", "l1pram", "l1dram";
 514			ti,bootreg = <&scm_conf 0x55c 10>;
 515			iommus = <&mmu0_dsp1>, <&mmu1_dsp1>;
 516			status = "disabled";
 517			resets = <&prm_dsp1 0>;
 518			clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
 519			firmware-name = "dra7-dsp1-fw.xe66";
 520		};
 521
 522		target-module@40d01000 {
 523			compatible = "ti,sysc-omap2", "ti,sysc";
 524			reg = <0x40d01000 0x4>,
 525			      <0x40d01010 0x4>,
 526			      <0x40d01014 0x4>;
 527			reg-names = "rev", "sysc", "syss";
 528			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 529					<SYSC_IDLE_NO>,
 530					<SYSC_IDLE_SMART>;
 531			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
 532					 SYSC_OMAP2_SOFTRESET |
 533					 SYSC_OMAP2_AUTOIDLE)>;
 534			clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
 535			clock-names = "fck";
 536			resets = <&prm_dsp1 1>;
 537			reset-names = "rstctrl";
 538			ranges = <0x0 0x40d01000 0x1000>;
 539			#size-cells = <1>;
 540			#address-cells = <1>;
 541
 542			mmu0_dsp1: mmu@0 {
 543				compatible = "ti,dra7-dsp-iommu";
 544				reg = <0x0 0x100>;
 545				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
 546				#iommu-cells = <0>;
 547				ti,syscon-mmuconfig = <&dsp1_system 0x0>;
 548			};
 
 
 549		};
 550
 551		target-module@40d02000 {
 552			compatible = "ti,sysc-omap2", "ti,sysc";
 553			reg = <0x40d02000 0x4>,
 554			      <0x40d02010 0x4>,
 555			      <0x40d02014 0x4>;
 556			reg-names = "rev", "sysc", "syss";
 557			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 558					<SYSC_IDLE_NO>,
 559					<SYSC_IDLE_SMART>;
 560			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
 561					 SYSC_OMAP2_SOFTRESET |
 562					 SYSC_OMAP2_AUTOIDLE)>;
 563			clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>;
 564			clock-names = "fck";
 565			resets = <&prm_dsp1 1>;
 566			reset-names = "rstctrl";
 567			ranges = <0x0 0x40d02000 0x1000>;
 568			#size-cells = <1>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 569			#address-cells = <1>;
 
 
 
 
 570
 571			mmu1_dsp1: mmu@0 {
 572				compatible = "ti,dra7-dsp-iommu";
 573				reg = <0x0 0x100>;
 574				interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
 575				#iommu-cells = <0>;
 576				ti,syscon-mmuconfig = <&dsp1_system 0x1>;
 577			};
 
 578		};
 579
 580		target-module@58882000 {
 581			compatible = "ti,sysc-omap2", "ti,sysc";
 582			reg = <0x58882000 0x4>,
 583			      <0x58882010 0x4>,
 584			      <0x58882014 0x4>;
 585			reg-names = "rev", "sysc", "syss";
 586			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 587					<SYSC_IDLE_NO>,
 588					<SYSC_IDLE_SMART>;
 589			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
 590					 SYSC_OMAP2_SOFTRESET |
 591					 SYSC_OMAP2_AUTOIDLE)>;
 592			clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>;
 593			clock-names = "fck";
 594			resets = <&prm_ipu 2>;
 595			reset-names = "rstctrl";
 596			#address-cells = <1>;
 597			#size-cells = <1>;
 598			ranges = <0x0 0x58882000 0x100>;
 
 
 599
 600			mmu_ipu1: mmu@0 {
 601				compatible = "ti,dra7-iommu";
 602				reg = <0x0 0x100>;
 603				interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
 604				#iommu-cells = <0>;
 605				ti,iommu-bus-err-back;
 606			};
 
 607		};
 608
 609		target-module@55082000 {
 610			compatible = "ti,sysc-omap2", "ti,sysc";
 611			reg = <0x55082000 0x4>,
 612			      <0x55082010 0x4>,
 613			      <0x55082014 0x4>;
 614			reg-names = "rev", "sysc", "syss";
 615			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 616					<SYSC_IDLE_NO>,
 617					<SYSC_IDLE_SMART>;
 618			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
 619					 SYSC_OMAP2_SOFTRESET |
 620					 SYSC_OMAP2_AUTOIDLE)>;
 621			clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>;
 622			clock-names = "fck";
 623			resets = <&prm_core 2>;
 624			reset-names = "rstctrl";
 625			#address-cells = <1>;
 626			#size-cells = <1>;
 627			ranges = <0x0 0x55082000 0x100>;
 
 
 628
 629			mmu_ipu2: mmu@0 {
 630				compatible = "ti,dra7-iommu";
 631				reg = <0x0 0x100>;
 632				interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
 633				#iommu-cells = <0>;
 634				ti,iommu-bus-err-back;
 635			};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 636		};
 637
 638		abb_mpu: regulator-abb-mpu {
 639			compatible = "ti,abb-v3";
 640			regulator-name = "abb_mpu";
 641			#address-cells = <0>;
 642			#size-cells = <0>;
 643			clocks = <&sys_clkin1>;
 644			ti,settling-time = <50>;
 645			ti,clock-cycles = <16>;
 646
 647			reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
 648			      <0x4ae06014 0x4>, <0x4a003b20 0xc>,
 649			      <0x4ae0c158 0x4>;
 650			reg-names = "setup-address", "control-address",
 651				    "int-address", "efuse-address",
 652				    "ldo-address";
 653			ti,tranxdone-status-mask = <0x80>;
 654			/* LDOVBBMPU_FBB_MUX_CTRL */
 655			ti,ldovbb-override-mask = <0x400>;
 656			/* LDOVBBMPU_FBB_VSET_OUT */
 657			ti,ldovbb-vset-mask = <0x1F>;
 658
 659			/*
 660			 * NOTE: only FBB mode used but actual vset will
 661			 * determine final biasing
 662			 */
 663			ti,abb_info = <
 664			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
 665			1060000		0	0x0	0 0x02000000 0x01F00000
 666			1160000		0	0x4	0 0x02000000 0x01F00000
 667			1210000		0	0x8	0 0x02000000 0x01F00000
 668			>;
 669		};
 670
 671		abb_ivahd: regulator-abb-ivahd {
 672			compatible = "ti,abb-v3";
 673			regulator-name = "abb_ivahd";
 674			#address-cells = <0>;
 675			#size-cells = <0>;
 676			clocks = <&sys_clkin1>;
 677			ti,settling-time = <50>;
 678			ti,clock-cycles = <16>;
 679
 680			reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
 681			      <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
 682			      <0x4a002470 0x4>;
 683			reg-names = "setup-address", "control-address",
 684				    "int-address", "efuse-address",
 685				    "ldo-address";
 686			ti,tranxdone-status-mask = <0x40000000>;
 687			/* LDOVBBIVA_FBB_MUX_CTRL */
 688			ti,ldovbb-override-mask = <0x400>;
 689			/* LDOVBBIVA_FBB_VSET_OUT */
 690			ti,ldovbb-vset-mask = <0x1F>;
 691
 692			/*
 693			 * NOTE: only FBB mode used but actual vset will
 694			 * determine final biasing
 695			 */
 696			ti,abb_info = <
 697			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
 698			1055000		0	0x0	0 0x02000000 0x01F00000
 699			1150000		0	0x4	0 0x02000000 0x01F00000
 700			1250000		0	0x8	0 0x02000000 0x01F00000
 701			>;
 702		};
 703
 704		abb_dspeve: regulator-abb-dspeve {
 705			compatible = "ti,abb-v3";
 706			regulator-name = "abb_dspeve";
 707			#address-cells = <0>;
 708			#size-cells = <0>;
 709			clocks = <&sys_clkin1>;
 710			ti,settling-time = <50>;
 711			ti,clock-cycles = <16>;
 712
 713			reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
 714			      <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
 715			      <0x4a00246c 0x4>;
 716			reg-names = "setup-address", "control-address",
 717				    "int-address", "efuse-address",
 718				    "ldo-address";
 719			ti,tranxdone-status-mask = <0x20000000>;
 720			/* LDOVBBDSPEVE_FBB_MUX_CTRL */
 721			ti,ldovbb-override-mask = <0x400>;
 722			/* LDOVBBDSPEVE_FBB_VSET_OUT */
 723			ti,ldovbb-vset-mask = <0x1F>;
 724
 725			/*
 726			 * NOTE: only FBB mode used but actual vset will
 727			 * determine final biasing
 728			 */
 729			ti,abb_info = <
 730			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
 731			1055000		0	0x0	0 0x02000000 0x01F00000
 732			1150000		0	0x4	0 0x02000000 0x01F00000
 733			1250000		0	0x8	0 0x02000000 0x01F00000
 734			>;
 735		};
 736
 737		abb_gpu: regulator-abb-gpu {
 738			compatible = "ti,abb-v3";
 739			regulator-name = "abb_gpu";
 740			#address-cells = <0>;
 741			#size-cells = <0>;
 742			clocks = <&sys_clkin1>;
 743			ti,settling-time = <50>;
 744			ti,clock-cycles = <16>;
 745
 746			reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
 747			      <0x4ae06010 0x4>, <0x4a003b08 0xc>,
 748			      <0x4ae0c154 0x4>;
 749			reg-names = "setup-address", "control-address",
 750				    "int-address", "efuse-address",
 751				    "ldo-address";
 752			ti,tranxdone-status-mask = <0x10000000>;
 753			/* LDOVBBGPU_FBB_MUX_CTRL */
 754			ti,ldovbb-override-mask = <0x400>;
 755			/* LDOVBBGPU_FBB_VSET_OUT */
 756			ti,ldovbb-vset-mask = <0x1F>;
 757
 758			/*
 759			 * NOTE: only FBB mode used but actual vset will
 760			 * determine final biasing
 761			 */
 762			ti,abb_info = <
 763			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
 764			1090000		0	0x0	0 0x02000000 0x01F00000
 765			1210000		0	0x4	0 0x02000000 0x01F00000
 766			1280000		0	0x8	0 0x02000000 0x01F00000
 767			>;
 768		};
 769
 770		target-module@4b300000 {
 771			compatible = "ti,sysc-omap4", "ti,sysc";
 772			reg = <0x4b300000 0x4>,
 773			      <0x4b300010 0x4>;
 774			reg-names = "rev", "sysc";
 775			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 776					<SYSC_IDLE_NO>,
 777					<SYSC_IDLE_SMART>,
 778					<SYSC_IDLE_SMART_WKUP>;
 779			clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 0>;
 780			clock-names = "fck";
 781			#address-cells = <1>;
 782			#size-cells = <1>;
 783			ranges = <0x0 0x4b300000 0x1000>,
 784				 <0x5c000000 0x5c000000 0x4000000>;
 
 
 
 
 
 
 
 
 
 
 
 
 785
 786			qspi: spi@0 {
 787				compatible = "ti,dra7xxx-qspi";
 788				reg = <0 0x100>,
 789				      <0x5c000000 0x4000000>;
 790				reg-names = "qspi_base", "qspi_mmap";
 791				syscon-chipselects = <&scm_conf 0x558>;
 792				#address-cells = <1>;
 793				#size-cells = <0>;
 794				clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>;
 795				clock-names = "fck";
 796				num-cs = <4>;
 797				interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 798				status = "disabled";
 799			};
 800		};
 801
 802		/* OCP2SCP1 */
 803		/* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 804
 805		target-module@50000000 {
 806			compatible = "ti,sysc-omap2", "ti,sysc";
 807			reg = <0x50000000 4>,
 808			      <0x50000010 4>,
 809			      <0x50000014 4>;
 810			reg-names = "rev", "sysc", "syss";
 811			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 812					<SYSC_IDLE_NO>,
 813					<SYSC_IDLE_SMART>;
 814			ti,syss-mask = <1>;
 815			clocks = <&l3main1_clkctrl DRA7_L3MAIN1_GPMC_CLKCTRL 0>;
 816			clock-names = "fck";
 817			#address-cells = <1>;
 818			#size-cells = <1>;
 819			ranges = <0x50000000 0x50000000 0x00001000>, /* regs */
 820				 <0x00000000 0x00000000 0x40000000>; /* data */
 821
 822			gpmc: gpmc@50000000 {
 823				compatible = "ti,am3352-gpmc";
 824				reg = <0x50000000 0x37c>;      /* device IO registers */
 825				interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
 826				dmas = <&edma_xbar 4 0>;
 827				dma-names = "rxtx";
 828				gpmc,num-cs = <8>;
 829				gpmc,num-waitpins = <2>;
 830				#address-cells = <2>;
 831				#size-cells = <1>;
 832				interrupt-controller;
 833				#interrupt-cells = <2>;
 834				gpio-controller;
 835				#gpio-cells = <2>;
 836				status = "disabled";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 837			};
 838		};
 839
 840		target-module@56000000 {
 841			compatible = "ti,sysc-omap4", "ti,sysc";
 842			reg = <0x5600fe00 0x4>,
 843			      <0x5600fe10 0x4>;
 844			reg-names = "rev", "sysc";
 845			ti,sysc-midle = <SYSC_IDLE_FORCE>,
 846					<SYSC_IDLE_NO>,
 847					<SYSC_IDLE_SMART>;
 848			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 849					<SYSC_IDLE_NO>,
 850					<SYSC_IDLE_SMART>;
 851			clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
 852			clock-names = "fck";
 853			#address-cells = <1>;
 854			#size-cells = <1>;
 855			ranges = <0 0x56000000 0x2000000>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 856		};
 857
 858		crossbar_mpu: crossbar@4a002a48 {
 859			compatible = "ti,irq-crossbar";
 860			reg = <0x4a002a48 0x130>;
 861			interrupt-controller;
 862			interrupt-parent = <&wakeupgen>;
 863			#interrupt-cells = <3>;
 864			ti,max-irqs = <160>;
 865			ti,max-crossbar-sources = <MAX_SOURCES>;
 866			ti,reg-size = <2>;
 867			ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
 868			ti,irqs-skip = <10 133 139 140>;
 869			ti,irqs-safe-map = <0>;
 870		};
 871
 872		target-module@58000000 {
 873			compatible = "ti,sysc-omap2", "ti,sysc";
 874			reg = <0x58000000 4>,
 875			      <0x58000014 4>;
 876			reg-names = "rev", "syss";
 877			ti,syss-mask = <1>;
 878			clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 0>,
 879				 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
 880				 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>,
 881				 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 11>;
 882			clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk";
 
 
 
 
 
 
 883			#address-cells = <1>;
 884			#size-cells = <1>;
 885			ranges = <0 0x58000000 0x800000>;
 886
 887			dss: dss@0 {
 888				compatible = "ti,dra7-dss";
 889				/* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
 890				/* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
 891				status = "disabled";
 892				/* CTRL_CORE_DSS_PLL_CONTROL */
 893				syscon-pll-ctrl = <&scm_conf 0x538>;
 894				#address-cells = <1>;
 895				#size-cells = <1>;
 896				ranges = <0 0 0x800000>;
 897
 898				target-module@1000 {
 899					compatible = "ti,sysc-omap2", "ti,sysc";
 900					reg = <0x1000 0x4>,
 901					      <0x1010 0x4>,
 902					      <0x1014 0x4>;
 903					reg-names = "rev", "sysc", "syss";
 904					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 905							<SYSC_IDLE_NO>,
 906							<SYSC_IDLE_SMART>;
 907					ti,sysc-midle = <SYSC_IDLE_FORCE>,
 908							<SYSC_IDLE_NO>,
 909							<SYSC_IDLE_SMART>;
 910					ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
 911							 SYSC_OMAP2_ENAWAKEUP |
 912							 SYSC_OMAP2_SOFTRESET |
 913							 SYSC_OMAP2_AUTOIDLE)>;
 914					ti,syss-mask = <1>;
 915					clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
 916					clock-names = "fck";
 917					#address-cells = <1>;
 918					#size-cells = <1>;
 919					ranges = <0 0x1000 0x1000>;
 920
 921					dispc@0 {
 922						compatible = "ti,dra7-dispc";
 923						reg = <0 0x1000>;
 924						interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
 925						clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
 926						clock-names = "fck";
 927						/* CTRL_CORE_SMA_SW_1 */
 928						syscon-pol = <&scm_conf 0x534>;
 929					};
 930				};
 931
 932				target-module@40000 {
 933					compatible = "ti,sysc-omap4", "ti,sysc";
 934					reg = <0x40000 0x4>,
 935					      <0x40010 0x4>;
 936					reg-names = "rev", "sysc";
 937					ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 938							<SYSC_IDLE_NO>,
 939							<SYSC_IDLE_SMART>,
 940							<SYSC_IDLE_SMART_WKUP>;
 941					ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>;
 942					clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
 943						 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>;
 944					clock-names = "fck", "dss_clk";
 945					#address-cells = <1>;
 946					#size-cells = <1>;
 947					ranges = <0 0x40000 0x40000>;
 948
 949					hdmi: encoder@0 {
 950						compatible = "ti,dra7-hdmi";
 951						reg = <0 0x200>,
 952						      <0x200 0x80>,
 953						      <0x300 0x80>,
 954						      <0x20000 0x19000>;
 955						reg-names = "wp", "pll", "phy", "core";
 956						interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
 957						status = "disabled";
 958						clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>,
 959							 <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>;
 960						clock-names = "fck", "sys_clk";
 961						dmas = <&sdma_xbar 76>;
 962						dma-names = "audio_tx";
 963					};
 964				};
 965			};
 966		};
 967
 968		target-module@59000000 {
 969			compatible = "ti,sysc-omap4", "ti,sysc";
 970			reg = <0x59000020 0x4>;
 971			reg-names = "rev";
 972			clocks = <&dss_clkctrl DRA7_DSS_BB2D_CLKCTRL 0>;
 973			clock-names = "fck";
 974			#address-cells = <1>;
 975			#size-cells = <1>;
 976			ranges = <0x0 0x59000000 0x1000>;
 977
 978			bb2d: gpu@0 {
 979				compatible = "vivante,gc";
 980				reg = <0x0 0x700>;
 981				interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
 982				clocks = <&dss_clkctrl DRA7_DSS_BB2D_CLKCTRL 0>;
 983				clock-names = "core";
 984			};
 985		};
 986
 987		aes1_target: target-module@4b500000 {
 988			compatible = "ti,sysc-omap2", "ti,sysc";
 989			reg = <0x4b500080 0x4>,
 990			      <0x4b500084 0x4>,
 991			      <0x4b500088 0x4>;
 992			reg-names = "rev", "sysc", "syss";
 993			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
 994					 SYSC_OMAP2_AUTOIDLE)>;
 995			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
 996					<SYSC_IDLE_NO>,
 997					<SYSC_IDLE_SMART>,
 998					<SYSC_IDLE_SMART_WKUP>;
 999			ti,syss-mask = <1>;
1000			/* Domains (P, C): per_pwrdm, l4sec_clkdm */
1001			clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>;
1002			clock-names = "fck";
1003			#address-cells = <1>;
1004			#size-cells = <1>;
1005			ranges = <0x0 0x4b500000 0x1000>;
1006
1007			aes1: aes@0 {
1008				compatible = "ti,omap4-aes";
1009				reg = <0 0xa0>;
1010				interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
1011				dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
1012				dma-names = "tx", "rx";
1013				clocks = <&l3_iclk_div>;
1014				clock-names = "fck";
1015			};
1016		};
1017
1018		aes2_target: target-module@4b700000 {
1019			compatible = "ti,sysc-omap2", "ti,sysc";
1020			reg = <0x4b700080 0x4>,
1021			      <0x4b700084 0x4>,
1022			      <0x4b700088 0x4>;
1023			reg-names = "rev", "sysc", "syss";
1024			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1025					 SYSC_OMAP2_AUTOIDLE)>;
1026			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1027					<SYSC_IDLE_NO>,
1028					<SYSC_IDLE_SMART>,
1029					<SYSC_IDLE_SMART_WKUP>;
1030			ti,syss-mask = <1>;
1031			/* Domains (P, C): per_pwrdm, l4sec_clkdm */
1032			clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>;
1033			clock-names = "fck";
1034			#address-cells = <1>;
1035			#size-cells = <1>;
1036			ranges = <0x0 0x4b700000 0x1000>;
1037
1038			aes2: aes@0 {
1039				compatible = "ti,omap4-aes";
1040				reg = <0 0xa0>;
1041				interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
1042				dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
1043				dma-names = "tx", "rx";
1044				clocks = <&l3_iclk_div>;
1045				clock-names = "fck";
1046			};
1047		};
1048
1049		sham1_target: target-module@4b101000 {
1050			compatible = "ti,sysc-omap3-sham", "ti,sysc";
1051			reg = <0x4b101100 0x4>,
1052			      <0x4b101110 0x4>,
1053			      <0x4b101114 0x4>;
1054			reg-names = "rev", "sysc", "syss";
1055			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1056					 SYSC_OMAP2_AUTOIDLE)>;
1057			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1058					<SYSC_IDLE_NO>,
1059					<SYSC_IDLE_SMART>;
1060			ti,syss-mask = <1>;
1061			/* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1062			clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>;
1063			clock-names = "fck";
1064			#address-cells = <1>;
1065			#size-cells = <1>;
1066			ranges = <0x0 0x4b101000 0x1000>;
1067
1068			sham1: sham@0 {
1069				compatible = "ti,omap5-sham";
1070				reg = <0 0x300>;
1071				interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
1072				dmas = <&edma_xbar 119 0>;
1073				dma-names = "rx";
1074				clocks = <&l3_iclk_div>;
1075				clock-names = "fck";
1076			};
1077		};
1078
1079		sham2_target: target-module@42701000 {
1080			compatible = "ti,sysc-omap3-sham", "ti,sysc";
1081			reg = <0x42701100 0x4>,
1082			      <0x42701110 0x4>,
1083			      <0x42701114 0x4>;
1084			reg-names = "rev", "sysc", "syss";
1085			ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET |
1086					 SYSC_OMAP2_AUTOIDLE)>;
1087			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1088					<SYSC_IDLE_NO>,
1089					<SYSC_IDLE_SMART>;
1090			ti,syss-mask = <1>;
1091			/* Domains (P, C): l4per_pwrdm, l4sec_clkdm */
1092			clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM2_CLKCTRL 0>;
1093			clock-names = "fck";
1094			#address-cells = <1>;
1095			#size-cells = <1>;
1096			ranges = <0x0 0x42701000 0x1000>;
1097
1098			sham2: sham@0 {
1099				compatible = "ti,omap5-sham";
1100				reg = <0 0x300>;
1101				interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
1102				dmas = <&edma_xbar 165 0>;
1103				dma-names = "rx";
1104				clocks = <&l3_iclk_div>;
1105				clock-names = "fck";
 
 
1106			};
1107		};
1108
1109		iva_hd_target: target-module@5a000000 {
1110			compatible = "ti,sysc-omap4", "ti,sysc";
1111			reg = <0x5a05a400 0x4>,
1112			      <0x5a05a410 0x4>;
1113			reg-names = "rev", "sysc";
1114			ti,sysc-midle = <SYSC_IDLE_FORCE>,
1115					<SYSC_IDLE_NO>,
1116					<SYSC_IDLE_SMART>;
1117			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1118					<SYSC_IDLE_NO>,
1119					<SYSC_IDLE_SMART>;
1120			power-domains = <&prm_iva>;
1121			resets = <&prm_iva 2>;
1122			reset-names = "rstctrl";
1123			clocks = <&iva_clkctrl DRA7_IVA_CLKCTRL 0>;
1124			clock-names = "fck";
1125			#address-cells = <1>;
1126			#size-cells = <1>;
1127			ranges = <0x5a000000 0x5a000000 0x1000000>,
1128				 <0x5b000000 0x5b000000 0x1000000>;
1129
1130			iva {
1131				compatible = "ti,ivahd";
 
 
 
 
 
 
 
 
 
 
1132			};
1133		};
1134
1135		opp_supply_mpu: opp-supply@4a003b20 {
1136			compatible = "ti,omap5-opp-supply";
1137			reg = <0x4a003b20 0xc>;
1138			ti,efuse-settings = <
1139			/* uV   offset */
1140			1060000 0x0
1141			1160000 0x4
1142			1210000 0x8
1143			>;
1144			ti,absolute-max-voltage-uv = <1500000>;
1145		};
1146
1147	};
1148
1149	thermal_zones: thermal-zones {
1150		#include "omap4-cpu-thermal.dtsi"
1151		#include "omap5-gpu-thermal.dtsi"
1152		#include "omap5-core-thermal.dtsi"
1153		#include "dra7-dspeve-thermal.dtsi"
1154		#include "dra7-iva-thermal.dtsi"
1155	};
1156
1157};
1158
1159&cpu_thermal {
1160	polling-delay = <500>; /* milliseconds */
1161	coefficients = <0 2000>;
1162};
1163
1164&gpu_thermal {
1165	coefficients = <0 2000>;
1166};
1167
1168&core_thermal {
1169	coefficients = <0 2000>;
1170};
1171
1172&dspeve_thermal {
1173	coefficients = <0 2000>;
1174};
1175
1176&iva_thermal {
1177	coefficients = <0 2000>;
1178};
1179
1180&cpu_crit {
1181	temperature = <120000>; /* milli Celsius */
1182};
1183
1184&core_crit {
1185	temperature = <120000>; /* milli Celsius */
1186};
1187
1188&gpu_crit {
1189	temperature = <120000>; /* milli Celsius */
1190};
1191
1192&dspeve_crit {
1193	temperature = <120000>; /* milli Celsius */
1194};
1195
1196&iva_crit {
1197	temperature = <120000>; /* milli Celsius */
1198};
1199
1200#include "dra7-l4.dtsi"
1201#include "dra7xx-clocks.dtsi"
1202
1203&prm {
1204	prm_mpu: prm@300 {
1205		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1206		reg = <0x300 0x100>;
1207		#power-domain-cells = <0>;
1208	};
1209
1210	prm_dsp1: prm@400 {
1211		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1212		reg = <0x400 0x100>;
1213		#reset-cells = <1>;
1214		#power-domain-cells = <0>;
1215	};
1216
1217	prm_ipu: prm@500 {
1218		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1219		reg = <0x500 0x100>;
1220		#reset-cells = <1>;
1221		#power-domain-cells = <0>;
1222	};
1223
1224	prm_coreaon: prm@628 {
1225		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1226		reg = <0x628 0xd8>;
1227		#power-domain-cells = <0>;
1228	};
1229
1230	prm_core: prm@700 {
1231		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1232		reg = <0x700 0x100>;
1233		#reset-cells = <1>;
1234		#power-domain-cells = <0>;
1235	};
1236
1237	prm_iva: prm@f00 {
1238		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1239		reg = <0xf00 0x100>;
1240		#reset-cells = <1>;
1241		#power-domain-cells = <0>;
1242	};
1243
1244	prm_cam: prm@1000 {
1245		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1246		reg = <0x1000 0x100>;
1247		#power-domain-cells = <0>;
1248	};
1249
1250	prm_dss: prm@1100 {
1251		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1252		reg = <0x1100 0x100>;
1253		#power-domain-cells = <0>;
1254	};
1255
1256	prm_gpu: prm@1200 {
1257		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1258		reg = <0x1200 0x100>;
1259		#power-domain-cells = <0>;
1260	};
1261
1262	prm_l3init: prm@1300 {
1263		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1264		reg = <0x1300 0x100>;
1265		#reset-cells = <1>;
1266		#power-domain-cells = <0>;
1267	};
1268
1269	prm_l4per: prm@1400 {
1270		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1271		reg = <0x1400 0x100>;
1272		#power-domain-cells = <0>;
1273	};
1274
1275	prm_custefuse: prm@1600 {
1276		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1277		reg = <0x1600 0x100>;
1278		#power-domain-cells = <0>;
1279	};
1280
1281	prm_wkupaon: prm@1724 {
1282		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1283		reg = <0x1724 0x100>;
1284		#power-domain-cells = <0>;
1285	};
1286
1287	prm_dsp2: prm@1b00 {
1288		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1289		reg = <0x1b00 0x40>;
1290		#reset-cells = <1>;
1291		#power-domain-cells = <0>;
1292	};
1293
1294	prm_eve1: prm@1b40 {
1295		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1296		reg = <0x1b40 0x40>;
1297		#power-domain-cells = <0>;
1298	};
1299
1300	prm_eve2: prm@1b80 {
1301		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1302		reg = <0x1b80 0x40>;
1303		#power-domain-cells = <0>;
1304	};
1305
1306	prm_eve3: prm@1bc0 {
1307		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1308		reg = <0x1bc0 0x40>;
1309		#power-domain-cells = <0>;
1310	};
1311
1312	prm_eve4: prm@1c00 {
1313		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1314		reg = <0x1c00 0x60>;
1315		#power-domain-cells = <0>;
1316	};
1317
1318	prm_rtc: prm@1c60 {
1319		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1320		reg = <0x1c60 0x20>;
1321		#power-domain-cells = <0>;
1322	};
1323
1324	prm_vpe: prm@1c80 {
1325		compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
1326		reg = <0x1c80 0x80>;
1327		#power-domain-cells = <0>;
1328	};
1329};
1330
1331/* Preferred always-on timer for clockevent */
1332&timer1_target {
1333	ti,no-reset-on-init;
1334	ti,no-idle;
1335	timer@0 {
1336		assigned-clocks = <&wkupaon_clkctrl DRA7_WKUPAON_TIMER1_CLKCTRL 24>;
1337		assigned-clock-parents = <&sys_32k_ck>;
1338	};
1339};
1340
1341/* Local timers, see ARM architected timer wrap erratum i940 */
1342&timer15_target {
1343	ti,no-reset-on-init;
1344	ti,no-idle;
1345	timer@0 {
1346		assigned-clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER15_CLKCTRL 24>;
1347		assigned-clock-parents = <&timer_sys_clk_div>;
1348	};
1349};
1350
1351&timer16_target {
1352	ti,no-reset-on-init;
1353	ti,no-idle;
1354	timer@0 {
1355		assigned-clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER16_CLKCTRL 24>;
1356		assigned-clock-parents = <&timer_sys_clk_div>;
1357	};
1358};
v4.6
 
   1/*
   2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
   3 *
   4 * This program is free software; you can redistribute it and/or modify
   5 * it under the terms of the GNU General Public License version 2 as
   6 * published by the Free Software Foundation.
   7 * Based on "omap4.dtsi"
   8 */
   9
 
 
  10#include <dt-bindings/interrupt-controller/arm-gic.h>
  11#include <dt-bindings/pinctrl/dra.h>
  12
  13#include "skeleton.dtsi"
  14
  15#define MAX_SOURCES 400
  16
  17/ {
  18	#address-cells = <2>;
  19	#size-cells = <2>;
  20
  21	compatible = "ti,dra7xx";
  22	interrupt-parent = <&crossbar_mpu>;
 
  23
  24	aliases {
  25		i2c0 = &i2c1;
  26		i2c1 = &i2c2;
  27		i2c2 = &i2c3;
  28		i2c3 = &i2c4;
  29		i2c4 = &i2c5;
  30		serial0 = &uart1;
  31		serial1 = &uart2;
  32		serial2 = &uart3;
  33		serial3 = &uart4;
  34		serial4 = &uart5;
  35		serial5 = &uart6;
  36		serial6 = &uart7;
  37		serial7 = &uart8;
  38		serial8 = &uart9;
  39		serial9 = &uart10;
  40		ethernet0 = &cpsw_emac0;
  41		ethernet1 = &cpsw_emac1;
  42		d_can0 = &dcan1;
  43		d_can1 = &dcan2;
  44		spi0 = &qspi;
  45	};
  46
  47	timer {
  48		compatible = "arm,armv7-timer";
 
  49		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  50			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  51			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  52			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
  53		interrupt-parent = <&gic>;
  54	};
  55
  56	gic: interrupt-controller@48211000 {
  57		compatible = "arm,cortex-a15-gic";
  58		interrupt-controller;
  59		#interrupt-cells = <3>;
  60		reg = <0x0 0x48211000 0x0 0x1000>,
  61		      <0x0 0x48212000 0x0 0x1000>,
  62		      <0x0 0x48214000 0x0 0x2000>,
  63		      <0x0 0x48216000 0x0 0x2000>;
  64		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
  65		interrupt-parent = <&gic>;
  66	};
  67
  68	wakeupgen: interrupt-controller@48281000 {
  69		compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
  70		interrupt-controller;
  71		#interrupt-cells = <3>;
  72		reg = <0x0 0x48281000 0x0 0x1000>;
  73		interrupt-parent = <&gic>;
  74	};
  75
  76	/*
  77	 * The soc node represents the soc top level view. It is used for IPs
  78	 * that are not memory mapped in the MPU view or for the MPU itself.
  79	 */
  80	soc {
  81		compatible = "ti,omap-infra";
  82		mpu {
  83			compatible = "ti,omap5-mpu";
  84			ti,hwmods = "mpu";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  85		};
  86	};
  87
  88	/*
  89	 * XXX: Use a flat representation of the SOC interconnect.
  90	 * The real OMAP interconnect network is quite complex.
  91	 * Since it will not bring real advantage to represent that in DT for
  92	 * the moment, just use a fake OCP bus entry to represent the whole bus
  93	 * hierarchy.
  94	 */
  95	ocp {
  96		compatible = "ti,dra7-l3-noc", "simple-bus";
 
 
 
  97		#address-cells = <1>;
  98		#size-cells = <1>;
  99		ranges = <0x0 0x0 0x0 0xc0000000>;
 100		ti,hwmods = "l3_main_1", "l3_main_2";
 101		reg = <0x0 0x44000000 0x0 0x1000000>,
 102		      <0x0 0x45000000 0x0 0x1000>;
 103		interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
 104				      <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 105
 106		l4_cfg: l4@4a000000 {
 107			compatible = "ti,dra7-l4-cfg", "simple-bus";
 108			#address-cells = <1>;
 109			#size-cells = <1>;
 110			ranges = <0 0x4a000000 0x22c000>;
 
 
 111
 112			scm: scm@2000 {
 113				compatible = "ti,dra7-scm-core", "simple-bus";
 114				reg = <0x2000 0x2000>;
 115				#address-cells = <1>;
 116				#size-cells = <1>;
 117				ranges = <0 0x2000 0x2000>;
 118
 119				scm_conf: scm_conf@0 {
 120					compatible = "syscon", "simple-bus";
 121					reg = <0x0 0x1400>;
 122					#address-cells = <1>;
 123					#size-cells = <1>;
 124					ranges = <0 0x0 0x1400>;
 125
 126					pbias_regulator: pbias_regulator {
 127						compatible = "ti,pbias-dra7", "ti,pbias-omap";
 128						reg = <0xe00 0x4>;
 129						syscon = <&scm_conf>;
 130						pbias_mmc_reg: pbias_mmc_omap5 {
 131							regulator-name = "pbias_mmc_omap5";
 132							regulator-min-microvolt = <1800000>;
 133							regulator-max-microvolt = <3000000>;
 134						};
 135					};
 136
 137					scm_conf_clocks: clocks {
 138						#address-cells = <1>;
 139						#size-cells = <0>;
 140					};
 141				};
 142
 143				dra7_pmx_core: pinmux@1400 {
 144					compatible = "ti,dra7-padconf",
 145						     "pinctrl-single";
 146					reg = <0x1400 0x0468>;
 147					#address-cells = <1>;
 148					#size-cells = <0>;
 149					#interrupt-cells = <1>;
 150					interrupt-controller;
 151					pinctrl-single,register-width = <32>;
 152					pinctrl-single,function-mask = <0x3fffffff>;
 153				};
 154
 155				scm_conf1: scm_conf@1c04 {
 156					compatible = "syscon";
 157					reg = <0x1c04 0x0020>;
 158				};
 159
 160				scm_conf_pcie: scm_conf@1c24 {
 161					compatible = "syscon";
 162					reg = <0x1c24 0x0024>;
 163				};
 164			};
 165
 166			cm_core_aon: cm_core_aon@5000 {
 167				compatible = "ti,dra7-cm-core-aon";
 168				reg = <0x5000 0x2000>;
 169
 170				cm_core_aon_clocks: clocks {
 171					#address-cells = <1>;
 172					#size-cells = <0>;
 173				};
 174
 175				cm_core_aon_clockdomains: clockdomains {
 176				};
 177			};
 178
 179			cm_core: cm_core@8000 {
 180				compatible = "ti,dra7-cm-core";
 181				reg = <0x8000 0x3000>;
 182
 183				cm_core_clocks: clocks {
 184					#address-cells = <1>;
 185					#size-cells = <0>;
 186				};
 187
 188				cm_core_clockdomains: clockdomains {
 189				};
 190			};
 191		};
 192
 193		l4_wkup: l4@4ae00000 {
 194			compatible = "ti,dra7-l4-wkup", "simple-bus";
 
 
 
 195			#address-cells = <1>;
 196			#size-cells = <1>;
 197			ranges = <0 0x4ae00000 0x3f000>;
 198
 199			counter32k: counter@4000 {
 200				compatible = "ti,omap-counter32k";
 201				reg = <0x4000 0x40>;
 202				ti,hwmods = "counter_32k";
 203			};
 
 204
 205			prm: prm@6000 {
 206				compatible = "ti,dra7-prm";
 207				reg = <0x6000 0x3000>;
 208				interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
 209
 210				prm_clocks: clocks {
 211					#address-cells = <1>;
 212					#size-cells = <0>;
 213				};
 214
 215				prm_clockdomains: clockdomains {
 216				};
 217			};
 218		};
 219
 220		axi@0 {
 221			compatible = "simple-bus";
 
 
 
 
 
 
 
 
 
 
 
 
 
 222			#size-cells = <1>;
 223			#address-cells = <1>;
 224			ranges = <0x51000000 0x51000000 0x3000
 225				  0x0	     0x20000000 0x10000000>;
 226			pcie1: pcie@51000000 {
 227				compatible = "ti,dra7-pcie";
 228				reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>;
 
 
 
 
 
 
 229				reg-names = "rc_dbics", "ti_conf", "config";
 230				interrupts = <0 232 0x4>, <0 233 0x4>;
 231				#address-cells = <3>;
 232				#size-cells = <2>;
 233				device_type = "pci";
 234				ranges = <0x81000000 0 0          0x03000 0 0x00010000
 235					  0x82000000 0 0x20013000 0x13000 0 0xffed000>;
 
 236				#interrupt-cells = <1>;
 237				num-lanes = <1>;
 238				ti,hwmods = "pcie1";
 239				phys = <&pcie1_phy>;
 240				phy-names = "pcie-phy0";
 
 241				interrupt-map-mask = <0 0 0 7>;
 242				interrupt-map = <0 0 0 1 &pcie1_intc 1>,
 243						<0 0 0 2 &pcie1_intc 2>,
 244						<0 0 0 3 &pcie1_intc 3>,
 245						<0 0 0 4 &pcie1_intc 4>;
 
 
 246				pcie1_intc: interrupt-controller {
 247					interrupt-controller;
 248					#address-cells = <0>;
 249					#interrupt-cells = <1>;
 250				};
 251			};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 252		};
 253
 254		axi@1 {
 255			compatible = "simple-bus";
 
 
 
 
 
 
 
 
 
 
 
 
 
 256			#size-cells = <1>;
 257			#address-cells = <1>;
 258			ranges = <0x51800000 0x51800000 0x3000
 259				  0x0	     0x30000000 0x10000000>;
 260			status = "disabled";
 261			pcie@51000000 {
 262				compatible = "ti,dra7-pcie";
 263				reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
 
 
 264				reg-names = "rc_dbics", "ti_conf", "config";
 265				interrupts = <0 355 0x4>, <0 356 0x4>;
 266				#address-cells = <3>;
 267				#size-cells = <2>;
 268				device_type = "pci";
 269				ranges = <0x81000000 0 0          0x03000 0 0x00010000
 270					  0x82000000 0 0x30013000 0x13000 0 0xffed000>;
 
 271				#interrupt-cells = <1>;
 272				num-lanes = <1>;
 273				ti,hwmods = "pcie2";
 274				phys = <&pcie2_phy>;
 275				phy-names = "pcie-phy0";
 276				interrupt-map-mask = <0 0 0 7>;
 277				interrupt-map = <0 0 0 1 &pcie2_intc 1>,
 278						<0 0 0 2 &pcie2_intc 2>,
 279						<0 0 0 3 &pcie2_intc 3>,
 280						<0 0 0 4 &pcie2_intc 4>;
 
 281				pcie2_intc: interrupt-controller {
 282					interrupt-controller;
 283					#address-cells = <0>;
 284					#interrupt-cells = <1>;
 285				};
 286			};
 287		};
 288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 289		bandgap: bandgap@4a0021e0 {
 290			reg = <0x4a0021e0 0xc
 291				0x4a00232c 0xc
 292				0x4a002380 0x2c
 293				0x4a0023C0 0x3c
 294				0x4a002564 0x8
 295				0x4a002574 0x50>;
 296				compatible = "ti,dra752-bandgap";
 297				interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
 298				#thermal-sensor-cells = <1>;
 299		};
 300
 301		dsp1_system: dsp_system@40d00000 {
 302			compatible = "syscon";
 303			reg = <0x40d00000 0x100>;
 304		};
 305
 306		sdma: dma-controller@4a056000 {
 307			compatible = "ti,omap4430-sdma";
 308			reg = <0x4a056000 0x1000>;
 309			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
 310				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
 311				     <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
 312				     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 313			#dma-cells = <1>;
 314			dma-channels = <32>;
 315			dma-requests = <127>;
 316		};
 317
 318		sdma_xbar: dma-router@4a002b78 {
 319			compatible = "ti,dra7-dma-crossbar";
 320			reg = <0x4a002b78 0xfc>;
 321			#dma-cells = <1>;
 322			dma-requests = <205>;
 323			ti,dma-safe-map = <0>;
 324			dma-masters = <&sdma>;
 325		};
 326
 327		gpio1: gpio@4ae10000 {
 328			compatible = "ti,omap4-gpio";
 329			reg = <0x4ae10000 0x200>;
 330			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
 331			ti,hwmods = "gpio1";
 332			gpio-controller;
 333			#gpio-cells = <2>;
 334			interrupt-controller;
 335			#interrupt-cells = <2>;
 336		};
 337
 338		gpio2: gpio@48055000 {
 339			compatible = "ti,omap4-gpio";
 340			reg = <0x48055000 0x200>;
 341			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
 342			ti,hwmods = "gpio2";
 343			gpio-controller;
 344			#gpio-cells = <2>;
 345			interrupt-controller;
 346			#interrupt-cells = <2>;
 347		};
 
 
 
 
 
 
 348
 349		gpio3: gpio@48057000 {
 350			compatible = "ti,omap4-gpio";
 351			reg = <0x48057000 0x200>;
 352			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
 353			ti,hwmods = "gpio3";
 354			gpio-controller;
 355			#gpio-cells = <2>;
 356			interrupt-controller;
 357			#interrupt-cells = <2>;
 
 
 
 
 
 
 
 
 
 
 
 
 358		};
 359
 360		gpio4: gpio@48059000 {
 361			compatible = "ti,omap4-gpio";
 362			reg = <0x48059000 0x200>;
 363			interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
 364			ti,hwmods = "gpio4";
 365			gpio-controller;
 366			#gpio-cells = <2>;
 367			interrupt-controller;
 368			#interrupt-cells = <2>;
 369		};
 
 
 
 
 
 
 370
 371		gpio5: gpio@4805b000 {
 372			compatible = "ti,omap4-gpio";
 373			reg = <0x4805b000 0x200>;
 374			interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
 375			ti,hwmods = "gpio5";
 376			gpio-controller;
 377			#gpio-cells = <2>;
 378			interrupt-controller;
 379			#interrupt-cells = <2>;
 380		};
 381
 382		gpio6: gpio@4805d000 {
 383			compatible = "ti,omap4-gpio";
 384			reg = <0x4805d000 0x200>;
 385			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
 386			ti,hwmods = "gpio6";
 387			gpio-controller;
 388			#gpio-cells = <2>;
 389			interrupt-controller;
 390			#interrupt-cells = <2>;
 391		};
 
 
 
 
 
 
 392
 393		gpio7: gpio@48051000 {
 394			compatible = "ti,omap4-gpio";
 395			reg = <0x48051000 0x200>;
 396			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
 397			ti,hwmods = "gpio7";
 398			gpio-controller;
 399			#gpio-cells = <2>;
 400			interrupt-controller;
 401			#interrupt-cells = <2>;
 402		};
 403
 404		gpio8: gpio@48053000 {
 405			compatible = "ti,omap4-gpio";
 406			reg = <0x48053000 0x200>;
 407			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
 408			ti,hwmods = "gpio8";
 409			gpio-controller;
 410			#gpio-cells = <2>;
 411			interrupt-controller;
 412			#interrupt-cells = <2>;
 413		};
 
 414
 415		uart1: serial@4806a000 {
 416			compatible = "ti,dra742-uart", "ti,omap4-uart";
 417			reg = <0x4806a000 0x100>;
 418			interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
 419			ti,hwmods = "uart1";
 420			clock-frequency = <48000000>;
 421			status = "disabled";
 422			dmas = <&sdma_xbar 49>, <&sdma_xbar 50>;
 423			dma-names = "tx", "rx";
 424		};
 425
 426		uart2: serial@4806c000 {
 427			compatible = "ti,dra742-uart", "ti,omap4-uart";
 428			reg = <0x4806c000 0x100>;
 429			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
 430			ti,hwmods = "uart2";
 431			clock-frequency = <48000000>;
 432			status = "disabled";
 433			dmas = <&sdma_xbar 51>, <&sdma_xbar 52>;
 434			dma-names = "tx", "rx";
 435		};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 436
 437		uart3: serial@48020000 {
 438			compatible = "ti,dra742-uart", "ti,omap4-uart";
 439			reg = <0x48020000 0x100>;
 440			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
 441			ti,hwmods = "uart3";
 442			clock-frequency = <48000000>;
 443			status = "disabled";
 444			dmas = <&sdma_xbar 53>, <&sdma_xbar 54>;
 445			dma-names = "tx", "rx";
 446		};
 447
 448		uart4: serial@4806e000 {
 449			compatible = "ti,dra742-uart", "ti,omap4-uart";
 450			reg = <0x4806e000 0x100>;
 451			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
 452			ti,hwmods = "uart4";
 453			clock-frequency = <48000000>;
 454                        status = "disabled";
 455			dmas = <&sdma_xbar 55>, <&sdma_xbar 56>;
 456			dma-names = "tx", "rx";
 457		};
 458
 459		uart5: serial@48066000 {
 460			compatible = "ti,dra742-uart", "ti,omap4-uart";
 461			reg = <0x48066000 0x100>;
 462			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
 463			ti,hwmods = "uart5";
 464			clock-frequency = <48000000>;
 465			status = "disabled";
 466			dmas = <&sdma_xbar 63>, <&sdma_xbar 64>;
 467			dma-names = "tx", "rx";
 468		};
 469
 470		uart6: serial@48068000 {
 471			compatible = "ti,dra742-uart", "ti,omap4-uart";
 472			reg = <0x48068000 0x100>;
 473			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
 474			ti,hwmods = "uart6";
 475			clock-frequency = <48000000>;
 476			status = "disabled";
 477			dmas = <&sdma_xbar 79>, <&sdma_xbar 80>;
 478			dma-names = "tx", "rx";
 479		};
 480
 481		uart7: serial@48420000 {
 482			compatible = "ti,dra742-uart", "ti,omap4-uart";
 483			reg = <0x48420000 0x100>;
 484			interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>;
 485			ti,hwmods = "uart7";
 486			clock-frequency = <48000000>;
 487			status = "disabled";
 488		};
 489
 490		uart8: serial@48422000 {
 491			compatible = "ti,dra742-uart", "ti,omap4-uart";
 492			reg = <0x48422000 0x100>;
 493			interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>;
 494			ti,hwmods = "uart8";
 495			clock-frequency = <48000000>;
 496			status = "disabled";
 497		};
 498
 499		uart9: serial@48424000 {
 500			compatible = "ti,dra742-uart", "ti,omap4-uart";
 501			reg = <0x48424000 0x100>;
 502			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
 503			ti,hwmods = "uart9";
 504			clock-frequency = <48000000>;
 505			status = "disabled";
 506		};
 507
 508		uart10: serial@4ae2b000 {
 509			compatible = "ti,dra742-uart", "ti,omap4-uart";
 510			reg = <0x4ae2b000 0x100>;
 511			interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
 512			ti,hwmods = "uart10";
 513			clock-frequency = <48000000>;
 514			status = "disabled";
 515		};
 516
 517		mailbox1: mailbox@4a0f4000 {
 518			compatible = "ti,omap4-mailbox";
 519			reg = <0x4a0f4000 0x200>;
 520			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
 521				     <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
 522				     <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
 523			ti,hwmods = "mailbox1";
 524			#mbox-cells = <1>;
 525			ti,mbox-num-users = <3>;
 526			ti,mbox-num-fifos = <8>;
 527			status = "disabled";
 528		};
 529
 530		mailbox2: mailbox@4883a000 {
 531			compatible = "ti,omap4-mailbox";
 532			reg = <0x4883a000 0x200>;
 533			interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>,
 534				     <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
 535				     <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>,
 536				     <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
 537			ti,hwmods = "mailbox2";
 538			#mbox-cells = <1>;
 539			ti,mbox-num-users = <4>;
 540			ti,mbox-num-fifos = <12>;
 541			status = "disabled";
 542		};
 543
 544		mailbox3: mailbox@4883c000 {
 545			compatible = "ti,omap4-mailbox";
 546			reg = <0x4883c000 0x200>;
 547			interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>,
 548				     <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>,
 549				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>,
 550				     <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>;
 551			ti,hwmods = "mailbox3";
 552			#mbox-cells = <1>;
 553			ti,mbox-num-users = <4>;
 554			ti,mbox-num-fifos = <12>;
 555			status = "disabled";
 556		};
 557
 558		mailbox4: mailbox@4883e000 {
 559			compatible = "ti,omap4-mailbox";
 560			reg = <0x4883e000 0x200>;
 561			interrupts = <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
 562				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
 563				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
 564				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>;
 565			ti,hwmods = "mailbox4";
 566			#mbox-cells = <1>;
 567			ti,mbox-num-users = <4>;
 568			ti,mbox-num-fifos = <12>;
 569			status = "disabled";
 570		};
 571
 572		mailbox5: mailbox@48840000 {
 573			compatible = "ti,omap4-mailbox";
 574			reg = <0x48840000 0x200>;
 575			interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
 576				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
 577				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
 578				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>;
 579			ti,hwmods = "mailbox5";
 580			#mbox-cells = <1>;
 581			ti,mbox-num-users = <4>;
 582			ti,mbox-num-fifos = <12>;
 583			status = "disabled";
 584		};
 585
 586		mailbox6: mailbox@48842000 {
 587			compatible = "ti,omap4-mailbox";
 588			reg = <0x48842000 0x200>;
 589			interrupts = <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
 590				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
 591				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
 592				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
 593			ti,hwmods = "mailbox6";
 594			#mbox-cells = <1>;
 595			ti,mbox-num-users = <4>;
 596			ti,mbox-num-fifos = <12>;
 597			status = "disabled";
 598		};
 599
 600		mailbox7: mailbox@48844000 {
 601			compatible = "ti,omap4-mailbox";
 602			reg = <0x48844000 0x200>;
 603			interrupts = <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
 604				     <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
 605				     <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
 606				     <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>;
 607			ti,hwmods = "mailbox7";
 608			#mbox-cells = <1>;
 609			ti,mbox-num-users = <4>;
 610			ti,mbox-num-fifos = <12>;
 611			status = "disabled";
 612		};
 613
 614		mailbox8: mailbox@48846000 {
 615			compatible = "ti,omap4-mailbox";
 616			reg = <0x48846000 0x200>;
 617			interrupts = <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
 618				     <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
 619				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
 620				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>;
 621			ti,hwmods = "mailbox8";
 622			#mbox-cells = <1>;
 623			ti,mbox-num-users = <4>;
 624			ti,mbox-num-fifos = <12>;
 625			status = "disabled";
 626		};
 627
 628		mailbox9: mailbox@4885e000 {
 629			compatible = "ti,omap4-mailbox";
 630			reg = <0x4885e000 0x200>;
 631			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
 632				     <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
 633				     <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
 634				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
 635			ti,hwmods = "mailbox9";
 636			#mbox-cells = <1>;
 637			ti,mbox-num-users = <4>;
 638			ti,mbox-num-fifos = <12>;
 639			status = "disabled";
 640		};
 641
 642		mailbox10: mailbox@48860000 {
 643			compatible = "ti,omap4-mailbox";
 644			reg = <0x48860000 0x200>;
 645			interrupts = <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
 646				     <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>,
 647				     <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
 648				     <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
 649			ti,hwmods = "mailbox10";
 650			#mbox-cells = <1>;
 651			ti,mbox-num-users = <4>;
 652			ti,mbox-num-fifos = <12>;
 653			status = "disabled";
 654		};
 655
 656		mailbox11: mailbox@48862000 {
 657			compatible = "ti,omap4-mailbox";
 658			reg = <0x48862000 0x200>;
 659			interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
 660				     <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
 661				     <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
 662				     <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>;
 663			ti,hwmods = "mailbox11";
 664			#mbox-cells = <1>;
 665			ti,mbox-num-users = <4>;
 666			ti,mbox-num-fifos = <12>;
 667			status = "disabled";
 668		};
 669
 670		mailbox12: mailbox@48864000 {
 671			compatible = "ti,omap4-mailbox";
 672			reg = <0x48864000 0x200>;
 673			interrupts = <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
 674				     <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
 675				     <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
 676				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
 677			ti,hwmods = "mailbox12";
 678			#mbox-cells = <1>;
 679			ti,mbox-num-users = <4>;
 680			ti,mbox-num-fifos = <12>;
 681			status = "disabled";
 682		};
 683
 684		mailbox13: mailbox@48802000 {
 685			compatible = "ti,omap4-mailbox";
 686			reg = <0x48802000 0x200>;
 687			interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>,
 688				     <GIC_SPI 380 IRQ_TYPE_LEVEL_HIGH>,
 689				     <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH>,
 690				     <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH>;
 691			ti,hwmods = "mailbox13";
 692			#mbox-cells = <1>;
 693			ti,mbox-num-users = <4>;
 694			ti,mbox-num-fifos = <12>;
 695			status = "disabled";
 696		};
 697
 698		timer1: timer@4ae18000 {
 699			compatible = "ti,omap5430-timer";
 700			reg = <0x4ae18000 0x80>;
 701			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
 702			ti,hwmods = "timer1";
 703			ti,timer-alwon;
 704		};
 705
 706		timer2: timer@48032000 {
 707			compatible = "ti,omap5430-timer";
 708			reg = <0x48032000 0x80>;
 709			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
 710			ti,hwmods = "timer2";
 711		};
 712
 713		timer3: timer@48034000 {
 714			compatible = "ti,omap5430-timer";
 715			reg = <0x48034000 0x80>;
 716			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
 717			ti,hwmods = "timer3";
 718		};
 719
 720		timer4: timer@48036000 {
 721			compatible = "ti,omap5430-timer";
 722			reg = <0x48036000 0x80>;
 723			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
 724			ti,hwmods = "timer4";
 725		};
 726
 727		timer5: timer@48820000 {
 728			compatible = "ti,omap5430-timer";
 729			reg = <0x48820000 0x80>;
 730			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
 731			ti,hwmods = "timer5";
 732		};
 733
 734		timer6: timer@48822000 {
 735			compatible = "ti,omap5430-timer";
 736			reg = <0x48822000 0x80>;
 737			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
 738			ti,hwmods = "timer6";
 739		};
 740
 741		timer7: timer@48824000 {
 742			compatible = "ti,omap5430-timer";
 743			reg = <0x48824000 0x80>;
 744			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
 745			ti,hwmods = "timer7";
 746		};
 747
 748		timer8: timer@48826000 {
 749			compatible = "ti,omap5430-timer";
 750			reg = <0x48826000 0x80>;
 751			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
 752			ti,hwmods = "timer8";
 753		};
 754
 755		timer9: timer@4803e000 {
 756			compatible = "ti,omap5430-timer";
 757			reg = <0x4803e000 0x80>;
 758			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
 759			ti,hwmods = "timer9";
 760		};
 761
 762		timer10: timer@48086000 {
 763			compatible = "ti,omap5430-timer";
 764			reg = <0x48086000 0x80>;
 765			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
 766			ti,hwmods = "timer10";
 767		};
 768
 769		timer11: timer@48088000 {
 770			compatible = "ti,omap5430-timer";
 771			reg = <0x48088000 0x80>;
 772			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
 773			ti,hwmods = "timer11";
 774		};
 775
 776		timer13: timer@48828000 {
 777			compatible = "ti,omap5430-timer";
 778			reg = <0x48828000 0x80>;
 779			interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>;
 780			ti,hwmods = "timer13";
 781			status = "disabled";
 782		};
 783
 784		timer14: timer@4882a000 {
 785			compatible = "ti,omap5430-timer";
 786			reg = <0x4882a000 0x80>;
 787			interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>;
 788			ti,hwmods = "timer14";
 789			status = "disabled";
 790		};
 791
 792		timer15: timer@4882c000 {
 793			compatible = "ti,omap5430-timer";
 794			reg = <0x4882c000 0x80>;
 795			interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
 796			ti,hwmods = "timer15";
 797			status = "disabled";
 798		};
 799
 800		timer16: timer@4882e000 {
 801			compatible = "ti,omap5430-timer";
 802			reg = <0x4882e000 0x80>;
 803			interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
 804			ti,hwmods = "timer16";
 805			status = "disabled";
 806		};
 807
 808		wdt2: wdt@4ae14000 {
 809			compatible = "ti,omap3-wdt";
 810			reg = <0x4ae14000 0x80>;
 811			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
 812			ti,hwmods = "wd_timer2";
 813		};
 814
 815		hwspinlock: spinlock@4a0f6000 {
 816			compatible = "ti,omap4-hwspinlock";
 817			reg = <0x4a0f6000 0x1000>;
 818			ti,hwmods = "spinlock";
 819			#hwlock-cells = <1>;
 820		};
 821
 822		dmm@4e000000 {
 823			compatible = "ti,omap5-dmm";
 824			reg = <0x4e000000 0x800>;
 825			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
 826			ti,hwmods = "dmm";
 827		};
 828
 829		i2c1: i2c@48070000 {
 830			compatible = "ti,omap4-i2c";
 831			reg = <0x48070000 0x100>;
 832			interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
 833			#address-cells = <1>;
 834			#size-cells = <0>;
 835			ti,hwmods = "i2c1";
 836			status = "disabled";
 837		};
 838
 839		i2c2: i2c@48072000 {
 840			compatible = "ti,omap4-i2c";
 841			reg = <0x48072000 0x100>;
 842			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
 843			#address-cells = <1>;
 844			#size-cells = <0>;
 845			ti,hwmods = "i2c2";
 846			status = "disabled";
 847		};
 848
 849		i2c3: i2c@48060000 {
 850			compatible = "ti,omap4-i2c";
 851			reg = <0x48060000 0x100>;
 852			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
 
 
 
 
 
 
 853			#address-cells = <1>;
 854			#size-cells = <0>;
 855			ti,hwmods = "i2c3";
 856			status = "disabled";
 857		};
 858
 859		i2c4: i2c@4807a000 {
 860			compatible = "ti,omap4-i2c";
 861			reg = <0x4807a000 0x100>;
 862			interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
 863			#address-cells = <1>;
 864			#size-cells = <0>;
 865			ti,hwmods = "i2c4";
 866			status = "disabled";
 867		};
 868
 869		i2c5: i2c@4807c000 {
 870			compatible = "ti,omap4-i2c";
 871			reg = <0x4807c000 0x100>;
 872			interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
 
 
 
 
 
 
 873			#address-cells = <1>;
 874			#size-cells = <0>;
 875			ti,hwmods = "i2c5";
 876			status = "disabled";
 877		};
 878
 879		mmc1: mmc@4809c000 {
 880			compatible = "ti,omap4-hsmmc";
 881			reg = <0x4809c000 0x400>;
 882			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
 883			ti,hwmods = "mmc1";
 884			ti,dual-volt;
 885			ti,needs-special-reset;
 886			dmas = <&sdma_xbar 61>, <&sdma_xbar 62>;
 887			dma-names = "tx", "rx";
 888			status = "disabled";
 889			pbias-supply = <&pbias_mmc_reg>;
 890		};
 891
 892		mmc2: mmc@480b4000 {
 893			compatible = "ti,omap4-hsmmc";
 894			reg = <0x480b4000 0x400>;
 895			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
 896			ti,hwmods = "mmc2";
 897			ti,needs-special-reset;
 898			dmas = <&sdma_xbar 47>, <&sdma_xbar 48>;
 899			dma-names = "tx", "rx";
 900			status = "disabled";
 901		};
 902
 903		mmc3: mmc@480ad000 {
 904			compatible = "ti,omap4-hsmmc";
 905			reg = <0x480ad000 0x400>;
 906			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
 907			ti,hwmods = "mmc3";
 908			ti,needs-special-reset;
 909			dmas = <&sdma_xbar 77>, <&sdma_xbar 78>;
 910			dma-names = "tx", "rx";
 911			status = "disabled";
 912		};
 913
 914		mmc4: mmc@480d1000 {
 915			compatible = "ti,omap4-hsmmc";
 916			reg = <0x480d1000 0x400>;
 917			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
 918			ti,hwmods = "mmc4";
 919			ti,needs-special-reset;
 920			dmas = <&sdma_xbar 57>, <&sdma_xbar 58>;
 921			dma-names = "tx", "rx";
 922			status = "disabled";
 923		};
 924
 925		mmu0_dsp1: mmu@40d01000 {
 926			compatible = "ti,dra7-dsp-iommu";
 927			reg = <0x40d01000 0x100>;
 928			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
 929			ti,hwmods = "mmu0_dsp1";
 930			#iommu-cells = <0>;
 931			ti,syscon-mmuconfig = <&dsp1_system 0x0>;
 932			status = "disabled";
 933		};
 934
 935		mmu1_dsp1: mmu@40d02000 {
 936			compatible = "ti,dra7-dsp-iommu";
 937			reg = <0x40d02000 0x100>;
 938			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
 939			ti,hwmods = "mmu1_dsp1";
 940			#iommu-cells = <0>;
 941			ti,syscon-mmuconfig = <&dsp1_system 0x1>;
 942			status = "disabled";
 943		};
 944
 945		mmu_ipu1: mmu@58882000 {
 946			compatible = "ti,dra7-iommu";
 947			reg = <0x58882000 0x100>;
 948			interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
 949			ti,hwmods = "mmu_ipu1";
 950			#iommu-cells = <0>;
 951			ti,iommu-bus-err-back;
 952			status = "disabled";
 953		};
 954
 955		mmu_ipu2: mmu@55082000 {
 956			compatible = "ti,dra7-iommu";
 957			reg = <0x55082000 0x100>;
 958			interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
 959			ti,hwmods = "mmu_ipu2";
 960			#iommu-cells = <0>;
 961			ti,iommu-bus-err-back;
 962			status = "disabled";
 963		};
 964
 965		abb_mpu: regulator-abb-mpu {
 966			compatible = "ti,abb-v3";
 967			regulator-name = "abb_mpu";
 968			#address-cells = <0>;
 969			#size-cells = <0>;
 970			clocks = <&sys_clkin1>;
 971			ti,settling-time = <50>;
 972			ti,clock-cycles = <16>;
 973
 974			reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
 975			      <0x4ae06014 0x4>, <0x4a003b20 0xc>,
 976			      <0x4ae0c158 0x4>;
 977			reg-names = "setup-address", "control-address",
 978				    "int-address", "efuse-address",
 979				    "ldo-address";
 980			ti,tranxdone-status-mask = <0x80>;
 981			/* LDOVBBMPU_FBB_MUX_CTRL */
 982			ti,ldovbb-override-mask = <0x400>;
 983			/* LDOVBBMPU_FBB_VSET_OUT */
 984			ti,ldovbb-vset-mask = <0x1F>;
 985
 986			/*
 987			 * NOTE: only FBB mode used but actual vset will
 988			 * determine final biasing
 989			 */
 990			ti,abb_info = <
 991			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
 992			1060000		0	0x0	0 0x02000000 0x01F00000
 993			1160000		0	0x4	0 0x02000000 0x01F00000
 994			1210000		0	0x8	0 0x02000000 0x01F00000
 995			>;
 996		};
 997
 998		abb_ivahd: regulator-abb-ivahd {
 999			compatible = "ti,abb-v3";
1000			regulator-name = "abb_ivahd";
1001			#address-cells = <0>;
1002			#size-cells = <0>;
1003			clocks = <&sys_clkin1>;
1004			ti,settling-time = <50>;
1005			ti,clock-cycles = <16>;
1006
1007			reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
1008			      <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
1009			      <0x4a002470 0x4>;
1010			reg-names = "setup-address", "control-address",
1011				    "int-address", "efuse-address",
1012				    "ldo-address";
1013			ti,tranxdone-status-mask = <0x40000000>;
1014			/* LDOVBBIVA_FBB_MUX_CTRL */
1015			ti,ldovbb-override-mask = <0x400>;
1016			/* LDOVBBIVA_FBB_VSET_OUT */
1017			ti,ldovbb-vset-mask = <0x1F>;
1018
1019			/*
1020			 * NOTE: only FBB mode used but actual vset will
1021			 * determine final biasing
1022			 */
1023			ti,abb_info = <
1024			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
1025			1055000		0	0x0	0 0x02000000 0x01F00000
1026			1150000		0	0x4	0 0x02000000 0x01F00000
1027			1250000		0	0x8	0 0x02000000 0x01F00000
1028			>;
1029		};
1030
1031		abb_dspeve: regulator-abb-dspeve {
1032			compatible = "ti,abb-v3";
1033			regulator-name = "abb_dspeve";
1034			#address-cells = <0>;
1035			#size-cells = <0>;
1036			clocks = <&sys_clkin1>;
1037			ti,settling-time = <50>;
1038			ti,clock-cycles = <16>;
1039
1040			reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
1041			      <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
1042			      <0x4a00246c 0x4>;
1043			reg-names = "setup-address", "control-address",
1044				    "int-address", "efuse-address",
1045				    "ldo-address";
1046			ti,tranxdone-status-mask = <0x20000000>;
1047			/* LDOVBBDSPEVE_FBB_MUX_CTRL */
1048			ti,ldovbb-override-mask = <0x400>;
1049			/* LDOVBBDSPEVE_FBB_VSET_OUT */
1050			ti,ldovbb-vset-mask = <0x1F>;
1051
1052			/*
1053			 * NOTE: only FBB mode used but actual vset will
1054			 * determine final biasing
1055			 */
1056			ti,abb_info = <
1057			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
1058			1055000		0	0x0	0 0x02000000 0x01F00000
1059			1150000		0	0x4	0 0x02000000 0x01F00000
1060			1250000		0	0x8	0 0x02000000 0x01F00000
1061			>;
1062		};
1063
1064		abb_gpu: regulator-abb-gpu {
1065			compatible = "ti,abb-v3";
1066			regulator-name = "abb_gpu";
1067			#address-cells = <0>;
1068			#size-cells = <0>;
1069			clocks = <&sys_clkin1>;
1070			ti,settling-time = <50>;
1071			ti,clock-cycles = <16>;
1072
1073			reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
1074			      <0x4ae06010 0x4>, <0x4a003b08 0xc>,
1075			      <0x4ae0c154 0x4>;
1076			reg-names = "setup-address", "control-address",
1077				    "int-address", "efuse-address",
1078				    "ldo-address";
1079			ti,tranxdone-status-mask = <0x10000000>;
1080			/* LDOVBBGPU_FBB_MUX_CTRL */
1081			ti,ldovbb-override-mask = <0x400>;
1082			/* LDOVBBGPU_FBB_VSET_OUT */
1083			ti,ldovbb-vset-mask = <0x1F>;
1084
1085			/*
1086			 * NOTE: only FBB mode used but actual vset will
1087			 * determine final biasing
1088			 */
1089			ti,abb_info = <
1090			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
1091			1090000		0	0x0	0 0x02000000 0x01F00000
1092			1210000		0	0x4	0 0x02000000 0x01F00000
1093			1280000		0	0x8	0 0x02000000 0x01F00000
1094			>;
1095		};
1096
1097		mcspi1: spi@48098000 {
1098			compatible = "ti,omap4-mcspi";
1099			reg = <0x48098000 0x200>;
1100			interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
 
1101			#address-cells = <1>;
1102			#size-cells = <0>;
1103			ti,hwmods = "mcspi1";
1104			ti,spi-num-cs = <4>;
1105			dmas = <&sdma_xbar 35>,
1106			       <&sdma_xbar 36>,
1107			       <&sdma_xbar 37>,
1108			       <&sdma_xbar 38>,
1109			       <&sdma_xbar 39>,
1110			       <&sdma_xbar 40>,
1111			       <&sdma_xbar 41>,
1112			       <&sdma_xbar 42>;
1113			dma-names = "tx0", "rx0", "tx1", "rx1",
1114				    "tx2", "rx2", "tx3", "rx3";
1115			status = "disabled";
1116		};
1117
1118		mcspi2: spi@4809a000 {
1119			compatible = "ti,omap4-mcspi";
1120			reg = <0x4809a000 0x200>;
1121			interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
1122			#address-cells = <1>;
1123			#size-cells = <0>;
1124			ti,hwmods = "mcspi2";
1125			ti,spi-num-cs = <2>;
1126			dmas = <&sdma_xbar 43>,
1127			       <&sdma_xbar 44>,
1128			       <&sdma_xbar 45>,
1129			       <&sdma_xbar 46>;
1130			dma-names = "tx0", "rx0", "tx1", "rx1";
1131			status = "disabled";
1132		};
1133
1134		mcspi3: spi@480b8000 {
1135			compatible = "ti,omap4-mcspi";
1136			reg = <0x480b8000 0x200>;
1137			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1138			#address-cells = <1>;
1139			#size-cells = <0>;
1140			ti,hwmods = "mcspi3";
1141			ti,spi-num-cs = <2>;
1142			dmas = <&sdma_xbar 15>, <&sdma_xbar 16>;
1143			dma-names = "tx0", "rx0";
1144			status = "disabled";
1145		};
1146
1147		mcspi4: spi@480ba000 {
1148			compatible = "ti,omap4-mcspi";
1149			reg = <0x480ba000 0x200>;
1150			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
1151			#address-cells = <1>;
1152			#size-cells = <0>;
1153			ti,hwmods = "mcspi4";
1154			ti,spi-num-cs = <1>;
1155			dmas = <&sdma_xbar 70>, <&sdma_xbar 71>;
1156			dma-names = "tx0", "rx0";
1157			status = "disabled";
1158		};
1159
1160		qspi: qspi@4b300000 {
1161			compatible = "ti,dra7xxx-qspi";
1162			reg = <0x4b300000 0x100>,
1163			      <0x5c000000 0x4000000>;
1164			reg-names = "qspi_base", "qspi_mmap";
1165			syscon-chipselects = <&scm_conf 0x558>;
1166			#address-cells = <1>;
1167			#size-cells = <0>;
1168			ti,hwmods = "qspi";
1169			clocks = <&qspi_gfclk_div>;
1170			clock-names = "fck";
1171			num-cs = <4>;
1172			interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
1173			status = "disabled";
1174		};
1175
1176		/* OCP2SCP3 */
1177		ocp2scp@4a090000 {
1178			compatible = "ti,omap-ocp2scp";
1179			#address-cells = <1>;
1180			#size-cells = <1>;
1181			ranges;
1182			reg = <0x4a090000 0x20>;
1183			ti,hwmods = "ocp2scp3";
1184			sata_phy: phy@4A096000 {
1185				compatible = "ti,phy-pipe3-sata";
1186				reg = <0x4A096000 0x80>, /* phy_rx */
1187				      <0x4A096400 0x64>, /* phy_tx */
1188				      <0x4A096800 0x40>; /* pll_ctrl */
1189				reg-names = "phy_rx", "phy_tx", "pll_ctrl";
1190				syscon-phy-power = <&scm_conf 0x374>;
1191				clocks = <&sys_clkin1>, <&sata_ref_clk>;
1192				clock-names = "sysclk", "refclk";
1193				syscon-pllreset = <&scm_conf 0x3fc>;
1194				#phy-cells = <0>;
1195			};
1196
1197			pcie1_phy: pciephy@4a094000 {
1198				compatible = "ti,phy-pipe3-pcie";
1199				reg = <0x4a094000 0x80>, /* phy_rx */
1200				      <0x4a094400 0x64>; /* phy_tx */
1201				reg-names = "phy_rx", "phy_tx";
1202				syscon-phy-power = <&scm_conf_pcie 0x1c>;
1203				syscon-pcs = <&scm_conf_pcie 0x10>;
1204				clocks = <&dpll_pcie_ref_ck>,
1205					 <&dpll_pcie_ref_m2ldo_ck>,
1206					 <&optfclk_pciephy1_32khz>,
1207					 <&optfclk_pciephy1_clk>,
1208					 <&optfclk_pciephy1_div_clk>,
1209					 <&optfclk_pciephy_div>,
1210					 <&sys_clkin1>;
1211				clock-names = "dpll_ref", "dpll_ref_m2",
1212					      "wkupclk", "refclk",
1213					      "div-clk", "phy-div", "sysclk";
1214				#phy-cells = <0>;
1215			};
1216
1217			pcie2_phy: pciephy@4a095000 {
1218				compatible = "ti,phy-pipe3-pcie";
1219				reg = <0x4a095000 0x80>, /* phy_rx */
1220				      <0x4a095400 0x64>; /* phy_tx */
1221				reg-names = "phy_rx", "phy_tx";
1222				syscon-phy-power = <&scm_conf_pcie 0x20>;
1223				syscon-pcs = <&scm_conf_pcie 0x10>;
1224				clocks = <&dpll_pcie_ref_ck>,
1225					 <&dpll_pcie_ref_m2ldo_ck>,
1226					 <&optfclk_pciephy2_32khz>,
1227					 <&optfclk_pciephy2_clk>,
1228					 <&optfclk_pciephy2_div_clk>,
1229					 <&optfclk_pciephy_div>,
1230					 <&sys_clkin1>;
1231				clock-names = "dpll_ref", "dpll_ref_m2",
1232					      "wkupclk", "refclk",
1233					      "div-clk", "phy-div", "sysclk";
1234				#phy-cells = <0>;
1235				status = "disabled";
1236			};
1237		};
1238
1239		sata: sata@4a141100 {
1240			compatible = "snps,dwc-ahci";
1241			reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
1242			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
1243			phys = <&sata_phy>;
1244			phy-names = "sata-phy";
1245			clocks = <&sata_ref_clk>;
1246			ti,hwmods = "sata";
1247		};
1248
1249		rtc: rtc@48838000 {
1250			compatible = "ti,am3352-rtc";
1251			reg = <0x48838000 0x100>;
1252			interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
1253				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
1254			ti,hwmods = "rtcss";
1255			clocks = <&sys_32k_ck>;
1256		};
1257
1258		/* OCP2SCP1 */
1259		ocp2scp@4a080000 {
1260			compatible = "ti,omap-ocp2scp";
 
 
 
 
 
 
 
 
 
1261			#address-cells = <1>;
1262			#size-cells = <1>;
1263			ranges;
1264			reg = <0x4a080000 0x20>;
1265			ti,hwmods = "ocp2scp1";
1266
1267			usb2_phy1: phy@4a084000 {
1268				compatible = "ti,omap-usb2";
1269				reg = <0x4a084000 0x400>;
1270				syscon-phy-power = <&scm_conf 0x300>;
1271				clocks = <&usb_phy1_always_on_clk32k>,
1272					 <&usb_otg_ss1_refclk960m>;
1273				clock-names =	"wkupclk",
1274						"refclk";
1275				#phy-cells = <0>;
1276			};
1277
1278			usb2_phy2: phy@4a085000 {
1279				compatible = "ti,dra7x-usb2-phy2",
1280					     "ti,omap-usb2";
1281				reg = <0x4a085000 0x400>;
1282				syscon-phy-power = <&scm_conf 0xe74>;
1283				clocks = <&usb_phy2_always_on_clk32k>,
1284					 <&usb_otg_ss2_refclk960m>;
1285				clock-names =	"wkupclk",
1286						"refclk";
1287				#phy-cells = <0>;
1288			};
1289
1290			usb3_phy1: phy@4a084400 {
1291				compatible = "ti,omap-usb3";
1292				reg = <0x4a084400 0x80>,
1293				      <0x4a084800 0x64>,
1294				      <0x4a084c00 0x40>;
1295				reg-names = "phy_rx", "phy_tx", "pll_ctrl";
1296				syscon-phy-power = <&scm_conf 0x370>;
1297				clocks = <&usb_phy3_always_on_clk32k>,
1298					 <&sys_clkin1>,
1299					 <&usb_otg_ss1_refclk960m>;
1300				clock-names =	"wkupclk",
1301						"sysclk",
1302						"refclk";
1303				#phy-cells = <0>;
1304			};
1305		};
1306
1307		omap_dwc3_1: omap_dwc3_1@48880000 {
1308			compatible = "ti,dwc3";
1309			ti,hwmods = "usb_otg_ss1";
1310			reg = <0x48880000 0x10000>;
1311			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1312			#address-cells = <1>;
1313			#size-cells = <1>;
1314			utmi-mode = <2>;
1315			ranges;
1316			usb1: usb@48890000 {
1317				compatible = "snps,dwc3";
1318				reg = <0x48890000 0x17000>;
1319				interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
1320					     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
1321					     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1322				interrupt-names = "peripheral",
1323						  "host",
1324						  "otg";
1325				phys = <&usb2_phy1>, <&usb3_phy1>;
1326				phy-names = "usb2-phy", "usb3-phy";
1327				maximum-speed = "super-speed";
1328				dr_mode = "otg";
1329				snps,dis_u3_susphy_quirk;
1330				snps,dis_u2_susphy_quirk;
1331			};
1332		};
1333
1334		omap_dwc3_2: omap_dwc3_2@488c0000 {
1335			compatible = "ti,dwc3";
1336			ti,hwmods = "usb_otg_ss2";
1337			reg = <0x488c0000 0x10000>;
1338			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
1339			#address-cells = <1>;
1340			#size-cells = <1>;
1341			utmi-mode = <2>;
1342			ranges;
1343			usb2: usb@488d0000 {
1344				compatible = "snps,dwc3";
1345				reg = <0x488d0000 0x17000>;
1346				interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
1347					     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
1348					     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
1349				interrupt-names = "peripheral",
1350						  "host",
1351						  "otg";
1352				phys = <&usb2_phy2>;
1353				phy-names = "usb2-phy";
1354				maximum-speed = "high-speed";
1355				dr_mode = "otg";
1356				snps,dis_u3_susphy_quirk;
1357				snps,dis_u2_susphy_quirk;
1358			};
1359		};
1360
1361		/* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
1362		omap_dwc3_3: omap_dwc3_3@48900000 {
1363			compatible = "ti,dwc3";
1364			ti,hwmods = "usb_otg_ss3";
1365			reg = <0x48900000 0x10000>;
1366			interrupts = <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
 
1367			#address-cells = <1>;
1368			#size-cells = <1>;
1369			utmi-mode = <2>;
1370			ranges;
1371			status = "disabled";
1372			usb3: usb@48910000 {
1373				compatible = "snps,dwc3";
1374				reg = <0x48910000 0x17000>;
1375				interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1376					     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1377					     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>;
1378				interrupt-names = "peripheral",
1379						  "host",
1380						  "otg";
1381				maximum-speed = "high-speed";
1382				dr_mode = "otg";
1383				snps,dis_u3_susphy_quirk;
1384				snps,dis_u2_susphy_quirk;
1385			};
1386		};
1387
1388		elm: elm@48078000 {
1389			compatible = "ti,am3352-elm";
1390			reg = <0x48078000 0xfc0>;      /* device IO registers */
1391			interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
1392			ti,hwmods = "elm";
1393			status = "disabled";
1394		};
1395
1396		gpmc: gpmc@50000000 {
1397			compatible = "ti,am3352-gpmc";
1398			ti,hwmods = "gpmc";
1399			reg = <0x50000000 0x37c>;      /* device IO registers */
1400			interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1401			gpmc,num-cs = <8>;
1402			gpmc,num-waitpins = <2>;
1403			#address-cells = <2>;
1404			#size-cells = <1>;
1405			interrupt-controller;
1406			#interrupt-cells = <2>;
1407			status = "disabled";
1408		};
1409
1410		atl: atl@4843c000 {
1411			compatible = "ti,dra7-atl";
1412			reg = <0x4843c000 0x3ff>;
1413			ti,hwmods = "atl";
1414			ti,provided-clocks = <&atl_clkin0_ck>, <&atl_clkin1_ck>,
1415					     <&atl_clkin2_ck>, <&atl_clkin3_ck>;
1416			clocks = <&atl_gfclk_mux>;
1417			clock-names = "fck";
1418			status = "disabled";
1419		};
1420
1421		mcasp3: mcasp@48468000 {
1422			compatible = "ti,dra7-mcasp-audio";
1423			ti,hwmods = "mcasp3";
1424			reg = <0x48468000 0x2000>;
1425			reg-names = "mpu";
1426			interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
1427				     <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
1428			interrupt-names = "tx", "rx";
1429			dmas = <&sdma_xbar 133>, <&sdma_xbar 132>;
1430			dma-names = "tx", "rx";
1431			clocks = <&mcasp3_aux_gfclk_mux>, <&mcasp3_ahclkx_mux>;
1432			clock-names = "fck", "ahclkx";
1433			status = "disabled";
1434		};
1435
1436		crossbar_mpu: crossbar@4a002a48 {
1437			compatible = "ti,irq-crossbar";
1438			reg = <0x4a002a48 0x130>;
1439			interrupt-controller;
1440			interrupt-parent = <&wakeupgen>;
1441			#interrupt-cells = <3>;
1442			ti,max-irqs = <160>;
1443			ti,max-crossbar-sources = <MAX_SOURCES>;
1444			ti,reg-size = <2>;
1445			ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
1446			ti,irqs-skip = <10 133 139 140>;
1447			ti,irqs-safe-map = <0>;
1448		};
1449
1450		mac: ethernet@48484000 {
1451			compatible = "ti,dra7-cpsw","ti,cpsw";
1452			ti,hwmods = "gmac";
1453			clocks = <&dpll_gmac_ck>, <&gmac_gmii_ref_clk_div>;
1454			clock-names = "fck", "cpts";
1455			cpdma_channels = <8>;
1456			ale_entries = <1024>;
1457			bd_ram_size = <0x2000>;
1458			no_bd_ram = <0>;
1459			rx_descs = <64>;
1460			mac_control = <0x20>;
1461			slaves = <2>;
1462			active_slave = <0>;
1463			cpts_clock_mult = <0x80000000>;
1464			cpts_clock_shift = <29>;
1465			reg = <0x48484000 0x1000
1466			       0x48485200 0x2E00>;
1467			#address-cells = <1>;
1468			#size-cells = <1>;
 
 
 
 
 
 
 
 
 
 
 
 
1469
1470			/*
1471			 * Do not allow gating of cpsw clock as workaround
1472			 * for errata i877. Keeping internal clock disabled
1473			 * causes the device switching characteristics
1474			 * to degrade over time and eventually fail to meet
1475			 * the data manual delay time/skew specs.
1476			 */
1477			ti,no-idle;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1478
1479			/*
1480			 * rx_thresh_pend
1481			 * rx_pend
1482			 * tx_pend
1483			 * misc_pend
1484			 */
1485			interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1486				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
1487				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
1488				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>;
1489			ranges;
1490			syscon = <&scm_conf>;
1491			status = "disabled";
 
 
 
1492
1493			davinci_mdio: mdio@48485000 {
1494				compatible = "ti,davinci_mdio";
1495				#address-cells = <1>;
1496				#size-cells = <0>;
1497				ti,hwmods = "davinci_mdio";
1498				bus_freq = <1000000>;
1499				reg = <0x48485000 0x100>;
 
 
 
 
 
 
 
 
 
1500			};
 
 
 
 
 
 
 
 
 
 
 
1501
1502			cpsw_emac0: slave@48480200 {
1503				/* Filled in by U-Boot */
1504				mac-address = [ 00 00 00 00 00 00 ];
 
 
 
1505			};
 
1506
1507			cpsw_emac1: slave@48480300 {
1508				/* Filled in by U-Boot */
1509				mac-address = [ 00 00 00 00 00 00 ];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1510			};
 
1511
1512			phy_sel: cpsw-phy-sel@4a002554 {
1513				compatible = "ti,dra7xx-cpsw-phy-sel";
1514				reg= <0x4a002554 0x4>;
1515				reg-names = "gmii-sel";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1516			};
1517		};
1518
1519		dcan1: can@481cc000 {
1520			compatible = "ti,dra7-d_can";
1521			ti,hwmods = "dcan1";
1522			reg = <0x4ae3c000 0x2000>;
1523			syscon-raminit = <&scm_conf 0x558 0>;
1524			interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1525			clocks = <&dcan1_sys_clk_mux>;
1526			status = "disabled";
1527		};
 
 
 
 
 
 
 
 
 
1528
1529		dcan2: can@481d0000 {
1530			compatible = "ti,dra7-d_can";
1531			ti,hwmods = "dcan2";
1532			reg = <0x48480000 0x2000>;
1533			syscon-raminit = <&scm_conf 0x558 1>;
1534			interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
1535			clocks = <&sys_clkin1>;
1536			status = "disabled";
 
1537		};
1538
1539		dss: dss@58000000 {
1540			compatible = "ti,dra7-dss";
1541			/* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
1542			/* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
1543			status = "disabled";
1544			ti,hwmods = "dss_core";
1545			/* CTRL_CORE_DSS_PLL_CONTROL */
1546			syscon-pll-ctrl = <&scm_conf 0x538>;
 
 
 
 
 
 
 
1547			#address-cells = <1>;
1548			#size-cells = <1>;
1549			ranges;
1550
1551			dispc@58001000 {
1552				compatible = "ti,dra7-dispc";
1553				reg = <0x58001000 0x1000>;
1554				interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
1555				ti,hwmods = "dss_dispc";
1556				clocks = <&dss_dss_clk>;
 
1557				clock-names = "fck";
1558				/* CTRL_CORE_SMA_SW_1 */
1559				syscon-pol = <&scm_conf 0x534>;
1560			};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1561
1562			hdmi: encoder@58060000 {
1563				compatible = "ti,dra7-hdmi";
1564				reg = <0x58040000 0x200>,
1565				      <0x58040200 0x80>,
1566				      <0x58040300 0x80>,
1567				      <0x58060000 0x19000>;
1568				reg-names = "wp", "pll", "phy", "core";
1569				interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1570				status = "disabled";
1571				ti,hwmods = "dss_hdmi";
1572				clocks = <&dss_48mhz_clk>, <&dss_hdmi_clk>;
1573				clock-names = "fck", "sys_clk";
1574			};
1575		};
 
 
 
 
 
 
 
 
 
 
 
 
 
1576	};
1577
1578	thermal_zones: thermal-zones {
1579		#include "omap4-cpu-thermal.dtsi"
1580		#include "omap5-gpu-thermal.dtsi"
1581		#include "omap5-core-thermal.dtsi"
1582		#include "dra7-dspeve-thermal.dtsi"
1583		#include "dra7-iva-thermal.dtsi"
1584	};
1585
1586};
1587
1588&cpu_thermal {
1589	polling-delay = <500>; /* milliseconds */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1590};
1591
1592/include/ "dra7xx-clocks.dtsi"