Контроллер питания (PMU) AXP323


  Обзор     Параметры     Описание     Регистры     Применение       Дерево       Комментарии     PDF  


PMU AXP323A в дереве устройств TV-бокса R69Plus

Примечание. В дереве устройств для AXP323A использовано дублирующее имя AXP1530

=> fdt print axp1530
axp1530@36 {
 compatible = "ext,axp1530";
 status = "okay";
 reg = <0x00000036>;
 wakeup-source;
 phandle = <0x0000019c>;
 regulators {
         dcdc1 {
                 regulator-name = "axp1530-dcdc1";
                 regulator-min-microvolt = <0x0007a120>;
                 regulator-max-microvolt = <0x0033e140>;
                 regulator-step-delay-us = <0x00000019>;
                 regulator-final-delay-us = <0x00000032>;
                 regulator-always-on;
                 phandle = <0x00000008>;
         };
         dcdc2 {
                 regulator-name = "axp1530-dcdc2";
                 regulator-min-microvolt = <0x0007a120>;
                 regulator-max-microvolt = <0x00177fa0>;
                 regulator-step-delay-us = <0x00000019>;
                 regulator-final-delay-us = <0x00000032>;
                 regulator-ramp-delay = <0x000000c8>;
                 regulator-always-on;
                 phandle = <0x000000a1>;
         };
         dcdc3 {
                 regulator-name = "axp1530-dcdc3";
                 regulator-min-microvolt = <0x0007a120>;
                 regulator-max-microvolt = <0x001c1380>;
                 regulator-step-delay-us = <0x00000019>;
                 regulator-final-delay-us = <0x00000032>;
                 regulator-always-on;
                 phandle = <0x000000a2>;
         };
         ldo1 {
                 regulator-name = "axp1530-aldo1";
                 regulator-min-microvolt = <0x0007a120>;
                 regulator-max-microvolt = <0x003567e0>;
                 regulator-step-delay-us = <0x00000019>;
                 regulator-final-delay-us = <0x00000032>;
                 phandle = <0x000000a3>;
         };
         ldo2 {
                 regulator-name = "axp1530-dldo1";
                 regulator-min-microvolt = <0x0007a120>;
                 regulator-max-microvolt = <0x003567e0>;
                 regulator-step-delay-us = <0x00000019>;
                 regulator-final-delay-us = <0x00000032>;
                 phandle = <0x000000a4>;
         };
 };
 virtual-ext-dcdc1 {
         compatible = "xpower-vregulator,ext-dcdc1";
         dcdc1-supply = <0x00000008>;
 };
 virtual-ext-dcdc2 {
         compatible = "xpower-vregulator,ext-dcdc2";
         dcdc2-supply = <0x000000a1>;
 };
 virtual-ext-dcdc3 {
         compatible = "xpower-vregulator,ext-dcdc3";
         dcdc3-supply = <0x000000a2>;
 };
 virtual-ext-aldo1 {
         compatible = "xpower-vregulator,ext-aldo1";
         aldo1-supply = <0x000000a3>;
 };
 virtual-ext-dldo1 {
         compatible = "xpower-vregulator,ext-dldo1";
         dldo1-supply = <0x000000a4>;
 };
};

Псевдонимы узлов:

axp1530 = "/soc@3000000/s_twi0@7081400/axp1530@36";
twi6 = "/soc@3000000/s_twi0@7081400";
reg-tcs0 = "/soc@3000000/s_twi0@7081400/tcs@41/regulators@1/dcdc0";
reg-sy0 = "/soc@3000000/s_twi0@7081400/sy@60/regulators@2/dcdc0";
reg-axp1530 = "/soc@3000000/s_twi0@7081400/axp1530@36/regulators/dcdc1";
tcs0 = "/soc@3000000/s_twi0@7081400/tcs@41";
sy0 = "/soc@3000000/s_twi0@7081400/sy@60";
reg_ext_axp1530_dcdc1 = "/soc@3000000/s_twi0@7081400/axp1530@36/regulators/dcdc1";
reg_ext_axp1530_dcdc2 = "/soc@3000000/s_twi0@7081400/axp1530@36/regulators/dcdc2";
reg_ext_axp1530_dcdc3 = "/soc@3000000/s_twi0@7081400/axp1530@36/regulators/dcdc3";
reg_ext_axp1530_aldo1 = "/soc@3000000/s_twi0@7081400/axp1530@36/regulators/ldo1";
reg_ext_axp1530_dldo1 = "/soc@3000000/s_twi0@7081400/axp1530@36/regulators/ldo2";
pmu0 = "/soc@3000000/s_twi0@7081400/pmu@34";
usb_power_supply = "/soc@3000000/s_twi0@7081400/pmu@34/usb_power_supply";
gpio_power_supply = "/soc@3000000/s_twi0@7081400/pmu@34/gpio_power_supply";
bat_power_supply = "/soc@3000000/s_twi0@7081400/pmu@34/bat-power-supply";
powerkey0 = "/soc@3000000/s_twi0@7081400/pmu@34/powerkey@0";
regulator0 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0";
reg_dcdc1 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/dcdc1";
reg_dcdc2 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/dcdc2";
reg_dcdc3 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/dcdc3";
reg_dcdc4 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/dcdc4";
reg_rtcldo = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/rtcldo";
reg_aldo1 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/aldo1";
reg_aldo2 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/aldo2";
reg_aldo3 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/aldo3";
reg_aldo4 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/aldo4";
reg_bldo1 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/bldo1";
reg_bldo2 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/bldo2";
reg_bldo3 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/bldo3";
reg_bldo4 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/bldo4";
reg_cldo1 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/cldo1";
reg_cldo2 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/cldo2";
reg_cldo3 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/cldo3";
reg_cldo4 = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/cldo4";
reg_cpusldo = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/cpusldo";
reg_vmid = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/vmid";
reg_drivevbus = "/soc@3000000/s_twi0@7081400/pmu@34/regulators@0/drivevbus";
axp_gpio0 = "/soc@3000000/s_twi0@7081400/pmu@34/axp_gpio@0";

Для некоторых узлов можно использовать псевдоним вместо полного пути, например:

=> fdt print reg-axp1530
dcdc1 {
        regulator-name = "axp1530-dcdc1";
        regulator-min-microvolt = <0x0007a120>;
        regulator-max-microvolt = <0x0033e140>;
        regulator-step-delay-us = <0x00000019>;
        regulator-final-delay-us = <0x00000032>;
        regulator-always-on;
        phandle = <0x00000008>;
};



  Обзор     Параметры     Описание     Регистры     Применение       Дерево       Комментарии     PDF