[PATCH dev-5.4 08/14] ARM: dts: npcm7xx: Add PECI node
Jae Hyun Yoo
jae.hyun.yoo at linux.intel.com
Wed Dec 18 12:28:02 AEDT 2019
From: Tomer Maimon <tmaimon77 at gmail.com>
This commit adds PECI node for npcm7xx.
Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo at linux.intel.com>
---
Changes since v11:
- None
Changes since v10:
- Newly added in v11.
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
index da02aa70df06..72841f54deb4
--- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
+++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
@@ -345,14 +345,11 @@
};
};
- peci: peci-bus at 100000 {
- compatible = "nuvoton,npcm750-peci";
- reg = <0x100000 0x200>;
+ peci: bus at 100000 {
+ compatible = "simple-bus";
#address-cells = <1>;
- #size-cells = <0>;
- interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk NPCM7XX_CLK_APB3>;
- status = "disabled";
+ #size-cells = <1>;
+ ranges = <0x0 0x100000 0x200>;
};
spi0: spi at 200000 {
@@ -1257,3 +1254,15 @@
};
};
};
+
+&peci {
+ peci0: peci-bus at 0 {
+ compatible = "nuvoton,npcm750-peci";
+ reg = <0x0 0x200>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk NPCM7XX_CLK_APB3>;
+ status = "disabled";
+ };
+};
--
2.17.1
More information about the openbmc
mailing list