mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 09:22:08 +00:00

The preferred nodename for fixed-regulators has changed to pattern: '^regulator(-[0-9]+v[0-9]+|-[0-9a-z-]+)?$' Fix all Rockchip DT regulator nodenames. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/0ae40493-93e9-40cd-9ca9-990ae064f21a@gmail.com [adapted rebased on top of a number of other changes and included neu6a-wifi + wolfvision-pf5-io-expander overlays] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
51 lines
964 B
Plaintext
51 lines
964 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (C) 2019 Amarula Solutions B.V.
|
|
* Author: Jagan Teki <jagan@amarulasolutions.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "rk3399-nanopi4.dtsi"
|
|
|
|
/ {
|
|
model = "FriendlyARM NanoPi NEO4";
|
|
compatible = "friendlyarm,nanopi-neo4", "rockchip,rk3399";
|
|
|
|
vdd_5v: regulator-vdd-5v {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd_5v";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
vcc5v0_core: regulator-vcc5v0-core {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc5v0_core";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
vin-supply = <&vdd_5v>;
|
|
};
|
|
|
|
vcc5v0_usb1: regulator-vcc5v0-usb1 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc5v0_usb1";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
vin-supply = <&vcc5v0_sys>;
|
|
};
|
|
};
|
|
|
|
&vcc3v3_sys {
|
|
vin-supply = <&vcc5v0_core>;
|
|
};
|
|
|
|
&u2phy0_host {
|
|
phy-supply = <&vcc5v0_usb1>;
|
|
};
|
|
|
|
&vbus_typec {
|
|
regulator-always-on;
|
|
vin-supply = <&vdd_5v>;
|
|
};
|