| .. | .. |
|---|
| 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/; |
|---|
| .. | .. |
|---|
| 21 | 18 | memory { |
|---|
| 22 | 19 | reg = <0x00000000 0x10000000>; |
|---|
| 23 | 20 | }; |
|---|
| 21 | +}; |
|---|
| 24 | 22 | |
|---|
| 25 | | - soc { |
|---|
| 26 | | - apb@d4000000 { |
|---|
| 27 | | - uart1: uart@d4017000 { |
|---|
| 28 | | - status = "okay"; |
|---|
| 23 | +&uart1 { |
|---|
| 24 | + status = "okay"; |
|---|
| 25 | +}; |
|---|
| 26 | + |
|---|
| 27 | +&twsi1 { |
|---|
| 28 | + status = "okay"; |
|---|
| 29 | + |
|---|
| 30 | + pmic: 88pm860x@34 { |
|---|
| 31 | + compatible = "marvell,88pm860x"; |
|---|
| 32 | + reg = <0x34>; |
|---|
| 33 | + interrupts = <4>; |
|---|
| 34 | + interrupt-parent = <&intc>; |
|---|
| 35 | + interrupt-controller; |
|---|
| 36 | + #interrupt-cells = <1>; |
|---|
| 37 | + |
|---|
| 38 | + marvell,88pm860x-irq-read-clr; |
|---|
| 39 | + marvell,88pm860x-slave-addr = <0x11>; |
|---|
| 40 | + |
|---|
| 41 | + regulators { |
|---|
| 42 | + BUCK1 { |
|---|
| 43 | + regulator-min-microvolt = <1000000>; |
|---|
| 44 | + regulator-max-microvolt = <1500000>; |
|---|
| 45 | + regulator-boot-on; |
|---|
| 46 | + regulator-always-on; |
|---|
| 29 | 47 | }; |
|---|
| 30 | | - twsi1: i2c@d4011000 { |
|---|
| 31 | | - status = "okay"; |
|---|
| 32 | | - |
|---|
| 33 | | - pmic: 88pm860x@34 { |
|---|
| 34 | | - compatible = "marvell,88pm860x"; |
|---|
| 35 | | - reg = <0x34>; |
|---|
| 36 | | - interrupts = <4>; |
|---|
| 37 | | - interrupt-parent = <&intc>; |
|---|
| 38 | | - interrupt-controller; |
|---|
| 39 | | - #interrupt-cells = <1>; |
|---|
| 40 | | - |
|---|
| 41 | | - marvell,88pm860x-irq-read-clr; |
|---|
| 42 | | - marvell,88pm860x-slave-addr = <0x11>; |
|---|
| 43 | | - |
|---|
| 44 | | - regulators { |
|---|
| 45 | | - BUCK1 { |
|---|
| 46 | | - regulator-min-microvolt = <1000000>; |
|---|
| 47 | | - regulator-max-microvolt = <1500000>; |
|---|
| 48 | | - regulator-boot-on; |
|---|
| 49 | | - regulator-always-on; |
|---|
| 50 | | - }; |
|---|
| 51 | | - BUCK2 { |
|---|
| 52 | | - regulator-min-microvolt = <1000000>; |
|---|
| 53 | | - regulator-max-microvolt = <1500000>; |
|---|
| 54 | | - regulator-boot-on; |
|---|
| 55 | | - regulator-always-on; |
|---|
| 56 | | - }; |
|---|
| 57 | | - BUCK3 { |
|---|
| 58 | | - regulator-min-microvolt = <1000000>; |
|---|
| 59 | | - regulator-max-microvolt = <3000000>; |
|---|
| 60 | | - regulator-boot-on; |
|---|
| 61 | | - regulator-always-on; |
|---|
| 62 | | - }; |
|---|
| 63 | | - LDO1 { |
|---|
| 64 | | - regulator-min-microvolt = <1200000>; |
|---|
| 65 | | - regulator-max-microvolt = <2800000>; |
|---|
| 66 | | - regulator-boot-on; |
|---|
| 67 | | - regulator-always-on; |
|---|
| 68 | | - }; |
|---|
| 69 | | - LDO2 { |
|---|
| 70 | | - regulator-min-microvolt = <1800000>; |
|---|
| 71 | | - regulator-max-microvolt = <3300000>; |
|---|
| 72 | | - regulator-boot-on; |
|---|
| 73 | | - regulator-always-on; |
|---|
| 74 | | - }; |
|---|
| 75 | | - LDO3 { |
|---|
| 76 | | - regulator-min-microvolt = <1800000>; |
|---|
| 77 | | - regulator-max-microvolt = <3300000>; |
|---|
| 78 | | - regulator-boot-on; |
|---|
| 79 | | - regulator-always-on; |
|---|
| 80 | | - }; |
|---|
| 81 | | - LDO4 { |
|---|
| 82 | | - regulator-min-microvolt = <1800000>; |
|---|
| 83 | | - regulator-max-microvolt = <3300000>; |
|---|
| 84 | | - regulator-always-on; |
|---|
| 85 | | - }; |
|---|
| 86 | | - LDO5 { |
|---|
| 87 | | - regulator-min-microvolt = <2900000>; |
|---|
| 88 | | - regulator-max-microvolt = <3300000>; |
|---|
| 89 | | - regulator-boot-on; |
|---|
| 90 | | - regulator-always-on; |
|---|
| 91 | | - }; |
|---|
| 92 | | - LDO6 { |
|---|
| 93 | | - regulator-min-microvolt = <1800000>; |
|---|
| 94 | | - regulator-max-microvolt = <3300000>; |
|---|
| 95 | | - regulator-boot-on; |
|---|
| 96 | | - regulator-always-on; |
|---|
| 97 | | - }; |
|---|
| 98 | | - LDO7 { |
|---|
| 99 | | - regulator-min-microvolt = <1800000>; |
|---|
| 100 | | - regulator-max-microvolt = <2900000>; |
|---|
| 101 | | - regulator-boot-on; |
|---|
| 102 | | - regulator-always-on; |
|---|
| 103 | | - }; |
|---|
| 104 | | - LDO8 { |
|---|
| 105 | | - regulator-min-microvolt = <1800000>; |
|---|
| 106 | | - regulator-max-microvolt = <2900000>; |
|---|
| 107 | | - regulator-boot-on; |
|---|
| 108 | | - regulator-always-on; |
|---|
| 109 | | - }; |
|---|
| 110 | | - LDO9 { |
|---|
| 111 | | - regulator-min-microvolt = <1800000>; |
|---|
| 112 | | - regulator-max-microvolt = <3300000>; |
|---|
| 113 | | - regulator-boot-on; |
|---|
| 114 | | - regulator-always-on; |
|---|
| 115 | | - }; |
|---|
| 116 | | - LDO10 { |
|---|
| 117 | | - regulator-min-microvolt = <1200000>; |
|---|
| 118 | | - regulator-max-microvolt = <3300000>; |
|---|
| 119 | | - regulator-boot-on; |
|---|
| 120 | | - regulator-always-on; |
|---|
| 121 | | - }; |
|---|
| 122 | | - LDO12 { |
|---|
| 123 | | - regulator-min-microvolt = <1200000>; |
|---|
| 124 | | - regulator-max-microvolt = <3300000>; |
|---|
| 125 | | - regulator-always-on; |
|---|
| 126 | | - }; |
|---|
| 127 | | - LDO13 { |
|---|
| 128 | | - regulator-min-microvolt = <1200000>; |
|---|
| 129 | | - regulator-max-microvolt = <3300000>; |
|---|
| 130 | | - regulator-always-on; |
|---|
| 131 | | - }; |
|---|
| 132 | | - LDO14 { |
|---|
| 133 | | - regulator-min-microvolt = <1800000>; |
|---|
| 134 | | - regulator-max-microvolt = <3300000>; |
|---|
| 135 | | - regulator-always-on; |
|---|
| 136 | | - }; |
|---|
| 137 | | - }; |
|---|
| 138 | | - rtc { |
|---|
| 139 | | - marvell,88pm860x-vrtc = <1>; |
|---|
| 140 | | - }; |
|---|
| 141 | | - touch { |
|---|
| 142 | | - marvell,88pm860x-gpadc-prebias = <1>; |
|---|
| 143 | | - marvell,88pm860x-gpadc-slot-cycle = <1>; |
|---|
| 144 | | - marvell,88pm860x-tsi-prebias = <6>; |
|---|
| 145 | | - marvell,88pm860x-pen-prebias = <16>; |
|---|
| 146 | | - marvell,88pm860x-pen-prechg = <2>; |
|---|
| 147 | | - marvell,88pm860x-resistor-X = <300>; |
|---|
| 148 | | - }; |
|---|
| 149 | | - backlights { |
|---|
| 150 | | - backlight-0 { |
|---|
| 151 | | - marvell,88pm860x-iset = <4>; |
|---|
| 152 | | - marvell,88pm860x-pwm = <3>; |
|---|
| 153 | | - }; |
|---|
| 154 | | - backlight-2 { |
|---|
| 155 | | - }; |
|---|
| 156 | | - }; |
|---|
| 157 | | - leds { |
|---|
| 158 | | - led0-red { |
|---|
| 159 | | - marvell,88pm860x-iset = <12>; |
|---|
| 160 | | - }; |
|---|
| 161 | | - led0-green { |
|---|
| 162 | | - marvell,88pm860x-iset = <12>; |
|---|
| 163 | | - }; |
|---|
| 164 | | - led0-blue { |
|---|
| 165 | | - marvell,88pm860x-iset = <12>; |
|---|
| 166 | | - }; |
|---|
| 167 | | - }; |
|---|
| 168 | | - }; |
|---|
| 48 | + BUCK2 { |
|---|
| 49 | + regulator-min-microvolt = <1000000>; |
|---|
| 50 | + regulator-max-microvolt = <1500000>; |
|---|
| 51 | + regulator-boot-on; |
|---|
| 52 | + regulator-always-on; |
|---|
| 169 | 53 | }; |
|---|
| 170 | | - rtc: rtc@d4010000 { |
|---|
| 171 | | - status = "okay"; |
|---|
| 54 | + BUCK3 { |
|---|
| 55 | + regulator-min-microvolt = <1000000>; |
|---|
| 56 | + regulator-max-microvolt = <3000000>; |
|---|
| 57 | + regulator-boot-on; |
|---|
| 58 | + regulator-always-on; |
|---|
| 59 | + }; |
|---|
| 60 | + LDO1 { |
|---|
| 61 | + regulator-min-microvolt = <1200000>; |
|---|
| 62 | + regulator-max-microvolt = <2800000>; |
|---|
| 63 | + regulator-boot-on; |
|---|
| 64 | + regulator-always-on; |
|---|
| 65 | + }; |
|---|
| 66 | + LDO2 { |
|---|
| 67 | + regulator-min-microvolt = <1800000>; |
|---|
| 68 | + regulator-max-microvolt = <3300000>; |
|---|
| 69 | + regulator-boot-on; |
|---|
| 70 | + regulator-always-on; |
|---|
| 71 | + }; |
|---|
| 72 | + LDO3 { |
|---|
| 73 | + regulator-min-microvolt = <1800000>; |
|---|
| 74 | + regulator-max-microvolt = <3300000>; |
|---|
| 75 | + regulator-boot-on; |
|---|
| 76 | + regulator-always-on; |
|---|
| 77 | + }; |
|---|
| 78 | + LDO4 { |
|---|
| 79 | + regulator-min-microvolt = <1800000>; |
|---|
| 80 | + regulator-max-microvolt = <3300000>; |
|---|
| 81 | + regulator-always-on; |
|---|
| 82 | + }; |
|---|
| 83 | + LDO5 { |
|---|
| 84 | + regulator-min-microvolt = <2900000>; |
|---|
| 85 | + regulator-max-microvolt = <3300000>; |
|---|
| 86 | + regulator-boot-on; |
|---|
| 87 | + regulator-always-on; |
|---|
| 88 | + }; |
|---|
| 89 | + LDO6 { |
|---|
| 90 | + regulator-min-microvolt = <1800000>; |
|---|
| 91 | + regulator-max-microvolt = <3300000>; |
|---|
| 92 | + regulator-boot-on; |
|---|
| 93 | + regulator-always-on; |
|---|
| 94 | + }; |
|---|
| 95 | + LDO7 { |
|---|
| 96 | + regulator-min-microvolt = <1800000>; |
|---|
| 97 | + regulator-max-microvolt = <2900000>; |
|---|
| 98 | + regulator-boot-on; |
|---|
| 99 | + regulator-always-on; |
|---|
| 100 | + }; |
|---|
| 101 | + LDO8 { |
|---|
| 102 | + regulator-min-microvolt = <1800000>; |
|---|
| 103 | + regulator-max-microvolt = <2900000>; |
|---|
| 104 | + regulator-boot-on; |
|---|
| 105 | + regulator-always-on; |
|---|
| 106 | + }; |
|---|
| 107 | + LDO9 { |
|---|
| 108 | + regulator-min-microvolt = <1800000>; |
|---|
| 109 | + regulator-max-microvolt = <3300000>; |
|---|
| 110 | + regulator-boot-on; |
|---|
| 111 | + regulator-always-on; |
|---|
| 112 | + }; |
|---|
| 113 | + LDO10 { |
|---|
| 114 | + regulator-min-microvolt = <1200000>; |
|---|
| 115 | + regulator-max-microvolt = <3300000>; |
|---|
| 116 | + regulator-boot-on; |
|---|
| 117 | + regulator-always-on; |
|---|
| 118 | + }; |
|---|
| 119 | + LDO12 { |
|---|
| 120 | + regulator-min-microvolt = <1200000>; |
|---|
| 121 | + regulator-max-microvolt = <3300000>; |
|---|
| 122 | + regulator-always-on; |
|---|
| 123 | + }; |
|---|
| 124 | + LDO13 { |
|---|
| 125 | + regulator-min-microvolt = <1200000>; |
|---|
| 126 | + regulator-max-microvolt = <3300000>; |
|---|
| 127 | + regulator-always-on; |
|---|
| 128 | + }; |
|---|
| 129 | + LDO14 { |
|---|
| 130 | + regulator-min-microvolt = <1800000>; |
|---|
| 131 | + regulator-max-microvolt = <3300000>; |
|---|
| 132 | + regulator-always-on; |
|---|
| 133 | + }; |
|---|
| 134 | + }; |
|---|
| 135 | + rtc { |
|---|
| 136 | + marvell,88pm860x-vrtc = <1>; |
|---|
| 137 | + }; |
|---|
| 138 | + touch { |
|---|
| 139 | + marvell,88pm860x-gpadc-prebias = <1>; |
|---|
| 140 | + marvell,88pm860x-gpadc-slot-cycle = <1>; |
|---|
| 141 | + marvell,88pm860x-tsi-prebias = <6>; |
|---|
| 142 | + marvell,88pm860x-pen-prebias = <16>; |
|---|
| 143 | + marvell,88pm860x-pen-prechg = <2>; |
|---|
| 144 | + marvell,88pm860x-resistor-X = <300>; |
|---|
| 145 | + }; |
|---|
| 146 | + backlights { |
|---|
| 147 | + backlight-0 { |
|---|
| 148 | + marvell,88pm860x-iset = <4>; |
|---|
| 149 | + marvell,88pm860x-pwm = <3>; |
|---|
| 150 | + }; |
|---|
| 151 | + backlight-2 { |
|---|
| 152 | + }; |
|---|
| 153 | + }; |
|---|
| 154 | + leds { |
|---|
| 155 | + led0-red { |
|---|
| 156 | + marvell,88pm860x-iset = <12>; |
|---|
| 157 | + }; |
|---|
| 158 | + led0-green { |
|---|
| 159 | + marvell,88pm860x-iset = <12>; |
|---|
| 160 | + }; |
|---|
| 161 | + led0-blue { |
|---|
| 162 | + marvell,88pm860x-iset = <12>; |
|---|
| 172 | 163 | }; |
|---|
| 173 | 164 | }; |
|---|
| 174 | 165 | }; |
|---|
| 175 | 166 | }; |
|---|
| 167 | + |
|---|
| 168 | +&rtc { |
|---|
| 169 | + status = "okay"; |
|---|
| 170 | +}; |
|---|