Commit d4efb68f authored by Andrew Jeffery's avatar Andrew Jeffery Committed by Joel Stanley

ARM: dts: aspeed: p10bmc: Use KCS 3 for MCTP binding

The MCTP LPC driver was loaded by hacking up the compatible in the
devicetree node for KCS 4. With the introduction of the raw KCS driver
this hack is no-longer required. Use the regular compatible string for
KCS 4 and configure the appropriate SerIRQ.

The reset state of the status bits on KCS 4 is inappropriate for the
MCTP LPC binding. Switch to KCS 3 which has a different reset behaviour.
Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 2561b4f6
...@@ -3607,11 +3607,6 @@ &lpc_ctrl { ...@@ -3607,11 +3607,6 @@ &lpc_ctrl {
memory-region = <&flash_memory>; memory-region = <&flash_memory>;
}; };
&kcs4 {
compatible = "openbmc,mctp-lpc";
status = "okay";
};
&mac2 { &mac2 {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -3650,3 +3645,9 @@ &xdma { ...@@ -3650,3 +3645,9 @@ &xdma {
status = "okay"; status = "okay";
memory-region = <&vga_memory>; memory-region = <&vga_memory>;
}; };
&kcs3 {
status = "okay";
aspeed,lpc-io-reg = <0xca2>;
aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
};
...@@ -2379,3 +2379,9 @@ &xdma { ...@@ -2379,3 +2379,9 @@ &xdma {
status = "okay"; status = "okay";
memory-region = <&vga_memory>; memory-region = <&vga_memory>;
}; };
&kcs3 {
status = "okay";
aspeed,lpc-io-reg = <0xca2>;
aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment