Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 1 | #include "qcom-apq8064-v2.0.dtsi" |
| 2 | |
| 3 | / { |
| 4 | model = "CompuLab CM-QS600"; |
| 5 | compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064"; |
| 6 | |
Stephen Boyd | 4e19db1 | 2015-06-16 14:31:45 -0700 | [diff] [blame] | 7 | aliases { |
| 8 | serial0 = &gsbi7_serial; |
| 9 | }; |
| 10 | |
| 11 | chosen { |
| 12 | stdout-path = "serial0:115200n8"; |
| 13 | }; |
| 14 | |
Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 15 | soc { |
Srinivas Kandagatla | 1a621d3 | 2015-04-10 21:44:05 +0100 | [diff] [blame] | 16 | rpm@108000 { |
| 17 | regulators { |
| 18 | vin_lvs1_3_6-supply = <&pm8921_s4>; |
| 19 | vin_lvs2-supply = <&pm8921_s1>; |
| 20 | vin_lvs4_5_7-supply = <&pm8921_s4>; |
| 21 | |
| 22 | vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; |
| 23 | vdd_l24-supply = <&pm8921_s1>; |
| 24 | vdd_l25-supply = <&pm8921_s1>; |
| 25 | vdd_l26-supply = <&pm8921_s7>; |
| 26 | vdd_l27-supply = <&pm8921_s7>; |
| 27 | vdd_l28-supply = <&pm8921_s7>; |
| 28 | |
| 29 | |
| 30 | /* Buck SMPS */ |
| 31 | pm8921_s1: s1 { |
| 32 | regulator-always-on; |
| 33 | regulator-min-microvolt = <1225000>; |
| 34 | regulator-max-microvolt = <1225000>; |
| 35 | qcom,switch-mode-frequency = <3200000>; |
| 36 | bias-pull-down; |
| 37 | }; |
| 38 | |
| 39 | pm8921_s3: s3 { |
| 40 | regulator-min-microvolt = <1000000>; |
| 41 | regulator-max-microvolt = <1400000>; |
| 42 | qcom,switch-mode-frequency = <4800000>; |
| 43 | }; |
| 44 | |
| 45 | pm8921_s4: s4 { |
| 46 | regulator-min-microvolt = <1800000>; |
| 47 | regulator-max-microvolt = <1800000>; |
| 48 | qcom,switch-mode-frequency = <3200000>; |
| 49 | }; |
| 50 | |
| 51 | pm8921_s7: s7 { |
| 52 | regulator-min-microvolt = <1300000>; |
| 53 | regulator-max-microvolt = <1300000>; |
| 54 | qcom,switch-mode-frequency = <3200000>; |
| 55 | }; |
| 56 | |
| 57 | pm8921_l3: l3 { |
| 58 | regulator-min-microvolt = <3050000>; |
| 59 | regulator-max-microvolt = <3300000>; |
| 60 | bias-pull-down; |
| 61 | }; |
| 62 | |
| 63 | pm8921_l4: l4 { |
| 64 | regulator-min-microvolt = <1000000>; |
| 65 | regulator-max-microvolt = <1800000>; |
| 66 | bias-pull-down; |
| 67 | }; |
| 68 | |
Srinivas Kandagatla | baff39e | 2015-07-28 09:13:05 +0100 | [diff] [blame] | 69 | pm8921_l5: l5 { |
| 70 | regulator-min-microvolt = <2750000>; |
| 71 | regulator-max-microvolt = <3000000>; |
| 72 | bias-pull-down; |
| 73 | }; |
| 74 | |
Srinivas Kandagatla | 1a621d3 | 2015-04-10 21:44:05 +0100 | [diff] [blame] | 75 | pm8921_l23: l23 { |
| 76 | regulator-min-microvolt = <1700000>; |
| 77 | regulator-max-microvolt = <1900000>; |
| 78 | bias-pull-down; |
| 79 | }; |
| 80 | }; |
| 81 | }; |
| 82 | |
Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 83 | gsbi@12440000 { |
| 84 | status = "okay"; |
| 85 | qcom,mode = <GSBI_PROT_I2C>; |
| 86 | |
| 87 | i2c@12460000 { |
| 88 | status = "okay"; |
| 89 | clock-frequency = <200000>; |
Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 90 | |
Srinivas Kandagatla | 2c9c2e5 | 2015-09-18 13:30:59 +0100 | [diff] [blame^] | 91 | eeprom@50 { |
Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 92 | compatible = "24c02"; |
| 93 | reg = <0x50>; |
| 94 | pagesize = <32>; |
| 95 | }; |
| 96 | }; |
| 97 | }; |
| 98 | |
| 99 | gsbi@16600000 { |
| 100 | status = "ok"; |
| 101 | qcom,mode = <GSBI_PROT_I2C_UART>; |
| 102 | serial@16640000 { |
| 103 | status = "ok"; |
| 104 | }; |
| 105 | }; |
| 106 | |
Nicolas Dechesne | 08372ce | 2015-04-10 21:44:23 +0100 | [diff] [blame] | 107 | /* OTG */ |
| 108 | usb1_phy: phy@12500000 { |
| 109 | status = "okay"; |
| 110 | vddcx-supply = <&pm8921_s3>; |
| 111 | v3p3-supply = <&pm8921_l3>; |
| 112 | v1p8-supply = <&pm8921_l4>; |
| 113 | }; |
| 114 | |
Nicolas Dechesne | 84db78b | 2015-04-10 21:44:15 +0100 | [diff] [blame] | 115 | usb3_phy: phy@12520000 { |
| 116 | status = "okay"; |
| 117 | vddcx-supply = <&pm8921_s3>; |
| 118 | v3p3-supply = <&pm8921_l3>; |
| 119 | v1p8-supply = <&pm8921_l23>; |
| 120 | }; |
| 121 | |
| 122 | usb4_phy: phy@12530000 { |
| 123 | status = "okay"; |
| 124 | vddcx-supply = <&pm8921_s3>; |
| 125 | v3p3-supply = <&pm8921_l3>; |
| 126 | v1p8-supply = <&pm8921_l23>; |
| 127 | }; |
| 128 | |
Nicolas Dechesne | 08372ce | 2015-04-10 21:44:23 +0100 | [diff] [blame] | 129 | gadget1: gadget@12500000 { |
| 130 | status = "ok"; |
| 131 | }; |
| 132 | |
| 133 | /* OTG */ |
| 134 | usb1: usb@12500000 { |
| 135 | status = "ok"; |
| 136 | }; |
| 137 | |
Nicolas Dechesne | 84db78b | 2015-04-10 21:44:15 +0100 | [diff] [blame] | 138 | usb3: usb@12520000 { |
| 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | usb4: usb@12530000 { |
| 143 | status = "okay"; |
| 144 | }; |
| 145 | |
Srinivas Kandagatla | baff39e | 2015-07-28 09:13:05 +0100 | [diff] [blame] | 146 | /* on board fixed 3.3v supply */ |
| 147 | v3p3_fixed: v3p3 { |
| 148 | compatible = "regulator-fixed"; |
| 149 | regulator-name = "PCIE V3P3"; |
| 150 | regulator-min-microvolt = <3300000>; |
| 151 | regulator-max-microvolt = <3300000>; |
| 152 | regulator-always-on; |
| 153 | }; |
| 154 | |
Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 155 | amba { |
| 156 | /* eMMC */ |
| 157 | sdcc1: sdcc@12400000 { |
| 158 | status = "okay"; |
Srinivas Kandagatla | baff39e | 2015-07-28 09:13:05 +0100 | [diff] [blame] | 159 | vmmc-supply = <&pm8921_l5>; |
| 160 | vqmmc-supply = <&pm8921_s4>; |
Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 161 | }; |
| 162 | |
| 163 | /* External micro SD card */ |
| 164 | sdcc3: sdcc@12180000 { |
| 165 | status = "okay"; |
Srinivas Kandagatla | baff39e | 2015-07-28 09:13:05 +0100 | [diff] [blame] | 166 | vmmc-supply = <&v3p3_fixed>; |
Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 167 | }; |
| 168 | /* WLAN */ |
| 169 | sdcc4: sdcc@121c0000 { |
| 170 | status = "okay"; |
Srinivas Kandagatla | baff39e | 2015-07-28 09:13:05 +0100 | [diff] [blame] | 171 | vmmc-supply = <&v3p3_fixed>; |
| 172 | vqmmc-supply = <&v3p3_fixed>; |
Mike Rapoport | 7dac24b | 2014-10-01 19:09:11 +0300 | [diff] [blame] | 173 | }; |
| 174 | }; |
| 175 | }; |
| 176 | }; |