Gilad Avidov | 289d0fc | 2012-08-08 14:06:24 -0600 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /include/ "skeleton.dtsi" |
Chintan Pandya | f6ddea2 | 2012-09-14 19:26:03 +0530 | [diff] [blame] | 14 | /include/ "mpq8092-iommu.dtsi" |
| 15 | /include/ "msm-gdsc.dtsi" |
Utsab Bose | 4bb9465 | 2012-09-28 15:07:35 +0530 | [diff] [blame] | 16 | /include/ "mpq8092-ion.dtsi" |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | model = "Qualcomm MPQ8092"; |
| 20 | compatible = "qcom,mpq8092"; |
| 21 | interrupt-parent = <&intc>; |
| 22 | |
| 23 | intc: interrupt-controller@f9000000 { |
| 24 | compatible = "qcom,msm-qgic2"; |
| 25 | interrupt-controller; |
| 26 | #interrupt-cells = <3>; |
| 27 | reg = <0xf9000000 0x1000>, |
| 28 | <0xf9002000 0x1000>; |
| 29 | }; |
| 30 | |
Ravi Kumar V | 57f65f5 | 2012-09-12 14:39:23 +0530 | [diff] [blame] | 31 | msmgpio: gpio@fd510000 { |
| 32 | compatible = "qcom,msm-gpio"; |
| 33 | gpio-controller; |
| 34 | #gpio-cells = <2>; |
| 35 | interrupt-controller; |
| 36 | #interrupt-cells = <2>; |
| 37 | reg = <0xfd510000 0x4000>; |
Rohit Vaswani | 341c203 | 2012-11-08 18:49:29 -0800 | [diff] [blame] | 38 | ngpio = <146>; |
Rohit Vaswani | d200152 | 2012-12-05 19:23:44 -0800 | [diff] [blame] | 39 | interrupts = <0 208 0>; |
Rohit Vaswani | ed0a4ef | 2012-12-11 15:14:42 -0800 | [diff] [blame] | 40 | qcom,direct-connect-irqs = <8>; |
Ravi Kumar V | 57f65f5 | 2012-09-12 14:39:23 +0530 | [diff] [blame] | 41 | }; |
| 42 | |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 43 | timer { |
Syed Rameez Mustafa | 0824d6c | 2012-11-29 18:53:56 -0800 | [diff] [blame] | 44 | compatible = "arm,armv7-timer"; |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 45 | interrupts = <1 2 0>, <1 3 0>; |
| 46 | clock-frequency = <19200000>; |
| 47 | }; |
| 48 | |
| 49 | serial@f991f000 { |
| 50 | compatible = "qcom,msm-lsuart-v14"; |
| 51 | reg = <0xf991f000 0x1000>; |
| 52 | interrupts = <0 109 0>; |
| 53 | status = "disabled"; |
| 54 | }; |
| 55 | |
| 56 | serial@f995e000 { |
| 57 | compatible = "qcom,msm-lsuart-v14"; |
| 58 | reg = <0xf995e000 0x1000>; |
| 59 | interrupts = <0 114 0>; |
| 60 | status = "disabled"; |
| 61 | }; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 62 | |
| 63 | spmi_bus: qcom,spmi@fc4c0000 { |
| 64 | cell-index = <0>; |
| 65 | compatible = "qcom,spmi-pmic-arb"; |
Kenneth Heitke | 366b8a4 | 2012-12-18 13:51:37 -0700 | [diff] [blame] | 66 | reg-names = "core", "intr", "cnfg"; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 67 | reg = <0xfc4cf000 0x1000>, |
Kenneth Heitke | 366b8a4 | 2012-12-18 13:51:37 -0700 | [diff] [blame] | 68 | <0Xfc4cb000 0x1000>, |
| 69 | <0Xfc4ca000 0x1000>; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 70 | /* 190,ee0_krait_hlos_spmi_periph_irq */ |
| 71 | /* 187,channel_0_krait_hlos_trans_done_irq */ |
| 72 | interrupts = <0 190 0 0 187 0>; |
Sujit Reddy Thumma | 397dffd | 2012-10-29 13:38:49 +0530 | [diff] [blame] | 73 | qcom,not-wakeup; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 74 | qcom,pmic-arb-ee = <0>; |
| 75 | qcom,pmic-arb-channel = <0>; |
Ravi Kumar V | 73e5cbc | 2012-09-10 20:22:39 +0530 | [diff] [blame] | 76 | }; |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 77 | |
| 78 | sdcc1: qcom,sdcc@f9824000 { |
| 79 | cell-index = <1>; /* SDC1 eMMC slot */ |
| 80 | compatible = "qcom,msm-sdcc"; |
| 81 | reg = <0xf9824000 0x800>; |
| 82 | reg-names = "core_mem"; |
| 83 | interrupts = <0 123 0>; |
| 84 | interrupt-names = "core_irq"; |
| 85 | |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 86 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 87 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
Krishna Konda | 6c5d0f4 | 2013-04-12 16:44:26 -0700 | [diff] [blame] | 88 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 89 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 90 | |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 91 | qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; |
| 92 | qcom,sup-voltages = <2950 2950>; |
| 93 | qcom,bus-width = <8>; |
| 94 | qcom,nonremovable; |
| 95 | qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v"; |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | sdcc2: qcom,sdcc@f98a4000 { |
| 99 | cell-index = <2>; /* SDC2 SD card slot */ |
| 100 | compatible = "qcom,msm-sdcc"; |
| 101 | reg = <0xf98a4000 0x800>; |
| 102 | reg-names = "core_mem"; |
| 103 | interrupts = <0 125 0>; |
| 104 | interrupt-names = "core_irq"; |
| 105 | |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 106 | qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
| 107 | qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */ |
Krishna Konda | 6c5d0f4 | 2013-04-12 16:44:26 -0700 | [diff] [blame] | 108 | qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */ |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 109 | qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */ |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 110 | |
Oluwafemi Adeyemi | 6cdfdb8 | 2012-11-02 13:36:29 -0700 | [diff] [blame] | 111 | qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>; |
| 112 | qcom,sup-voltages = <2950 2950>; |
| 113 | qcom,bus-width = <4>; |
| 114 | qcom,xpc; |
| 115 | qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; |
| 116 | qcom,current-limit = <800>; |
Sujit Reddy Thumma | 2330f3a37 | 2012-10-18 10:28:51 +0530 | [diff] [blame] | 117 | }; |
Sujit Reddy Thumma | 3510638 | 2012-10-12 20:36:53 +0530 | [diff] [blame] | 118 | |
| 119 | sata: sata@fc580000 { |
| 120 | compatible = "qcom,msm-ahci"; |
| 121 | reg = <0xfc580000 0x17c>; |
| 122 | interrupts = <0 243 0>; |
| 123 | }; |
Ravi Kumar V | f4d78d2 | 2012-09-12 13:45:00 +0530 | [diff] [blame] | 124 | }; |
Ravi Kumar V | 605f1cd | 2012-09-10 20:43:17 +0530 | [diff] [blame] | 125 | |
Patrick Daly | e8977aa | 2012-11-06 15:25:58 -0800 | [diff] [blame] | 126 | &gdsc_venus { |
| 127 | status = "ok"; |
| 128 | }; |
| 129 | |
| 130 | &gdsc_mdss { |
| 131 | status = "ok"; |
| 132 | }; |
| 133 | |
| 134 | &gdsc_jpeg { |
| 135 | status = "ok"; |
| 136 | }; |
| 137 | |
| 138 | &gdsc_vfe { |
| 139 | status = "ok"; |
| 140 | }; |
| 141 | |
| 142 | &gdsc_oxili_gx { |
| 143 | status = "ok"; |
| 144 | }; |
| 145 | |
| 146 | &gdsc_oxili_cx { |
| 147 | status = "ok"; |
| 148 | }; |
| 149 | |
| 150 | &gdsc_usb_hsic { |
| 151 | status = "ok"; |
| 152 | }; |
| 153 | |
David Collins | 819bebf | 2013-04-22 14:55:19 -0700 | [diff] [blame] | 154 | /include/ "msm-pma8084.dtsi" |
Ravi Kumar V | d9e522c | 2012-10-03 12:52:14 +0530 | [diff] [blame] | 155 | /include/ "mpq8092-regulator.dtsi" |