avionic design with actual uboot and tooling

submodule of avionic design uboot bootloader and with included tools to
get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
2026-03-03 21:46:32 +02:00
parent fe3ba02c96
commit 68d74d3181
11967 changed files with 2221897 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
Qualcomm SPMI arbiter/bus driver
This is bus driver for Qualcomm chips that use SPMI to communicate with PMICs.
Required properties:
- compatible: "qcom,spmi-pmic-arb"
- reg: Register block adresses and sizes for various parts of device:
1) PMIC arbiter channel mapping base (PMIC_ARB_REG_CHNLn)
2) SPMI write command (master) registers (PMIC_ARB_CORE_SW_DEC_CHANNELS)
3) SPMI read command (observer) registers (PMIC_ARB_CORE_REGISTERS_OBS)
Optional properties (if not set by parent):
- #address-cells: 0x1 - childs slave ID address
- #size-cells: 0x1
All PMICs should be placed as a child nodes of bus arbiter.
Automatic detection of childs is currently not supported.
Example:
spmi@200f000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0x200f800 0x200 0x2400000 0x400000 0x2c00000 0x400000>;
#address-cells = <0x1>;
#size-cells = <0x1>;
};

View File

@@ -0,0 +1,31 @@
Sandbox SPMI emulated arbiter.
This is bus driver for Sandbox. It includes part of emulated pm8916 pmic.
Required properties:
- compatible: "sandbox,spmi"
- #address-cells: 0x1 - childs slave ID address
- #size-cells: 0x1
Example:
spmi: spmi@0 {
compatible = "sandbox,spmi";
#address-cells = <0x1>;
#size-cells = <0x1>;
pm8916@0 {
compatible = "qcom,spmi-pmic";
reg = <0x0 0x1>;
#address-cells = <0x1>;
#size-cells = <0x1>;
spmi_gpios: gpios@c000 {
compatible = "qcom,pm8916-gpio";
reg = <0xc000 0x400>;
gpio-controller;
gpio-count = <4>;
#gpio-cells = <2>;
gpio-bank-name="spmi";
};
};
};