]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: allwinner: d1s-t113: Add system LDOs
authorChen-Yu Tsai <wens@csie.org>
Sat, 22 Jun 2024 15:07:30 +0000 (23:07 +0800)
committerChen-Yu Tsai <wens@csie.org>
Sun, 30 Jun 2024 15:06:51 +0000 (23:06 +0800)
Now that the bindings for the system LDOs have been merged, the nodes
for the system LDOs can be added. These are used on the ClockworkPi.

This was originally part of Samuel's D1 device tree series [1], but was
dropped in v5 as the regulator bindings weren't merged at the time.

[1] https://lore.kernel.org/linux-sunxi/20221231233851.24923-1-samuel@sholland.org/

Link: https://lore.kernel.org/r/20240622150731.1105901-3-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi

index 5a9d7f5a75b4062820e6df9a3784334015badc83..e4175adb028da2be539e7aa316206fec4810adfc 100644 (file)
                        ranges;
                        #address-cells = <1>;
                        #size-cells = <1>;
+
+                       regulators@3000150 {
+                               compatible = "allwinner,sun20i-d1-system-ldos";
+                               reg = <0x3000150 0x4>;
+
+                               reg_ldoa: ldoa {
+                               };
+
+                               reg_ldob: ldob {
+                               };
+                       };
                };
 
                dma: dma-controller@3002000 {