Heiko Stuebner | 6ce0562 | 2014-07-15 20:09:44 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This program is free software; you can redistribute it and/or modify |
| 3 | * it under the terms of the GNU General Public License as published by |
| 4 | * the Free Software Foundation; either version 2 of the License, or |
| 5 | * (at your option) any later version. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | #include "rk3288-evb.dtsi" |
| 15 | |
| 16 | / { |
| 17 | compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288"; |
| 18 | }; |
Doug Anderson | 60c2078 | 2014-08-26 10:28:43 -0700 | [diff] [blame] | 19 | |
Heiko Stuebner | 3adb132 | 2014-09-13 00:34:30 +0200 | [diff] [blame] | 20 | &cpu0 { |
| 21 | cpu0-supply = <&vdd_cpu>; |
| 22 | }; |
| 23 | |
Doug Anderson | 60c2078 | 2014-08-26 10:28:43 -0700 | [diff] [blame] | 24 | &i2c0 { |
Doug Anderson | 0f4fc38 | 2014-09-10 21:30:15 -0700 | [diff] [blame] | 25 | clock-frequency = <400000>; |
Doug Anderson | 60c2078 | 2014-08-26 10:28:43 -0700 | [diff] [blame] | 26 | status = "okay"; |
| 27 | |
| 28 | rk808: pmic@1b { |
| 29 | compatible = "rockchip,rk808"; |
| 30 | reg = <0x1b>; |
| 31 | interrupt-parent = <&gpio0>; |
| 32 | interrupts = <4 IRQ_TYPE_LEVEL_LOW>; |
| 33 | pinctrl-names = "default"; |
| 34 | pinctrl-0 = <&pmic_int>; |
| 35 | rockchip,system-power-controller; |
| 36 | wakeup-source; |
| 37 | #clock-cells = <1>; |
| 38 | clock-output-names = "xin32k", "rk808-clkout2"; |
| 39 | |
| 40 | vcc8-supply = <&vcc_18>; |
| 41 | vcc9-supply = <&vcc_io>; |
| 42 | vcc10-supply = <&vcc_io>; |
| 43 | vcc12-supply = <&vcc_io>; |
| 44 | vddio-supply = <&vccio_pmu>; |
| 45 | |
| 46 | regulators { |
| 47 | vdd_cpu: DCDC_REG1 { |
| 48 | regulator-always-on; |
| 49 | regulator-boot-on; |
| 50 | regulator-min-microvolt = <750000>; |
Heiko Stuebner | 3adb132 | 2014-09-13 00:34:30 +0200 | [diff] [blame] | 51 | regulator-max-microvolt = <1350000>; |
Doug Anderson | 60c2078 | 2014-08-26 10:28:43 -0700 | [diff] [blame] | 52 | regulator-name = "vdd_arm"; |
| 53 | }; |
| 54 | |
| 55 | vdd_gpu: DCDC_REG2 { |
| 56 | regulator-always-on; |
| 57 | regulator-boot-on; |
| 58 | regulator-min-microvolt = <850000>; |
| 59 | regulator-max-microvolt = <1250000>; |
| 60 | regulator-name = "vdd_gpu"; |
| 61 | }; |
| 62 | |
| 63 | vcc_ddr: DCDC_REG3 { |
| 64 | regulator-always-on; |
| 65 | regulator-boot-on; |
| 66 | regulator-name = "vcc_ddr"; |
| 67 | }; |
| 68 | |
| 69 | vcc_io: DCDC_REG4 { |
| 70 | regulator-always-on; |
| 71 | regulator-boot-on; |
| 72 | regulator-min-microvolt = <3300000>; |
| 73 | regulator-max-microvolt = <3300000>; |
| 74 | regulator-name = "vcc_io"; |
| 75 | }; |
| 76 | |
| 77 | vccio_pmu: LDO_REG1 { |
| 78 | regulator-always-on; |
| 79 | regulator-boot-on; |
| 80 | regulator-min-microvolt = <3300000>; |
| 81 | regulator-max-microvolt = <3300000>; |
| 82 | regulator-name = "vccio_pmu"; |
| 83 | }; |
| 84 | |
| 85 | vcc_tp: LDO_REG2 { |
| 86 | regulator-always-on; |
| 87 | regulator-boot-on; |
| 88 | regulator-min-microvolt = <3300000>; |
| 89 | regulator-max-microvolt = <3300000>; |
| 90 | regulator-name = "vcc_tp"; |
| 91 | }; |
| 92 | |
| 93 | vdd_10: LDO_REG3 { |
| 94 | regulator-always-on; |
| 95 | regulator-boot-on; |
| 96 | regulator-min-microvolt = <1000000>; |
| 97 | regulator-max-microvolt = <1000000>; |
| 98 | regulator-name = "vdd_10"; |
| 99 | }; |
| 100 | |
| 101 | vcc18_lcd: LDO_REG4 { |
| 102 | regulator-always-on; |
| 103 | regulator-boot-on; |
| 104 | regulator-min-microvolt = <1800000>; |
| 105 | regulator-max-microvolt = <1800000>; |
| 106 | regulator-name = "vcc18_lcd"; |
| 107 | }; |
| 108 | |
| 109 | vccio_sd: LDO_REG5 { |
| 110 | regulator-always-on; |
| 111 | regulator-boot-on; |
| 112 | regulator-min-microvolt = <1800000>; |
| 113 | regulator-max-microvolt = <3300000>; |
| 114 | regulator-name = "vccio_sd"; |
| 115 | }; |
| 116 | |
| 117 | vdd10_lcd: LDO_REG6 { |
| 118 | regulator-always-on; |
| 119 | regulator-boot-on; |
| 120 | regulator-min-microvolt = <1000000>; |
| 121 | regulator-max-microvolt = <1000000>; |
| 122 | regulator-name = "vdd10_lcd"; |
| 123 | }; |
| 124 | |
| 125 | vcc_18: LDO_REG7 { |
| 126 | regulator-always-on; |
| 127 | regulator-boot-on; |
| 128 | regulator-min-microvolt = <1800000>; |
| 129 | regulator-max-microvolt = <1800000>; |
| 130 | regulator-name = "vcc_18"; |
| 131 | }; |
| 132 | |
| 133 | vcca_codec: LDO_REG8 { |
| 134 | regulator-always-on; |
| 135 | regulator-boot-on; |
| 136 | regulator-min-microvolt = <3300000>; |
| 137 | regulator-max-microvolt = <3300000>; |
| 138 | regulator-name = "vcca_codec"; |
| 139 | }; |
| 140 | |
| 141 | vcc_wl: SWITCH_REG1 { |
| 142 | regulator-always-on; |
| 143 | regulator-boot-on; |
| 144 | regulator-name = "vcc_wl"; |
| 145 | }; |
| 146 | |
| 147 | vcc_lcd: SWITCH_REG2 { |
| 148 | regulator-always-on; |
| 149 | regulator-boot-on; |
| 150 | regulator-name = "vcc_lcd"; |
| 151 | }; |
| 152 | }; |
| 153 | }; |
| 154 | }; |