OSDN Git Service

arm64: dts: hisi: Enable Hisi LPC node for hip07
authorJohn Garry <john.garry@huawei.com>
Mon, 30 Apr 2018 15:15:42 +0000 (23:15 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 15 May 2018 13:52:51 +0000 (14:52 +0100)
The patch enables the HiSi LPC node for hip07, with
the IPMI child device.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hip07-d05.dts
arch/arm64/boot/dts/hisilicon/hip07.dtsi

index fe7c16c..21147e8 100644 (file)
        status = "ok";
 };
 
+&ipmi0 {
+       status = "ok";
+};
+
 &usb_ohci {
        status = "ok";
 };
index 0600a6a..9c10030 100644 (file)
                #size-cells = <2>;
                ranges;
 
+               isa@a01b0000 {
+                       compatible = "hisilicon,hip07-lpc";
+                       #size-cells = <1>;
+                       #address-cells = <2>;
+                       reg = <0x0 0xa01b0000 0x0 0x1000>;
+
+                       ipmi0: bt@e4 {
+                               compatible = "ipmi-bt";
+                               device_type = "ipmi";
+                               reg = <0x01 0xe4 0x04>;
+                               status = "disabled";
+                       };
+               };
+
                uart0: uart@602b0000 {
                        compatible = "arm,sbsa-uart";
                        reg = <0x0 0x602b0000 0x0 0x1000>;