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

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
Loading
Loading
Loading
Loading
+6 −5
Original line number Original line Diff line number Diff line
@@ -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 {
	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>;
};
+6 −0
Original line number Original line Diff line number Diff line
@@ -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>;
};