commit | f1b92fffa83efa1b233c64e2f8fc0fe7523bda23 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Mar 24 07:41:23 2021 +0100 |
committer | Jan Kundrát <kundrat@cesnet.cz> | Fri May 14 17:50:08 2021 +0200 |
tree | 891e8a148f2f2dcd7a5c2da19070df76fd377b7a | |
parent | 771b823f88d4bb56660bf17b96c24ecfe1c19ae2 [diff] [blame] |
Add support for power supplies Requires updating the kernel with a driver for the power supplies. The current linux tree can be found in cesnet/2021-05-14. Depends-on: https://cesnet-gerrit-czechlight/c/CzechLight/velia/+/4188 Depends-on: https://gerrit.cesnet.cz/c/CzechLight/velia/+/4188 Change-Id: I57f426feaf48a72b5b95c961e45f90323777d685
diff --git a/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi b/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi index 32255a3..6a8715a 100644 --- a/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi +++ b/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi
@@ -22,7 +22,7 @@ }; }; - gpio_i2c { + gpio_i2c: gpio_i2c { compatible = "i2c-gpio"; sda-gpios = <&gpio0 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; scl-gpios = <&gpio0 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; @@ -34,6 +34,13 @@ }; }; +&gpio_i2c { + pdu@25 { + compatible = "fsp,yh5151e"; + reg = <0x25>; + }; +}; + &pinctrl { uart1_pins_i2c_bb: uart1-pins-i2c-bb { marvell,pins = "mpp24", "mpp25";