Hi Patrick,
Last week I was able to get past this Device Tree PMIC issue. Turns out there is a way to define power when not using a PMIC. What I found was it has to be defined and then specifying the code below in the device tree works. And it'd be necessary to do this for other device trees as well (e.g. U-Boot, Kernel) in the set.
regulators {
vddcore: regulator-vdd_core {
compatible = "regulator-fixed";
regulator-name = "vddcore";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
};
vdd_ddr: regulator-vdd_ddr {
compatible = "regulator-fixed";
regulator-name = "vdd_ddr";
regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>;
regulator-always-on;
};
vdd_usb: regulator-vdd_usb {
compatible = "regulator-fixed";
regulator-name = "vdd_usb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
vdd: regulator-vdd {
compatible = "regulator-fixed";
regulator-name = "vdd";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};
/* USER CODE BEGIN addons */
&pwr_regulators {
pwr-supply = <&vdd>;
};
/* USER CODE END addons */
Now onto the next problem, code runs in debugger but not from programming. I'll save that for another thread.
Thanks,
Jim