[linux dev-5.0 v1 3/4] dts: npcm7xx: add PECI support to NPCM7xx device tree
Tomer Maimon
tmaimon77 at gmail.com
Thu Apr 4 03:12:41 AEDT 2019
Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 10 ++++++++++
arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 12 ++++++++++++
2 files changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
index a24a06170660..04e842f460a9 100644
--- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
+++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
@@ -341,6 +341,16 @@
};
};
+ peci: peci-bus at 100000 {
+ compatible = "nuvoton,npcm750-peci";
+ reg = <0x100000 0x200>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk NPCM7XX_CLK_APB3>;
+ status = "disabled";
+ };
+
spi0: spi at 200000 {
compatible = "nuvoton,npcm750-pspi";
reg = <0x200000 0x1000>;
diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
index d951ac997872..7728f7b69d13 100644
--- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
+++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts
@@ -492,6 +492,18 @@
};
};
+ peci: peci-bus at 100000 {
+ cmd-timeout-ms = <1000>;
+ pull-down = <0>;
+ host-neg-bit-rate = <15>;
+ status = "okay";
+ intel-peci-dimmtemp at 30 {
+ compatible = "intel,peci-client";
+ reg = <0x30>;
+ status = "okay";
+ };
+ };
+
spi0: spi at 200000 {
cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
status = "okay";
--
2.14.1
More information about the openbmc
mailing list