68 lines
2.1 KiB
Diff
68 lines
2.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Ricardo Pardini <[email protected]>
|
|
Date: Mon, 19 Jan 2026 21:21:21 +0100
|
|
Subject: arm64: dts: amlogic: odroid-sm1/odroidhc: regulator-boot-on also for
|
|
u-boot
|
|
|
|
- Same as https://lore.kernel.org/linux-amlogic/[email protected]/ but for u-boot
|
|
- u-boot ARCH_MESON uses OF_UPSTREAM; post-v2026.01 u-boot might eventually get this via dt-rebasing, but it might take a while
|
|
- All credit to Eric for the find and fix
|
|
|
|
Signed-off-by: Ricardo Pardini <[email protected]>
|
|
---
|
|
dts/upstream/src/arm64/amlogic/meson-sm1-odroid-hc4.dts | 2 ++
|
|
dts/upstream/src/arm64/amlogic/meson-sm1-odroid.dtsi | 3 +++
|
|
2 files changed, 5 insertions(+)
|
|
|
|
diff --git a/dts/upstream/src/arm64/amlogic/meson-sm1-odroid-hc4.dts b/dts/upstream/src/arm64/amlogic/meson-sm1-odroid-hc4.dts
|
|
index 111111111111..222222222222 100644
|
|
--- a/dts/upstream/src/arm64/amlogic/meson-sm1-odroid-hc4.dts
|
|
+++ b/dts/upstream/src/arm64/amlogic/meson-sm1-odroid-hc4.dts
|
|
@@ -52,6 +52,7 @@
|
|
|
|
gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
|
|
enable-active-high;
|
|
+ regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
@@ -65,6 +66,7 @@
|
|
|
|
gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
|
|
enable-active-high;
|
|
+ regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
diff --git a/dts/upstream/src/arm64/amlogic/meson-sm1-odroid.dtsi b/dts/upstream/src/arm64/amlogic/meson-sm1-odroid.dtsi
|
|
index 111111111111..222222222222 100644
|
|
--- a/dts/upstream/src/arm64/amlogic/meson-sm1-odroid.dtsi
|
|
+++ b/dts/upstream/src/arm64/amlogic/meson-sm1-odroid.dtsi
|
|
@@ -37,6 +37,7 @@
|
|
|
|
gpio = <&gpio_ao GPIOAO_3 GPIO_OPEN_DRAIN>;
|
|
enable-active-high;
|
|
+ regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
@@ -50,6 +51,7 @@
|
|
|
|
enable-gpios = <&gpio_ao GPIOE_2 GPIO_OPEN_DRAIN>;
|
|
enable-active-high;
|
|
+ regulator-boot-on;
|
|
regulator-always-on;
|
|
|
|
gpios = <&gpio_ao GPIOAO_6 GPIO_OPEN_SOURCE>;
|
|
@@ -81,6 +83,7 @@
|
|
regulator-name = "5V";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
+ regulator-boot-on;
|
|
regulator-always-on;
|
|
vin-supply = <&main_12v>;
|
|
gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
|
|
--
|
|
Armbian
|
|
|