Linux Audio

Check our new training course

Loading...
v4.17
 
   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/bus/ti-sysc.h>
  11#include <dt-bindings/clock/dra7.h>
  12#include <dt-bindings/interrupt-controller/arm-gic.h>
  13#include <dt-bindings/pinctrl/dra.h>
  14#include <dt-bindings/clock/dra7.h>
  15
  16#define MAX_SOURCES 400
  17
  18/ {
  19	#address-cells = <2>;
  20	#size-cells = <2>;
  21
  22	compatible = "ti,dra7xx";
  23	interrupt-parent = <&crossbar_mpu>;
  24	chosen { };
  25
  26	aliases {
  27		i2c0 = &i2c1;
  28		i2c1 = &i2c2;
  29		i2c2 = &i2c3;
  30		i2c3 = &i2c4;
  31		i2c4 = &i2c5;
  32		serial0 = &uart1;
  33		serial1 = &uart2;
  34		serial2 = &uart3;
  35		serial3 = &uart4;
  36		serial4 = &uart5;
  37		serial5 = &uart6;
  38		serial6 = &uart7;
  39		serial7 = &uart8;
  40		serial8 = &uart9;
  41		serial9 = &uart10;
  42		ethernet0 = &cpsw_emac0;
  43		ethernet1 = &cpsw_emac1;
  44		d_can0 = &dcan1;
  45		d_can1 = &dcan2;
  46		spi0 = &qspi;
  47	};
  48
  49	timer {
  50		compatible = "arm,armv7-timer";
 
  51		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  52			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  53			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  54			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
  55		interrupt-parent = <&gic>;
  56	};
  57
  58	gic: interrupt-controller@48211000 {
  59		compatible = "arm,cortex-a15-gic";
  60		interrupt-controller;
  61		#interrupt-cells = <3>;
  62		reg = <0x0 0x48211000 0x0 0x1000>,
  63		      <0x0 0x48212000 0x0 0x2000>,
  64		      <0x0 0x48214000 0x0 0x2000>,
  65		      <0x0 0x48216000 0x0 0x2000>;
  66		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
  67		interrupt-parent = <&gic>;
  68	};
  69
  70	wakeupgen: interrupt-controller@48281000 {
  71		compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
  72		interrupt-controller;
  73		#interrupt-cells = <3>;
  74		reg = <0x0 0x48281000 0x0 0x1000>;
  75		interrupt-parent = <&gic>;
  76	};
  77
  78	cpus {
  79		#address-cells = <1>;
  80		#size-cells = <0>;
  81
  82		cpu0: cpu@0 {
  83			device_type = "cpu";
  84			compatible = "arm,cortex-a15";
  85			reg = <0>;
  86
  87			operating-points-v2 = <&cpu0_opp_table>;
  88
  89			clocks = <&dpll_mpu_ck>;
  90			clock-names = "cpu";
  91
  92			clock-latency = <300000>; /* From omap-cpufreq driver */
  93
  94			/* cooling options */
  95			#cooling-cells = <2>; /* min followed by max */
  96
  97			vbb-supply = <&abb_mpu>;
  98		};
  99	};
 100
 101	cpu0_opp_table: opp-table {
 102		compatible = "operating-points-v2-ti-cpu";
 103		syscon = <&scm_wkup>;
 104
 105		opp_nom-1000000000 {
 106			opp-hz = /bits/ 64 <1000000000>;
 107			opp-microvolt = <1060000 850000 1150000>,
 108					<1060000 850000 1150000>;
 109			opp-supported-hw = <0xFF 0x01>;
 110			opp-suspend;
 111		};
 112
 113		opp_od-1176000000 {
 114			opp-hz = /bits/ 64 <1176000000>;
 115			opp-microvolt = <1160000 885000 1160000>,
 116					<1160000 885000 1160000>;
 117
 118			opp-supported-hw = <0xFF 0x02>;
 119		};
 120
 121		opp_high@1500000000 {
 122			opp-hz = /bits/ 64 <1500000000>;
 123			opp-microvolt = <1210000 950000 1250000>,
 124					<1210000 950000 1250000>;
 125			opp-supported-hw = <0xFF 0x04>;
 126		};
 127	};
 128
 129	/*
 130	 * The soc node represents the soc top level view. It is used for IPs
 131	 * that are not memory mapped in the MPU view or for the MPU itself.
 132	 */
 133	soc {
 134		compatible = "ti,omap-infra";
 135		mpu {
 136			compatible = "ti,omap5-mpu";
 137			ti,hwmods = "mpu";
 138		};
 139	};
 140
 141	/*
 142	 * XXX: Use a flat representation of the SOC interconnect.
 143	 * The real OMAP interconnect network is quite complex.
 144	 * Since it will not bring real advantage to represent that in DT for
 145	 * the moment, just use a fake OCP bus entry to represent the whole bus
 146	 * hierarchy.
 147	 */
 148	ocp {
 149		compatible = "ti,dra7-l3-noc", "simple-bus";
 
 
 
 150		#address-cells = <1>;
 151		#size-cells = <1>;
 152		ranges = <0x0 0x0 0x0 0xc0000000>;
 153		ti,hwmods = "l3_main_1", "l3_main_2";
 154		reg = <0x0 0x44000000 0x0 0x1000000>,
 155		      <0x0 0x45000000 0x0 0x1000>;
 156		interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
 157				      <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 158
 159		l4_cfg: l4@4a000000 {
 160			compatible = "ti,dra7-l4-cfg", "simple-bus";
 161			#address-cells = <1>;
 162			#size-cells = <1>;
 163			ranges = <0 0x4a000000 0x22c000>;
 164
 165			scm: scm@2000 {
 166				compatible = "ti,dra7-scm-core", "simple-bus";
 167				reg = <0x2000 0x2000>;
 168				#address-cells = <1>;
 169				#size-cells = <1>;
 170				ranges = <0 0x2000 0x2000>;
 171
 172				scm_conf: scm_conf@0 {
 173					compatible = "syscon", "simple-bus";
 174					reg = <0x0 0x1400>;
 175					#address-cells = <1>;
 176					#size-cells = <1>;
 177					ranges = <0 0x0 0x1400>;
 178
 179					pbias_regulator: pbias_regulator@e00 {
 180						compatible = "ti,pbias-dra7", "ti,pbias-omap";
 181						reg = <0xe00 0x4>;
 182						syscon = <&scm_conf>;
 183						pbias_mmc_reg: pbias_mmc_omap5 {
 184							regulator-name = "pbias_mmc_omap5";
 185							regulator-min-microvolt = <1800000>;
 186							regulator-max-microvolt = <3300000>;
 187						};
 188					};
 189
 190					scm_conf_clocks: clocks {
 191						#address-cells = <1>;
 192						#size-cells = <0>;
 193					};
 194				};
 195
 196				dra7_pmx_core: pinmux@1400 {
 197					compatible = "ti,dra7-padconf",
 198						     "pinctrl-single";
 199					reg = <0x1400 0x0468>;
 200					#address-cells = <1>;
 201					#size-cells = <0>;
 202					#pinctrl-cells = <1>;
 203					#interrupt-cells = <1>;
 204					interrupt-controller;
 205					pinctrl-single,register-width = <32>;
 206					pinctrl-single,function-mask = <0x3fffffff>;
 207				};
 208
 209				scm_conf1: scm_conf@1c04 {
 210					compatible = "syscon";
 211					reg = <0x1c04 0x0020>;
 212					#syscon-cells = <2>;
 213				};
 214
 215				scm_conf_pcie: scm_conf@1c24 {
 216					compatible = "syscon";
 217					reg = <0x1c24 0x0024>;
 218				};
 219
 220				sdma_xbar: dma-router@b78 {
 221					compatible = "ti,dra7-dma-crossbar";
 222					reg = <0xb78 0xfc>;
 223					#dma-cells = <1>;
 224					dma-requests = <205>;
 225					ti,dma-safe-map = <0>;
 226					dma-masters = <&sdma>;
 227				};
 228
 229				edma_xbar: dma-router@c78 {
 230					compatible = "ti,dra7-dma-crossbar";
 231					reg = <0xc78 0x7c>;
 232					#dma-cells = <2>;
 233					dma-requests = <204>;
 234					ti,dma-safe-map = <0>;
 235					dma-masters = <&edma>;
 236				};
 237			};
 238
 239			cm_core_aon: cm_core_aon@5000 {
 240				compatible = "ti,dra7-cm-core-aon",
 241					      "simple-bus";
 242				#address-cells = <1>;
 243				#size-cells = <1>;
 244				reg = <0x5000 0x2000>;
 245				ranges = <0 0x5000 0x2000>;
 246
 247				cm_core_aon_clocks: clocks {
 248					#address-cells = <1>;
 249					#size-cells = <0>;
 250				};
 251
 252				cm_core_aon_clockdomains: clockdomains {
 253				};
 254			};
 255
 256			cm_core: cm_core@8000 {
 257				compatible = "ti,dra7-cm-core", "simple-bus";
 258				#address-cells = <1>;
 259				#size-cells = <1>;
 260				reg = <0x8000 0x3000>;
 261				ranges = <0 0x8000 0x3000>;
 262
 263				cm_core_clocks: clocks {
 264					#address-cells = <1>;
 265					#size-cells = <0>;
 266				};
 
 
 
 267
 268				cm_core_clockdomains: clockdomains {
 269				};
 270			};
 
 
 271		};
 272
 273		l4_wkup: l4@4ae00000 {
 274			compatible = "ti,dra7-l4-wkup", "simple-bus";
 
 
 
 275			#address-cells = <1>;
 276			#size-cells = <1>;
 277			ranges = <0 0x4ae00000 0x3f000>;
 278
 279			counter32k: counter@4000 {
 280				compatible = "ti,omap-counter32k";
 281				reg = <0x4000 0x40>;
 282				ti,hwmods = "counter_32k";
 283			};
 284
 285			prm: prm@6000 {
 286				compatible = "ti,dra7-prm", "simple-bus";
 287				reg = <0x6000 0x3000>;
 288				interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
 289				#address-cells = <1>;
 290				#size-cells = <1>;
 291				ranges = <0 0x6000 0x3000>;
 292
 293				prm_clocks: clocks {
 294					#address-cells = <1>;
 295					#size-cells = <0>;
 296				};
 297
 298				prm_clockdomains: clockdomains {
 299				};
 300			};
 
 301
 302			scm_wkup: scm_conf@c000 {
 303				compatible = "syscon";
 304				reg = <0xc000 0x1000>;
 305			};
 306		};
 307
 308		axi@0 {
 309			compatible = "simple-bus";
 
 
 
 
 
 
 
 
 
 
 
 
 
 310			#size-cells = <1>;
 311			#address-cells = <1>;
 312			ranges = <0x51000000 0x51000000 0x3000
 313				  0x0	     0x20000000 0x10000000>;
 
 314			/**
 315			 * To enable PCI endpoint mode, disable the pcie1_rc
 316			 * node and enable pcie1_ep mode.
 317			 */
 318			pcie1_rc: pcie@51000000 {
 319				reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>;
 
 
 320				reg-names = "rc_dbics", "ti_conf", "config";
 321				interrupts = <0 232 0x4>, <0 233 0x4>;
 322				#address-cells = <3>;
 323				#size-cells = <2>;
 324				device_type = "pci";
 325				ranges = <0x81000000 0 0          0x03000 0 0x00010000
 326					  0x82000000 0 0x20013000 0x13000 0 0xffed000>;
 327				bus-range = <0x00 0xff>;
 328				#interrupt-cells = <1>;
 329				num-lanes = <1>;
 330				linux,pci-domain = <0>;
 331				ti,hwmods = "pcie1";
 332				phys = <&pcie1_phy>;
 333				phy-names = "pcie-phy0";
 
 334				interrupt-map-mask = <0 0 0 7>;
 335				interrupt-map = <0 0 0 1 &pcie1_intc 1>,
 336						<0 0 0 2 &pcie1_intc 2>,
 337						<0 0 0 3 &pcie1_intc 3>,
 338						<0 0 0 4 &pcie1_intc 4>;
 
 339				status = "disabled";
 340				pcie1_intc: interrupt-controller {
 341					interrupt-controller;
 342					#address-cells = <0>;
 343					#interrupt-cells = <1>;
 344				};
 345			};
 346
 347			pcie1_ep: pcie_ep@51000000 {
 348				reg = <0x51000000 0x28>, <0x51002000 0x14c>, <0x51001000 0x28>, <0x1000 0x10000000>;
 
 
 
 349				reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space";
 350				interrupts = <0 232 0x4>;
 351				num-lanes = <1>;
 352				num-ib-windows = <4>;
 353				num-ob-windows = <16>;
 354				ti,hwmods = "pcie1";
 355				phys = <&pcie1_phy>;
 356				phy-names = "pcie-phy0";
 357				ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
 
 358				status = "disabled";
 359			};
 360		};
 361
 362		axi@1 {
 363			compatible = "simple-bus";
 
 
 
 
 
 
 
 
 
 
 
 
 
 364			#size-cells = <1>;
 365			#address-cells = <1>;
 366			ranges = <0x51800000 0x51800000 0x3000
 367				  0x0	     0x30000000 0x10000000>;
 
 368			status = "disabled";
 369			pcie2_rc: pcie@51800000 {
 370				reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
 
 
 371				reg-names = "rc_dbics", "ti_conf", "config";
 372				interrupts = <0 355 0x4>, <0 356 0x4>;
 373				#address-cells = <3>;
 374				#size-cells = <2>;
 375				device_type = "pci";
 376				ranges = <0x81000000 0 0          0x03000 0 0x00010000
 377					  0x82000000 0 0x30013000 0x13000 0 0xffed000>;
 378				bus-range = <0x00 0xff>;
 379				#interrupt-cells = <1>;
 380				num-lanes = <1>;
 381				linux,pci-domain = <1>;
 382				ti,hwmods = "pcie2";
 383				phys = <&pcie2_phy>;
 384				phy-names = "pcie-phy0";
 385				interrupt-map-mask = <0 0 0 7>;
 386				interrupt-map = <0 0 0 1 &pcie2_intc 1>,
 387						<0 0 0 2 &pcie2_intc 2>,
 388						<0 0 0 3 &pcie2_intc 3>,
 389						<0 0 0 4 &pcie2_intc 4>;
 
 390				pcie2_intc: interrupt-controller {
 391					interrupt-controller;
 392					#address-cells = <0>;
 393					#interrupt-cells = <1>;
 394				};
 395			};
 396		};
 397
 398		ocmcram1: ocmcram@40300000 {
 399			compatible = "mmio-sram";
 400			reg = <0x40300000 0x80000>;
 401			ranges = <0x0 0x40300000 0x80000>;
 402			#address-cells = <1>;
 403			#size-cells = <1>;
 404			/*
 405			 * This is a placeholder for an optional reserved
 406			 * region for use by secure software. The size
 407			 * of this region is not known until runtime so it
 408			 * is set as zero to either be updated to reserve
 409			 * space or left unchanged to leave all SRAM for use.
 410			 * On HS parts that that require the reserved region
 411			 * either the bootloader can update the size to
 412			 * the required amount or the node can be overridden
 413			 * from the board dts file for the secure platform.
 414			 */
 415			sram-hs@0 {
 416				compatible = "ti,secure-ram";
 417				reg = <0x0 0x0>;
 418			};
 419		};
 420
 421		/*
 422		 * NOTE: ocmcram2 and ocmcram3 are not available on all
 423		 * DRA7xx and AM57xx variants. Confirm availability in
 424		 * the data manual for the exact part number in use
 425		 * before enabling these nodes in the board dts file.
 426		 */
 427		ocmcram2: ocmcram@40400000 {
 428			status = "disabled";
 429			compatible = "mmio-sram";
 430			reg = <0x40400000 0x100000>;
 431			ranges = <0x0 0x40400000 0x100000>;
 432			#address-cells = <1>;
 433			#size-cells = <1>;
 434		};
 435
 436		ocmcram3: ocmcram@40500000 {
 437			status = "disabled";
 438			compatible = "mmio-sram";
 439			reg = <0x40500000 0x100000>;
 440			ranges = <0x0 0x40500000 0x100000>;
 441			#address-cells = <1>;
 442			#size-cells = <1>;
 443		};
 444
 445		bandgap: bandgap@4a0021e0 {
 446			reg = <0x4a0021e0 0xc
 447				0x4a00232c 0xc
 448				0x4a002380 0x2c
 449				0x4a0023C0 0x3c
 450				0x4a002564 0x8
 451				0x4a002574 0x50>;
 452				compatible = "ti,dra752-bandgap";
 453				interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
 454				#thermal-sensor-cells = <1>;
 455		};
 456
 457		dsp1_system: dsp_system@40d00000 {
 458			compatible = "syscon";
 459			reg = <0x40d00000 0x100>;
 460		};
 461
 462		dra7_iodelay_core: padconf@4844a000 {
 463			compatible = "ti,dra7-iodelay";
 464			reg = <0x4844a000 0x0d1c>;
 465			#address-cells = <1>;
 466			#size-cells = <0>;
 467			#pinctrl-cells = <2>;
 468		};
 469
 470		sdma: dma-controller@4a056000 {
 471			compatible = "ti,omap4430-sdma";
 472			reg = <0x4a056000 0x1000>;
 473			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
 474				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
 475				     <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
 476				     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
 477			#dma-cells = <1>;
 478			dma-channels = <32>;
 479			dma-requests = <127>;
 480			ti,hwmods = "dma_system";
 481		};
 482
 483		edma: edma@43300000 {
 484			compatible = "ti,edma3-tpcc";
 485			ti,hwmods = "tpcc";
 486			reg = <0x43300000 0x100000>;
 487			reg-names = "edma3_cc";
 488			interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
 489				     <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
 490				     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
 491			interrupt-names = "edma3_ccint", "edma3_mperr",
 492					  "edma3_ccerrint";
 493			dma-requests = <64>;
 494			#dma-cells = <2>;
 495
 496			ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
 497
 498			/*
 499			 * memcpy is disabled, can be enabled with:
 500			 * ti,edma-memcpy-channels = <20 21>;
 501			 * for example. Note that these channels need to be
 502			 * masked in the xbar as well.
 503			 */
 504		};
 505
 506		edma_tptc0: tptc@43400000 {
 507			compatible = "ti,edma3-tptc";
 508			ti,hwmods = "tptc0";
 509			reg =	<0x43400000 0x100000>;
 510			interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
 511			interrupt-names = "edma3_tcerrint";
 512		};
 513
 514		edma_tptc1: tptc@43500000 {
 515			compatible = "ti,edma3-tptc";
 516			ti,hwmods = "tptc1";
 517			reg =	<0x43500000 0x100000>;
 518			interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
 519			interrupt-names = "edma3_tcerrint";
 520		};
 521
 522		gpio1: gpio@4ae10000 {
 523			compatible = "ti,omap4-gpio";
 524			reg = <0x4ae10000 0x200>;
 525			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
 526			ti,hwmods = "gpio1";
 527			gpio-controller;
 528			#gpio-cells = <2>;
 529			interrupt-controller;
 530			#interrupt-cells = <2>;
 531		};
 532
 533		gpio2: gpio@48055000 {
 534			compatible = "ti,omap4-gpio";
 535			reg = <0x48055000 0x200>;
 536			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
 537			ti,hwmods = "gpio2";
 538			gpio-controller;
 539			#gpio-cells = <2>;
 540			interrupt-controller;
 541			#interrupt-cells = <2>;
 542		};
 543
 544		gpio3: gpio@48057000 {
 545			compatible = "ti,omap4-gpio";
 546			reg = <0x48057000 0x200>;
 547			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
 548			ti,hwmods = "gpio3";
 549			gpio-controller;
 550			#gpio-cells = <2>;
 551			interrupt-controller;
 552			#interrupt-cells = <2>;
 553		};
 554
 555		gpio4: gpio@48059000 {
 556			compatible = "ti,omap4-gpio";
 557			reg = <0x48059000 0x200>;
 558			interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
 559			ti,hwmods = "gpio4";
 560			gpio-controller;
 561			#gpio-cells = <2>;
 562			interrupt-controller;
 563			#interrupt-cells = <2>;
 564		};
 565
 566		gpio5: gpio@4805b000 {
 567			compatible = "ti,omap4-gpio";
 568			reg = <0x4805b000 0x200>;
 569			interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
 570			ti,hwmods = "gpio5";
 571			gpio-controller;
 572			#gpio-cells = <2>;
 573			interrupt-controller;
 574			#interrupt-cells = <2>;
 575		};
 576
 577		gpio6: gpio@4805d000 {
 578			compatible = "ti,omap4-gpio";
 579			reg = <0x4805d000 0x200>;
 580			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
 581			ti,hwmods = "gpio6";
 582			gpio-controller;
 583			#gpio-cells = <2>;
 584			interrupt-controller;
 585			#interrupt-cells = <2>;
 586		};
 587
 588		gpio7: gpio@48051000 {
 589			compatible = "ti,omap4-gpio";
 590			reg = <0x48051000 0x200>;
 591			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
 592			ti,hwmods = "gpio7";
 593			gpio-controller;
 594			#gpio-cells = <2>;
 595			interrupt-controller;
 596			#interrupt-cells = <2>;
 597		};
 598
 599		gpio8: gpio@48053000 {
 600			compatible = "ti,omap4-gpio";
 601			reg = <0x48053000 0x200>;
 602			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
 603			ti,hwmods = "gpio8";
 604			gpio-controller;
 605			#gpio-cells = <2>;
 606			interrupt-controller;
 607			#interrupt-cells = <2>;
 608		};
 609
 610		uart1: serial@4806a000 {
 611			compatible = "ti,dra742-uart", "ti,omap4-uart";
 612			reg = <0x4806a000 0x100>;
 613			interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
 614			ti,hwmods = "uart1";
 615			clock-frequency = <48000000>;
 616			status = "disabled";
 617			dmas = <&sdma_xbar 49>, <&sdma_xbar 50>;
 618			dma-names = "tx", "rx";
 619		};
 620
 621		uart2: serial@4806c000 {
 622			compatible = "ti,dra742-uart", "ti,omap4-uart";
 623			reg = <0x4806c000 0x100>;
 624			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
 625			ti,hwmods = "uart2";
 626			clock-frequency = <48000000>;
 627			status = "disabled";
 628			dmas = <&sdma_xbar 51>, <&sdma_xbar 52>;
 629			dma-names = "tx", "rx";
 630		};
 631
 632		uart3: serial@48020000 {
 633			compatible = "ti,dra742-uart", "ti,omap4-uart";
 634			reg = <0x48020000 0x100>;
 635			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
 636			ti,hwmods = "uart3";
 637			clock-frequency = <48000000>;
 638			status = "disabled";
 639			dmas = <&sdma_xbar 53>, <&sdma_xbar 54>;
 640			dma-names = "tx", "rx";
 641		};
 642
 643		uart4: serial@4806e000 {
 644			compatible = "ti,dra742-uart", "ti,omap4-uart";
 645			reg = <0x4806e000 0x100>;
 646			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
 647			ti,hwmods = "uart4";
 648			clock-frequency = <48000000>;
 649                        status = "disabled";
 650			dmas = <&sdma_xbar 55>, <&sdma_xbar 56>;
 651			dma-names = "tx", "rx";
 652		};
 653
 654		uart5: serial@48066000 {
 655			compatible = "ti,dra742-uart", "ti,omap4-uart";
 656			reg = <0x48066000 0x100>;
 657			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
 658			ti,hwmods = "uart5";
 659			clock-frequency = <48000000>;
 660			status = "disabled";
 661			dmas = <&sdma_xbar 63>, <&sdma_xbar 64>;
 662			dma-names = "tx", "rx";
 663		};
 664
 665		uart6: serial@48068000 {
 666			compatible = "ti,dra742-uart", "ti,omap4-uart";
 667			reg = <0x48068000 0x100>;
 668			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
 669			ti,hwmods = "uart6";
 670			clock-frequency = <48000000>;
 671			status = "disabled";
 672			dmas = <&sdma_xbar 79>, <&sdma_xbar 80>;
 673			dma-names = "tx", "rx";
 674		};
 675
 676		uart7: serial@48420000 {
 677			compatible = "ti,dra742-uart", "ti,omap4-uart";
 678			reg = <0x48420000 0x100>;
 679			interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>;
 680			ti,hwmods = "uart7";
 681			clock-frequency = <48000000>;
 682			status = "disabled";
 683		};
 684
 685		uart8: serial@48422000 {
 686			compatible = "ti,dra742-uart", "ti,omap4-uart";
 687			reg = <0x48422000 0x100>;
 688			interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>;
 689			ti,hwmods = "uart8";
 690			clock-frequency = <48000000>;
 691			status = "disabled";
 692		};
 693
 694		uart9: serial@48424000 {
 695			compatible = "ti,dra742-uart", "ti,omap4-uart";
 696			reg = <0x48424000 0x100>;
 697			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
 698			ti,hwmods = "uart9";
 699			clock-frequency = <48000000>;
 700			status = "disabled";
 701		};
 702
 703		uart10: serial@4ae2b000 {
 704			compatible = "ti,dra742-uart", "ti,omap4-uart";
 705			reg = <0x4ae2b000 0x100>;
 706			interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
 707			ti,hwmods = "uart10";
 708			clock-frequency = <48000000>;
 709			status = "disabled";
 710		};
 711
 712		mailbox1: mailbox@4a0f4000 {
 713			compatible = "ti,omap4-mailbox";
 714			reg = <0x4a0f4000 0x200>;
 715			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
 716				     <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
 717				     <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
 718			ti,hwmods = "mailbox1";
 719			#mbox-cells = <1>;
 720			ti,mbox-num-users = <3>;
 721			ti,mbox-num-fifos = <8>;
 722			status = "disabled";
 723		};
 724
 725		mailbox2: mailbox@4883a000 {
 726			compatible = "ti,omap4-mailbox";
 727			reg = <0x4883a000 0x200>;
 728			interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>,
 729				     <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
 730				     <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>,
 731				     <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
 732			ti,hwmods = "mailbox2";
 733			#mbox-cells = <1>;
 734			ti,mbox-num-users = <4>;
 735			ti,mbox-num-fifos = <12>;
 736			status = "disabled";
 737		};
 738
 739		mailbox3: mailbox@4883c000 {
 740			compatible = "ti,omap4-mailbox";
 741			reg = <0x4883c000 0x200>;
 742			interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>,
 743				     <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>,
 744				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>,
 745				     <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>;
 746			ti,hwmods = "mailbox3";
 747			#mbox-cells = <1>;
 748			ti,mbox-num-users = <4>;
 749			ti,mbox-num-fifos = <12>;
 750			status = "disabled";
 751		};
 752
 753		mailbox4: mailbox@4883e000 {
 754			compatible = "ti,omap4-mailbox";
 755			reg = <0x4883e000 0x200>;
 756			interrupts = <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
 757				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
 758				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
 759				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>;
 760			ti,hwmods = "mailbox4";
 761			#mbox-cells = <1>;
 762			ti,mbox-num-users = <4>;
 763			ti,mbox-num-fifos = <12>;
 764			status = "disabled";
 765		};
 766
 767		mailbox5: mailbox@48840000 {
 768			compatible = "ti,omap4-mailbox";
 769			reg = <0x48840000 0x200>;
 770			interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
 771				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
 772				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
 773				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>;
 774			ti,hwmods = "mailbox5";
 775			#mbox-cells = <1>;
 776			ti,mbox-num-users = <4>;
 777			ti,mbox-num-fifos = <12>;
 778			status = "disabled";
 779		};
 780
 781		mailbox6: mailbox@48842000 {
 782			compatible = "ti,omap4-mailbox";
 783			reg = <0x48842000 0x200>;
 784			interrupts = <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
 785				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
 786				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
 787				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
 788			ti,hwmods = "mailbox6";
 789			#mbox-cells = <1>;
 790			ti,mbox-num-users = <4>;
 791			ti,mbox-num-fifos = <12>;
 792			status = "disabled";
 793		};
 794
 795		mailbox7: mailbox@48844000 {
 796			compatible = "ti,omap4-mailbox";
 797			reg = <0x48844000 0x200>;
 798			interrupts = <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
 799				     <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
 800				     <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
 801				     <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>;
 802			ti,hwmods = "mailbox7";
 803			#mbox-cells = <1>;
 804			ti,mbox-num-users = <4>;
 805			ti,mbox-num-fifos = <12>;
 806			status = "disabled";
 807		};
 808
 809		mailbox8: mailbox@48846000 {
 810			compatible = "ti,omap4-mailbox";
 811			reg = <0x48846000 0x200>;
 812			interrupts = <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
 813				     <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
 814				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
 815				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>;
 816			ti,hwmods = "mailbox8";
 817			#mbox-cells = <1>;
 818			ti,mbox-num-users = <4>;
 819			ti,mbox-num-fifos = <12>;
 820			status = "disabled";
 821		};
 822
 823		mailbox9: mailbox@4885e000 {
 824			compatible = "ti,omap4-mailbox";
 825			reg = <0x4885e000 0x200>;
 826			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
 827				     <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
 828				     <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
 829				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
 830			ti,hwmods = "mailbox9";
 831			#mbox-cells = <1>;
 832			ti,mbox-num-users = <4>;
 833			ti,mbox-num-fifos = <12>;
 834			status = "disabled";
 835		};
 836
 837		mailbox10: mailbox@48860000 {
 838			compatible = "ti,omap4-mailbox";
 839			reg = <0x48860000 0x200>;
 840			interrupts = <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
 841				     <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>,
 842				     <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
 843				     <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
 844			ti,hwmods = "mailbox10";
 845			#mbox-cells = <1>;
 846			ti,mbox-num-users = <4>;
 847			ti,mbox-num-fifos = <12>;
 848			status = "disabled";
 849		};
 850
 851		mailbox11: mailbox@48862000 {
 852			compatible = "ti,omap4-mailbox";
 853			reg = <0x48862000 0x200>;
 854			interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
 855				     <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
 856				     <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
 857				     <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>;
 858			ti,hwmods = "mailbox11";
 859			#mbox-cells = <1>;
 860			ti,mbox-num-users = <4>;
 861			ti,mbox-num-fifos = <12>;
 862			status = "disabled";
 863		};
 864
 865		mailbox12: mailbox@48864000 {
 866			compatible = "ti,omap4-mailbox";
 867			reg = <0x48864000 0x200>;
 868			interrupts = <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
 869				     <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
 870				     <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
 871				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
 872			ti,hwmods = "mailbox12";
 873			#mbox-cells = <1>;
 874			ti,mbox-num-users = <4>;
 875			ti,mbox-num-fifos = <12>;
 876			status = "disabled";
 877		};
 878
 879		mailbox13: mailbox@48802000 {
 880			compatible = "ti,omap4-mailbox";
 881			reg = <0x48802000 0x200>;
 882			interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>,
 883				     <GIC_SPI 380 IRQ_TYPE_LEVEL_HIGH>,
 884				     <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH>,
 885				     <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH>;
 886			ti,hwmods = "mailbox13";
 887			#mbox-cells = <1>;
 888			ti,mbox-num-users = <4>;
 889			ti,mbox-num-fifos = <12>;
 890			status = "disabled";
 891		};
 892
 893		timer1: timer@4ae18000 {
 894			compatible = "ti,omap5430-timer";
 895			reg = <0x4ae18000 0x80>;
 896			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
 897			ti,hwmods = "timer1";
 898			ti,timer-alwon;
 899			clock-names = "fck";
 900			clocks = <&wkupaon_clkctrl DRA7_TIMER1_CLKCTRL 24>;
 901		};
 902
 903		timer2: timer@48032000 {
 904			compatible = "ti,omap5430-timer";
 905			reg = <0x48032000 0x80>;
 906			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
 907			ti,hwmods = "timer2";
 908		};
 909
 910		timer3: timer@48034000 {
 911			compatible = "ti,omap5430-timer";
 912			reg = <0x48034000 0x80>;
 913			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
 914			ti,hwmods = "timer3";
 915		};
 916
 917		timer4: timer@48036000 {
 918			compatible = "ti,omap5430-timer";
 919			reg = <0x48036000 0x80>;
 920			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
 921			ti,hwmods = "timer4";
 922		};
 923
 924		timer5: timer@48820000 {
 925			compatible = "ti,omap5430-timer";
 926			reg = <0x48820000 0x80>;
 927			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
 928			ti,hwmods = "timer5";
 929		};
 930
 931		timer6: timer@48822000 {
 932			compatible = "ti,omap5430-timer";
 933			reg = <0x48822000 0x80>;
 934			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
 935			ti,hwmods = "timer6";
 936		};
 937
 938		timer7: timer@48824000 {
 939			compatible = "ti,omap5430-timer";
 940			reg = <0x48824000 0x80>;
 941			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
 942			ti,hwmods = "timer7";
 943		};
 944
 945		timer8: timer@48826000 {
 946			compatible = "ti,omap5430-timer";
 947			reg = <0x48826000 0x80>;
 948			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
 949			ti,hwmods = "timer8";
 950		};
 951
 952		timer9: timer@4803e000 {
 953			compatible = "ti,omap5430-timer";
 954			reg = <0x4803e000 0x80>;
 955			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
 956			ti,hwmods = "timer9";
 957		};
 958
 959		timer10: timer@48086000 {
 960			compatible = "ti,omap5430-timer";
 961			reg = <0x48086000 0x80>;
 962			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
 963			ti,hwmods = "timer10";
 964		};
 965
 966		timer11: timer@48088000 {
 967			compatible = "ti,omap5430-timer";
 968			reg = <0x48088000 0x80>;
 969			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
 970			ti,hwmods = "timer11";
 971		};
 972
 973		timer12: timer@4ae20000 {
 974			compatible = "ti,omap5430-timer";
 975			reg = <0x4ae20000 0x80>;
 976			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
 977			ti,hwmods = "timer12";
 978			ti,timer-alwon;
 979			ti,timer-secure;
 980		};
 981
 982		timer13: timer@48828000 {
 983			compatible = "ti,omap5430-timer";
 984			reg = <0x48828000 0x80>;
 985			interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>;
 986			ti,hwmods = "timer13";
 987		};
 988
 989		timer14: timer@4882a000 {
 990			compatible = "ti,omap5430-timer";
 991			reg = <0x4882a000 0x80>;
 992			interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>;
 993			ti,hwmods = "timer14";
 994		};
 995
 996		timer15: timer@4882c000 {
 997			compatible = "ti,omap5430-timer";
 998			reg = <0x4882c000 0x80>;
 999			interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
1000			ti,hwmods = "timer15";
1001		};
1002
1003		timer16: timer@4882e000 {
1004			compatible = "ti,omap5430-timer";
1005			reg = <0x4882e000 0x80>;
1006			interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
1007			ti,hwmods = "timer16";
1008		};
1009
1010		wdt2: wdt@4ae14000 {
1011			compatible = "ti,omap3-wdt";
1012			reg = <0x4ae14000 0x80>;
1013			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1014			ti,hwmods = "wd_timer2";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1015		};
1016
1017		hwspinlock: spinlock@4a0f6000 {
1018			compatible = "ti,omap4-hwspinlock";
1019			reg = <0x4a0f6000 0x1000>;
1020			ti,hwmods = "spinlock";
1021			#hwlock-cells = <1>;
1022		};
 
 
 
 
 
 
 
 
 
 
1023
1024		dmm@4e000000 {
1025			compatible = "ti,omap5-dmm";
1026			reg = <0x4e000000 0x800>;
1027			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1028			ti,hwmods = "dmm";
 
1029		};
1030
1031		i2c1: i2c@48070000 {
1032			compatible = "ti,omap4-i2c";
1033			reg = <0x48070000 0x100>;
1034			interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
 
 
 
1035			#address-cells = <1>;
1036			#size-cells = <0>;
1037			ti,hwmods = "i2c1";
1038			status = "disabled";
1039		};
1040
1041		i2c2: i2c@48072000 {
1042			compatible = "ti,omap4-i2c";
1043			reg = <0x48072000 0x100>;
1044			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
1045			#address-cells = <1>;
1046			#size-cells = <0>;
1047			ti,hwmods = "i2c2";
1048			status = "disabled";
1049		};
1050
1051		i2c3: i2c@48060000 {
1052			compatible = "ti,omap4-i2c";
1053			reg = <0x48060000 0x100>;
1054			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
1055			#address-cells = <1>;
1056			#size-cells = <0>;
1057			ti,hwmods = "i2c3";
1058			status = "disabled";
1059		};
1060
1061		i2c4: i2c@4807a000 {
1062			compatible = "ti,omap4-i2c";
1063			reg = <0x4807a000 0x100>;
1064			interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
1065			#address-cells = <1>;
1066			#size-cells = <0>;
1067			ti,hwmods = "i2c4";
1068			status = "disabled";
1069		};
1070
1071		i2c5: i2c@4807c000 {
1072			compatible = "ti,omap4-i2c";
1073			reg = <0x4807c000 0x100>;
1074			interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1075			#address-cells = <1>;
1076			#size-cells = <0>;
1077			ti,hwmods = "i2c5";
1078			status = "disabled";
1079		};
1080
1081		mmc1: mmc@4809c000 {
1082			compatible = "ti,omap4-hsmmc";
1083			reg = <0x4809c000 0x400>;
1084			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
1085			ti,hwmods = "mmc1";
1086			ti,dual-volt;
1087			ti,needs-special-reset;
1088			dmas = <&sdma_xbar 61>, <&sdma_xbar 62>;
1089			dma-names = "tx", "rx";
1090			status = "disabled";
1091			pbias-supply = <&pbias_mmc_reg>;
1092			max-frequency = <192000000>;
1093		};
1094
1095		hdqw1w: 1w@480b2000 {
1096			compatible = "ti,omap3-1w";
1097			reg = <0x480b2000 0x1000>;
1098			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
1099			ti,hwmods = "hdq1w";
1100		};
1101
1102		mmc2: mmc@480b4000 {
1103			compatible = "ti,omap4-hsmmc";
1104			reg = <0x480b4000 0x400>;
1105			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1106			ti,hwmods = "mmc2";
1107			ti,needs-special-reset;
1108			dmas = <&sdma_xbar 47>, <&sdma_xbar 48>;
1109			dma-names = "tx", "rx";
1110			status = "disabled";
1111			max-frequency = <192000000>;
1112		};
1113
1114		mmc3: mmc@480ad000 {
1115			compatible = "ti,omap4-hsmmc";
1116			reg = <0x480ad000 0x400>;
1117			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
1118			ti,hwmods = "mmc3";
1119			ti,needs-special-reset;
1120			dmas = <&sdma_xbar 77>, <&sdma_xbar 78>;
1121			dma-names = "tx", "rx";
1122			status = "disabled";
1123			/* Errata i887 limits max-frequency of MMC3 to 64 MHz */
1124			max-frequency = <64000000>;
1125		};
 
 
 
 
 
 
 
1126
1127		mmc4: mmc@480d1000 {
1128			compatible = "ti,omap4-hsmmc";
1129			reg = <0x480d1000 0x400>;
1130			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
1131			ti,hwmods = "mmc4";
1132			ti,needs-special-reset;
1133			dmas = <&sdma_xbar 57>, <&sdma_xbar 58>;
1134			dma-names = "tx", "rx";
1135			status = "disabled";
1136			max-frequency = <192000000>;
1137		};
1138
1139		mmu0_dsp1: mmu@40d01000 {
1140			compatible = "ti,dra7-dsp-iommu";
1141			reg = <0x40d01000 0x100>;
1142			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1143			ti,hwmods = "mmu0_dsp1";
1144			#iommu-cells = <0>;
1145			ti,syscon-mmuconfig = <&dsp1_system 0x0>;
1146			status = "disabled";
1147		};
 
 
 
 
 
 
 
 
 
 
1148
1149		mmu1_dsp1: mmu@40d02000 {
1150			compatible = "ti,dra7-dsp-iommu";
1151			reg = <0x40d02000 0x100>;
1152			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
1153			ti,hwmods = "mmu1_dsp1";
1154			#iommu-cells = <0>;
1155			ti,syscon-mmuconfig = <&dsp1_system 0x1>;
1156			status = "disabled";
1157		};
1158
1159		mmu_ipu1: mmu@58882000 {
1160			compatible = "ti,dra7-iommu";
1161			reg = <0x58882000 0x100>;
1162			interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>;
1163			ti,hwmods = "mmu_ipu1";
1164			#iommu-cells = <0>;
1165			ti,iommu-bus-err-back;
1166			status = "disabled";
1167		};
 
 
 
 
 
 
 
 
 
 
1168
1169		mmu_ipu2: mmu@55082000 {
1170			compatible = "ti,dra7-iommu";
1171			reg = <0x55082000 0x100>;
1172			interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>;
1173			ti,hwmods = "mmu_ipu2";
1174			#iommu-cells = <0>;
1175			ti,iommu-bus-err-back;
1176			status = "disabled";
1177		};
1178
1179		abb_mpu: regulator-abb-mpu {
1180			compatible = "ti,abb-v3";
1181			regulator-name = "abb_mpu";
1182			#address-cells = <0>;
1183			#size-cells = <0>;
1184			clocks = <&sys_clkin1>;
1185			ti,settling-time = <50>;
1186			ti,clock-cycles = <16>;
1187
1188			reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>,
1189			      <0x4ae06014 0x4>, <0x4a003b20 0xc>,
1190			      <0x4ae0c158 0x4>;
1191			reg-names = "setup-address", "control-address",
1192				    "int-address", "efuse-address",
1193				    "ldo-address";
1194			ti,tranxdone-status-mask = <0x80>;
1195			/* LDOVBBMPU_FBB_MUX_CTRL */
1196			ti,ldovbb-override-mask = <0x400>;
1197			/* LDOVBBMPU_FBB_VSET_OUT */
1198			ti,ldovbb-vset-mask = <0x1F>;
1199
1200			/*
1201			 * NOTE: only FBB mode used but actual vset will
1202			 * determine final biasing
1203			 */
1204			ti,abb_info = <
1205			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
1206			1060000		0	0x0	0 0x02000000 0x01F00000
1207			1160000		0	0x4	0 0x02000000 0x01F00000
1208			1210000		0	0x8	0 0x02000000 0x01F00000
1209			>;
1210		};
1211
1212		abb_ivahd: regulator-abb-ivahd {
1213			compatible = "ti,abb-v3";
1214			regulator-name = "abb_ivahd";
1215			#address-cells = <0>;
1216			#size-cells = <0>;
1217			clocks = <&sys_clkin1>;
1218			ti,settling-time = <50>;
1219			ti,clock-cycles = <16>;
1220
1221			reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>,
1222			      <0x4ae06010 0x4>, <0x4a0025cc 0xc>,
1223			      <0x4a002470 0x4>;
1224			reg-names = "setup-address", "control-address",
1225				    "int-address", "efuse-address",
1226				    "ldo-address";
1227			ti,tranxdone-status-mask = <0x40000000>;
1228			/* LDOVBBIVA_FBB_MUX_CTRL */
1229			ti,ldovbb-override-mask = <0x400>;
1230			/* LDOVBBIVA_FBB_VSET_OUT */
1231			ti,ldovbb-vset-mask = <0x1F>;
1232
1233			/*
1234			 * NOTE: only FBB mode used but actual vset will
1235			 * determine final biasing
1236			 */
1237			ti,abb_info = <
1238			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
1239			1055000		0	0x0	0 0x02000000 0x01F00000
1240			1150000		0	0x4	0 0x02000000 0x01F00000
1241			1250000		0	0x8	0 0x02000000 0x01F00000
1242			>;
1243		};
1244
1245		abb_dspeve: regulator-abb-dspeve {
1246			compatible = "ti,abb-v3";
1247			regulator-name = "abb_dspeve";
1248			#address-cells = <0>;
1249			#size-cells = <0>;
1250			clocks = <&sys_clkin1>;
1251			ti,settling-time = <50>;
1252			ti,clock-cycles = <16>;
1253
1254			reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>,
1255			      <0x4ae06010 0x4>, <0x4a0025e0 0xc>,
1256			      <0x4a00246c 0x4>;
1257			reg-names = "setup-address", "control-address",
1258				    "int-address", "efuse-address",
1259				    "ldo-address";
1260			ti,tranxdone-status-mask = <0x20000000>;
1261			/* LDOVBBDSPEVE_FBB_MUX_CTRL */
1262			ti,ldovbb-override-mask = <0x400>;
1263			/* LDOVBBDSPEVE_FBB_VSET_OUT */
1264			ti,ldovbb-vset-mask = <0x1F>;
1265
1266			/*
1267			 * NOTE: only FBB mode used but actual vset will
1268			 * determine final biasing
1269			 */
1270			ti,abb_info = <
1271			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
1272			1055000		0	0x0	0 0x02000000 0x01F00000
1273			1150000		0	0x4	0 0x02000000 0x01F00000
1274			1250000		0	0x8	0 0x02000000 0x01F00000
1275			>;
1276		};
1277
1278		abb_gpu: regulator-abb-gpu {
1279			compatible = "ti,abb-v3";
1280			regulator-name = "abb_gpu";
1281			#address-cells = <0>;
1282			#size-cells = <0>;
1283			clocks = <&sys_clkin1>;
1284			ti,settling-time = <50>;
1285			ti,clock-cycles = <16>;
1286
1287			reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>,
1288			      <0x4ae06010 0x4>, <0x4a003b08 0xc>,
1289			      <0x4ae0c154 0x4>;
1290			reg-names = "setup-address", "control-address",
1291				    "int-address", "efuse-address",
1292				    "ldo-address";
1293			ti,tranxdone-status-mask = <0x10000000>;
1294			/* LDOVBBGPU_FBB_MUX_CTRL */
1295			ti,ldovbb-override-mask = <0x400>;
1296			/* LDOVBBGPU_FBB_VSET_OUT */
1297			ti,ldovbb-vset-mask = <0x1F>;
1298
1299			/*
1300			 * NOTE: only FBB mode used but actual vset will
1301			 * determine final biasing
1302			 */
1303			ti,abb_info = <
1304			/*uV		ABB	efuse	rbb_m fbb_m	vset_m*/
1305			1090000		0	0x0	0 0x02000000 0x01F00000
1306			1210000		0	0x4	0 0x02000000 0x01F00000
1307			1280000		0	0x8	0 0x02000000 0x01F00000
1308			>;
1309		};
1310
1311		mcspi1: spi@48098000 {
1312			compatible = "ti,omap4-mcspi";
1313			reg = <0x48098000 0x200>;
1314			interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
1315			#address-cells = <1>;
1316			#size-cells = <0>;
1317			ti,hwmods = "mcspi1";
1318			ti,spi-num-cs = <4>;
1319			dmas = <&sdma_xbar 35>,
1320			       <&sdma_xbar 36>,
1321			       <&sdma_xbar 37>,
1322			       <&sdma_xbar 38>,
1323			       <&sdma_xbar 39>,
1324			       <&sdma_xbar 40>,
1325			       <&sdma_xbar 41>,
1326			       <&sdma_xbar 42>;
1327			dma-names = "tx0", "rx0", "tx1", "rx1",
1328				    "tx2", "rx2", "tx3", "rx3";
1329			status = "disabled";
1330		};
1331
1332		mcspi2: spi@4809a000 {
1333			compatible = "ti,omap4-mcspi";
1334			reg = <0x4809a000 0x200>;
1335			interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
1336			#address-cells = <1>;
1337			#size-cells = <0>;
1338			ti,hwmods = "mcspi2";
1339			ti,spi-num-cs = <2>;
1340			dmas = <&sdma_xbar 43>,
1341			       <&sdma_xbar 44>,
1342			       <&sdma_xbar 45>,
1343			       <&sdma_xbar 46>;
1344			dma-names = "tx0", "rx0", "tx1", "rx1";
1345			status = "disabled";
1346		};
1347
1348		mcspi3: spi@480b8000 {
1349			compatible = "ti,omap4-mcspi";
1350			reg = <0x480b8000 0x200>;
1351			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1352			#address-cells = <1>;
1353			#size-cells = <0>;
1354			ti,hwmods = "mcspi3";
1355			ti,spi-num-cs = <2>;
1356			dmas = <&sdma_xbar 15>, <&sdma_xbar 16>;
1357			dma-names = "tx0", "rx0";
1358			status = "disabled";
1359		};
1360
1361		mcspi4: spi@480ba000 {
1362			compatible = "ti,omap4-mcspi";
1363			reg = <0x480ba000 0x200>;
1364			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
1365			#address-cells = <1>;
1366			#size-cells = <0>;
1367			ti,hwmods = "mcspi4";
1368			ti,spi-num-cs = <1>;
1369			dmas = <&sdma_xbar 70>, <&sdma_xbar 71>;
1370			dma-names = "tx0", "rx0";
1371			status = "disabled";
1372		};
1373
1374		qspi: qspi@4b300000 {
1375			compatible = "ti,dra7xxx-qspi";
1376			reg = <0x4b300000 0x100>,
1377			      <0x5c000000 0x4000000>;
1378			reg-names = "qspi_base", "qspi_mmap";
1379			syscon-chipselects = <&scm_conf 0x558>;
1380			#address-cells = <1>;
1381			#size-cells = <0>;
1382			ti,hwmods = "qspi";
1383			clocks = <&l4per_clkctrl DRA7_QSPI_CLKCTRL 25>;
1384			clock-names = "fck";
1385			num-cs = <4>;
1386			interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
1387			status = "disabled";
1388		};
1389
1390		/* OCP2SCP3 */
1391		ocp2scp@4a090000 {
1392			compatible = "ti,omap-ocp2scp";
1393			#address-cells = <1>;
1394			#size-cells = <1>;
1395			ranges;
1396			reg = <0x4a090000 0x20>;
1397			ti,hwmods = "ocp2scp3";
1398			sata_phy: phy@4a096000 {
1399				compatible = "ti,phy-pipe3-sata";
1400				reg = <0x4A096000 0x80>, /* phy_rx */
1401				      <0x4A096400 0x64>, /* phy_tx */
1402				      <0x4A096800 0x40>; /* pll_ctrl */
1403				reg-names = "phy_rx", "phy_tx", "pll_ctrl";
1404				syscon-phy-power = <&scm_conf 0x374>;
1405				clocks = <&sys_clkin1>,
1406					 <&l3init_clkctrl DRA7_SATA_CLKCTRL 8>;
1407				clock-names = "sysclk", "refclk";
1408				syscon-pllreset = <&scm_conf 0x3fc>;
1409				#phy-cells = <0>;
1410			};
1411
1412			pcie1_phy: pciephy@4a094000 {
1413				compatible = "ti,phy-pipe3-pcie";
1414				reg = <0x4a094000 0x80>, /* phy_rx */
1415				      <0x4a094400 0x64>; /* phy_tx */
1416				reg-names = "phy_rx", "phy_tx";
1417				syscon-phy-power = <&scm_conf_pcie 0x1c>;
1418				syscon-pcs = <&scm_conf_pcie 0x10>;
1419				clocks = <&dpll_pcie_ref_ck>,
1420					 <&dpll_pcie_ref_m2ldo_ck>,
1421					 <&l3init_clkctrl DRA7_PCIE1_CLKCTRL 8>,
1422					 <&l3init_clkctrl DRA7_PCIE1_CLKCTRL 9>,
1423					 <&l3init_clkctrl DRA7_PCIE1_CLKCTRL 10>,
1424					 <&optfclk_pciephy_div>,
1425					 <&sys_clkin1>;
1426				clock-names = "dpll_ref", "dpll_ref_m2",
1427					      "wkupclk", "refclk",
1428					      "div-clk", "phy-div", "sysclk";
1429				#phy-cells = <0>;
1430			};
1431
1432			pcie2_phy: pciephy@4a095000 {
1433				compatible = "ti,phy-pipe3-pcie";
1434				reg = <0x4a095000 0x80>, /* phy_rx */
1435				      <0x4a095400 0x64>; /* phy_tx */
1436				reg-names = "phy_rx", "phy_tx";
1437				syscon-phy-power = <&scm_conf_pcie 0x20>;
1438				syscon-pcs = <&scm_conf_pcie 0x10>;
1439				clocks = <&dpll_pcie_ref_ck>,
1440					 <&dpll_pcie_ref_m2ldo_ck>,
1441					 <&l3init_clkctrl DRA7_PCIE2_CLKCTRL 8>,
1442					 <&l3init_clkctrl DRA7_PCIE2_CLKCTRL 9>,
1443					 <&l3init_clkctrl DRA7_PCIE2_CLKCTRL 10>,
1444					 <&optfclk_pciephy_div>,
1445					 <&sys_clkin1>;
1446				clock-names = "dpll_ref", "dpll_ref_m2",
1447					      "wkupclk", "refclk",
1448					      "div-clk", "phy-div", "sysclk";
1449				#phy-cells = <0>;
1450				status = "disabled";
1451			};
1452		};
1453
1454		sata: sata@4a141100 {
1455			compatible = "snps,dwc-ahci";
1456			reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;
1457			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
1458			phys = <&sata_phy>;
1459			phy-names = "sata-phy";
1460			clocks = <&l3init_clkctrl DRA7_SATA_CLKCTRL 8>;
1461			ti,hwmods = "sata";
1462			ports-implemented = <0x1>;
1463		};
1464
1465		rtc: rtc@48838000 {
1466			compatible = "ti,am3352-rtc";
1467			reg = <0x48838000 0x100>;
1468			interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
1469				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
1470			ti,hwmods = "rtcss";
1471			clocks = <&sys_32k_ck>;
1472		};
1473
1474		/* OCP2SCP1 */
1475		ocp2scp@4a080000 {
1476			compatible = "ti,omap-ocp2scp";
1477			#address-cells = <1>;
1478			#size-cells = <1>;
1479			ranges;
1480			reg = <0x4a080000 0x20>;
1481			ti,hwmods = "ocp2scp1";
1482
1483			usb2_phy1: phy@4a084000 {
1484				compatible = "ti,dra7x-usb2", "ti,omap-usb2";
1485				reg = <0x4a084000 0x400>;
1486				syscon-phy-power = <&scm_conf 0x300>;
1487				clocks = <&usb_phy1_always_on_clk32k>,
1488					 <&l3init_clkctrl DRA7_USB_OTG_SS1_CLKCTRL 8>;
1489				clock-names =	"wkupclk",
1490						"refclk";
1491				#phy-cells = <0>;
1492			};
1493
1494			usb2_phy2: phy@4a085000 {
1495				compatible = "ti,dra7x-usb2-phy2",
1496					     "ti,omap-usb2";
1497				reg = <0x4a085000 0x400>;
1498				syscon-phy-power = <&scm_conf 0xe74>;
1499				clocks = <&usb_phy2_always_on_clk32k>,
1500					 <&l3init_clkctrl DRA7_USB_OTG_SS2_CLKCTRL 8>;
1501				clock-names =	"wkupclk",
1502						"refclk";
1503				#phy-cells = <0>;
1504			};
1505
1506			usb3_phy1: phy@4a084400 {
1507				compatible = "ti,omap-usb3";
1508				reg = <0x4a084400 0x80>,
1509				      <0x4a084800 0x64>,
1510				      <0x4a084c00 0x40>;
1511				reg-names = "phy_rx", "phy_tx", "pll_ctrl";
1512				syscon-phy-power = <&scm_conf 0x370>;
1513				clocks = <&usb_phy3_always_on_clk32k>,
1514					 <&sys_clkin1>,
1515					 <&l3init_clkctrl DRA7_USB_OTG_SS1_CLKCTRL 8>;
1516				clock-names =	"wkupclk",
1517						"sysclk",
1518						"refclk";
1519				#phy-cells = <0>;
1520			};
1521		};
1522
1523		target-module@4a0dd000 {
1524			compatible = "ti,sysc-omap4-sr", "ti,sysc";
1525			ti,hwmods = "smartreflex_core";
1526			reg = <0x4a0dd038 0x4>;
1527			reg-names = "sysc";
1528			ti,sysc-mask = <SYSC_OMAP3_SR_ENAWAKEUP>;
1529			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1530					<SYSC_IDLE_NO>,
1531					<SYSC_IDLE_SMART>,
1532					<SYSC_IDLE_SMART_WKUP>;
1533			clocks = <&coreaon_clkctrl DRA7_SMARTREFLEX_CORE_CLKCTRL 0>;
1534			clock-names = "fck";
1535			#address-cells = <1>;
1536			#size-cells = <1>;
1537			ranges = <0 0x4a0dd000 0x001000>;
 
1538
1539			/* SmartReflex child device marked reserved in TRM */
 
 
 
 
 
 
 
 
 
 
 
 
 
1540		};
1541
1542		target-module@4a0d9000 {
1543			compatible = "ti,sysc-omap4-sr", "ti,sysc";
1544			ti,hwmods = "smartreflex_mpu";
1545			reg = <0x4a0d9038 0x4>;
1546			reg-names = "sysc";
1547			ti,sysc-mask = <SYSC_OMAP3_SR_ENAWAKEUP>;
 
 
 
1548			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
1549					<SYSC_IDLE_NO>,
1550					<SYSC_IDLE_SMART>,
1551					<SYSC_IDLE_SMART_WKUP>;
1552			clocks = <&coreaon_clkctrl DRA7_SMARTREFLEX_MPU_CLKCTRL 0>;
1553			clock-names = "fck";
1554			#address-cells = <1>;
1555			#size-cells = <1>;
1556			ranges = <0 0x4a0d9000 0x001000>;
1557
1558			/* SmartReflex child device marked reserved in TRM */
1559		};
1560
1561		omap_dwc3_1: omap_dwc3_1@48880000 {
1562			compatible = "ti,dwc3";
1563			ti,hwmods = "usb_otg_ss1";
1564			reg = <0x48880000 0x10000>;
1565			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1566			#address-cells = <1>;
1567			#size-cells = <1>;
1568			utmi-mode = <2>;
1569			ranges;
1570			usb1: usb@48890000 {
1571				compatible = "snps,dwc3";
1572				reg = <0x48890000 0x17000>;
1573				interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
1574					     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
1575					     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1576				interrupt-names = "peripheral",
1577						  "host",
1578						  "otg";
1579				phys = <&usb2_phy1>, <&usb3_phy1>;
1580				phy-names = "usb2-phy", "usb3-phy";
1581				maximum-speed = "super-speed";
1582				dr_mode = "otg";
1583				snps,dis_u3_susphy_quirk;
1584				snps,dis_u2_susphy_quirk;
1585				snps,dis_metastability_quirk;
1586			};
1587		};
1588
1589		omap_dwc3_2: omap_dwc3_2@488c0000 {
1590			compatible = "ti,dwc3";
1591			ti,hwmods = "usb_otg_ss2";
1592			reg = <0x488c0000 0x10000>;
1593			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
1594			#address-cells = <1>;
1595			#size-cells = <1>;
1596			utmi-mode = <2>;
1597			ranges;
1598			usb2: usb@488d0000 {
1599				compatible = "snps,dwc3";
1600				reg = <0x488d0000 0x17000>;
1601				interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
1602					     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
1603					     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
1604				interrupt-names = "peripheral",
1605						  "host",
1606						  "otg";
1607				phys = <&usb2_phy2>;
1608				phy-names = "usb2-phy";
1609				maximum-speed = "high-speed";
1610				dr_mode = "otg";
1611				snps,dis_u3_susphy_quirk;
1612				snps,dis_u2_susphy_quirk;
1613			};
1614		};
1615
1616		/* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
1617		omap_dwc3_3: omap_dwc3_3@48900000 {
1618			compatible = "ti,dwc3";
1619			ti,hwmods = "usb_otg_ss3";
1620			reg = <0x48900000 0x10000>;
1621			interrupts = <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>;
 
 
 
 
 
 
 
1622			#address-cells = <1>;
1623			#size-cells = <1>;
1624			utmi-mode = <2>;
1625			ranges;
1626			status = "disabled";
1627			usb3: usb@48910000 {
1628				compatible = "snps,dwc3";
1629				reg = <0x48910000 0x17000>;
1630				interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1631					     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1632					     <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>;
1633				interrupt-names = "peripheral",
1634						  "host",
1635						  "otg";
1636				maximum-speed = "high-speed";
1637				dr_mode = "otg";
1638				snps,dis_u3_susphy_quirk;
1639				snps,dis_u2_susphy_quirk;
1640			};
1641		};
1642
1643		elm: elm@48078000 {
1644			compatible = "ti,am3352-elm";
1645			reg = <0x48078000 0xfc0>;      /* device IO registers */
1646			interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
1647			ti,hwmods = "elm";
1648			status = "disabled";
1649		};
1650
1651		gpmc: gpmc@50000000 {
1652			compatible = "ti,am3352-gpmc";
1653			ti,hwmods = "gpmc";
1654			reg = <0x50000000 0x37c>;      /* device IO registers */
1655			interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
1656			dmas = <&edma_xbar 4 0>;
1657			dma-names = "rxtx";
1658			gpmc,num-cs = <8>;
1659			gpmc,num-waitpins = <2>;
1660			#address-cells = <2>;
1661			#size-cells = <1>;
1662			interrupt-controller;
1663			#interrupt-cells = <2>;
1664			gpio-controller;
1665			#gpio-cells = <2>;
1666			status = "disabled";
1667		};
1668
1669		atl: atl@4843c000 {
1670			compatible = "ti,dra7-atl";
1671			reg = <0x4843c000 0x3ff>;
1672			ti,hwmods = "atl";
1673			ti,provided-clocks = <&atl_clkin0_ck>, <&atl_clkin1_ck>,
1674					     <&atl_clkin2_ck>, <&atl_clkin3_ck>;
1675			clocks = <&atl_clkctrl DRA7_ATL_CLKCTRL 26>;
1676			clock-names = "fck";
1677			status = "disabled";
1678		};
1679
1680		mcasp1: mcasp@48460000 {
1681			compatible = "ti,dra7-mcasp-audio";
1682			ti,hwmods = "mcasp1";
1683			reg = <0x48460000 0x2000>,
1684			      <0x45800000 0x1000>;
1685			reg-names = "mpu","dat";
1686			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1687				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
1688			interrupt-names = "tx", "rx";
1689			dmas = <&edma_xbar 129 1>, <&edma_xbar 128 1>;
1690			dma-names = "tx", "rx";
1691			clocks = <&ipu_clkctrl DRA7_MCASP1_CLKCTRL 22>, <&ipu_clkctrl DRA7_MCASP1_CLKCTRL 24>,
1692				 <&ipu_clkctrl DRA7_MCASP1_CLKCTRL 28>;
1693			clock-names = "fck", "ahclkx", "ahclkr";
1694			status = "disabled";
1695		};
1696
1697		mcasp2: mcasp@48464000 {
1698			compatible = "ti,dra7-mcasp-audio";
1699			ti,hwmods = "mcasp2";
1700			reg = <0x48464000 0x2000>,
1701			      <0x45c00000 0x1000>;
1702			reg-names = "mpu","dat";
1703			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
1704				     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
1705			interrupt-names = "tx", "rx";
1706			dmas = <&edma_xbar 131 1>, <&edma_xbar 130 1>;
1707			dma-names = "tx", "rx";
1708			clocks = <&l4per_clkctrl DRA7_MCASP2_CLKCTRL 22>,
1709				 <&l4per_clkctrl DRA7_MCASP2_CLKCTRL 24>,
1710				 <&l4per_clkctrl DRA7_MCASP2_CLKCTRL 28>;
1711			clock-names = "fck", "ahclkx", "ahclkr";
1712			status = "disabled";
1713		};
1714
1715		mcasp3: mcasp@48468000 {
1716			compatible = "ti,dra7-mcasp-audio";
1717			ti,hwmods = "mcasp3";
1718			reg = <0x48468000 0x2000>,
1719			      <0x46000000 0x1000>;
1720			reg-names = "mpu","dat";
1721			interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
1722				     <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
1723			interrupt-names = "tx", "rx";
1724			dmas = <&edma_xbar 133 1>, <&edma_xbar 132 1>;
1725			dma-names = "tx", "rx";
1726			clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 22>,
1727				 <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 24>;
1728			clock-names = "fck", "ahclkx";
1729			status = "disabled";
1730		};
1731
1732		mcasp4: mcasp@4846c000 {
1733			compatible = "ti,dra7-mcasp-audio";
1734			ti,hwmods = "mcasp4";
1735			reg = <0x4846c000 0x2000>,
1736			      <0x48436000 0x1000>;
1737			reg-names = "mpu","dat";
1738			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
1739				     <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
1740			interrupt-names = "tx", "rx";
1741			dmas = <&edma_xbar 135 1>, <&edma_xbar 134 1>;
1742			dma-names = "tx", "rx";
1743			clocks = <&l4per_clkctrl DRA7_MCASP4_CLKCTRL 22>,
1744				 <&l4per_clkctrl DRA7_MCASP4_CLKCTRL 24>;
1745			clock-names = "fck", "ahclkx";
1746			status = "disabled";
1747		};
1748
1749		mcasp5: mcasp@48470000 {
1750			compatible = "ti,dra7-mcasp-audio";
1751			ti,hwmods = "mcasp5";
1752			reg = <0x48470000 0x2000>,
1753			      <0x4843a000 0x1000>;
1754			reg-names = "mpu","dat";
1755			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
1756				     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
1757			interrupt-names = "tx", "rx";
1758			dmas = <&edma_xbar 137 1>, <&edma_xbar 136 1>;
1759			dma-names = "tx", "rx";
1760			clocks = <&l4per_clkctrl DRA7_MCASP5_CLKCTRL 22>,
1761				 <&l4per_clkctrl DRA7_MCASP5_CLKCTRL 24>;
1762			clock-names = "fck", "ahclkx";
1763			status = "disabled";
1764		};
1765
1766		mcasp6: mcasp@48474000 {
1767			compatible = "ti,dra7-mcasp-audio";
1768			ti,hwmods = "mcasp6";
1769			reg = <0x48474000 0x2000>,
1770			      <0x4844c000 0x1000>;
1771			reg-names = "mpu","dat";
1772			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
1773				     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1774			interrupt-names = "tx", "rx";
1775			dmas = <&edma_xbar 139 1>, <&edma_xbar 138 1>;
1776			dma-names = "tx", "rx";
1777			clocks = <&l4per_clkctrl DRA7_MCASP6_CLKCTRL 22>,
1778				 <&l4per_clkctrl DRA7_MCASP6_CLKCTRL 24>;
1779			clock-names = "fck", "ahclkx";
1780			status = "disabled";
1781		};
1782
1783		mcasp7: mcasp@48478000 {
1784			compatible = "ti,dra7-mcasp-audio";
1785			ti,hwmods = "mcasp7";
1786			reg = <0x48478000 0x2000>,
1787			      <0x48450000 0x1000>;
1788			reg-names = "mpu","dat";
1789			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
1790				     <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1791			interrupt-names = "tx", "rx";
1792			dmas = <&edma_xbar 141 1>, <&edma_xbar 140 1>;
1793			dma-names = "tx", "rx";
1794			clocks = <&l4per_clkctrl DRA7_MCASP7_CLKCTRL 22>,
1795				 <&l4per_clkctrl DRA7_MCASP7_CLKCTRL 24>;
1796			clock-names = "fck", "ahclkx";
1797			status = "disabled";
1798		};
1799
1800		mcasp8: mcasp@4847c000 {
1801			compatible = "ti,dra7-mcasp-audio";
1802			ti,hwmods = "mcasp8";
1803			reg = <0x4847c000 0x2000>,
1804			      <0x48454000 0x1000>;
1805			reg-names = "mpu","dat";
1806			interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
1807				     <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
1808			interrupt-names = "tx", "rx";
1809			dmas = <&edma_xbar 143 1>, <&edma_xbar 142 1>;
1810			dma-names = "tx", "rx";
1811			clocks = <&l4per_clkctrl DRA7_MCASP8_CLKCTRL 22>,
1812				 <&l4per_clkctrl DRA7_MCASP8_CLKCTRL 24>;
1813			clock-names = "fck", "ahclkx";
1814			status = "disabled";
1815		};
1816
1817		crossbar_mpu: crossbar@4a002a48 {
1818			compatible = "ti,irq-crossbar";
1819			reg = <0x4a002a48 0x130>;
1820			interrupt-controller;
1821			interrupt-parent = <&wakeupgen>;
1822			#interrupt-cells = <3>;
1823			ti,max-irqs = <160>;
1824			ti,max-crossbar-sources = <MAX_SOURCES>;
1825			ti,reg-size = <2>;
1826			ti,irqs-reserved = <0 1 2 3 5 6 131 132>;
1827			ti,irqs-skip = <10 133 139 140>;
1828			ti,irqs-safe-map = <0>;
1829		};
1830
1831		mac: ethernet@48484000 {
1832			compatible = "ti,dra7-cpsw","ti,cpsw";
1833			ti,hwmods = "gmac";
1834			clocks = <&gmac_main_clk>, <&l3init_clkctrl DRA7_GMAC_CLKCTRL 25>;
1835			clock-names = "fck", "cpts";
1836			cpdma_channels = <8>;
1837			ale_entries = <1024>;
1838			bd_ram_size = <0x2000>;
1839			mac_control = <0x20>;
1840			slaves = <2>;
1841			active_slave = <0>;
1842			cpts_clock_mult = <0x784CFE14>;
1843			cpts_clock_shift = <29>;
1844			reg = <0x48484000 0x1000
1845			       0x48485200 0x2E00>;
1846			#address-cells = <1>;
1847			#size-cells = <1>;
 
1848
1849			/*
1850			 * Do not allow gating of cpsw clock as workaround
1851			 * for errata i877. Keeping internal clock disabled
1852			 * causes the device switching characteristics
1853			 * to degrade over time and eventually fail to meet
1854			 * the data manual delay time/skew specs.
1855			 */
1856			ti,no-idle;
1857
1858			/*
1859			 * rx_thresh_pend
1860			 * rx_pend
1861			 * tx_pend
1862			 * misc_pend
1863			 */
1864			interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1865				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
1866				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
1867				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>;
1868			ranges;
1869			syscon = <&scm_conf>;
1870			status = "disabled";
1871
1872			davinci_mdio: mdio@48485000 {
1873				compatible = "ti,cpsw-mdio","ti,davinci_mdio";
1874				#address-cells = <1>;
1875				#size-cells = <0>;
1876				ti,hwmods = "davinci_mdio";
1877				bus_freq = <1000000>;
1878				reg = <0x48485000 0x100>;
1879			};
1880
1881			cpsw_emac0: slave@48480200 {
1882				/* Filled in by U-Boot */
1883				mac-address = [ 00 00 00 00 00 00 ];
1884			};
1885
1886			cpsw_emac1: slave@48480300 {
1887				/* Filled in by U-Boot */
1888				mac-address = [ 00 00 00 00 00 00 ];
1889			};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1890
1891			phy_sel: cpsw-phy-sel@4a002554 {
1892				compatible = "ti,dra7xx-cpsw-phy-sel";
1893				reg= <0x4a002554 0x4>;
1894				reg-names = "gmii-sel";
1895			};
1896		};
 
 
 
 
1897
1898		dcan1: can@481cc000 {
1899			compatible = "ti,dra7-d_can";
1900			ti,hwmods = "dcan1";
1901			reg = <0x4ae3c000 0x2000>;
1902			syscon-raminit = <&scm_conf 0x558 0>;
1903			interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1904			clocks = <&wkupaon_clkctrl DRA7_DCAN1_CLKCTRL 24>;
1905			status = "disabled";
1906		};
 
 
 
 
 
 
 
1907
1908		dcan2: can@481d0000 {
1909			compatible = "ti,dra7-d_can";
1910			ti,hwmods = "dcan2";
1911			reg = <0x48480000 0x2000>;
1912			syscon-raminit = <&scm_conf 0x558 1>;
1913			interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
1914			clocks = <&sys_clkin1>;
1915			status = "disabled";
 
 
 
 
 
 
 
 
 
1916		};
1917
1918		dss: dss@58000000 {
1919			compatible = "ti,dra7-dss";
1920			/* 'reg' defined in dra72x.dtsi and dra74x.dtsi */
1921			/* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */
1922			status = "disabled";
1923			ti,hwmods = "dss_core";
1924			/* CTRL_CORE_DSS_PLL_CONTROL */
1925			syscon-pll-ctrl = <&scm_conf 0x538>;
1926			#address-cells = <1>;
1927			#size-cells = <1>;
1928			ranges;
1929
1930			dispc@58001000 {
1931				compatible = "ti,dra7-dispc";
1932				reg = <0x58001000 0x1000>;
1933				interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
1934				ti,hwmods = "dss_dispc";
1935				clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>;
1936				clock-names = "fck";
1937				/* CTRL_CORE_SMA_SW_1 */
1938				syscon-pol = <&scm_conf 0x534>;
1939			};
1940
1941			hdmi: encoder@58060000 {
1942				compatible = "ti,dra7-hdmi";
1943				reg = <0x58040000 0x200>,
1944				      <0x58040200 0x80>,
1945				      <0x58040300 0x80>,
1946				      <0x58060000 0x19000>;
1947				reg-names = "wp", "pll", "phy", "core";
1948				interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1949				status = "disabled";
1950				ti,hwmods = "dss_hdmi";
1951				clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>,
1952					 <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 10>;
1953				clock-names = "fck", "sys_clk";
1954				dmas = <&sdma_xbar 76>;
1955				dma-names = "audio_tx";
1956			};
1957		};
1958
1959		epwmss0: epwmss@4843e000 {
1960			compatible = "ti,dra746-pwmss", "ti,am33xx-pwmss";
1961			reg = <0x4843e000 0x30>;
1962			ti,hwmods = "epwmss0";
 
 
 
 
 
 
 
 
 
 
 
 
1963			#address-cells = <1>;
1964			#size-cells = <1>;
1965			status = "disabled";
1966			ranges;
1967
1968			ehrpwm0: pwm@4843e200 {
1969				compatible = "ti,dra746-ehrpwm",
1970					     "ti,am3352-ehrpwm";
1971				#pwm-cells = <3>;
1972				reg = <0x4843e200 0x80>;
1973				clocks = <&ehrpwm0_tbclk>, <&l4_root_clk_div>;
1974				clock-names = "tbclk", "fck";
1975				status = "disabled";
1976			};
1977
1978			ecap0: ecap@4843e100 {
1979				compatible = "ti,dra746-ecap",
1980					     "ti,am3352-ecap";
1981				#pwm-cells = <3>;
1982				reg = <0x4843e100 0x80>;
1983				clocks = <&l4_root_clk_div>;
1984				clock-names = "fck";
1985				status = "disabled";
1986			};
1987		};
1988
1989		epwmss1: epwmss@48440000 {
1990			compatible = "ti,dra746-pwmss", "ti,am33xx-pwmss";
1991			reg = <0x48440000 0x30>;
1992			ti,hwmods = "epwmss1";
 
 
 
 
 
 
 
 
 
 
 
 
1993			#address-cells = <1>;
1994			#size-cells = <1>;
1995			status = "disabled";
1996			ranges;
1997
1998			ehrpwm1: pwm@48440200 {
1999				compatible = "ti,dra746-ehrpwm",
2000					     "ti,am3352-ehrpwm";
2001				#pwm-cells = <3>;
2002				reg = <0x48440200 0x80>;
2003				clocks = <&ehrpwm1_tbclk>, <&l4_root_clk_div>;
2004				clock-names = "tbclk", "fck";
2005				status = "disabled";
2006			};
2007
2008			ecap1: ecap@48440100 {
2009				compatible = "ti,dra746-ecap",
2010					     "ti,am3352-ecap";
2011				#pwm-cells = <3>;
2012				reg = <0x48440100 0x80>;
2013				clocks = <&l4_root_clk_div>;
 
2014				clock-names = "fck";
2015				status = "disabled";
2016			};
2017		};
2018
2019		epwmss2: epwmss@48442000 {
2020			compatible = "ti,dra746-pwmss", "ti,am33xx-pwmss";
2021			reg = <0x48442000 0x30>;
2022			ti,hwmods = "epwmss2";
 
 
 
 
 
 
 
 
 
 
 
2023			#address-cells = <1>;
2024			#size-cells = <1>;
2025			status = "disabled";
2026			ranges;
2027
2028			ehrpwm2: pwm@48442200 {
2029				compatible = "ti,dra746-ehrpwm",
2030					     "ti,am3352-ehrpwm";
2031				#pwm-cells = <3>;
2032				reg = <0x48442200 0x80>;
2033				clocks = <&ehrpwm2_tbclk>, <&l4_root_clk_div>;
2034				clock-names = "tbclk", "fck";
2035				status = "disabled";
2036			};
2037
2038			ecap2: ecap@48442100 {
2039				compatible = "ti,dra746-ecap",
2040					     "ti,am3352-ecap";
2041				#pwm-cells = <3>;
2042				reg = <0x48442100 0x80>;
2043				clocks = <&l4_root_clk_div>;
 
2044				clock-names = "fck";
2045				status = "disabled";
2046			};
2047		};
2048
2049		aes1: aes@4b500000 {
2050			compatible = "ti,omap4-aes";
2051			ti,hwmods = "aes1";
2052			reg = <0x4b500000 0xa0>;
2053			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
2054			dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>;
2055			dma-names = "tx", "rx";
2056			clocks = <&l3_iclk_div>;
2057			clock-names = "fck";
2058		};
2059
2060		aes2: aes@4b700000 {
2061			compatible = "ti,omap4-aes";
2062			ti,hwmods = "aes2";
2063			reg = <0x4b700000 0xa0>;
2064			interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
2065			dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>;
2066			dma-names = "tx", "rx";
2067			clocks = <&l3_iclk_div>;
2068			clock-names = "fck";
2069		};
 
 
2070
2071		des: des@480a5000 {
2072			compatible = "ti,omap4-des";
2073			ti,hwmods = "des";
2074			reg = <0x480a5000 0xa0>;
2075			interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
2076			dmas = <&sdma_xbar 117>, <&sdma_xbar 116>;
2077			dma-names = "tx", "rx";
2078			clocks = <&l3_iclk_div>;
2079			clock-names = "fck";
2080		};
2081
2082		sham: sham@53100000 {
2083			compatible = "ti,omap5-sham";
2084			ti,hwmods = "sham";
2085			reg = <0x4b101000 0x300>;
2086			interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
2087			dmas = <&edma_xbar 119 0>;
2088			dma-names = "rx";
2089			clocks = <&l3_iclk_div>;
 
 
 
 
 
 
 
2090			clock-names = "fck";
2091		};
 
 
 
2092
2093		rng: rng@48090000 {
2094			compatible = "ti,omap4-rng";
2095			ti,hwmods = "rng";
2096			reg = <0x48090000 0x2000>;
2097			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
2098			clocks = <&l3_iclk_div>;
2099			clock-names = "fck";
2100		};
2101
2102		opp_supply_mpu: opp-supply@4a003b20 {
2103			compatible = "ti,omap5-opp-supply";
2104			reg = <0x4a003b20 0xc>;
2105			ti,efuse-settings = <
2106			/* uV   offset */
2107			1060000 0x0
2108			1160000 0x4
2109			1210000 0x8
2110			>;
2111			ti,absolute-max-voltage-uv = <1500000>;
2112		};
2113
2114	};
2115
2116	thermal_zones: thermal-zones {
2117		#include "omap4-cpu-thermal.dtsi"
2118		#include "omap5-gpu-thermal.dtsi"
2119		#include "omap5-core-thermal.dtsi"
2120		#include "dra7-dspeve-thermal.dtsi"
2121		#include "dra7-iva-thermal.dtsi"
2122	};
2123
2124};
2125
2126&cpu_thermal {
2127	polling-delay = <500>; /* milliseconds */
2128	coefficients = <0 2000>;
2129};
2130
2131&gpu_thermal {
2132	coefficients = <0 2000>;
2133};
2134
2135&core_thermal {
2136	coefficients = <0 2000>;
2137};
2138
2139&dspeve_thermal {
2140	coefficients = <0 2000>;
2141};
2142
2143&iva_thermal {
2144	coefficients = <0 2000>;
2145};
2146
2147&cpu_crit {
2148	temperature = <120000>; /* milli Celsius */
2149};
2150
2151#include "dra7xx-clocks.dtsi"
2152
2153&core_crit {
2154	temperature = <120000>; /* milli Celsius */
2155};
2156
2157&gpu_crit {
2158	temperature = <120000>; /* milli Celsius */
2159};
2160
2161&dspeve_crit {
2162	temperature = <120000>; /* milli Celsius */
2163};
2164
2165&iva_crit {
2166	temperature = <120000>; /* milli Celsius */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2167};
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};