^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) RK809 Power Management Integrated Circuit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: "rockchip,rk809"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: I2C slave address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - interrupt-parent: The parent interrupt controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - interrupts: the interrupt outputs of the controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - #clock-cells: from common clock binding; shall be set to 1 (multiple clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) outputs). See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - clock-output-names: From common clock binding to override the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) default output clock name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - rockchip,system-power-controller: Telling whether or not this pmic is controlling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) the system power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - vcc1-supply: The input supply for DCDC_REG1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - vcc2-supply: The input supply for DCDC_REG2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - vcc3-supply: The input supply for DCDC_REG3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - vcc4-supply: The input supply for DCDC_REG4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - vcc5-supply: The input supply for LDO_REG1, LDO_REG2, LDO_REG3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - vcc6-supply: The input supply for LDO_REG4, LDO_REG5, LDO_REG6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - vcc7-supply: The input supply for LDO_REG7, LDO_REG8, LDO_REG9
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - vcc8-supply: The input supply for SWITCH_REG1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - vcc9-supply: The input supply for DCDC_REG5, SWITCH_REG2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Regulators: All the regulators of RK809 to be instantiated shall be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) listed in a child node named 'regulators'. Each regulator is represented
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) by a child node of the 'regulators' node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) regulator-name {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) /* standard regulator bindings here */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Following regulators of the RK809 PMIC block are supported. Note that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) number as described in RK808 datasheet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - DCDC_REGn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) - valid values for n are 1 to 5.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) - LDO_REGn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) - valid values for n are 1 to 9.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) - SWITCH_REGn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) - valid values for n are 1 to 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) The gpio_slp pin is for controlling the pmic states, as below:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) reset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) power down
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) sleep
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Standard regulator bindings are used inside regulator subnodes. Check
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Documentation/devicetree/bindings/regulator/regulator.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) for more details
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) rk809: pmic@20 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) compatible = "rockchip,rk809";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) reg = <0x20>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) interrupt-parent = <&gpio0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) pinctrl-names = "default", "pmic-sleep",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) "pmic-power-off", "pmic-reset";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) pinctrl-0 = <&pmic_int>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) pinctrl-1 = <&soc_slppin_slp>, <&rk817_slppin_slp>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) pinctrl-2 = <&soc_slppin_gpio>, <&rk817_slppin_pwrdn>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) pinctrl-3 = <&soc_slppin_rst>, <&rk817_slppin_rst>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) rockchip,system-power-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) wakeup-source;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) #clock-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) clock-output-names = "rk808-clkout1", "rk808-clkout2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) vcc1-supply = <&vcc5v0_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) vcc2-supply = <&vcc5v0_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) vcc3-supply = <&vcc5v0_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) vcc4-supply = <&vcc5v0_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) vcc5-supply = <&vcc3v3_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) vcc6-supply = <&vcc3v3_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) vcc7-supply = <&vcc3v3_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) vcc8-supply = <&vcc3v3_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) vcc9-supply = <&vcc5v0_sys>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) pwrkey {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) pinctrl_rk8xx: pinctrl_rk8xx {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) rk817_slppin_null: rk817_slppin_null {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) pins = "gpio_slp";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) function = "pin_fun0";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) rk817_slppin_slp: rk817_slppin_slp {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) pins = "gpio_slp";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) function = "pin_fun1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) rk817_slppin_pwrdn: rk817_slppin_pwrdn {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) pins = "gpio_slp";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) function = "pin_fun2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) rk817_slppin_rst: rk817_slppin_rst {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) pins = "gpio_slp";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) function = "pin_fun3";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) vdd_logic: DCDC_REG1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) regulator-min-microvolt = <950000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) regulator-max-microvolt = <1350000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) regulator-ramp-delay = <6001>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) regulator-initial-mode = <0x1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) regulator-name = "vdd_logic";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) regulator-suspend-microvolt = <950000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) vdd_arm: DCDC_REG2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) regulator-min-microvolt = <950000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) regulator-max-microvolt = <1350000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) regulator-ramp-delay = <6001>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) regulator-initial-mode = <0x1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) regulator-name = "vdd_arm";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) regulator-off-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) regulator-suspend-microvolt = <950000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) vcc_ddr: DCDC_REG3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) regulator-name = "vcc_ddr";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) regulator-initial-mode = <0x1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) vcc_3v0: DCDC_REG4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) regulator-min-microvolt = <3000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) regulator-max-microvolt = <3000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) regulator-initial-mode = <0x1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) regulator-name = "vcc_3v0";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) regulator-off-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) regulator-suspend-microvolt = <3000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) vcc2v5_ddr: LDO_REG1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) regulator-min-microvolt = <2500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) regulator-max-microvolt = <2500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) regulator-name = "vcc2v5_ddr";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) regulator-suspend-microvolt = <2500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) vcc1v8_soc: LDO_REG2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) regulator-min-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) regulator-max-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) regulator-name = "vcc1v8_soc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) regulator-suspend-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) vdd1v0_soc: LDO_REG3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) regulator-min-microvolt = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) regulator-max-microvolt = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) regulator-name = "vcc1v0_soc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) regulator-suspend-microvolt = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) vcc3v0_pmu: LDO_REG4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) regulator-min-microvolt = <3000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) regulator-max-microvolt = <3000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) regulator-name = "vcc3v0_pmu";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) regulator-suspend-microvolt = <3000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) vccio_sd: LDO_REG5 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) regulator-min-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) regulator-name = "vccio_sd";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) regulator-suspend-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) vcc_sd: LDO_REG6 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) regulator-min-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) regulator-name = "vcc_sd";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) regulator-suspend-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) vcc2v8_dvp: LDO_REG7 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) regulator-min-microvolt = <2800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) regulator-max-microvolt = <2800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) regulator-name = "vcc2v8_dvp";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) regulator-off-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) regulator-suspend-microvolt = <2800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) vcc1v8_dvp: LDO_REG8 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) regulator-min-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) regulator-max-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) regulator-name = "vcc1v8_dvp";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) regulator-suspend-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) vdd1v5_dvp: LDO_REG9 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) regulator-min-microvolt = <1500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) regulator-max-microvolt = <1500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) regulator-name = "vdd1v5_dvp";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) regulator-off-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) regulator-suspend-microvolt = <1500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) vcc3v3_sys: DCDC_REG5 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) regulator-min-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) regulator-name = "vcc3v3_sys";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) regulator-state-mem {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) regulator-on-in-suspend;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) regulator-suspend-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) vcc3v3_lcd: SWITCH_REG1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) regulator-name = "vcc3v3_lcd";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) vcc5v0_host: SWITCH_REG2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) regulator-name = "vcc5v0_host";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) rk809_codec: codec {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) #sound-dai-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) compatible = "rockchip,rk809-codec", "rockchip,rk817-codec";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) clocks = <&cru SCLK_I2S1_OUT>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) clock-names = "mclk";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) pinctrl-names = "default";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) pinctrl-0 = <&i2s1_2ch_mclk>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) hp-volume = <20>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) spk-volume = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) }