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

The soc node is supposed to have only device nodes with MMIO addresses, as reported by dtc W=1: exynos5433-bus.dtsi:10.20-16.4: Warning (simple_bus_reg): /soc@0/bus0: missing or empty reg/ranges property and dtbs_check: exynos5433-tm2.dtb: soc@0: bus1: {'compatible': ['samsung,exynos-bus'], 'clocks': [[21, 220]], 'clock-names': ['bus'], 'operating-points-v2': [[165]], 'status': ['okay'], 'devfreq': [[166]]} should not be valid under {'type': 'object'} Move the bus nodes and their OPP tables out of SoC to fix this. Link: https://lore.kernel.org/r/20230125094513.155063-8-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
195 lines
4.1 KiB
Plaintext
195 lines
4.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Samsung's Exynos5433 SoC Memory interface and AMBA bus device tree source
|
|
*
|
|
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
|
|
* Chanwoo Choi <cw00.choi@samsung.com>
|
|
*/
|
|
|
|
/ {
|
|
bus_g2d_400: bus0 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_ACLK_G2D_400>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_g2d_400_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_g2d_266: bus1 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_ACLK_G2D_266>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_g2d_266_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_gscl: bus2 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_ACLK_GSCL_333>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_gscl_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_hevc: bus3 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_ACLK_HEVC_400>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_hevc_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_jpeg: bus4 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_SCLK_JPEG_MSCL>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_g2d_400_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_mfc: bus5 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_ACLK_MFC_400>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_g2d_400_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_mscl: bus6 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_ACLK_MSCL_400>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_g2d_400_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_noc0: bus7 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_ACLK_BUS0_400>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_hevc_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_noc1: bus8 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_top CLK_ACLK_BUS1_400>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_hevc_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_noc2: bus9 {
|
|
compatible = "samsung,exynos-bus";
|
|
clocks = <&cmu_mif CLK_ACLK_BUS2_400>;
|
|
clock-names = "bus";
|
|
operating-points-v2 = <&bus_noc2_opp_table>;
|
|
status = "disabled";
|
|
};
|
|
|
|
bus_g2d_400_opp_table: opp-table-2 {
|
|
compatible = "operating-points-v2";
|
|
opp-shared;
|
|
|
|
opp-400000000 {
|
|
opp-hz = /bits/ 64 <400000000>;
|
|
opp-microvolt = <1075000>;
|
|
};
|
|
opp-267000000 {
|
|
opp-hz = /bits/ 64 <267000000>;
|
|
opp-microvolt = <1000000>;
|
|
};
|
|
opp-200000000 {
|
|
opp-hz = /bits/ 64 <200000000>;
|
|
opp-microvolt = <975000>;
|
|
};
|
|
opp-160000000 {
|
|
opp-hz = /bits/ 64 <160000000>;
|
|
opp-microvolt = <962500>;
|
|
};
|
|
opp-134000000 {
|
|
opp-hz = /bits/ 64 <134000000>;
|
|
opp-microvolt = <950000>;
|
|
};
|
|
opp-100000000 {
|
|
opp-hz = /bits/ 64 <100000000>;
|
|
opp-microvolt = <937500>;
|
|
};
|
|
};
|
|
|
|
bus_g2d_266_opp_table: opp-table-3 {
|
|
compatible = "operating-points-v2";
|
|
|
|
opp-267000000 {
|
|
opp-hz = /bits/ 64 <267000000>;
|
|
};
|
|
opp-200000000 {
|
|
opp-hz = /bits/ 64 <200000000>;
|
|
};
|
|
opp-160000000 {
|
|
opp-hz = /bits/ 64 <160000000>;
|
|
};
|
|
opp-134000000 {
|
|
opp-hz = /bits/ 64 <134000000>;
|
|
};
|
|
opp-100000000 {
|
|
opp-hz = /bits/ 64 <100000000>;
|
|
};
|
|
};
|
|
|
|
bus_gscl_opp_table: opp-table-4 {
|
|
compatible = "operating-points-v2";
|
|
|
|
opp-333000000 {
|
|
opp-hz = /bits/ 64 <333000000>;
|
|
};
|
|
opp-222000000 {
|
|
opp-hz = /bits/ 64 <222000000>;
|
|
};
|
|
opp-166500000 {
|
|
opp-hz = /bits/ 64 <166500000>;
|
|
};
|
|
};
|
|
|
|
bus_hevc_opp_table: opp-table-5 {
|
|
compatible = "operating-points-v2";
|
|
opp-shared;
|
|
|
|
opp-400000000 {
|
|
opp-hz = /bits/ 64 <400000000>;
|
|
};
|
|
opp-267000000 {
|
|
opp-hz = /bits/ 64 <267000000>;
|
|
};
|
|
opp-200000000 {
|
|
opp-hz = /bits/ 64 <200000000>;
|
|
};
|
|
opp-160000000 {
|
|
opp-hz = /bits/ 64 <160000000>;
|
|
};
|
|
opp-134000000 {
|
|
opp-hz = /bits/ 64 <134000000>;
|
|
};
|
|
opp-100000000 {
|
|
opp-hz = /bits/ 64 <100000000>;
|
|
};
|
|
};
|
|
|
|
bus_noc2_opp_table: opp-table-6 {
|
|
compatible = "operating-points-v2";
|
|
|
|
opp-400000000 {
|
|
opp-hz = /bits/ 64 <400000000>;
|
|
};
|
|
opp-200000000 {
|
|
opp-hz = /bits/ 64 <200000000>;
|
|
};
|
|
opp-134000000 {
|
|
opp-hz = /bits/ 64 <134000000>;
|
|
};
|
|
opp-100000000 {
|
|
opp-hz = /bits/ 64 <100000000>;
|
|
};
|
|
};
|
|
};
|