blob: a192561bad3c313ca58da8eedc9a13e2586c1c33 [file] [log] [blame]
Hanumant Singh2278ab32013-02-21 15:32:17 -08001/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
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/dts-v1/;
14/include/ "msm8226.dtsi"
15
16/ {
17 model = "Qualcomm MSM 8226 QRD";
18 compatible = "qcom,msm8226-qrd", "qcom,msm8226";
aiqunyb0bc09a2013-03-02 18:33:33 -080019 qcom,msm-id = <145 11 0>;
Hanumant Singh2278ab32013-02-21 15:32:17 -080020
21 serial@f991f000 {
aiquny14dd1ae2013-03-02 18:37:19 -080022 status = "ok";
Hanumant Singh2278ab32013-02-21 15:32:17 -080023 };
David Ng5b225f12013-02-28 21:15:08 -080024};
Krishna Konda0fb72092013-02-26 16:35:51 -080025
26&sdcc1 {
27 vdd-supply = <&pm8226_l17>;
28 qcom,vdd-always-on;
29 qcom,vdd-lpm-sup;
30 qcom,vdd-voltage-level = <2950000 2950000>;
31 qcom,vdd-current-level = <800 500000>;
32
33 vdd-io-supply = <&pm8226_l6>;
34 qcom,vdd-io-always-on;
35 qcom,vdd-io-voltage-level = <1800000 1800000>;
36 qcom,vdd-io-current-level = <250 154000>;
37
38 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
39 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
40 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 16mA, 10mA, 10mA */
41 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
42
43 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
44 qcom,sup-voltages = <2950 2950>;
45
46 qcom,bus-speed-mode = "HS200_1p8v", "DDR_1p8v";
47 qcom,nonremovable;
48
49 status = "ok";
50};
51
52&sdcc2 {
53 vdd-supply = <&pm8226_l18>;
54 qcom,vdd-voltage-level = <2950000 2950000>;
55 qcom,vdd-current-level = <9000 800000>;
56
57 vdd-io-supply = <&pm8226_l21>;
58 qcom,vdd-io-always-on;
59 qcom,vdd-io-lpm-sup;
60 qcom,vdd-io-voltage-level = <1800000 2950000>;
61 qcom,vdd-io-current-level = <6 22000>;
62
63 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
64 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
65 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 16mA, 10mA, 10mA */
66 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
67
68 qcom,clk-rates = <400000 25000000 50000000 100000000 200000000>;
69 qcom,sup-voltages = <2950 2950>;
70
71 qcom,xpc;
72 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
73 qcom,current-limit = <600>;
74
75 #address-cells = <0>;
76 interrupt-parent = <&sdcc2>;
77 interrupts = <0 1 2>;
78 #interrupt-cells = <1>;
79 interrupt-map-mask = <0xffffffff>;
80 interrupt-map = <0 &intc 0 125 0
81 1 &intc 0 220 0
82 2 &msmgpio 38 0x3>;
83 interrupt-names = "core_irq", "bam_irq", "status_irq";
84 cd-gpios = <&msmgpio 38 0x1>;
85
86 status = "ok";
87};
Amy Maloched699b942013-03-03 15:47:52 -080088
89&spmi_bus {
90 qcom,pm8226@1 {
91 qcom,leds@d800 {
92 status = "okay";
93 qcom,wled_0 {
94 label = "wled";
95 linux,name = "wled:backlight";
96 linux,default-trigger = "bkl-trigger";
97 qcom,cs-out-en;
98 qcom,op-fdbck;
99 qcom,default-state = "on";
100 qcom,max-current = <25>;
101 qcom,ctrl-delay-us = <0>;
102 qcom,boost-curr-lim = <3>;
103 qcom,cp-sel = <0>;
104 qcom,switch-freq = <2>;
105 qcom,ovp-val = <2>;
106 qcom,num-strings = <1>;
107 qcom,id = <0>;
108 };
109 };
110 };
111};