| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2012 Marvell Technology Group Ltd. |
|---|
| 3 | 4 | * Author: Haojian Zhuang <haojian.zhuang@marvell.com> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 7 | | - * publishhed by the Free Software Foundation. |
|---|
| 8 | 5 | */ |
|---|
| 9 | 6 | |
|---|
| 10 | 7 | /dts-v1/; |
|---|
| .. | .. |
|---|
| 19 | 16 | }; |
|---|
| 20 | 17 | |
|---|
| 21 | 18 | memory { |
|---|
| 19 | + device_type = "memory"; |
|---|
| 22 | 20 | reg = <0x00000000 0x08000000>; |
|---|
| 23 | 21 | }; |
|---|
| 22 | +}; |
|---|
| 24 | 23 | |
|---|
| 25 | | - soc { |
|---|
| 26 | | - apb@d4000000 { |
|---|
| 27 | | - uart3: uart@d4018000 { |
|---|
| 28 | | - status = "okay"; |
|---|
| 29 | | - }; |
|---|
| 30 | | - twsi1: i2c@d4011000 { |
|---|
| 31 | | - status = "okay"; |
|---|
| 32 | | - pmic: max8925@3c { |
|---|
| 33 | | - compatible = "maxium,max8925"; |
|---|
| 34 | | - reg = <0x3c>; |
|---|
| 35 | | - interrupts = <1>; |
|---|
| 36 | | - interrupt-parent = <&intcmux4>; |
|---|
| 37 | | - interrupt-controller; |
|---|
| 38 | | - #interrupt-cells = <1>; |
|---|
| 39 | | - maxim,tsc-irq = <0>; |
|---|
| 24 | +&uart3 { |
|---|
| 25 | + status = "okay"; |
|---|
| 26 | +}; |
|---|
| 40 | 27 | |
|---|
| 41 | | - regulators { |
|---|
| 42 | | - SDV1 { |
|---|
| 43 | | - regulator-min-microvolt = <637500>; |
|---|
| 44 | | - regulator-max-microvolt = <1425000>; |
|---|
| 45 | | - regulator-boot-on; |
|---|
| 46 | | - regulator-always-on; |
|---|
| 47 | | - }; |
|---|
| 48 | | - SDV2 { |
|---|
| 49 | | - regulator-min-microvolt = <650000>; |
|---|
| 50 | | - regulator-max-microvolt = <2225000>; |
|---|
| 51 | | - regulator-boot-on; |
|---|
| 52 | | - regulator-always-on; |
|---|
| 53 | | - }; |
|---|
| 54 | | - SDV3 { |
|---|
| 55 | | - regulator-min-microvolt = <750000>; |
|---|
| 56 | | - regulator-max-microvolt = <3900000>; |
|---|
| 57 | | - regulator-boot-on; |
|---|
| 58 | | - regulator-always-on; |
|---|
| 59 | | - }; |
|---|
| 60 | | - LDO1 { |
|---|
| 61 | | - regulator-min-microvolt = <750000>; |
|---|
| 62 | | - regulator-max-microvolt = <3900000>; |
|---|
| 63 | | - regulator-boot-on; |
|---|
| 64 | | - regulator-always-on; |
|---|
| 65 | | - }; |
|---|
| 66 | | - LDO2 { |
|---|
| 67 | | - regulator-min-microvolt = <650000>; |
|---|
| 68 | | - regulator-max-microvolt = <2250000>; |
|---|
| 69 | | - regulator-boot-on; |
|---|
| 70 | | - regulator-always-on; |
|---|
| 71 | | - }; |
|---|
| 72 | | - LDO3 { |
|---|
| 73 | | - regulator-min-microvolt = <650000>; |
|---|
| 74 | | - regulator-max-microvolt = <2250000>; |
|---|
| 75 | | - regulator-boot-on; |
|---|
| 76 | | - regulator-always-on; |
|---|
| 77 | | - }; |
|---|
| 78 | | - LDO4 { |
|---|
| 79 | | - regulator-min-microvolt = <750000>; |
|---|
| 80 | | - regulator-max-microvolt = <3900000>; |
|---|
| 81 | | - regulator-boot-on; |
|---|
| 82 | | - regulator-always-on; |
|---|
| 83 | | - }; |
|---|
| 84 | | - LDO5 { |
|---|
| 85 | | - regulator-min-microvolt = <750000>; |
|---|
| 86 | | - regulator-max-microvolt = <3900000>; |
|---|
| 87 | | - regulator-boot-on; |
|---|
| 88 | | - regulator-always-on; |
|---|
| 89 | | - }; |
|---|
| 90 | | - LDO6 { |
|---|
| 91 | | - regulator-min-microvolt = <750000>; |
|---|
| 92 | | - regulator-max-microvolt = <3900000>; |
|---|
| 93 | | - regulator-boot-on; |
|---|
| 94 | | - regulator-always-on; |
|---|
| 95 | | - }; |
|---|
| 96 | | - LDO7 { |
|---|
| 97 | | - regulator-min-microvolt = <750000>; |
|---|
| 98 | | - regulator-max-microvolt = <3900000>; |
|---|
| 99 | | - regulator-boot-on; |
|---|
| 100 | | - regulator-always-on; |
|---|
| 101 | | - }; |
|---|
| 102 | | - LDO8 { |
|---|
| 103 | | - regulator-min-microvolt = <750000>; |
|---|
| 104 | | - regulator-max-microvolt = <3900000>; |
|---|
| 105 | | - regulator-boot-on; |
|---|
| 106 | | - regulator-always-on; |
|---|
| 107 | | - }; |
|---|
| 108 | | - LDO9 { |
|---|
| 109 | | - regulator-min-microvolt = <750000>; |
|---|
| 110 | | - regulator-max-microvolt = <3900000>; |
|---|
| 111 | | - regulator-boot-on; |
|---|
| 112 | | - regulator-always-on; |
|---|
| 113 | | - }; |
|---|
| 114 | | - LDO10 { |
|---|
| 115 | | - regulator-min-microvolt = <750000>; |
|---|
| 116 | | - regulator-max-microvolt = <3900000>; |
|---|
| 117 | | - }; |
|---|
| 118 | | - LDO11 { |
|---|
| 119 | | - regulator-min-microvolt = <750000>; |
|---|
| 120 | | - regulator-max-microvolt = <3900000>; |
|---|
| 121 | | - regulator-boot-on; |
|---|
| 122 | | - regulator-always-on; |
|---|
| 123 | | - }; |
|---|
| 124 | | - LDO12 { |
|---|
| 125 | | - regulator-min-microvolt = <750000>; |
|---|
| 126 | | - regulator-max-microvolt = <3900000>; |
|---|
| 127 | | - regulator-boot-on; |
|---|
| 128 | | - regulator-always-on; |
|---|
| 129 | | - }; |
|---|
| 130 | | - LDO13 { |
|---|
| 131 | | - regulator-min-microvolt = <750000>; |
|---|
| 132 | | - regulator-max-microvolt = <3900000>; |
|---|
| 133 | | - regulator-boot-on; |
|---|
| 134 | | - regulator-always-on; |
|---|
| 135 | | - }; |
|---|
| 136 | | - LDO14 { |
|---|
| 137 | | - regulator-min-microvolt = <750000>; |
|---|
| 138 | | - regulator-max-microvolt = <3900000>; |
|---|
| 139 | | - regulator-boot-on; |
|---|
| 140 | | - regulator-always-on; |
|---|
| 141 | | - }; |
|---|
| 142 | | - LDO15 { |
|---|
| 143 | | - regulator-min-microvolt = <750000>; |
|---|
| 144 | | - regulator-max-microvolt = <3900000>; |
|---|
| 145 | | - regulator-boot-on; |
|---|
| 146 | | - regulator-always-on; |
|---|
| 147 | | - }; |
|---|
| 148 | | - LDO16 { |
|---|
| 149 | | - regulator-min-microvolt = <750000>; |
|---|
| 150 | | - regulator-max-microvolt = <3900000>; |
|---|
| 151 | | - regulator-boot-on; |
|---|
| 152 | | - regulator-always-on; |
|---|
| 153 | | - }; |
|---|
| 154 | | - LDO17 { |
|---|
| 155 | | - regulator-min-microvolt = <650000>; |
|---|
| 156 | | - regulator-max-microvolt = <2250000>; |
|---|
| 157 | | - regulator-boot-on; |
|---|
| 158 | | - regulator-always-on; |
|---|
| 159 | | - }; |
|---|
| 160 | | - LDO18 { |
|---|
| 161 | | - regulator-min-microvolt = <650000>; |
|---|
| 162 | | - regulator-max-microvolt = <2250000>; |
|---|
| 163 | | - regulator-boot-on; |
|---|
| 164 | | - regulator-always-on; |
|---|
| 165 | | - }; |
|---|
| 166 | | - LDO19 { |
|---|
| 167 | | - regulator-min-microvolt = <750000>; |
|---|
| 168 | | - regulator-max-microvolt = <3900000>; |
|---|
| 169 | | - regulator-boot-on; |
|---|
| 170 | | - regulator-always-on; |
|---|
| 171 | | - }; |
|---|
| 172 | | - LDO20 { |
|---|
| 173 | | - regulator-min-microvolt = <750000>; |
|---|
| 174 | | - regulator-max-microvolt = <3900000>; |
|---|
| 175 | | - regulator-boot-on; |
|---|
| 176 | | - regulator-always-on; |
|---|
| 177 | | - }; |
|---|
| 178 | | - }; |
|---|
| 179 | | - backlight { |
|---|
| 180 | | - maxim,max8925-dual-string = <0>; |
|---|
| 181 | | - }; |
|---|
| 182 | | - charger { |
|---|
| 183 | | - batt-detect = <0>; |
|---|
| 184 | | - topoff-threshold = <1>; |
|---|
| 185 | | - fast-charge = <7>; |
|---|
| 186 | | - no-temp-support = <0>; |
|---|
| 187 | | - no-insert-detect = <0>; |
|---|
| 188 | | - }; |
|---|
| 189 | | - }; |
|---|
| 28 | +&twsi1 { |
|---|
| 29 | + status = "okay"; |
|---|
| 30 | + pmic: max8925@3c { |
|---|
| 31 | + compatible = "maxium,max8925"; |
|---|
| 32 | + reg = <0x3c>; |
|---|
| 33 | + interrupts = <1>; |
|---|
| 34 | + interrupt-parent = <&intcmux4>; |
|---|
| 35 | + interrupt-controller; |
|---|
| 36 | + #interrupt-cells = <1>; |
|---|
| 37 | + maxim,tsc-irq = <0>; |
|---|
| 38 | + |
|---|
| 39 | + regulators { |
|---|
| 40 | + SDV1 { |
|---|
| 41 | + regulator-min-microvolt = <637500>; |
|---|
| 42 | + regulator-max-microvolt = <1425000>; |
|---|
| 43 | + regulator-boot-on; |
|---|
| 44 | + regulator-always-on; |
|---|
| 190 | 45 | }; |
|---|
| 191 | | - rtc: rtc@d4010000 { |
|---|
| 192 | | - status = "okay"; |
|---|
| 46 | + SDV2 { |
|---|
| 47 | + regulator-min-microvolt = <650000>; |
|---|
| 48 | + regulator-max-microvolt = <2225000>; |
|---|
| 49 | + regulator-boot-on; |
|---|
| 50 | + regulator-always-on; |
|---|
| 51 | + }; |
|---|
| 52 | + SDV3 { |
|---|
| 53 | + regulator-min-microvolt = <750000>; |
|---|
| 54 | + regulator-max-microvolt = <3900000>; |
|---|
| 55 | + regulator-boot-on; |
|---|
| 56 | + regulator-always-on; |
|---|
| 57 | + }; |
|---|
| 58 | + LDO1 { |
|---|
| 59 | + regulator-min-microvolt = <750000>; |
|---|
| 60 | + regulator-max-microvolt = <3900000>; |
|---|
| 61 | + regulator-boot-on; |
|---|
| 62 | + regulator-always-on; |
|---|
| 63 | + }; |
|---|
| 64 | + LDO2 { |
|---|
| 65 | + regulator-min-microvolt = <650000>; |
|---|
| 66 | + regulator-max-microvolt = <2250000>; |
|---|
| 67 | + regulator-boot-on; |
|---|
| 68 | + regulator-always-on; |
|---|
| 69 | + }; |
|---|
| 70 | + LDO3 { |
|---|
| 71 | + regulator-min-microvolt = <650000>; |
|---|
| 72 | + regulator-max-microvolt = <2250000>; |
|---|
| 73 | + regulator-boot-on; |
|---|
| 74 | + regulator-always-on; |
|---|
| 75 | + }; |
|---|
| 76 | + LDO4 { |
|---|
| 77 | + regulator-min-microvolt = <750000>; |
|---|
| 78 | + regulator-max-microvolt = <3900000>; |
|---|
| 79 | + regulator-boot-on; |
|---|
| 80 | + regulator-always-on; |
|---|
| 81 | + }; |
|---|
| 82 | + LDO5 { |
|---|
| 83 | + regulator-min-microvolt = <750000>; |
|---|
| 84 | + regulator-max-microvolt = <3900000>; |
|---|
| 85 | + regulator-boot-on; |
|---|
| 86 | + regulator-always-on; |
|---|
| 87 | + }; |
|---|
| 88 | + LDO6 { |
|---|
| 89 | + regulator-min-microvolt = <750000>; |
|---|
| 90 | + regulator-max-microvolt = <3900000>; |
|---|
| 91 | + regulator-boot-on; |
|---|
| 92 | + regulator-always-on; |
|---|
| 93 | + }; |
|---|
| 94 | + LDO7 { |
|---|
| 95 | + regulator-min-microvolt = <750000>; |
|---|
| 96 | + regulator-max-microvolt = <3900000>; |
|---|
| 97 | + regulator-boot-on; |
|---|
| 98 | + regulator-always-on; |
|---|
| 99 | + }; |
|---|
| 100 | + LDO8 { |
|---|
| 101 | + regulator-min-microvolt = <750000>; |
|---|
| 102 | + regulator-max-microvolt = <3900000>; |
|---|
| 103 | + regulator-boot-on; |
|---|
| 104 | + regulator-always-on; |
|---|
| 105 | + }; |
|---|
| 106 | + LDO9 { |
|---|
| 107 | + regulator-min-microvolt = <750000>; |
|---|
| 108 | + regulator-max-microvolt = <3900000>; |
|---|
| 109 | + regulator-boot-on; |
|---|
| 110 | + regulator-always-on; |
|---|
| 111 | + }; |
|---|
| 112 | + LDO10 { |
|---|
| 113 | + regulator-min-microvolt = <750000>; |
|---|
| 114 | + regulator-max-microvolt = <3900000>; |
|---|
| 115 | + }; |
|---|
| 116 | + LDO11 { |
|---|
| 117 | + regulator-min-microvolt = <750000>; |
|---|
| 118 | + regulator-max-microvolt = <3900000>; |
|---|
| 119 | + regulator-boot-on; |
|---|
| 120 | + regulator-always-on; |
|---|
| 121 | + }; |
|---|
| 122 | + LDO12 { |
|---|
| 123 | + regulator-min-microvolt = <750000>; |
|---|
| 124 | + regulator-max-microvolt = <3900000>; |
|---|
| 125 | + regulator-boot-on; |
|---|
| 126 | + regulator-always-on; |
|---|
| 127 | + }; |
|---|
| 128 | + LDO13 { |
|---|
| 129 | + regulator-min-microvolt = <750000>; |
|---|
| 130 | + regulator-max-microvolt = <3900000>; |
|---|
| 131 | + regulator-boot-on; |
|---|
| 132 | + regulator-always-on; |
|---|
| 133 | + }; |
|---|
| 134 | + LDO14 { |
|---|
| 135 | + regulator-min-microvolt = <750000>; |
|---|
| 136 | + regulator-max-microvolt = <3900000>; |
|---|
| 137 | + regulator-boot-on; |
|---|
| 138 | + regulator-always-on; |
|---|
| 139 | + }; |
|---|
| 140 | + LDO15 { |
|---|
| 141 | + regulator-min-microvolt = <750000>; |
|---|
| 142 | + regulator-max-microvolt = <3900000>; |
|---|
| 143 | + regulator-boot-on; |
|---|
| 144 | + regulator-always-on; |
|---|
| 145 | + }; |
|---|
| 146 | + LDO16 { |
|---|
| 147 | + regulator-min-microvolt = <750000>; |
|---|
| 148 | + regulator-max-microvolt = <3900000>; |
|---|
| 149 | + regulator-boot-on; |
|---|
| 150 | + regulator-always-on; |
|---|
| 151 | + }; |
|---|
| 152 | + LDO17 { |
|---|
| 153 | + regulator-min-microvolt = <650000>; |
|---|
| 154 | + regulator-max-microvolt = <2250000>; |
|---|
| 155 | + regulator-boot-on; |
|---|
| 156 | + regulator-always-on; |
|---|
| 157 | + }; |
|---|
| 158 | + LDO18 { |
|---|
| 159 | + regulator-min-microvolt = <650000>; |
|---|
| 160 | + regulator-max-microvolt = <2250000>; |
|---|
| 161 | + regulator-boot-on; |
|---|
| 162 | + regulator-always-on; |
|---|
| 163 | + }; |
|---|
| 164 | + LDO19 { |
|---|
| 165 | + regulator-min-microvolt = <750000>; |
|---|
| 166 | + regulator-max-microvolt = <3900000>; |
|---|
| 167 | + regulator-boot-on; |
|---|
| 168 | + regulator-always-on; |
|---|
| 169 | + }; |
|---|
| 170 | + LDO20 { |
|---|
| 171 | + regulator-min-microvolt = <750000>; |
|---|
| 172 | + regulator-max-microvolt = <3900000>; |
|---|
| 173 | + regulator-boot-on; |
|---|
| 174 | + regulator-always-on; |
|---|
| 193 | 175 | }; |
|---|
| 194 | 176 | }; |
|---|
| 177 | + backlight { |
|---|
| 178 | + maxim,max8925-dual-string = <0>; |
|---|
| 179 | + }; |
|---|
| 180 | + charger { |
|---|
| 181 | + batt-detect = <0>; |
|---|
| 182 | + topoff-threshold = <1>; |
|---|
| 183 | + fast-charge = <7>; |
|---|
| 184 | + no-temp-support = <0>; |
|---|
| 185 | + no-insert-detect = <0>; |
|---|
| 186 | + }; |
|---|
| 195 | 187 | }; |
|---|
| 196 | 188 | }; |
|---|
| 189 | + |
|---|
| 190 | +&rtc { |
|---|
| 191 | + status = "okay"; |
|---|
| 192 | +}; |
|---|