Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 
0003 /dts-v1/;
0004 #include "rk3288-evb.dtsi"
0005 
0006 / {
0007         model = "Rockchip RK3288 EVB RK808";
0008         compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
0009 };
0010 
0011 &i2c0 {
0012         clock-frequency = <400000>;
0013 
0014         rk808: pmic@1b {
0015                 compatible = "rockchip,rk808";
0016                 reg = <0x1b>;
0017                 interrupt-parent = <&gpio0>;
0018                 interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
0019                 pinctrl-names = "default";
0020                 pinctrl-0 = <&pmic_int &global_pwroff>;
0021                 rockchip,system-power-controller;
0022                 wakeup-source;
0023                 #clock-cells = <1>;
0024                 clock-output-names = "xin32k", "rk808-clkout2";
0025 
0026                 vcc1-supply = <&vcc_sys>;
0027                 vcc2-supply = <&vcc_sys>;
0028                 vcc3-supply = <&vcc_sys>;
0029                 vcc4-supply = <&vcc_sys>;
0030                 vcc6-supply = <&vcc_sys>;
0031                 vcc7-supply = <&vcc_sys>;
0032                 vcc8-supply = <&vcc_18>;
0033                 vcc9-supply = <&vcc_io>;
0034                 vcc10-supply = <&vcc_io>;
0035                 vcc11-supply = <&vcc_sys>;
0036                 vcc12-supply = <&vcc_io>;
0037                 vddio-supply = <&vccio_pmu>;
0038 
0039                 regulators {
0040                         vdd_cpu: DCDC_REG1 {
0041                                 regulator-always-on;
0042                                 regulator-boot-on;
0043                                 regulator-min-microvolt = <750000>;
0044                                 regulator-max-microvolt = <1350000>;
0045                                 regulator-name = "vdd_arm";
0046                                 regulator-state-mem {
0047                                         regulator-off-in-suspend;
0048                                 };
0049                         };
0050 
0051                         vdd_gpu: DCDC_REG2 {
0052                                 regulator-always-on;
0053                                 regulator-boot-on;
0054                                 regulator-min-microvolt = <850000>;
0055                                 regulator-max-microvolt = <1250000>;
0056                                 regulator-name = "vdd_gpu";
0057                                 regulator-state-mem {
0058                                         regulator-on-in-suspend;
0059                                         regulator-suspend-microvolt = <1000000>;
0060                                 };
0061                         };
0062 
0063                         vcc_ddr: DCDC_REG3 {
0064                                 regulator-always-on;
0065                                 regulator-boot-on;
0066                                 regulator-name = "vcc_ddr";
0067                                 regulator-state-mem {
0068                                         regulator-on-in-suspend;
0069                                 };
0070                         };
0071 
0072                         vcc_io: DCDC_REG4 {
0073                                 regulator-always-on;
0074                                 regulator-boot-on;
0075                                 regulator-min-microvolt = <3300000>;
0076                                 regulator-max-microvolt = <3300000>;
0077                                 regulator-name = "vcc_io";
0078                                 regulator-state-mem {
0079                                         regulator-on-in-suspend;
0080                                         regulator-suspend-microvolt = <3300000>;
0081                                 };
0082                         };
0083 
0084                         vccio_pmu: LDO_REG1 {
0085                                 regulator-always-on;
0086                                 regulator-boot-on;
0087                                 regulator-min-microvolt = <3300000>;
0088                                 regulator-max-microvolt = <3300000>;
0089                                 regulator-name = "vccio_pmu";
0090                                 regulator-state-mem {
0091                                         regulator-on-in-suspend;
0092                                         regulator-suspend-microvolt = <3300000>;
0093                                 };
0094                         };
0095 
0096                         vcc_tp: LDO_REG2 {
0097                                 regulator-always-on;
0098                                 regulator-boot-on;
0099                                 regulator-min-microvolt = <3300000>;
0100                                 regulator-max-microvolt = <3300000>;
0101                                 regulator-name = "vcc_tp";
0102                                 regulator-state-mem {
0103                                         regulator-off-in-suspend;
0104                                 };
0105                         };
0106 
0107                         vdd_10: LDO_REG3 {
0108                                 regulator-always-on;
0109                                 regulator-boot-on;
0110                                 regulator-min-microvolt = <1000000>;
0111                                 regulator-max-microvolt = <1000000>;
0112                                 regulator-name = "vdd_10";
0113                                 regulator-state-mem {
0114                                         regulator-on-in-suspend;
0115                                         regulator-suspend-microvolt = <1000000>;
0116                                 };
0117                         };
0118 
0119                         vcc18_lcd: LDO_REG4 {
0120                                 regulator-always-on;
0121                                 regulator-boot-on;
0122                                 regulator-min-microvolt = <1800000>;
0123                                 regulator-max-microvolt = <1800000>;
0124                                 regulator-name = "vcc18_lcd";
0125                                 regulator-state-mem {
0126                                         regulator-on-in-suspend;
0127                                         regulator-suspend-microvolt = <1800000>;
0128                                 };
0129                         };
0130 
0131                         vccio_sd: LDO_REG5 {
0132                                 regulator-always-on;
0133                                 regulator-boot-on;
0134                                 regulator-min-microvolt = <1800000>;
0135                                 regulator-max-microvolt = <3300000>;
0136                                 regulator-name = "vccio_sd";
0137                                 regulator-state-mem {
0138                                         regulator-on-in-suspend;
0139                                         regulator-suspend-microvolt = <3300000>;
0140                                 };
0141                         };
0142 
0143                         vdd10_lcd: LDO_REG6 {
0144                                 regulator-always-on;
0145                                 regulator-boot-on;
0146                                 regulator-min-microvolt = <1000000>;
0147                                 regulator-max-microvolt = <1000000>;
0148                                 regulator-name = "vdd10_lcd";
0149                                 regulator-state-mem {
0150                                         regulator-on-in-suspend;
0151                                         regulator-suspend-microvolt = <1000000>;
0152                                 };
0153                         };
0154 
0155                         vcc_18: LDO_REG7 {
0156                                 regulator-always-on;
0157                                 regulator-boot-on;
0158                                 regulator-min-microvolt = <1800000>;
0159                                 regulator-max-microvolt = <1800000>;
0160                                 regulator-name = "vcc_18";
0161                                 regulator-state-mem {
0162                                         regulator-on-in-suspend;
0163                                         regulator-suspend-microvolt = <1800000>;
0164                                 };
0165                         };
0166 
0167                         vcca_codec: LDO_REG8 {
0168                                 regulator-always-on;
0169                                 regulator-boot-on;
0170                                 regulator-min-microvolt = <3300000>;
0171                                 regulator-max-microvolt = <3300000>;
0172                                 regulator-name = "vcca_codec";
0173                                 regulator-state-mem {
0174                                         regulator-on-in-suspend;
0175                                         regulator-suspend-microvolt = <3300000>;
0176                                 };
0177                         };
0178 
0179                         vcc_wl: SWITCH_REG1 {
0180                                 regulator-always-on;
0181                                 regulator-boot-on;
0182                                 regulator-name = "vcc_wl";
0183                                 regulator-state-mem {
0184                                         regulator-on-in-suspend;
0185                                 };
0186                         };
0187 
0188                         vcc_lcd: SWITCH_REG2 {
0189                                 regulator-always-on;
0190                                 regulator-boot-on;
0191                                 regulator-name = "vcc_lcd";
0192                                 regulator-state-mem {
0193                                         regulator-on-in-suspend;
0194                                 };
0195                         };
0196                 };
0197         };
0198 };
0199 
0200 &panel {
0201         power-supply = <&vcc_lcd>;
0202 };