mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 10:36:48 +07:00
2944866ac5
The ARM PMU doesn't have a reg address, so fix the following DTC warning (requires W=1): Node /soc/arm-pmu missing or empty reg/ranges property Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
37 lines
600 B
Plaintext
37 lines
600 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
#include "bcm283x.dtsi"
|
|
|
|
/ {
|
|
compatible = "brcm,bcm2835";
|
|
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "arm,arm1176jzf-s";
|
|
reg = <0x0>;
|
|
};
|
|
};
|
|
|
|
soc {
|
|
ranges = <0x7e000000 0x20000000 0x02000000>;
|
|
dma-ranges = <0x40000000 0x00000000 0x20000000>;
|
|
};
|
|
|
|
arm-pmu {
|
|
compatible = "arm,arm1176-pmu";
|
|
};
|
|
};
|
|
|
|
&cpu_thermal {
|
|
coefficients = <(-538) 407000>;
|
|
};
|
|
|
|
/* enable thermal sensor with the correct compatible property set */
|
|
&thermal {
|
|
compatible = "brcm,bcm2835-thermal";
|
|
status = "okay";
|
|
};
|