mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
5ecc0cfd6f
Changelog since 5.4.24 mentions CVE-2019-19769, CVE-2020-8648, CVE-2020-8649 and CVE-2020-8647. Removed upstreamed: generic: 507-v5.6-iio-chemical-sps30-fix-missing-triggered-buffer-depe.patch generic: 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch bcm27xx: 950-0435-ASoC-pcm512x-Fix-unbalanced-regulator-enable-call-in.patch ipq806x: 701-stmmac-fix-notifier-registration.patch lantiq: 002-pinctrl-falcon-fix-syntax-error.patch octeontx: 0002-net-thunderx-workaround-BGX-TX-Underflow-issue.patch Run tested: apu2, qemu-x86-64, apalis, a64-olinuxino, nbg6617 Build tested: sunxi/a53, imx6, x86/64, ipq40xx Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> [apu2] Signed-off-by: Petr Štetiar <ynezz@true.cz>
59 lines
1.6 KiB
Diff
59 lines
1.6 KiB
Diff
From f0c3b29f56f0a946df4941edfe2d98e3e766c30f Mon Sep 17 00:00:00 2001
|
|
From: Stefan Mavrodiev <stefan@olimex.com>
|
|
Date: Fri, 29 Nov 2019 13:39:40 +0200
|
|
Subject: [PATCH] arm64: dts: allwinner: a64: olinuxino: Add bank supply
|
|
regulators
|
|
|
|
Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL. This
|
|
patch adds regulators for them to the pinctrl node.
|
|
|
|
Exception is PL which is used by the RSB bus. To avoid circular
|
|
dependencies, VCC-PL is omitted.
|
|
|
|
On boards with eMMC, VCC-PC is supplied by ELDO1, instead of DCDC1.
|
|
|
|
Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
|
|
[Maxime: Changed the r_pio comment a bit]
|
|
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
|
|
---
|
|
.../dts/allwinner/sun50i-a64-olinuxino-emmc.dts | 4 ++++
|
|
.../boot/dts/allwinner/sun50i-a64-olinuxino.dts | 17 +++++++++++++++++
|
|
2 files changed, 21 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts
|
|
@@ -21,3 +21,7 @@
|
|
cap-mmc-hw-reset;
|
|
status = "okay";
|
|
};
|
|
+
|
|
+&pio {
|
|
+ vcc-pc-supply = <®_eldo1>;
|
|
+};
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
|
|
@@ -163,6 +163,23 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&pio {
|
|
+ vcc-pc-supply = <®_dcdc1>;
|
|
+ vcc-pd-supply = <®_dcdc1>;
|
|
+ vcc-pe-supply = <®_aldo1>;
|
|
+ vcc-pg-supply = <®_dldo4>;
|
|
+};
|
|
+
|
|
+&r_pio {
|
|
+ /*
|
|
+ * FIXME: We can't add that supply for now since it would
|
|
+ * create a circular dependency between pinctrl, the regulator
|
|
+ * and the RSB Bus.
|
|
+ *
|
|
+ * vcc-pl-supply = <®_aldo2>;
|
|
+ */
|
|
+};
|
|
+
|
|
&r_rsb {
|
|
status = "okay";
|
|
|