mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 18:36:42 +07:00
4e1c1f0785
Add a common file for MT7623A SoC level DTS, indicating MT7623A only has a specific definition for power domain. That causes we need to change related consumers devices such as audio, ethernet, crypto, NAND, and USB controller to grasp its own power domain it should belong to. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
45 lines
796 B
Plaintext
45 lines
796 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2017-2018 MediaTek Inc.
|
|
* Author: Sean Wang <sean.wang@mediatek.com>
|
|
*
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <dt-bindings/power/mt7623a-power.h>
|
|
#include "mt7623.dtsi"
|
|
|
|
&afe {
|
|
power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>;
|
|
};
|
|
|
|
&crypto {
|
|
power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>;
|
|
};
|
|
|
|
ð {
|
|
power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>;
|
|
};
|
|
|
|
&nandc {
|
|
power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>;
|
|
};
|
|
|
|
&pcie {
|
|
power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>;
|
|
};
|
|
|
|
&scpsys {
|
|
compatible = "mediatek,mt7623a-scpsys";
|
|
clocks = <&topckgen CLK_TOP_ETHIF_SEL>;
|
|
clock-names = "ethif";
|
|
};
|
|
|
|
&usb1 {
|
|
power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>;
|
|
};
|
|
|
|
&usb2 {
|
|
power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>;
|
|
};
|