Rajendra Nayak | 38b248d | 2014-04-29 16:35:10 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 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 "dra7.dtsi" |
| 11 | |
| 12 | / { |
| 13 | compatible = "ti,dra742", "ti,dra74", "ti,dra7"; |
| 14 | |
| 15 | cpus { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | |
| 19 | cpu0: cpu@0 { |
| 20 | device_type = "cpu"; |
| 21 | compatible = "arm,cortex-a15"; |
| 22 | reg = <0>; |
| 23 | |
| 24 | operating-points = < |
| 25 | /* kHz uV */ |
| 26 | 1000000 1060000 |
| 27 | 1176000 1160000 |
| 28 | >; |
| 29 | |
| 30 | clocks = <&dpll_mpu_ck>; |
| 31 | clock-names = "cpu"; |
| 32 | |
| 33 | clock-latency = <300000>; /* From omap-cpufreq driver */ |
Keerthy | f7397ed | 2015-03-23 14:39:38 -0500 | [diff] [blame] | 34 | |
| 35 | /* cooling options */ |
| 36 | cooling-min-level = <0>; |
| 37 | cooling-max-level = <2>; |
| 38 | #cooling-cells = <2>; /* min followed by max */ |
Rajendra Nayak | 38b248d | 2014-04-29 16:35:10 +0530 | [diff] [blame] | 39 | }; |
| 40 | cpu@1 { |
| 41 | device_type = "cpu"; |
| 42 | compatible = "arm,cortex-a15"; |
| 43 | reg = <1>; |
| 44 | }; |
| 45 | }; |
Lucas Weaver | f53e3c5 | 2014-08-19 08:54:00 -0500 | [diff] [blame] | 46 | |
| 47 | pmu { |
| 48 | compatible = "arm,cortex-a15-pmu"; |
Marc Zyngier | 7136d45 | 2015-03-11 15:43:49 +0000 | [diff] [blame] | 49 | interrupt-parent = <&wakeupgen>; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 50 | interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, |
| 51 | <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>; |
Lucas Weaver | f53e3c5 | 2014-08-19 08:54:00 -0500 | [diff] [blame] | 52 | }; |
Roger Quadros | 6b14eb4 | 2014-10-21 13:41:18 +0300 | [diff] [blame] | 53 | |
| 54 | ocp { |
Suman Anna | bddbe6d | 2015-10-02 18:23:23 -0500 | [diff] [blame] | 55 | dsp2_system: dsp_system@41500000 { |
| 56 | compatible = "syscon"; |
| 57 | reg = <0x41500000 0x100>; |
| 58 | }; |
| 59 | |
Felipe Balbi | 4f6dec7 | 2014-11-03 10:28:42 -0600 | [diff] [blame] | 60 | omap_dwc3_4: omap_dwc3_4@48940000 { |
Roger Quadros | 6b14eb4 | 2014-10-21 13:41:18 +0300 | [diff] [blame] | 61 | compatible = "ti,dwc3"; |
| 62 | ti,hwmods = "usb_otg_ss4"; |
| 63 | reg = <0x48940000 0x10000>; |
| 64 | interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <1>; |
| 67 | utmi-mode = <2>; |
| 68 | ranges; |
| 69 | status = "disabled"; |
| 70 | usb4: usb@48950000 { |
| 71 | compatible = "snps,dwc3"; |
| 72 | reg = <0x48950000 0x17000>; |
Roger Quadros | 964927f | 2015-07-08 13:42:32 +0300 | [diff] [blame] | 73 | interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, |
| 74 | <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, |
| 75 | <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; |
| 76 | interrupt-names = "peripheral", |
| 77 | "host", |
| 78 | "otg"; |
Roger Quadros | 6b14eb4 | 2014-10-21 13:41:18 +0300 | [diff] [blame] | 79 | maximum-speed = "high-speed"; |
| 80 | dr_mode = "otg"; |
| 81 | }; |
| 82 | }; |
Suman Anna | 63c7ecd | 2015-10-02 18:23:25 -0500 | [diff] [blame] | 83 | |
| 84 | mmu0_dsp2: mmu@41501000 { |
| 85 | compatible = "ti,dra7-dsp-iommu"; |
| 86 | reg = <0x41501000 0x100>; |
| 87 | interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; |
| 88 | ti,hwmods = "mmu0_dsp2"; |
| 89 | #iommu-cells = <0>; |
| 90 | ti,syscon-mmuconfig = <&dsp2_system 0x0>; |
| 91 | status = "disabled"; |
| 92 | }; |
| 93 | |
| 94 | mmu1_dsp2: mmu@41502000 { |
| 95 | compatible = "ti,dra7-dsp-iommu"; |
| 96 | reg = <0x41502000 0x100>; |
| 97 | interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; |
| 98 | ti,hwmods = "mmu1_dsp2"; |
| 99 | #iommu-cells = <0>; |
| 100 | ti,syscon-mmuconfig = <&dsp2_system 0x1>; |
| 101 | status = "disabled"; |
| 102 | }; |
Roger Quadros | 6b14eb4 | 2014-10-21 13:41:18 +0300 | [diff] [blame] | 103 | }; |
Rajendra Nayak | 38b248d | 2014-04-29 16:35:10 +0530 | [diff] [blame] | 104 | }; |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 105 | |
| 106 | &dss { |
| 107 | reg = <0x58000000 0x80>, |
| 108 | <0x58004054 0x4>, |
| 109 | <0x58004300 0x20>, |
| 110 | <0x58005054 0x4>, |
| 111 | <0x58005300 0x20>; |
| 112 | reg-names = "dss", "pll1_clkctrl", "pll1", |
| 113 | "pll2_clkctrl", "pll2"; |
| 114 | |
| 115 | clocks = <&dss_dss_clk>, |
| 116 | <&dss_video1_clk>, |
| 117 | <&dss_video2_clk>; |
| 118 | clock-names = "fck", "video1_clk", "video2_clk"; |
| 119 | }; |
Suman Anna | a9c8f11 | 2015-09-18 13:16:30 -0500 | [diff] [blame] | 120 | |
| 121 | &mailbox5 { |
| 122 | mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { |
| 123 | ti,mbox-tx = <6 2 2>; |
| 124 | ti,mbox-rx = <4 2 2>; |
| 125 | status = "disabled"; |
| 126 | }; |
| 127 | mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { |
| 128 | ti,mbox-tx = <5 2 2>; |
| 129 | ti,mbox-rx = <1 2 2>; |
| 130 | status = "disabled"; |
| 131 | }; |
| 132 | }; |
| 133 | |
| 134 | &mailbox6 { |
| 135 | mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
| 136 | ti,mbox-tx = <6 2 2>; |
| 137 | ti,mbox-rx = <4 2 2>; |
| 138 | status = "disabled"; |
| 139 | }; |
| 140 | mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { |
| 141 | ti,mbox-tx = <5 2 2>; |
| 142 | ti,mbox-rx = <1 2 2>; |
| 143 | status = "disabled"; |
| 144 | }; |
| 145 | }; |