lkml.org 
[lkml]   [2018]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] ARM: dts: aspeed: Add KCS support for LPC BMC
    Date
    Added kcs device support for lpc BMC.

    Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
    ---
    arch/arm/boot/dts/aspeed-g5.dtsi | 29 ++++++++++++++++++++++++++++-
    1 file changed, 28 insertions(+), 1 deletion(-)

    diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
    index d107459fc0f8..1bd48655bacb 100644
    --- a/arch/arm/boot/dts/aspeed-g5.dtsi
    +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
    @@ -330,8 +330,35 @@
    ranges = <0x0 0x1e789000 0x1000>;

    lpc_bmc: lpc-bmc@0 {
    - compatible = "aspeed,ast2500-lpc-bmc";
    + compatible = "aspeed,ast2500-lpc-bmc, "simple-mfd", "syscon"";
    reg = <0x0 0x80>;
    + reg-io-width = <4>;
    +
    + #address-cells = <1>;
    + #size-cells = <1>;
    + ranges = <0x0 0x0 0x80>;
    +
    + kcs1: kcs1@0 {
    + compatible = "aspeed,ast2500-kcs-bmc";
    + reg = <0x0 0x80>;
    + interrupts = <8>;
    + kcs_chan = <1>;
    + status = "disabled";
    + };
    + kcs2: kcs2@0 {
    + compatible = "aspeed,ast2500-kcs-bmc";
    + reg = <0x0 0x80>;
    + interrupts = <8>;
    + kcs_chan = <2>;
    + status = "disabled";
    + };
    + kcs3: kcs3@0 {
    + compatible = "aspeed,ast2500-kcs-bmc";
    + reg = <0x0 0x80>;
    + interrupts = <8>;
    + kcs_chan = <3>;
    + status = "disabled";
    + };
    };

    lpc_host: lpc-host@80 {
    --
    2.17.1
    \
     
     \ /
      Last update: 2018-12-10 21:09    [W:7.851 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site