Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d43c97a5 authored by Caesar Wang's avatar Caesar Wang Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: add the gmac power domain on rk3399



This patch adds the gmac ppower-domain to save power consumption
by letting the driver core handle the power-domain so we can
save power on boards not needing Ethernet.

Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent a8bcaea7
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -611,6 +611,11 @@
		status = "disabled";
	};

	qos_gmac: qos@ffa5c000 {
		compatible = "syscon";
		reg = <0x0 0xffa5c000 0x0 0x20>;
	};

	qos_hdcp: qos@ffa90000 {
		compatible = "syscon";
		reg = <0x0 0xffa90000 0x0 0x20>;
@@ -739,6 +744,11 @@
			};

			/* These power domains are grouped by VD_LOGIC */
			pd_gmac@RK3399_PD_GMAC {
				reg = <RK3399_PD_GMAC>;
				clocks = <&cru ACLK_GMAC>;
				pm_qos = <&qos_gmac>;
			};
			pd_vio@RK3399_PD_VIO {
				reg = <RK3399_PD_VIO>;
				#address-cells = <1>;