Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 Jagan Teki <jagan@amarulasolutions.com> |
| 3 | * |
| 4 | * This file is dual-licensed: you can use it either under the terms |
| 5 | * of the GPL or the X11 license, at your option. Note that this dual |
| 6 | * licensing only applies to this file, and not this project as a |
| 7 | * whole. |
| 8 | * |
| 9 | * a) This file is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU General Public License as |
| 11 | * published by the Free Software Foundation; either version 2 of the |
| 12 | * License, or (at your option) any later version. |
| 13 | * |
| 14 | * This file is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | * |
| 19 | * Or, alternatively, |
| 20 | * |
| 21 | * b) Permission is hereby granted, free of charge, to any person |
| 22 | * obtaining a copy of this software and associated documentation |
| 23 | * files (the "Software"), to deal in the Software without |
| 24 | * restriction, including without limitation the rights to use, |
| 25 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 26 | * sell copies of the Software, and to permit persons to whom the |
| 27 | * Software is furnished to do so, subject to the following |
| 28 | * conditions: |
| 29 | * |
| 30 | * The above copyright notice and this permission notice shall be |
| 31 | * included in all copies or substantial portions of the Software. |
| 32 | * |
| 33 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 34 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 35 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 36 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 37 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 38 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 39 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 40 | * OTHER DEALINGS IN THE SOFTWARE. |
| 41 | */ |
| 42 | |
| 43 | /dts-v1/; |
| 44 | #include "rk3288.dtsi" |
| 45 | |
| 46 | / { |
| 47 | model = "Amarula Vyasa-RK3288"; |
| 48 | compatible = "amarula,vyasa-rk3288", "rockchip,rk3288"; |
| 49 | |
| 50 | chosen { |
| 51 | stdout-path = &uart2; |
| 52 | }; |
| 53 | |
| 54 | memory { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 55 | reg = <0x0 0x0 0x0 0x80000000>; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 56 | device_type = "memory"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 57 | }; |
| 58 | |
Jagan Teki | 4d0706b | 2018-02-14 21:26:17 +0530 | [diff] [blame] | 59 | dc12_vbat: dc12-vbat { |
| 60 | compatible = "regulator-fixed"; |
| 61 | regulator-name = "dc12_vbat"; |
| 62 | regulator-min-microvolt = <12000000>; |
| 63 | regulator-max-microvolt = <12000000>; |
| 64 | regulator-always-on; |
| 65 | regulator-boot-on; |
| 66 | }; |
| 67 | |
| 68 | vboot_3v3: vboot-3v3 { |
| 69 | compatible = "regulator-fixed"; |
| 70 | regulator-name = "vboot_3v3"; |
| 71 | regulator-min-microvolt = <3300000>; |
| 72 | regulator-max-microvolt = <3300000>; |
| 73 | regulator-always-on; |
| 74 | regulator-boot-on; |
| 75 | vin-supply = <&dc12_vbat>; |
| 76 | }; |
| 77 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 78 | vcc_sys: vsys-regulator { |
| 79 | compatible = "regulator-fixed"; |
| 80 | regulator-name = "vcc_sys"; |
Jagan Teki | 4d0706b | 2018-02-14 21:26:17 +0530 | [diff] [blame] | 81 | regulator-min-microvolt = <3700000>; |
| 82 | regulator-max-microvolt = <3700000>; |
| 83 | regulator-always-on; |
| 84 | regulator-boot-on; |
| 85 | vin-supply = <&dc12_vbat>; |
| 86 | }; |
| 87 | |
| 88 | vboot_5v: vboot-5v { |
| 89 | compatible = "regulator-fixed"; |
| 90 | regulator-name = "vboot_sv"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 91 | regulator-min-microvolt = <5000000>; |
| 92 | regulator-max-microvolt = <5000000>; |
| 93 | regulator-always-on; |
| 94 | regulator-boot-on; |
Jagan Teki | 4d0706b | 2018-02-14 21:26:17 +0530 | [diff] [blame] | 95 | vin-supply = <&dc12_vbat>; |
| 96 | }; |
| 97 | |
| 98 | v3g_3v3: v3g-3v3 { |
| 99 | compatible = "regulator-fixed"; |
| 100 | regulator-name = "v3g_3v3"; |
| 101 | regulator-min-microvolt = <3300000>; |
| 102 | regulator-max-microvolt = <3300000>; |
| 103 | regulator-always-on; |
| 104 | regulator-boot-on; |
| 105 | vin-supply = <&dc12_vbat>; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 106 | }; |
Jagan Teki | 11afc3d | 2018-02-14 21:26:18 +0530 | [diff] [blame^] | 107 | |
| 108 | ext_gmac: external-gmac-clock { |
| 109 | compatible = "fixed-clock"; |
| 110 | #clock-cells = <0>; |
| 111 | clock-frequency = <125000000>; |
| 112 | clock-output-names = "ext_gmac"; |
| 113 | }; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 114 | }; |
| 115 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 116 | &cpu0 { |
| 117 | cpu0-supply = <&vdd_cpu>; |
| 118 | }; |
| 119 | |
Jagan Teki | 11afc3d | 2018-02-14 21:26:18 +0530 | [diff] [blame^] | 120 | &gmac { |
| 121 | assigned-clocks = <&cru SCLK_MAC>; |
| 122 | assigned-clock-parents = <&ext_gmac>; |
| 123 | clock_in_out = "input"; |
| 124 | pinctrl-names = "default"; |
| 125 | pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; |
| 126 | phy-supply = <&vcc_lan>; |
| 127 | phy-mode = "rgmii"; |
| 128 | snps,reset-active-low; |
| 129 | snps,reset-delays-us = <0 10000 1000000>; |
| 130 | snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>; |
| 131 | tx_delay = <0x30>; |
| 132 | rx_delay = <0x10>; |
| 133 | status = "okay"; |
| 134 | }; |
| 135 | |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 136 | &gpu { |
| 137 | mali-supply = <&vdd_gpu>; |
| 138 | status = "okay"; |
| 139 | }; |
| 140 | |
| 141 | &hdmi { |
| 142 | ddc-i2c-bus = <&i2c2>; |
| 143 | status = "okay"; |
| 144 | }; |
| 145 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 146 | &i2c0 { |
| 147 | clock-frequency = <400000>; |
| 148 | status = "okay"; |
| 149 | |
| 150 | rk808: pmic@1b { |
| 151 | compatible = "rockchip,rk808"; |
| 152 | reg = <0x1b>; |
| 153 | interrupt-parent = <&gpio0>; |
| 154 | interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 155 | #clock-cells = <1>; |
| 156 | clock-output-names = "xin32k", "rk808-clkout2"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 157 | pinctrl-names = "default"; |
| 158 | pinctrl-0 = <&pmic_int &global_pwroff>; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 159 | rockchip,system-power-controller; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 160 | wakeup-source; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 161 | |
| 162 | vcc1-supply = <&vcc_sys>; |
| 163 | vcc2-supply = <&vcc_sys>; |
| 164 | vcc3-supply = <&vcc_sys>; |
| 165 | vcc4-supply = <&vcc_sys>; |
| 166 | vcc6-supply = <&vcc_sys>; |
| 167 | vcc7-supply = <&vcc_sys>; |
| 168 | vcc8-supply = <&vcc_io>; |
| 169 | vcc9-supply = <&vcc_sys>; |
| 170 | vcc10-supply = <&vcc_sys>; |
| 171 | vcc11-supply = <&vcc_sys>; |
| 172 | vcc12-supply = <&vcc_io>; |
| 173 | |
| 174 | regulators { |
Jagan Teki | 91d838d | 2018-02-14 21:26:15 +0530 | [diff] [blame] | 175 | vdd_cpu: DCDC_REG1 { |
| 176 | regulator-name = "vdd_arm"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 177 | regulator-min-microvolt = <750000>; |
| 178 | regulator-max-microvolt = <1350000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 179 | regulator-always-on; |
| 180 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 181 | regulator-state-mem { |
| 182 | regulator-off-in-suspend; |
| 183 | }; |
| 184 | }; |
| 185 | |
| 186 | vdd_gpu: DCDC_REG2 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 187 | regulator-name = "vdd_gpu"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 188 | regulator-min-microvolt = <850000>; |
| 189 | regulator-max-microvolt = <1250000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 190 | regulator-always-on; |
| 191 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 192 | regulator-state-mem { |
| 193 | regulator-on-in-suspend; |
| 194 | regulator-suspend-microvolt = <1000000>; |
| 195 | }; |
| 196 | }; |
| 197 | |
| 198 | vcc_ddr: DCDC_REG3 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 199 | regulator-name = "vcc_ddr"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 200 | regulator-always-on; |
| 201 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 202 | regulator-state-mem { |
| 203 | regulator-on-in-suspend; |
| 204 | }; |
| 205 | }; |
| 206 | |
| 207 | vcc_io: DCDC_REG4 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 208 | regulator-name = "vcc_io"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 209 | regulator-min-microvolt = <3300000>; |
| 210 | regulator-max-microvolt = <3300000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 211 | regulator-always-on; |
| 212 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 213 | regulator-state-mem { |
| 214 | regulator-on-in-suspend; |
| 215 | regulator-suspend-microvolt = <3300000>; |
| 216 | }; |
| 217 | }; |
| 218 | |
| 219 | vcca_tp: LDO_REG1 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 220 | regulator-name = "vcc_tp"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 221 | regulator-min-microvolt = <3300000>; |
| 222 | regulator-max-microvolt = <3300000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 223 | regulator-always-on; |
| 224 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 225 | regulator-state-mem { |
| 226 | regulator-on-in-suspend; |
| 227 | regulator-suspend-microvolt = <3300000>; |
| 228 | }; |
| 229 | }; |
| 230 | |
| 231 | vcc_codec: LDO_REG2 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 232 | regulator-name = "vcc_codec"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 233 | regulator-min-microvolt = <3300000>; |
| 234 | regulator-max-microvolt = <3300000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 235 | regulator-always-on; |
| 236 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 237 | regulator-state-mem { |
| 238 | regulator-off-in-suspend; |
| 239 | }; |
| 240 | }; |
| 241 | |
| 242 | vdd_10: LDO_REG3 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 243 | regulator-name = "vdd_10"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 244 | regulator-min-microvolt = <1000000>; |
| 245 | regulator-max-microvolt = <1000000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 246 | regulator-always-on; |
| 247 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 248 | regulator-state-mem { |
| 249 | regulator-on-in-suspend; |
| 250 | regulator-suspend-microvolt = <1000000>; |
| 251 | }; |
| 252 | }; |
| 253 | |
| 254 | vcc_gps: LDO_REG4 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 255 | regulator-name = "vcc_gps"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 256 | regulator-min-microvolt = <1800000>; |
| 257 | regulator-max-microvolt = <1800000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 258 | regulator-always-on; |
| 259 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 260 | regulator-state-mem { |
| 261 | regulator-on-in-suspend; |
| 262 | regulator-suspend-microvolt = <1800000>; |
| 263 | }; |
| 264 | }; |
| 265 | |
| 266 | vccio_sd: LDO_REG5 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 267 | regulator-name = "vccio_sd"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 268 | regulator-min-microvolt = <1800000>; |
| 269 | regulator-max-microvolt = <3300000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 270 | regulator-always-on; |
| 271 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 272 | regulator-state-mem { |
| 273 | regulator-on-in-suspend; |
| 274 | regulator-suspend-microvolt = <3300000>; |
| 275 | }; |
| 276 | }; |
| 277 | |
| 278 | vcc10_lcd: LDO_REG6 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 279 | regulator-name = "vcc10_lcd"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 280 | regulator-min-microvolt = <1000000>; |
| 281 | regulator-max-microvolt = <1000000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 282 | regulator-always-on; |
| 283 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 284 | regulator-state-mem { |
| 285 | regulator-on-in-suspend; |
| 286 | regulator-suspend-microvolt = <1800000>; |
| 287 | }; |
| 288 | }; |
| 289 | |
| 290 | vcc_18: LDO_REG7 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 291 | regulator-name = "vcc_18"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 292 | regulator-min-microvolt = <1800000>; |
| 293 | regulator-max-microvolt = <1800000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 294 | regulator-always-on; |
| 295 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 296 | regulator-state-mem { |
| 297 | regulator-on-in-suspend; |
| 298 | regulator-suspend-microvolt = <1800000>; |
| 299 | }; |
| 300 | }; |
| 301 | |
| 302 | vcc18_lcd: LDO_REG8 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 303 | regulator-name = "vcc18_lcd"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 304 | regulator-min-microvolt = <1800000>; |
| 305 | regulator-max-microvolt = <1800000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 306 | regulator-always-on; |
| 307 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 308 | regulator-state-mem { |
| 309 | regulator-on-in-suspend; |
| 310 | regulator-suspend-microvolt = <1800000>; |
| 311 | }; |
| 312 | }; |
| 313 | |
Jagan Teki | 5d8a9b8 | 2018-02-14 21:26:16 +0530 | [diff] [blame] | 314 | vcc_sd: SWITCH_REG1 { |
| 315 | regulator-name = "vcc_sd"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 316 | regulator-min-microvolt = <3300000>; |
| 317 | regulator-max-microvolt = <3300000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 318 | regulator-always-on; |
| 319 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 320 | regulator-state-mem { |
| 321 | regulator-on-in-suspend; |
| 322 | }; |
| 323 | }; |
| 324 | |
| 325 | vcc_lan: SWITCH_REG2 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 326 | regulator-name = "vcc_lan"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 327 | regulator-min-microvolt = <3300000>; |
| 328 | regulator-max-microvolt = <3300000>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 329 | regulator-always-on; |
| 330 | regulator-boot-on; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 331 | regulator-state-mem { |
| 332 | regulator-on-in-suspend; |
| 333 | }; |
| 334 | }; |
| 335 | }; |
| 336 | }; |
| 337 | }; |
| 338 | |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 339 | &i2c2 { |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 340 | status = "okay"; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 341 | }; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 342 | |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 343 | &sdmmc { |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 344 | bus-width = <4>; |
| 345 | cap-mmc-highspeed; |
| 346 | cap-sd-highspeed; |
| 347 | card-detect-delay = <200>; |
| 348 | disable-wp; |
| 349 | pinctrl-names = "default"; |
| 350 | pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>; |
| 351 | vmmc-supply = <&vcc_sd>; |
| 352 | vqmmc-supply = <&vccio_sd>; |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 353 | status = "okay"; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 354 | }; |
| 355 | |
| 356 | &uart2 { |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 357 | status = "okay"; |
| 358 | }; |
| 359 | |
| 360 | &vopb { |
| 361 | status = "okay"; |
| 362 | }; |
| 363 | |
| 364 | &vopb_mmu { |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 365 | status = "okay"; |
| 366 | }; |
| 367 | |
Jagan Teki | f233c43 | 2018-02-14 21:26:14 +0530 | [diff] [blame] | 368 | &vopl { |
| 369 | status = "okay"; |
| 370 | }; |
| 371 | |
| 372 | &vopl_mmu { |
| 373 | status = "okay"; |
| 374 | }; |
| 375 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 376 | &wdt { |
| 377 | status = "okay"; |
| 378 | }; |
| 379 | |
| 380 | &pinctrl { |
Jagan Teki | 11afc3d | 2018-02-14 21:26:18 +0530 | [diff] [blame^] | 381 | pcfg_output_high: pcfg-output-high { |
| 382 | output-high; |
| 383 | }; |
| 384 | |
| 385 | gmac { |
| 386 | phy_int: phy-int { |
| 387 | rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; |
| 388 | }; |
| 389 | |
| 390 | phy_pmeb: phy-pmeb { |
| 391 | rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; |
| 392 | }; |
| 393 | |
| 394 | phy_rst: phy-rst { |
| 395 | rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; |
| 396 | }; |
| 397 | }; |
| 398 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 399 | pmic { |
| 400 | pmic_int: pmic-int { |
| 401 | rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; |
| 402 | }; |
| 403 | }; |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 404 | }; |