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-act8846", "rockchip,rk3288"; 18}; 19 20&cpu0 { 21 cpu0-supply = <&vdd_cpu>; 22}; 23 24&i2c0 { 25 clock-frequency = <400000>; 26 27 vdd_cpu: syr827@40 { 28 compatible = "silergy,syr827"; 29 fcs,suspend-voltage-selector = <1>; 30 reg = <0x40>; 31 regulator-name = "vdd_cpu"; 32 regulator-min-microvolt = <850000>; 33 regulator-max-microvolt = <1350000>; 34 regulator-always-on; 35 regulator-boot-on; 36 vin-supply = <&vcc_sys>; 37 }; 38 39 vdd_gpu: syr828@41 { 40 compatible = "silergy,syr828"; 41 fcs,suspend-voltage-selector = <1>; 42 reg = <0x41>; 43 regulator-name = "vdd_gpu"; 44 regulator-min-microvolt = <850000>; 45 regulator-max-microvolt = <1350000>; 46 regulator-always-on; 47 vin-supply = <&vcc_sys>; 48 }; 49 50 hym8563@51 { 51 compatible = "haoyu,hym8563"; 52 reg = <0x51>; 53 54 interrupt-parent = <&gpio0>; 55 interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 56 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pmic_int>; 59 60 #clock-cells = <0>; 61 clock-output-names = "xin32k"; 62 }; 63 64 act8846: act8846@5a { 65 compatible = "active-semi,act8846"; 66 reg = <0x5a>; 67 status = "okay"; 68 69 vp1-supply = <&vcc_sys>; 70 vp2-supply = <&vcc_sys>; 71 vp3-supply = <&vcc_sys>; 72 vp4-supply = <&vcc_sys>; 73 inl1-supply = <&vcc_io>; 74 inl2-supply = <&vcc_sys>; 75 inl3-supply = <&vcc_20>; 76 77 regulators { 78 vcc_ddr: REG1 { 79 regulator-name = "VCC_DDR"; 80 regulator-min-microvolt = <1200000>; 81 regulator-max-microvolt = <1200000>; 82 regulator-always-on; 83 }; 84 85 vcc_io: REG2 { 86 regulator-name = "VCC_IO"; 87 regulator-min-microvolt = <3300000>; 88 regulator-max-microvolt = <3300000>; 89 regulator-always-on; 90 }; 91 92 vdd_log: REG3 { 93 regulator-name = "VDD_LOG"; 94 regulator-min-microvolt = <1000000>; 95 regulator-max-microvolt = <1000000>; 96 regulator-always-on; 97 }; 98 99 vcc_20: REG4 { 100 regulator-name = "VCC_20"; 101 regulator-min-microvolt = <2000000>; 102 regulator-max-microvolt = <2000000>; 103 regulator-always-on; 104 }; 105 106 vccio_sd: REG5 { 107 regulator-name = "VCCIO_SD"; 108 regulator-min-microvolt = <3300000>; 109 regulator-max-microvolt = <3300000>; 110 regulator-always-on; 111 }; 112 113 vdd10_lcd: REG6 { 114 regulator-name = "VDD10_LCD"; 115 regulator-min-microvolt = <1000000>; 116 regulator-max-microvolt = <1000000>; 117 regulator-always-on; 118 }; 119 120 vcca_codec: REG7 { 121 regulator-name = "VCCA_CODEC"; 122 regulator-min-microvolt = <3300000>; 123 regulator-max-microvolt = <3300000>; 124 regulator-always-on; 125 }; 126 127 vcca_tp: REG8 { 128 regulator-name = "VCCA_TP"; 129 regulator-min-microvolt = <3300000>; 130 regulator-max-microvolt = <3300000>; 131 regulator-always-on; 132 }; 133 134 vccio_pmu: REG9 { 135 regulator-name = "VCCIO_PMU"; 136 regulator-min-microvolt = <3300000>; 137 regulator-max-microvolt = <3300000>; 138 regulator-always-on; 139 }; 140 141 vdd_10: REG10 { 142 regulator-name = "VDD_10"; 143 regulator-min-microvolt = <1000000>; 144 regulator-max-microvolt = <1000000>; 145 regulator-always-on; 146 }; 147 148 vcc_18: REG11 { 149 regulator-name = "VCC_18"; 150 regulator-min-microvolt = <1800000>; 151 regulator-max-microvolt = <1800000>; 152 regulator-always-on; 153 }; 154 155 vcc18_lcd: REG12 { 156 regulator-name = "VCC18_LCD"; 157 regulator-min-microvolt = <1800000>; 158 regulator-max-microvolt = <1800000>; 159 regulator-always-on; 160 }; 161 }; 162 }; 163}; 164