bytedance: g220a: Enable phosphor-node-manager-proxy

Tested: Verify the CPU_Power and Memory_Power sensors are OK.

Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I13fde13adc4062d5586167e411c129a986e3ad76
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/configuration/entity-manager/g220a_baseboard.json b/meta-bytedance/meta-g220a/recipes-phosphor/configuration/entity-manager/g220a_baseboard.json
index ae008da..03a5d2a 100644
--- a/meta-bytedance/meta-g220a/recipes-phosphor/configuration/entity-manager/g220a_baseboard.json
+++ b/meta-bytedance/meta-g220a/recipes-phosphor/configuration/entity-manager/g220a_baseboard.json
@@ -908,6 +908,10 @@
             "Name": "Host/BMC Shared NIC",
             "Type": "NIC"
         },
+	{
+            "Name": "Node Manager Sensor",
+            "Type": "NMSensor"
+        },
         {
             "Address": "0x70",
             "Bus": 3,
@@ -2516,4 +2520,4 @@
         "AssetTag": "$PRODUCT_ASSET_TAG"
     },
     "xyz.openbmc_project.Inventory.Item.System": {}
-}
\ No newline at end of file
+}
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend
index e38c272..3059e80 100644
--- a/meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend
+++ b/meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend
@@ -1,4 +1,6 @@
-OBMC_IMAGE_EXTRA_INSTALL_append_g220a = " webui-vue \
-					  me-time-sync \
-					  static-mac-addr \
-					"
+OBMC_IMAGE_EXTRA_INSTALL_append_g220a = " \
+    webui-vue \
+    me-time-sync \
+    static-mac-addr \
+    phosphor-node-manager-proxy \
+"
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/ipmi/phosphor-node-manager-proxy_git.bb b/meta-bytedance/meta-g220a/recipes-phosphor/ipmi/phosphor-node-manager-proxy_git.bb
new file mode 100644
index 0000000..c1db3a8
--- /dev/null
+++ b/meta-bytedance/meta-g220a/recipes-phosphor/ipmi/phosphor-node-manager-proxy_git.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Node Manager Proxy"
+DESCRIPTION = "The Node Manager Proxy provides a simple interface for communicating \
+with Management Engine via IPMB"
+
+SRC_URI = "git://github.com/Intel-BMC/node-manager;protocol=ssh"
+SRCREV = "23590b428ea26e0ed4b8225015471b962e3b3704"
+PV = "0.1+git${SRCPV}"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+SYSTEMD_SERVICE_${PN} = "node-manager-proxy.service"
+
+DEPENDS = "sdbusplus \
+           phosphor-logging \
+           boost"
+
+S = "${WORKDIR}/git/"
+inherit cmake systemd