|
13 | 13 | compatible = "xunlong,orangepi-r2s", "spacemit,k1"; |
14 | 14 |
|
15 | 15 | aliases { |
| 16 | + i2c8 = &i2c8; |
16 | 17 | serial0 = &uart0; |
17 | 18 | ethernet0 = ð0; |
18 | 19 | ethernet1 = ð1; |
|
22 | 23 | stdout-path = "serial0"; |
23 | 24 | }; |
24 | 25 |
|
| 26 | + vcc4v0: regulator-vcc4v0 { |
| 27 | + compatible = "regulator-fixed"; |
| 28 | + regulator-name = "vcc4v0"; |
| 29 | + regulator-always-on; |
| 30 | + regulator-boot-on; |
| 31 | + regulator-min-microvolt = <4000000>; |
| 32 | + regulator-max-microvolt = <4000000>; |
| 33 | + }; |
| 34 | + |
25 | 35 | vcc5v0_usb: regulator-vcc5v0-usb { |
26 | 36 | compatible = "regulator-fixed"; |
27 | 37 | enable-active-high; |
|
94 | 104 | }; |
95 | 105 | }; |
96 | 106 |
|
| 107 | +&i2c8 { |
| 108 | + pinctrl-names = "default"; |
| 109 | + pinctrl-0 = <&i2c8_cfg>; |
| 110 | + status = "okay"; |
| 111 | + |
| 112 | + pmic@41 { |
| 113 | + compatible = "spacemit,p1"; |
| 114 | + reg = <0x41>; |
| 115 | + interrupts = <64>; |
| 116 | + vin1-supply = <&vcc4v0>; |
| 117 | + vin2-supply = <&vcc4v0>; |
| 118 | + vin3-supply = <&vcc4v0>; |
| 119 | + vin4-supply = <&vcc4v0>; |
| 120 | + vin5-supply = <&vcc4v0>; |
| 121 | + vin6-supply = <&vcc4v0>; |
| 122 | + aldoin-supply = <&vcc4v0>; |
| 123 | + dldoin1-supply = <&buck5>; |
| 124 | + dldoin2-supply = <&buck5>; |
| 125 | + |
| 126 | + regulators { |
| 127 | + buck1 { |
| 128 | + regulator-min-microvolt = <500000>; |
| 129 | + regulator-max-microvolt = <3450000>; |
| 130 | + regulator-ramp-delay = <5000>; |
| 131 | + regulator-always-on; |
| 132 | + }; |
| 133 | + |
| 134 | + buck2 { |
| 135 | + regulator-min-microvolt = <500000>; |
| 136 | + regulator-max-microvolt = <3450000>; |
| 137 | + regulator-ramp-delay = <5000>; |
| 138 | + regulator-always-on; |
| 139 | + }; |
| 140 | + |
| 141 | + buck3_1v8: buck3 { |
| 142 | + regulator-min-microvolt = <500000>; |
| 143 | + regulator-max-microvolt = <1800000>; |
| 144 | + regulator-ramp-delay = <5000>; |
| 145 | + regulator-always-on; |
| 146 | + }; |
| 147 | + |
| 148 | + buck4_3v3: buck4 { |
| 149 | + regulator-min-microvolt = <500000>; |
| 150 | + regulator-max-microvolt = <3300000>; |
| 151 | + regulator-ramp-delay = <5000>; |
| 152 | + regulator-always-on; |
| 153 | + }; |
| 154 | + |
| 155 | + buck5: buck5 { |
| 156 | + regulator-min-microvolt = <500000>; |
| 157 | + regulator-max-microvolt = <3450000>; |
| 158 | + regulator-ramp-delay = <5000>; |
| 159 | + regulator-always-on; |
| 160 | + }; |
| 161 | + |
| 162 | + buck6 { |
| 163 | + regulator-min-microvolt = <500000>; |
| 164 | + regulator-max-microvolt = <3450000>; |
| 165 | + regulator-ramp-delay = <5000>; |
| 166 | + regulator-always-on; |
| 167 | + }; |
| 168 | + |
| 169 | + aldo1_3v3: aldo1 { |
| 170 | + regulator-min-microvolt = <500000>; |
| 171 | + regulator-max-microvolt = <3400000>; |
| 172 | + regulator-boot-on; |
| 173 | + }; |
| 174 | + |
| 175 | + aldo2 { |
| 176 | + regulator-min-microvolt = <500000>; |
| 177 | + regulator-max-microvolt = <3400000>; |
| 178 | + }; |
| 179 | + |
| 180 | + aldo3 { |
| 181 | + regulator-min-microvolt = <500000>; |
| 182 | + regulator-max-microvolt = <3400000>; |
| 183 | + }; |
| 184 | + |
| 185 | + aldo4 { |
| 186 | + regulator-min-microvolt = <500000>; |
| 187 | + regulator-max-microvolt = <3400000>; |
| 188 | + }; |
| 189 | + |
| 190 | + dldo1 { |
| 191 | + regulator-min-microvolt = <500000>; |
| 192 | + regulator-max-microvolt = <3400000>; |
| 193 | + regulator-boot-on; |
| 194 | + }; |
| 195 | + |
| 196 | + dldo2 { |
| 197 | + regulator-min-microvolt = <500000>; |
| 198 | + regulator-max-microvolt = <3400000>; |
| 199 | + }; |
| 200 | + |
| 201 | + dldo3 { |
| 202 | + regulator-min-microvolt = <500000>; |
| 203 | + regulator-max-microvolt = <3400000>; |
| 204 | + }; |
| 205 | + |
| 206 | + dldo4 { |
| 207 | + regulator-min-microvolt = <500000>; |
| 208 | + regulator-max-microvolt = <3400000>; |
| 209 | + regulator-always-on; |
| 210 | + }; |
| 211 | + |
| 212 | + dldo5 { |
| 213 | + regulator-min-microvolt = <500000>; |
| 214 | + regulator-max-microvolt = <3400000>; |
| 215 | + }; |
| 216 | + |
| 217 | + dldo6 { |
| 218 | + regulator-min-microvolt = <500000>; |
| 219 | + regulator-max-microvolt = <3400000>; |
| 220 | + regulator-always-on; |
| 221 | + }; |
| 222 | + |
| 223 | + dldo7 { |
| 224 | + regulator-min-microvolt = <500000>; |
| 225 | + regulator-max-microvolt = <3400000>; |
| 226 | + }; |
| 227 | + }; |
| 228 | + }; |
| 229 | +}; |
| 230 | + |
97 | 231 | &pdma { |
98 | 232 | status = "okay"; |
99 | 233 | }; |
|
0 commit comments